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

Production Order BAPI???

Former Member
0 Likes
986

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!!!

7 REPLIES 7
Read only

juan_suros
Contributor
0 Likes
932

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.

Read only

0 Likes
932

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!

Read only

0 Likes
932

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

Read only

0 Likes
932

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

Read only

0 Likes
932

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

Read only

0 Likes
932

Thank you very much for your information.

I would happy to see your code also! lnodj@yahoo.com

Read only

0 Likes
932

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