Skip to Content
0
Former Member
Apr 18, 2012 at 08:46 PM

Mapping issue

48 Views

Hi ,

I am mapping GLMAST01 IDOC to a stored procedure to insert into SQL. The scenario is [IDOC to JDBC].

It is working fine except for some missing fields when more than one company codes are present.

The E1SKB1M segment 0-99999 is mapped to the statement_Name in the target which is 0-unbounded.

The E1SKA1M segment 1:1 has the fields KTOPL and SAKNR and ESKA1M segment is not mapped to anything in target. Thus KTOPL and SAKNR appear only once for the first company code XML structure of stored procedure but not for subsequent company code XML structure.

How can I map ESKA1M to make sure these two fields come in other company codes in the XML structure below .

Thanks,

Teresa

<MT_Insert>

<Statement_Name>

<Storedprocedurename action = 'EXECUTE'>

<Table>stored proc name<table>

<BUKRS>1101<BUKRS>

<KTOPL>AAAA<KTOPL

<SAKNR>1222222<SAKNR>

<STEXT>TEST<STEXT>

<Storedprocedurename>

<Statement_Name>

-<Statement_Name>

-<Storedprocedurename action = 'EXECUTE'>

<BUKRS>1201<BUKRS>

<STEXT> TEST INSERT<STEXT>

<Storedprocedurename>

<Statement_Name>

<MT_Insert>