‎2006 Dec 21 11:17 AM
I am not able to get the output, can u pls chek the code and can u give me any idea where's the problem in code ?
points for sure.
regards
vijaya
TABLES : bapi1007,
bapiorders.
DATA : salesorder_itab LIKE bapiorders OCCURS 0 WITH HEADER LINE.
DATA : cust LIKE bapi1007-customer VALUE '1390',
sorg LIKE bapiorders-sales_org VALUE '1000'.
CALL FUNCTION 'BAPI_SALESORDER_GETLIST'
EXPORTING
customer_number = cust
sales_organization = sorg
MATERIAL =
DOCUMENT_DATE =
DOCUMENT_DATE_TO =
PURCHASE_ORDER =
TRANSACTION_GROUP = 0
PURCHASE_ORDER_NUMBER =
IMPORTING
return = it_return
TABLES
sales_orders = salesorder_itab.
loop at salesorder_itab.
write : salesorder_itab-sd_doc.
endloop.
‎2006 Dec 21 11:18 AM
DATA : cust LIKE bapi1007-customer <b>VALUE '0000001390'</b>,
sorg LIKE bapiorders-sales_org VALUE '1000'.
Make the highlighted change.
Regards,
ravi
‎2006 Dec 21 11:20 AM
‎2006 Dec 21 11:23 AM
hi,
First check if that record exist
check if that record corresponds to that customer number
if still u donot get then add leading zeros.
santhosh
‎2006 Dec 21 11:27 AM
Use CONVERSION_EXIT_ALPHA_INPUT
wherein if u pass 1390 it will return 0000001390