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

BDC Call: Table Control

Former Member
0 Likes
708

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
678

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.

5 REPLIES 5
Read only

Former Member
0 Likes
678

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.

Read only

Former Member
0 Likes
678

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.

Read only

former_member378318
Contributor
0 Likes
678

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

Read only

Former Member
0 Likes
679

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.

Read only

0 Likes
678

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