05-24-2010 6:46 AM
Hi All
I need to write a program to get the list of deliveries which has been released upon credit block. This report will be similar to vkm5 except that it will have records where vbkred-cmgst = 'D'. Could anyone tell me how to use the structure vbkred in my program. Should I use any function module. What is the procedure for using structure data in programs. Please reply.
Thanks and best regards
Subin
05-24-2010 6:53 AM
Hi,
Follow below logic.
Get the list deliveries from LIKP table, Check the corresponding entries in VBUK table for the
selected delivery. Delete the delivery details from internal table ff the field vbuk-cmgst is
not equal to 'D'
Regards
Vinod
05-24-2010 6:53 AM
Hi,
Follow below logic.
Get the list deliveries from LIKP table, Check the corresponding entries in VBUK table for the
selected delivery. Delete the delivery details from internal table ff the field vbuk-cmgst is
not equal to 'D'
Regards
Vinod
05-24-2010 6:57 AM
HI
Use BAPI_DELIVERY_GETLIST and pass CMGST value in the Range provided in this TABLES parameter
in Import parameters *CONTROL* pass *ITEM = X* " This will fetch the LIPS(Item) details
For more info Take F1 help on the BAPI FM
Cheerz
Ram