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

Inbound Idoc issue.

Former Member
0 Likes
578

Hi All,

Message Type - WMMBXY

Idoc Type - WMMBID02

Segment name - E1MBXYI

Type - Inbound.

1) The Basic requirement is while running Inbound idoc for the

transaction MB1A,where i will be getting material & plant as a

inbound,In MB1A for the coming material & plant if the stock type

equalt to 'K',then vendor field become Mandatory.

In that case we need to pass Vendor Number.

These vendor field will not come from externally through idoc.

For that i am picking vendor fron RESB table based on Material & plant

and i am updating the vendor in the above mentioned Segment.

In debuging i could able to see vendor field in segment getting updated,but it is not getting displayed in IDOC list.

2)EDI_DOCUMENT_OPEN_FOR_EDIT

EDI_CHANGE_DATA_SEGMENTS

EDI_DOCUMENT_CLOSE_EDIT

By using above function modules i could able to update the vendor in

the displayed IDOC list.

but the problem is i am getting two IDOC's at atime ,

one idoc is with status 70 i.e 'This IDoc is saved as the original of

an edited document'

second idoc is with status 51 or 53.

vanitha.

1 REPLY 1
Read only

Former Member
0 Likes
360

Hi,

Please make sure that whil Opening the Idoc you should not supposed to get any error Then only you should go ahead to Update the Idoc.

As per my undersanding Whenever we Edit the Idoc we always gets two Idoc one Edited one and one with Saved one.

Thanks

PK