Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

vbkred-cmgst

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

2 REPLIES 2

Former Member
0 Kudos

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

former_member1245113
Active Contributor
0 Kudos

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