‎2008 Mar 26 11:04 AM
Hi,
I am using the Fm BAPI_PROCORDCONF_CREATE_HDR to confirm the process order. how am i going to set the backflush and the goods-receipt with this FM?
What are the possible entries in the tables GOODSMOVEMENTS and LINK_CONF_GOODSMOV of this BAPI?
Thanks a lot!
‎2008 Mar 26 11:28 AM
hi,
CALL FUNCTION 'BAPI_PROCORDCONF_CREATE_HDR'
" EXPORTING
" POST_WRONG_ENTRIES = '0'
" TESTRUN =
" IMPORTING
" RETURN =
TABLES
ATHDRLEVELS =
" GOODSMOVEMENTS =
" LINK_CONF_GOODSMOV =
" DETAIL_RETURN =
.
Functionality
You can use this method to create order confirmations for the process order. You can also use it to transfer goods movements that should be posted with a confirmation. If no goods movements were specified for a confirmation, then the goods movements are determined using the standard logic for backflushes and automatic goods receipt.
Note that a COMMIT WORK has to be executed directly after calling up this BAPI. That is, if you are using a sequence of BAPIs that change data, you cannot execute one single COMMIT WORK after the last BAPI. If this does occur, the second BAPI is terminated because a chain of calls of this kind is prevented technically. STYLE *
STYLE S_DOCUS1 Authorization checks are carried out for the following objects:
Authorization object C_AFRU_AWK with the activity 01 - Enter confirmation
Order type of the process order to be confirmed
Plant of the process order to be confirmed