2005 Mar 29 10:23 PM
Using SAP 4.6C standard ALE objects (preferably RFC or BAPIs(vs IDOCs)), what is the best way to obtain Production Orders.
For example, to obtain GoodsMovements and Purchase Orders I found there is a function called GetItems that gives the information I need.
Table names:
The basic information resides in the tables: AFPO
Hoping to find a function besides RFC_READ_TABLE.
THANKS IN ADVANCE!!!
2005 Mar 29 11:46 PM
Unfortunately, the BAPI/RFC interfaces to Production Orders are devoted to data input, not data output.
I've been using the <i>CreateTimeTicketMultiple</i> method of BAPI <i>ProdOrdConfirmation</i> for years now for data entry, but I've had to write my own Production Order extract RFCs. I based them on the IOC logical database for flexibility and compatibility (we've upgraded R/3 several times since the project began) and found this approach has acceptable performance.
I'll be happy to share code by email if you're interested. But ~800 lines is a little too long to post.
If you find another solution, please post it. I'd be interested to see what you come up with.
2005 Mar 30 4:17 PM
Thank you very much for your response. You confirmed what I discovered (no extract method). I was really looking for a second opinion to make sure.
If you could email the code, that would be terrific and make my day! cmcgarvey@invistics.com.
Our current method was to use the RFC_READ_TABLE with filters to get current Prod. Orders. Which is fine, except there is no "posting date" in the table. So we will end up pulling all current orders every time we process verses a "delta". (Our system is a subsystem to R/3).
I will keep you posted if I come across anything else.
Thanks again!
2005 Mar 30 5:16 PM
This may not be the right one, but this seems to be sending production orders, planned orders etc.. Unfortunately there is no documentation in English.
CIF_ORDER_SEND
regards,
Srinivas
2005 Mar 30 7:50 PM
How did my response end up with someone else' name?
This may not be the right one, but this seems to be sending production orders, planned orders etc.. Unfortunately there is no documentation in English.
CIF_ORDER_SEND
regards,
Srinivas
2005 Mar 30 7:55 PM
Dear SDN moderator,
Looks like my responses are getting Vijay Gaur's name, even though I(Srinivas Adavi) am the one who is logged on. How can this happen?
Srinivas
2005 Sep 02 9:40 AM
Thank you very much for your information.
I would happy to see your code also! lnodj@yahoo.com
2007 Feb 11 8:10 PM
This may be way dated, but worth a try.
Thank you very much for your information.
I would happy to see your code also
healyb@ninco.com