Skip to Content
author's profile photo
Former Member

/AFS/BAPI_SALESORDER_CREATE

Hi,

Can any throw some light on this BAPI, It gives me an error like unpermitted combination of 'BUS2032' and the document category(k, L, & A) that i have used till now.

Thanks in advance.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Oct 06, 2005 at 07:36 PM

    I don't know about the AFS BAPI, but if it is a sales order that you are trying to create, it's document category should be 'C'. I think you are trying to create something else using this BAPI, instead of a sales order, or you are passing the wrong category. If you are trying to create some other SD document(K = Credit memo request, L = Debit memo request and A = Inquiry), then you should try other BAPIs.

    In regular R/3, you have BAPI_SALESDOCU_CREATEFROMDATA1 to create other SD documents. See if there is an equivalent in AFS industry specific solution.

    Please close the post if answered.

    Regards,

    Srinivas

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Oct 06, 2005 at 09:45 PM

    Hi

    I don't know your BAPI, but I had the same problem with a BAPI (BAPI_SALESDOCU_CREATEFROMDATA1) as your.

    My BAPI call BAPI BAPI_SALESDOCU_CREATEFROMDATA where the object BUS2032 is always moved.

    So I directly used that BAPI passing the business object I needed, it worked fine.

    See fm SD_OBJECT_TYPE_DETERMINE to determine the business object.

    Max

    Message was edited by: max bianchi

    Add comment
    10|10000 characters needed characters exceeded