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

IDOC_INPUT_ORDERS

Former Member
0 Likes
972

Hello ,

My requirement is, In my transaction VA01 , I have added one custom field for each line item. i.e best before date of each material.

now , whenever the Inbound IDOC triggers, i have to check whether the data for custom field is there or not? if it exists then i need to update the custom field of VBAP table.

For this , i am using the FM IDOC_INPUT_ORDERS, but i am confused which exit i need to use. Can any body tell me the logic also for that....how to update the custom database field.

Thanks

6 REPLIES 6
Read only

former_member404244
Active Contributor
0 Likes
840

Hi,

The custom field is added in the child segment ... So please check the parent segment and then check for userexit after the parent segment .. Please try the same.

Regards,

Nagaraj

Read only

0 Likes
840

Hi nagaraj...

my main question is that which exit i need to use? actually i m not sure of using which exits.

if u tell me which exit is suitable for the custom field updation, then it 'll be helpful for me.

thanks

Read only

0 Likes
840

Hi,

thats what i told in my earlier post,,,Your custom field might be added in a separate segment under a parent segment first get that parent segment and then look for exits after the parent segment...

Regards,

Nagaraj

Read only

0 Likes
840

HI nagaraj,

Yes you are right, i have added my custom field under one custom segment and that custom segment is added under the parent

segment E1EDP01 ,

now as you told me to get the parent segment and then look for the exits after the parent segment, how can it be possible ?

Can you plz ellaborate it .

As i know i have to do the coding inside the exit and in coding i have to read the parent segment .

Can you plz help me in this issue.

Thanks if you help me in this issue .

Read only

0 Likes
840

Hi,

Use the exit EXIT_SAPLVEDA_001...

Regards,

Nagaraj

Read only

Former Member
0 Likes
840

You can check this Exit: EXIT_SAPLVEDA_011

Since it has IDOC_DATA table, you can loop over it and get the segment you need and modify the data accordingly.

Edited by: Saritha Palli on Feb 1, 2010 11:34 AM