cancel
Showing results for 
Search instead for 
Did you mean: 

Need help

Former Member
0 Kudos

I am again putting this particular problem in XI:

Source file has 2 records . Each record of source file generates multiple IDOCS. For this sceanrio we can consider a field : Address in source record and there is a corresponding field in IDOC called Address.

We want correspondence b/w source record and target idocs.

if A source record ( Having Adddress as US) generates I,J,K Idocs then these IDOCS should have their address field populated as US

if B source record ( Having Adddress as UK) generates A,B,C Idocs then these IDOCS should have their address field populated as UK.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

justin_santhanam
Active Contributor
0 Kudos

Hi,

Generates I,J,K IDOCS and generates A,B,C IDOCS, can u be little bit specific about this.

Best regards,

raj.

Answers (2)

Answers (2)

Former Member
0 Kudos

hey

so basically u have 2:n scenario,right?

well u gotta use BPM for this and use the If-Then-else function to create ur IDOC's based upon the source.

did i understand ur scenario correctly

thanx

ahmad

Former Member
0 Kudos

Hi :

SCENARIO : FILE TO IDOC

SPECIAL CASE : Each record in file generates multiple IDOCS .

EG: Record A in file generates Multiple IDOCS in Target. Record B in file also generate multipl IDOCS.

Former Member
0 Kudos

hey

as i said use BPM for this

thanx

ahmad

justin_santhanam
Active Contributor
0 Kudos

Hi,

I think we don't need BPM for it. Can you to give the source file structure.

Best Regards,

raj.

Former Member
0 Kudos

source structure :

2 records:

1) Name :

Age:

Address: US

2) Name:

Age:

Address: UK

Scenario: The 1 ) record spurns 20 IDOCS ( IDOC PROPAGATION,<b>DID NOT USE</b> BPM) The 2) record spurns 40 IDOCS.

Now in Target IDOC ( THE 20 IDOCS should have address as US) and the next 40 IDOCS should have address as UK.

Thanks

Former Member
0 Kudos

Source is a file with number of records and Target is an IDOC ( which will also be N in number corresponding to each record in source file)

EACH RECORD of sounce file will generate multiple IDOCS in TARGET