Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

MULTIMAPPING BAPI

Hello.

Problem to multipapping

Structure SOURCE.

Resulset

ROW (0..outbound)

-ID (Identificador)

-BUS_ACT

-USERNAME

-ITEMNO_ACC1

-CUSTOMER1

-GL_ACCOUNT1

-ITEMNO_ACC2

-CUSTOMER2

-GL_ACCOUNT2

Example

ID ;BUS_ACT;USERNAME;ITEMNO_ACC1;CUSTOMER1;GL_ACCOUNT1;ITEMNO_ACC2;CUSTOMER2;GL_ACCOUNT2

ID1;BUS1;CLEON;1;CUS1;

ID1;BUS1;CLEON;2;CUS2;

ID2;BUS1;CLEON;1;CUS1;GL01; ; ;

ID2;BUS1;CLEON;2;CUS2;GL01; ; ;

ID2;BUS1;CLEON;3;CUS3;GL01; ; ;

ID2;BUS1;CLEON; ; ; ;1;CUS1;GL01

ID2;BUS1;CLEON; ; ; ;2;CUS2;GL02

Structure TARGET.

BAPI_ACC_DOCUMENT_POST (0..Unbound)

-DOCUMENTHEADER (1..1)

  • - BUS_ACT

  • - USERNAME

-ACCOUNTRECEIVABLE (0..1)

--ITEMS(1..Outbound)

  • - - ITEMNO_ACC1

  • - - CUSTOMER1

  • - - GL_ACCOUNT1

CURRENCYAMOUN (1..1)

--ITEMS(1..Outbound)

  • - - ITEMNO_ACC2

  • - - CUSTOMER2

  • - - GL_ACCOUNT2

Not what you were looking for? View more on this topic or Ask a question