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: 

BDC for Shipments

Former Member
0 Kudos

Dear Friends. I have to connect 2 different BDCs in a program.

First BDC.

Starts from tcode VL06P,

as I enter Route and Warehouse Num, A list of deliveries is displayed.

I have to pick the Ship to Party from this list and start the second BDC.

Second BDC,

Open VT01n

Give TransportPlanningPt and Shipment Type

Click on Deliveries Button

Enter Shiptoparty from the above BDC and execute. and process the deliveries displayed.

The problem is how do I get the Kunnr from the displayed list in the first BDC. If I get that other things are easier to do.

1 . There is no message at end of first BDC. Just ALV list is displayed as you execute VL06P

Please suggest.

Thanks

1 REPLY 1

Former Member
0 Kudos

use CALL FUNCTION 'WS_LM_DATA_SELECTION_DUE'

and get the KUNNR from ET_POSTAB