2009 Feb 18 12:06 PM
Hi Folks,
I am working on BAPI_SALESORDER_GETLIST from VB.
I have taken mandatory parameters as CustomerNumber and Sales Organization.
While I am executing this in VB I am getting the following error
Parameter CustomerNumber of Method GetList is not a valid Structure!You should use plain datatypes.
How to resolve this.
Thanks in Advance.
Siva.
2009 Feb 18 12:17 PM
Hi Siva,
Refer these lines given in the Documentation:
Mandatory entries:
You must enter the relevant customer number in the SALES
parameter and the requested sales organization in the SA
parameter.
Optional entries:
You can restrict the selection by entering certain crite
you can display all the orders for a certain material or
particular time period (MATERIAL or DOCUMENT_DATE and DO
paramters). You can also find a certain sales order usin
purchase order number (PURCHASE_ORDER parameter).
Data:
w_num Like BAPI1007-CUSTOMER,
w_org like BAPIORDERS-SALES_ORG.
CALL FUNCTION 'BAPI_SALESORDER_GETLIST'
EXPORTING
CUSTOMER_NUMBER = w_num
SALES_ORGANIZATION = w_org
Regards,
Sravanthi
2009 Feb 18 12:26 PM
Hi Sravathi,
I am not writing any code in ABAP.
I am developing code in VB.
Thanks,
Siva.