‎2007 Apr 30 1:35 PM
Hi guys,
Hoping you could help me out with this. The program I am writing requires a BDC Call to VL02N:
<b>Update Picking Tab As Follows:</b>
<b>Copy the Delivery Quantity -> Picking Quantity</b>
This is based on selections from an ALV Report.
The problem I am facing is when I pass the internal table to the bdc call I need to update only the delivery items selected in the alv. The obvious reference I have for this is LIPS-POSNR.
Do you have any sample code which demonstrates how to cross reference the correct item by posnr using table control so I only update relevant rows?
<b>As always points awarded for helpful answers.</b>
Many Thanks,
Philip Johannesen
‎2007 Apr 30 4:08 PM
us ethe button named 'Place cursor'. function code POPO_T.
this is just before 'Batch split'. ie, the 6 th button in the row of push buttons, just below item display.
‎2007 Apr 30 1:52 PM
Hi Philip,
See this standard program " <b>DEMO_DYNPRO_TABCONT_LOOP_AT</b> ".
Hope it will be helpful for u.
Analyse the <b>DELETE</b> button functionlity..
Regards,
V.Raghavender.
‎2007 Apr 30 2:04 PM
Hi,
In BDC it is not possible to cross reference a particular item based on the item number. It would be better if u use BAPI or FM to create the outbound delivery.
I dont know the BAPI but you can try this FM rv_delivery_create.
Or lets wait for other experts to come up with any techinique for positioning a particular item through BAPI.
‎2007 Apr 30 3:47 PM
Hi,
Is it possible you could use old transaction code VL02 as this will allow you to use GUI function code "POPO" to position on the desired delivery item line.
Hope this helps
‎2007 Apr 30 4:08 PM
us ethe button named 'Place cursor'. function code POPO_T.
this is just before 'Batch split'. ie, the 6 th button in the row of push buttons, just below item display.
‎2007 Apr 30 4:26 PM
Thanks for your help guys. It works perfectly now using function code POPO_T as suggested by Sujamol. I've awarded points as promised.
Many Thanks,
Philip Johannesen