Application Development and Automation 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: 
Read only

EDI processing for shipping

Former Member
0 Likes
1,625

Hi experts,

I am fairly new to EDI processing and I have a requirement to delete LIFEX from LIKP when E1EDL20-LIFEX is not equal to E1EDL20-VBELN. Does anyone have any clues on where to start or how to handle this?


Basic message type used is DELVRY03. So when the header is updated, it should ignore or not populate LIFEX field if in E1EDL20 LIFEX is not the same as VBELN.


Can anyone advise user or customer exit for this? There is also an enhancement point in IDOC_INPUT_DELVRY - would it be possible to do the change directly from this FM on 'WHEN E1EDL20'?

Thanks in advance.

Cholen

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,272

Hello,

You can use it enhancement  point or customer exit - V55K000 (EXIT_SAPLV55K_005).

Keep  in ind that you will be changing data while processing of Idoc.

Idoc data is already stored in SAP, so while running your IDoc will be same only while posting IDoc your custom code will be executed.

Regards,

Sameer

4 REPLIES 4
Read only

Former Member
0 Likes
1,273

Hello,

You can use it enhancement  point or customer exit - V55K000 (EXIT_SAPLV55K_005).

Keep  in ind that you will be changing data while processing of Idoc.

Idoc data is already stored in SAP, so while running your IDoc will be same only while posting IDoc your custom code will be executed.

Regards,

Sameer

Read only

0 Likes
1,272

Thanks Sameer. Can I also do it in EXIT_SAPLV55K_003? The 005 is not yet active in our system. Also, how will I be able to change the delivery header to delete the external delivery -  I was thinking BAPI_OUTB_DELIVERY_CHANGE but I am not familiar on usage.

Read only

0 Likes
1,272

Hello,

You can use user exit - EXIT_SAPLV55K_003.

In the same user exit, based on your condition you can delete E1EDL20-LIFEX.

Regards,

Sameer

Read only

Former Member
0 Likes
1,272

Hi Cholen,

You can maintain a routine in VOFM and keep the logic when LIFEX= VBELN (for particulat document type) then only trigger the output type.Create a new output type in NACE and maintain the outpt condition record for that particular delivery type.

Thanks,

Harika