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

Former Member
0 Likes
1,045

I am doning the transaction FBL5N by using SUBMIT for program RFITEMAR.

HOw to pass the values from my program to fbl5n.

thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
964

Hi,

Check for that particular field if parameter id is available no need for bdc recording if not use bdc recording.,

Thanks,

ThiruKumaran. R

8 REPLIES 8
Read only

Former Member
0 Likes
964

Hi,

You use the WITH addition of the submit statement

e.g.

submit RFITEMAR with so_wlkun in s_kunnr
                            with pa_wlbuk eq p_wlbuk
           and return.

Darren

Read only

Former Member
0 Likes
964

Hi,

Do the BDC recording for that t-code and saveit in zprogram and pass your values to that zprogram and call it in your main program using submit zprogram and return.

Hope it will deinitely helps u,

Thanks,

Thirukumaran. R

Read only

Former Member
0 Likes
964

Hi,

Use the addition USING SELECTION-SET <var> to the SUBMIT.

Also refer to http://help.sap.com/saphelp_nw04/Helpdata/EN/9f/dba51a35c111d1829f0000e829fbfe/content.htm

Regards,

Renjith

Read only

Former Member
0 Likes
965

Hi,

Check for that particular field if parameter id is available no need for bdc recording if not use bdc recording.,

Thanks,

ThiruKumaran. R

Read only

Former Member
0 Likes
964

Hello,

Try in this way

but append all the selection screen value to this internal tabl y_v_rspar_tab.

When u click the F1 for the field in Tcode of the selecion screen u will get the selname of y_v_rspar_line-selname .

data:

y_v_rspar_tab TYPE TABLE OF rsparams,

y_v_rspar_line LIKE LINE OF y_v_rspar_tab,

y_v_rspar_tab TYPE TABLE OF rsparams,

y_v_rspar_line-selname = y_lk_parm1.

y_v_rspar_line-kind = y_k_p.

y_v_rspar_line-sign = y_k_i.

y_v_rspar_line-option = y_k_eq.

y_v_rspar_line-low = y_k_x.

APPEND y_v_rspar_line TO y_v_rspar_tab.

y_v_rspar_line-selname = y_lk_parm2.

y_v_rspar_line-kind = y_k_p.

y_v_rspar_line-sign = y_k_i.

y_v_rspar_line-option = y_k_eq.

y_v_rspar_line-low = y_v_updfilename.

APPEND y_v_rspar_line TO y_v_rspar_tab.

SUBMIT RFITEMAR USING SELECTION-SCREEN '1000'

WITH SELECTION-TABLE y_v_rspar_tab1 AND RETURN

Read only

Former Member
0 Likes
964

I want to pass all values like kunnr and

date and radiobutton values for line item selections in fbl5n

Read only

Former Member
0 Likes
964

Hi,

Check This,

DATA text TYPE c LENGTH 10.

SELECTION-SCREEN BEGIN OF SCREEN 1100.

SELECT-OPTIONS: selcrit1 FOR text,

selcrit2 FOR text.

SELECTION-SCREEN END OF SCREEN 1100.

...

Calling program

REPORT report2.

DATA: text TYPE c LENGTH 10,

rspar_tab TYPE TABLE OF rsparams,

rspar_line LIKE LINE OF rspar_tab,

range_tab LIKE RANGE OF text,

range_line LIKE LINE OF range_tab.

...

rspar_line-selname = 'SELCRIT1'.

rspar_line-kind = 'S'.

rspar_line-sign = 'I'.

rspar_line-option = 'EQ'.

rspar_line-low = 'ABAP'.

APPEND rspar_line TO rspar_tab.

range_line-sign = 'E'.

range_line-option = 'EQ'.

range_line-low = 'H'.

APPEND range_line TO range_tab.

range_line-sign = 'E'.

range_line-option = 'EQ'.

range_line-low = 'K'.

APPEND range_line TO range_tab.

SUBMIT report1 USING SELECTION-SCREEN '1100'

WITH SELECTION-TABLE rspar_tab

WITH selcrit2 BETWEEN 'H' AND 'K'

WITH selcrit2 IN range_tab

AND RETURN.

Thanks,

Jayshree.

Read only

0 Likes
964

SUBMIT for program RFITEMAR works great, but any changes on documents has no effect ;/