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 Number for a Application document

Former Member
0 Likes
604

Hi frinds,

Using Idocs we create application documents like Sales orders(inbound),invoices, delivery etc (outbound) to create application document in some other system or used in case of B2B scenario.

my requirement is can we get the Idoc # form the slaesorders number using some function module (to get the idoc #'s of huge number of sales orders). however we can find the sales order number form the Idoc number using WE05 i want the reverse way.

Thanks,

vin.

Hi frinds,

Using Idocs we create application documents like Sales orders(inbound),invoices, delivery etc (outbound) to create application document in some other system or used in case of B2B scenario.

my requirement is can we get the Idoc # form the slaesorders number using some function module (to get the idoc #'s of huge number of sales orders). however we can find the sales order number form the Idoc number using WE05 i want the reverse way.

Thanks,

vin.

2 REPLIES 2
Read only

Former Member
0 Likes
548

Hi ,

Since you have sales order number in the IDoc.

first try to fetch all the inbound ORDERS05 numbers from EDIDC table then by using IDOC_READ_COMPLETELY function module.

as suggested by V.V.Reddy it should be in EDI_STAPA2 or EDI_STAPA3 from EDIDS.

Regards,

Suresh

Edited by: Suresh Reddy Avutu on Jun 8, 2010 11:22 AM

Read only

Former Member
0 Likes
548

Hi,

I am not sure about any FM does this. but you can querry the EDIDS, sales order will be in EDI_STAPA2 or EDI_STAPA3, but i think it will take some time if you try for huge at one time.

--

Reddy