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

submit and return

Former Member
0 Likes
748

Hello everyone,

I am calling fbl3n tcode from my zprogram using

       SUBMIT RFITEMGL
             WITH FREE SELECTIONS TEXPR
*               WITH FREE SELECTIONS rt_dyn_trange
             WITH SD_SAKNR-LOW  = L_HKONT
             WITH SD_BUKRS = P_BUKRS
             WITH SO_BUDAT = P_BUDAT
             WITH XOPSEL = 'X'.

I display alv list and if user presses field on alv list it will do the submit.

I am able to display the alv list and also fbl3n list when pressed a field on alv. The problem is when i press the back button on displayed fbl3n list, the control goes to initial screen instead of displaying the alv list. How can i get the control back to alv list so that user can select another field for processing.

Regards

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
674

Hi Kesi,

Try with this code.

SUBMIT RFITEMGL

WITH FREE SELECTIONS TEXPR

  • WITH FREE SELECTIONS rt_dyn_trange

WITH SD_SAKNR-LOW = L_HKONT

WITH SD_BUKRS = P_BUKRS

WITH SO_BUDAT = P_BUDAT

WITH XOPSEL = 'X' <b>AND RETURN.</b>

Thanks,

Vinay

4 REPLIES 4
Read only

Former Member
0 Likes
675

Hi Kesi,

Try with this code.

SUBMIT RFITEMGL

WITH FREE SELECTIONS TEXPR

  • WITH FREE SELECTIONS rt_dyn_trange

WITH SD_SAKNR-LOW = L_HKONT

WITH SD_BUKRS = P_BUKRS

WITH SO_BUDAT = P_BUDAT

WITH XOPSEL = 'X' <b>AND RETURN.</b>

Thanks,

Vinay

Read only

Former Member
0 Likes
674

Hi,

Write AND RETURN and see.

SUBMIT RFITEMGL

WITH FREE SELECTIONS TEXPR

  • WITH FREE SELECTIONS rt_dyn_trange

WITH SD_SAKNR-LOW = L_HKONT

WITH SD_BUKRS = P_BUKRS

WITH SO_BUDAT = P_BUDAT

WITH XOPSEL = 'X' AND RETURN.

reward if useful

regards,

Anji

Read only

Former Member
0 Likes
674

Hi..,

You are not using AND RETURN here .. so the calling program will be deleted from the working memory of the program !! so how can it go back to ALV list .. when the list is deleted !!

use..

SUBMIT RFITEMGL

WITH FREE SELECTIONS TEXPR

  • WITH FREE SELECTIONS rt_dyn_trange

WITH SD_SAKNR-LOW = L_HKONT

WITH SD_BUKRS = P_BUKRS

WITH SO_BUDAT = P_BUDAT

WITH XOPSEL = 'X' <b>and return</b>.

regards,

sai ramesh

Read only

Former Member
0 Likes
674

Hey Rahul

SUBMIT RFITEMGL

WITH FREE SELECTIONS TEXPR

  • WITH FREE SELECTIONS rt_dyn_trange

WITH SD_SAKNR-LOW = L_HKONT

WITH SD_BUKRS = P_BUKRS

WITH SO_BUDAT = P_BUDAT

WITH XOPSEL = 'X'

<b>AND RETURN</b>.

rahul, in subject u kept submit and return ,but u forgot d same in ur prgram :-).

regards,

ramesh.