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

Manipulate unloading point TO

Former Member
0 Likes
897

Hi all,

i'm having difficulties with manipulating the unloading point of a TO (ltap-ablad).

using this piece of code:

CALL FUNCTION 'L_TO_CREATE_MOVE_SU' IN BACKGROUND TASK

EXPORTING

i_lenum = t_ltap_vb-nlenr

i_bwlvs = i_bwlvs

i_nltyp = ''

i_nlpla = ''

TABLES

t_ltap_vb = t_ltap_vb .

where i filled the t_ltap_vb-ablad with the desired unloading point (char(20)).

Now, when i check LT27 and look at the other data of my transfer order, the unloading point was not filled.

any suggestions?

thx

Pieter DT

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
631

Hi,

Try this.

Pass this value also t_ltap_vb-TBFOR along with t_ltap_vb-ablad .

t_ltap_vb-TBFOR = 2.

CALL FUNCTION 'L_TO_CREATE_MOVE_SU' IN BACKGROUND TASK

EXPORTING

i_lenum = t_ltap_vb-nlenr

i_bwlvs = i_bwlvs

i_nltyp = ''

i_nlpla = ''

TABLES

t_ltap_vb = t_ltap_vb .

Regards,

Satish

Hi all,

i'm having difficulties with manipulating the unloading point of a TO (ltap-ablad).

using this piece of code:

CALL FUNCTION 'L_TO_CREATE_MOVE_SU' IN BACKGROUND TASK

EXPORTING

i_lenum = t_ltap_vb-nlenr

i_bwlvs = i_bwlvs

i_nltyp = ''

i_nlpla = ''

TABLES

t_ltap_vb = t_ltap_vb .

where i filled the t_ltap_vb-ablad with the desired unloading point (char(20)).

Now, when i check LT27 and look at the other data of my transfer order, the unloading point was not filled.

any suggestions?

thx

Pieter DT

2 REPLIES 2
Read only

Former Member
0 Likes
632

Hi,

Try this.

Pass this value also t_ltap_vb-TBFOR along with t_ltap_vb-ablad .

t_ltap_vb-TBFOR = 2.

CALL FUNCTION 'L_TO_CREATE_MOVE_SU' IN BACKGROUND TASK

EXPORTING

i_lenum = t_ltap_vb-nlenr

i_bwlvs = i_bwlvs

i_nltyp = ''

i_nlpla = ''

TABLES

t_ltap_vb = t_ltap_vb .

Regards,

Satish

Read only

0 Likes
631

thx for quick reply.

However, it still didn't work. Maybe the cause is an other issue, but when i check my TO in LT27, the confirmation status indicates 'No confirmation has taken place'. (I perform 1 previous step, beging a transaction call of LM02. )

regards,

Pieter