cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Production order creation , release and confirmation cycle

Ritz
Active Contributor
0 Likes
1,128

Hi All SAP Gurus,

I am trying to set Production order creation , release and confirmation cycle integrated to xMII.

I am sure there must be many among you who worked on this before.

So can you please share your experience.

Thanks in advance

Regards

Ritesh

View Entire Topic
Former Member
0 Likes

Hi Ritesh,

I've done some work like you are in need of.

In MII you will need to build your whole process doing BAPI calls.

Here you go some useful functions that you might use with a short description of each:

BAPI_PRODORD_CREATE - create production orders

BAPI_PRODORD_RELEASE - release production orders

BAPI_PRODORD_GET_LIST - list production orders

BAPI_PRODORD_GET_DETAIL - get production orders details

BAPI_PRODORDCONF_CREATE_TT - does the quantity/time (time ticket) confirmation

BAPI_GOODSMVT_CREATE - generates the goods receipt

If you need more details about how them work use the tcode BAPI.

I hope this helps.

Ricardo

Ritz
Active Contributor
0 Likes

Can i have some more inputs on it?

Ideas are highly appreciated.

Regards

Ritesh

Former Member
0 Likes

Ritesh

Could you please drive us to what exactly you're looking for?

Regards,

Ricardo

Ritz
Active Contributor
0 Likes

Hi,

I am trying to set a test cycle for Production order creation, release and confirmation cycle integrated to xMII.

Requirement is like that i will create PO's in R/3, transfer it to MII and release the order from MII and update its status in R/3. same thing i will repeat for operation confirmations.

I want to know does some buddy worked on same kind of requirement before, and i am sure many among you have done it before.

So please share your experience, which will be helpful for me.

Any kind of input is highly appreciated.

Regards

Ritesh

Former Member
0 Likes

Hi Ritesh,

I'll give you what I have been using:

- Transferring orders to MII

You can trigger the orders by tcode POIT or an equivalent BAPI (BAPI CLOI_DOWNLOAD_TRIGGER_TRANS) or have the iDOC being sent automatically whenever someone creates a new production order in R/3 (using change pointers). In both cases you will receive an iDOC in XML format from SAP with the production order information on it. After receiving this file a BLS transaction will be required to read the XML file and store it in your local DB.

- Releasing orders from MII

You can release the orders from MII using the BAPI BAPI_PRODORD_RELEASE (it will update the order status in R/3 to REL). After that you might want to update the production order status in MII local DB as well. Usually I have the bapi BAPI_PRODORD_GET_DETAIL in place in order to read the production order details whenver I need.

- Doing confirmations from MII

After the PO was released, you can do confirmations against each operation using the BAPI BAPI_PRODORDCONF_CREATE_TT. You can send up to SAP good quantity, scrap quantity, labor/machine time, etc. It's a pretty intuitive BAPI.

If your system is not ready to do goods movement automatically you will need to use BAPI_GOODSMVT_CREATE.

This is basically what I use in this kind of project. If you have any questions please let me know.

Regards

Ricardo

Ritz
Active Contributor
0 Likes

Hi Ricardo Carvalho,

Thanks a lot .

i am still not closing the thread with a hope that i will get few more inputs.

regards

Ritesh

Former Member
0 Likes

Hi Ritesh,

Just came up something else on my mind...

There is available in MII v.12 two different ways to do BAPI calls.

One is via JCO and another one via JRA conector. Usually I use JRA due to its data buffering.

Here you go some helpful links:

JRA: [http://help.sap.com/saphelp_nw70/helpdata/en/45/2ad4ff2d594c2de10000000a1553f6/content.htm]

JCO: [http://help.sap.com/saphelp_xmii120/helpdata/en/45/a3d75ac3b50cefe10000000a114a6b/content.htm]

Regards,

Ricardo

Former Member
0 Likes

Ritesh

"I am trying to set Production order creation , release and confirmation cycle integrated to xMII"

Have you checked Module Libraries (PP & PP-PI) provided by SAP. There are couple of transactions to try out.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/90537bfe-fd6b-2910-fda3-b04f1... [original link is broken]

Regards

Ram Upadhyay