Skip to Content
avatar image
Former Member

BAPI For Process order confirmation COR6

Hi All,

Can you Pl let us know the BAPI for Process order confirmation which are done by COR6.

Requirement is,  we want to Partial confirm the Process order with Goods Movement as 261 ( Goods Issue For components)

Currently I am using FM-  BAPI_PROCORDCONF_CREATE_HDR.

After executing this FM , it is giving me message as Process order confirmed but actually No Goods movement is posted and PCNF status is not marked.

Can you Pl suggest if any step/ data is missing.

Thanks in advance.

Regards,

Sachin

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Oct 26, 2015 at 11:39 AM

    Hello

    You must call BAPI_TRANSACTION_COMMIT on your program after this BAPI, in order to save the results.

    BR
    Caetano

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 26, 2015 at 12:24 PM

    Hi Sachin

    please  review FAQ note 1586230 the most questions are valid for process orders also, this FAQ answer the typical questions by using BAPI confirmation like the one you face at the moment and Caetano answered already.

    BR Sabine

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Okay, so the customizing should be fine.

      You said COR6 but than refer to BAPI to post HEADER confirmation. So to post COR6 via BAPI the correct one to use is BAPI_PROCORDCONF_CREATE_TT.

      To propose the goods movements run the proposal BAPI before
      It's BAPI_PROCORDCONF_GET_TT_PROP or for the header confirmation BAPI_PROCORDCONF_GET_HDR_PROP

      this will propose the goods movements in the same logic

      BR Sabine

  • avatar image
    Former Member
    Oct 26, 2015 at 12:45 PM

    Hi,

    This is just for your information.

    You have to  call BAPI_TRANSACTION_COMMIT after main bapi run to save the result. But in case component not available in stk then this BAPI not showing any error. You have to add more program logic to restrict this.

    Add comment
    10|10000 characters needed characters exceeded