2011 Mar 28 12:02 PM
Hi,
I have to copy the transaction LM03 in a custom transaction. The TO entered in the initial screen '0100' would be the TO number + TO item. I have to split them and confirm only the item provided. I am unable to figure out where the data to be confirmed is being selected in the FUGR LMOB. Could someone please let me know the data flow in transaction LM03?
Regards
N M Paul
Hi,
I have to copy the transaction LM03 in a custom transaction. The TO entered in the initial screen '0100' would be the TO number + TO item. I have to split them and confirm only the item provided. I am unable to figure out where the data to be confirmed is being selected in the FUGR LMOB. Could someone please let me know the data flow in transaction LM03?
Regards
N M Paul
2011 Mar 28 12:31 PM
Hi Paul,
Pass the complete data from LTAP and LTAK to T_TO_ITEMS and T_TO_HEADER respectively of the function module.
Pass the below mentioned data to BULK_CONF and call the function module as mentioned in the below way.
ltap_conf-nista = ltap-vsola.
ltap_conf-altme = ltap-altme.
ltap_conf-lqnum = lqnum.
ltap_conf-nlpla = ltap-nlpla.
CALL FUNCTION 'CONFIRM_TO'
EXPORTING
i_lgnum = g_lgnum
i_screen_type = 'SRC'
TABLES
t_to_items = li_ltap
t_to_header = li_ltak
bulk_conf = tap_confRegards
HM
2011 Mar 28 12:42 PM
Hi HM,
We are not usinf bulk confirm. This needs to be done for each item. Once the TO and item has been entered on the initial screen, the the data should split into the transfer order and the line item. Once the bin is scanned on the next screen (0312) in the verification field, ion save the transfer order item should be confirmed.
If any wrong bin is scanned the system should give an error message.
I am very new to RF transactions. Could you please help me out with how this can be achieved?
Regards
N M Paul
2011 Mar 28 1:42 PM
Hi Paul,
If you are not using the BULK type, then you can use the function module L_TO_CONFIRM.
Spli the data entered in the initial screen using OFFSET.
MOVE:
g_trns_order_100+0(10) TO g_tanum,
g_trns_order_100+10(4) TO g_tapos.
CALL FUNCTION 'L_TO_CONFIRM'
EXPORTING
i_lgnum = ltak-lgnum
i_tanum = ltak-tanum
i_quknz = l_quknz
i_qname = sy-uname
TABLES
t_ltap_conf = i_ltap_conf
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |