10-06-2005 5:27 PM
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.
10-06-2005 8: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
10-06-2005 10: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