on 01-02-2015 8:10 AM
Hi Experts,
I am facing few problems during executing BAPI_PROCORDCONF_CREATE_TT
My Scenario is I had set Auto GI and Auto Gr for Process Order Confirmation,
While confirming through COR6,while entering yield , activity Quantities are calculated automatically which I don't want to Change and while Saving , material doc No gets updated in AUFNR as WABLNR and activities are also shown
But While running BAPI, I am entering Order No, Yield qty, Phase No and Posting date ( I enter only these fields in COR6) and executing the same, Order gets Saved and GR has been done.
Problem is when I go to AFRU, for the respective confirmation , Activities field and WABLNR is not updated, Please guide me where am I missing...
Regards
Rajasekar.S
Hello,
Have you used COMMIT WORK after this BAPI execution?
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rajasekar,
Use below two BAPI to confirmation
BAPI_PRODORDCONF_GET_TT_PROP - It will be used to propose the quantity
BAPI_PRODORDCONF_CREATE_TT - It will be used to confirm order
First you have to use BAPI_PRODORDCONF_GET_TT_PROP to get activity values and then pass the values in BAPI_PRODORDCONF_CREATE_TT to confirm the order.
Note: If you want to do partial confirmation then in BAPI (BAPI_PRODORDCONF_GET_TT_PROP ) dont select the quantity (X).
Regards / US
Hi Uma Shankar,
I am trying BAPI for the first time... Hence my doubt may look silly...
To get activity values in BAPI_PRODORDCONF_GET_TT_PROP , I need to input in Time tickets manually for activity .
Rather i can enter activity values in BAPI_PRODORDCONF_CREATE_TT directly and execute....
whether system will consider activity values based on yield qty directly , bcos I am not entering Plant, Location and Other details in BAPI_PRODORDCONF_CREATE_TT , but it picks up and showing in CORT except for activity quantities.
When I confirm directly in COR6, when I enter yield, activity qtys get adjusted based on yield qty.
Correct if I am wrong.
Hi Rajasekar,
The advantage of entering data in BAPI_PRODORDCONF_GET_TT_PROP is by entering
order no,
yield qty,
operation no ,
Based on yield quantity activity will be calculated automatically and same data can be passed to
BAPI_PRODORDCONF_CREATE_TT with abap program.
If you are entering data in BAPI_PRODORDCONF_CREATE_TT every time we need to caluclate.
Activity time .
Regards
Anand
Hi Anand,
Thanks a lot for the input, this is working and it solved my Problem No 1.
But still my 2nd Problem, which is WABLNR not getting updated in AFRU table after
executing BAPI_PRODORDCONF_CREATE_TT .
But Material doc no updated in MSEG table, but not in AFRU.
Please help me.
Regards
Rajasekar.S
Hi Experts,
I am closing this thread as I got answer from SAP Global support.
Please find the answer given by them
For your issue, please see the reply to question 11 in Note 540392 as
attached.
11.
Question:
Despite successful goods movements, the material document is not
updated in the field AFRU-WABLNR.
Where do I find the document number?
Answer:
As of Release 3.1H, the system provides the reference from
confirmation to material document via table AFWI.
The system still uses AFRU-WABLNR only for header confirmations or
confirmations for an individual operation.
With milestone confirmations or with separate goods movements, that
is, goods movements that are posted in the update program or via
requests (BAPIs, collective entry, mas processing, BDC/PDC), table
AFWI is always provided due to technical reasons
Regards
Rajasekar.S
Hi Rajasekar,
Please enter below details in Time ticket in bapi
Order no
operation no
posting date
plant
yield
Regards
Anand
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.