on 09-09-2014 6:13 PM
Dear Friends,
We are trying to develop a Z program, to do mass production confirmation using BAPI_PRODORDCONF_CREATE_TT.
I have executed this FM followed by BAPI_TRANSACTION_COMMIT. All i can see is movement type 101 works fine, but 261 creates COGI errors all the time. It asks valuation type (split valuation activated) even though i have given correct valuation types (VAL_TYPE) in GOODSMOVEMENTS table entry inside the FM.
Screens of each tables inside the BAPI are shown below,
Screen of TIMETICKETS
screen of GOODSMOVEMENTS
MVT_IND also set to 'F'
Result is,
finish good comes to the inventory but components are moved to COGI.
Thank you!
Isuru
Hello
MVT_IND should be only set to 'F' for the goods receipt movement (generally 101). For the goods issue, this field should be empty.
You can try BAPI BAPI_PRODORDCONF_GET_TT_PROP to get the proposed data for the confirmation and use it as input parameter to BAPI_PRODORDCONF_CREATE_TT.
BR
Caetano
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Daniele,
Yes, it works fine in CO11N screen, if i manually enter valuation types for components, it consumes correctly. But when i try the same with above FM it does not work. System takes data only what i filled in TIMETICKETS table (order Id, Operation, Posting and Qty) , eventhough I filled every thing in the GOODSMOVEMENTS table (screen provided above)
System considers only what i have filled in TIMETICKETS view. Do I have to fill anything to consider data in the GOODSMOVEMENTS table?
Thank you.
Isuru
Dear Isuru,
as already said by Caetano only method for to figure out if you are insert all data in the FM is run FM BAPI BAPI_PRODORDCONF_GET_TT_PROP whit the PROPOSE = XXXXX in order to visualize as
should be fill all structures of the BAPI BAPI_PRODORDCONF_GET_TT.
Normally for good moviments structures the first one thing to check is the backflush acitve in the master data of the component or in work center, this FM considers only backflush components.
Make sure also che structures LINK_CONF_GOODSMOV.
Sometimes the error description could be wrong and not describe the really problem indicated.
i hope to have been useful for you.
Daniele
Tissera,
If there is any issue during confirmation in mass processing through BAPI or COHV system would not be able to show the error message and Records are created in COGI for Post Processing and This is standard design of the system.
Please refer more info on this from below thread http://scn.sap.com/thread/3612195
Br
KK
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kiran,
Thanks for reply and yes i understand your point. But my problem is why it is giving me this valuation missing error though i was providing it when i execute the BAPI. (see the screen attached above).
I doubt whether i'm missing any required field here. As I feel BAPI ignores the values i filled in the 'GOODSMOVEMENTS' table.
Isuru
User | Count |
---|---|
91 | |
11 | |
10 | |
6 | |
5 | |
5 | |
5 | |
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.