cancel
Showing results for 
Search instead for 
Did you mean: 

Idoc field mapping help needed

Former Member
0 Kudos

Hi xperts,

Am doing some simple mapping, but, facing context issues,

Source                                                       Target

(level 1)-FIDCC2X                                                (level 1)-ACC_DOCUMENT03 
(level 2)--IDOC                                                  (level 2)--IDOC
(level 3)---EDI_DC40                                             (level 3)---EDI_DC40  
(level 3)---E1FIKPF                                              (level 3)---E1BPACCR09  
(level 4)----E1FISET                                             (field    )----AMT_BASE 
(field    )-----H2BAS( should be mapped to AMT_BASE, when 
                                   an CR09 segment is cerated)

Tried alternative options with remove_contexts & splitbyvalue.

CR09 segment is being created, But, field is not being mapped.

Any ideas, what is the correct mapping steps.....

-santosh.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Man, Iam not sure if your requirement is tough!!

It looks simple if :

the field AMT should be created when the segment CR09 is created right?

Can you please share the cardinality if each segment ??? 1-- * or 1---1 etc etc ?

Former Member
0 Kudos

Hi vkjoat,

it seems quite simple, but causing problems due to context issue.

CR09 segment is created in my test case, but value from E1FISET-H2BAS is not being populated in E1BPACCR09-AMT_BASE.

Unable to figure out the context issue.....

Cardinality of mapping is 1:1 .

-thx.

Former Member
0 Kudos

This got solved.....sign of relief .....messing with it since yesterday.....seems so simple...but not.

we moved the E1FISET-H2BAS to global variable using hashmap functionality in UDF .

retrieved back in E1BPACCR09-AMT_BASE.

That did the trick.

Answers (0)