cancel
Showing results for 
Search instead for 
Did you mean: 

One question issue regarding PPDS production order creation with legal system

Former Member
0 Kudos

Hello Experts:

We are using SAP APO-PP/DS, which is connected to a non-SAP ERP system, when we ticked the conversion indicator for a planned order in /SAPAPO/RRP3, after save it, the planned order is changed to PlOrd.(CF) instead of PrdOrd.

If the PP/DS is connected with SAP ECC, the planned order with conversion indicator will be sent to ECC via CIF, and production order will be created in SAP ECC and sent back to PP/DS,

But now our PP/DS is integrated with non-SAP ERP system, does anybody know how to convert planned order to production order in this environment?

Appreciate any input from you,

thanks a lot!

Best Regards

Kevin

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Kevin,

when converstion indicator is set, the changed planned order should be sent to your non-SAP ERP system.

You should somehow trigger to create a production order in this system when receiving a planned order with converstion indicator.

After the production order is created you can use BAPI_MOSRVAPS_COMPLETEKEY to publish the order number and order type to APO.

Have a look into the BAPI documentation.

Regards,

Uli

Former Member
0 Kudos

Dear Uli

Thanks for your message, but it seems that this BAPI only used for external key turnover to internal key through test. it couldn't help convert to production order.

actually, we want to find a function module or a BAPI, it could used for conversion planned order to production order in PPDS, then we get the production order number, trigger the interface with non-SAP system.

through debug, we find it always entry in CIF related function automatically, but we don't use standard CIF connection with ECC, so any ideas about this, please propose.

Thanks a lot!
Gruss

Kevin

Former Member
0 Kudos

Hello Kevin,

would you please explain in detail what exactly the process should look like.

What I understood so far:

1. planned order created in APO (Plord.)

2. planned order send to non-SAP ERP

3. planned order received in non-SAP ERP

4. conversion ind. set for planned oder in APO

5. planned order with conversion indicator send to non-SAP

6. production order created from planned order in non-SAP

7. conversion result send to APO

8. convert planned order in APO to production order and assign production order number from non-SAP

The BAPI expects for import Parameter ORDER_TYPE either 6-Production order or 5-Planned order which is to provide the order type of the OLTP system (your non-SAP ERP)

If your requirement is only to display the converted order PrdOrd(C) why not just change the text of the ATP Category 😉

Regards,

Uli

Former Member
0 Kudos

Dear Uli

my scenario is as following:

1. sales order created in non-SAP ERP.

2. sales order send to APO(sales order requirement).

3. RUN MPS/MRP in PPDS and generate the planned order.

4. Detail scheduling planned order in PPDS.

5. Conversion ind. set for planned order in APO.

6. convert planned order in APO to production order.

7. send production order to non-SAP ERP.

8. non-SAP ERP get the order no & infor, generate the regarding production order in ERP.

so we need FM or Bapi to do the step 6. since this scenario is different with standard CIF connection between ECC and APO.

what's your opinion?

Thanks

Regards

Kevin

Former Member
0 Kudos

Hello Kevin,

as far as I know the production order is not created in APO.

Its just the conversion flag that is set in APO. The production usually is created in ERP and the production order number is sent back to apo.

I just checked inbound queue of APO after conversion.

within /SAPAPO/CIF_ORDER_INBOUND the used method is K - Key Completion and ordertype 6 - Production order.

APO is not sending a production order to SAP ERP or any other system. Its just sending the order with the conversion indicator. Conversion happens in SAP ERP resepective non-SAP ERP.

Regards,

Uli

Former Member
0 Kudos

Dear Ulrich

thanks for your message, indeed we used this function /SAPAPO/CIF_ORDER_INBOUND to convert production order last week, it works.

but the problem now is about release production order.

the scenario is that:

1. create production order in PPDS

2. transfer production order information to Non-SAP ERP.

3. NON-SAP ERP would release production order and synchronize to PPDS

4. PPDS could be triggered to release Production order.

so the point 3, 4. we didn't find a function module or BAPI to do this in 4. in order to get the status or somehow other parameters, then use the function module/BAPI to release production order.

about this scenario, what's your thought? any suggestions would be welcome!

Thx

Regards

Kevin

Former Member
0 Kudos

Hello Kevin,

you should be able to use  /SAPAPO/CIF_ORDER_INBOUND as well

For your entry in table:

/SAPAPO/CIF_ORDER_HEAD

Use the following fields:

METHOD - Method to be Executed when Transferring an Object -->

C Change

STATUSREL - Status: Released

1 Opened

2 Partially Released

3 Released

STATUSCNF - Status Confirmed

1 No Confirmation Sent

2 Partially Confirmed

3 Confirmed

to modify the status of the order.

I never tried it but it seems to make sense.

Regards,

Uli

Former Member
0 Kudos

Dear Uli

Thanks, I tried, it works for setting order head status, but not for operation status. the OP status stays the same.

any additional steps or FM for op status setting? what is your opinion?

Thanks again, you message is really helpful for our scenarios.

Best Regards

Kevin

Former Member
0 Kudos

Hello Kevin,

please see in table IT_OPR for the specific rows the fields:

STARTED

RELEASED

PARTCONF

FINALCONF

Regards,

Uli

Former Member
0 Kudos

Hi Uli

we finally used this FM to set the OP-Status.

'/SAPAPO/RRP_LC_ORDER_MODIFY'


Thanks a lot for your comments.

Regards

Kevin

Former Member
0 Kudos

Hi Kevin,

glad you guys made it!

please set discussion to "answered" and mark helpful/correct answers.

cheers,

uli

Answers (0)