Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

problem with BAPI_PROCORDCONF_CREATE_HDR

Former Member
0 Likes
955

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!

1 REPLY 1
Read only

Former Member
0 Likes
571

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