Skip to Content
avatar image
Former Member

problem in SALESORDER_CREATEFROMDAT2 .

Hi,

I am uploading sales order using BAPI SALESORDER_CREATEFROMDAT2 . How can i upload manual condition type (pricing) , condition rate for each item in this BAPI.

kathir.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Sep 05, 2008 at 06:19 AM
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 05, 2008 at 07:15 AM

    Hi create BAPI interface variable like BAPICOND and pass

    value according to below code and append in condition table.

    WA_CONDITIONS_IN-ITM_NUMBER = <Item no>

    WA_CONDITIONS_IN-COND_TYPE = <Cond Type>

    WA_CONDITIONS_IN-COND_VALUE = <Cond value>

    APPEND WA_CONDITIONS_IN TO INT_CONDITIONS_IN.

    CLEAR WA_CONDITIONS_IN.

    WA_CONDITIONS_INX-ITM_NUMBER = LOC_POSNR.

    WA_CONDITIONS_INX-COND_TYPE = WC_X.

    WA_CONDITIONS_INX-COND_VALUE = WC_X.

    APPEND WA_CONDITIONS_INX TO INT_CONDITIONS_INX.

    CLEAR WA_CONDITIONS_INX.

    Try This,

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 07, 2008 at 02:31 PM

    thank u

    Add comment
    10|10000 characters needed characters exceeded