06-28-2007 9:28 AM
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
06-28-2007 12:21 PM
use CALL FUNCTION 'WS_LM_DATA_SELECTION_DUE'
and get the KUNNR from ET_POSTAB