Application Development and Automation 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: 
Read only

vbkred-cmgst

Former Member
0 Likes
966

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
Read only

Former Member
0 Likes
858

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

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
Read only

Former Member
0 Likes
859

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

Read only

Former Member
0 Likes
858

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