cancel
Showing results for 
Search instead for 
Did you mean: 

Planned Order for a Product not being shown

former_member305388
Active Contributor
0 Kudos

Hi Experts!!

I am an ABAPer and I am new to SAP APO. We are now working on /SAPAPO/PPT1. When clicked on some quantity, all the planned orders existing for that product are being shown with respective quantities. Now, I am trying to create a new planned order for a product through FM BAPI_MOSRVAPS_SAVEMULTI3 by splitting the quantity among the receipts. I have gone through several posts and have written the logic. But the newly created planned order is not being shown in /SAPAPO/PPT1. I can't find it anywhere. Am I doing something wrong here?

Here I explain it with an example. I have an aggregated entry for the month of June with quantity 3000, which is already split under receipts 1234 and 1235 as 1000 and 2000 EA respectively. Now, I need to split it as 1000 EA for each planned order and hence am creating a new plord. I am using same FM for changing plords as well with quantities as 1000. So, now both the receipts are being shown with quantity 1000 and the aggregated value as 2000... and the newly created one is missing. But I need the new one to be displayed and the aggregated should be 3000. Why is this happening? Am I missing something?

I already have posted a query that is related to this total requirement. . This has the first part of the total requirement. Just provided for extra info, but not related to this issue however.

Please help me out. Your help is highly appreciated. Thanks a lot!!

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member305388
Active Contributor
0 Kudos

Can anybody please provide some pointers??

former_member216565
Participant
0 Kudos

Hi Srinivas,

Please check Order Category of your newly created order. Also check the Order Start and End time. If the order lies outside that particular month, you wont be able to see in that particular month. And aggregated value wont be considering newly created order qty.

Also, check, if any Error is returned from the BAPI BAPI_MOSRVAPS_SAVEMULTI3. In your BAPI return parameters, check the newly created order no. and put that in T-code /SAPAPO/RRP2. Select "Planned Order" radio button and Check the Order details to ensure it exists in Livecache.

Thank you,

Santosh KB.

former_member305388
Active Contributor
0 Kudos

Hi Santosh,

It has been observed that SAVEMULTI3 created plord is not being shown at all. Moreover, though any qunatity change is done through this FM, it's not being reflected to ECC. In APO, though the qunatity is being changed and shown correctly, when I check in ECC the value is not updated. I have foudn a new FM /SAPAPO/RRP_ORDER_CREATE_FINDS to create a plord in ECC and is being shown in APO successfully. The samething needs to be done now for changing as well. I have tried /SAPAPO/RRP_ORDER_CHANGE_INTAC to change the qunatity, but is not working. Or I might not be using it in proper way.

Can somebody please suggest me some FM or so, to make the quntity changes reflected in ECC as well. Creation is fine. Have problem only with change. please help me out.

former_member216565
Participant
0 Kudos

Hi Srinivas,

With prior experience, i am sure that the BAPI SAVEMULTI3 can be used for Creation & Change.

I dont think,the FM's which you are using, are recommended by SAP. So , try to use BAPI most of the time,as it ensure data consistency.

As you told, order is not flown to ECC, but visible in APO, i would suggest you to check the importing parameters of the bapi, like EVENT CONTROL ( should be '1' ).

and COMMIT_CONTROL(should be 'E').

Also, check your queues after execution of bapi. you should find your change pointer in the inbound queue of R/3 System. Do let me know if you still stuck.

Thanks,

Santosh KB.

former_member305388
Active Contributor
0 Kudos

EVENT_CONTROL didn't help, but EXT_NUMBER_ASSIGNMENT and CHECK_SOURCE_EXISTENCE did the job... Now I am able to create the plords within APO. I will concentrate on ECC side later... But for now, I need one more clarification. Now everything is coming fine, except for the plord number. It seems that I need to give it as 1, 2 or whatsoever. But I need to have a similar serial number or somekind of serial number. Presently I am thinking of having a number range. But would like to know if anything can be done in APO. Please suggest.

former_member216565
Participant
0 Kudos

Hi Srinivas,

If you pass EXT_NUMBER_ASSIGNMENT,you are bound to pass order number externally, which will eventually leads to hectic maintainence. I would suggest you, not to pass it and let the system assign from internal number range.

Thanks,

Santosh KB.