Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

generating a second line item in the interface mapping inbound

Former Member
0 Kudos
99

Dear experts,

I would like to know, as the rquirement is to generate from one message multiple line item records in the SAP for a delivery.

The outbound message will have a single line item record. The logic should enable, in the oubound message, a second line item based on a logic.

Can you tell me where one could do that and how?

Thanks

6 REPLIES 6

Former Member
0 Kudos
62

Hi,

Infact the question is not clear to me.

If you want to do some addition of segements in the outbound Idoc

Use exit CUSTOMER_FUNCTION_002(ZXTRKU02) in the FM IDOC_OUTPUT_DELVRY.

Suresh

0 Kudos
62

hi,

the requirement is to insert a new line item in the delivery.

This new line item inserted should be done via an IDOC, which while entering the SAP will insert a new line item in the delivery.

The question if this line item insertion should be done through the inbound FM or via XI/PI.

In both the scenarios how will it be done is a question.

Thanks a lot

0 Kudos
62

Hi,

if you are receving Inbound Idoc data through SAP XI,it will be better to add new line over there.

based the conditions provided, a new E1EDP01 segement can be generated from PI.

Regards,

Suresh

0 Kudos
62

what about usage of BAPIs inbound delivery??

0 Kudos
62

Hi,

you can call BAPI also from PI.

if your BAPI will be able add new lines then call BAPI from PI otherwise go ahead with IDoc.

Suresh

Former Member
0 Kudos
62

ok