‎2008 Oct 22 11:55 AM
I am doning the transaction FBL5N by using SUBMIT for program RFITEMAR.
HOw to pass the values from my program to fbl5n.
thanks
‎2008 Oct 22 12:00 PM
Hi,
Check for that particular field if parameter id is available no need for bdc recording if not use bdc recording.,
Thanks,
ThiruKumaran. R
‎2008 Oct 22 11:58 AM
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
‎2008 Oct 22 11:59 AM
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
‎2008 Oct 22 12:00 PM
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
‎2008 Oct 22 12:00 PM
Hi,
Check for that particular field if parameter id is available no need for bdc recording if not use bdc recording.,
Thanks,
ThiruKumaran. R
‎2008 Oct 22 12:02 PM
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
‎2008 Oct 22 12:04 PM
I want to pass all values like kunnr and
date and radiobutton values for line item selections in fbl5n
‎2008 Oct 22 12:09 PM
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.
‎2008 Nov 17 2:00 PM
SUBMIT for program RFITEMAR works great, but any changes on documents has no effect ;/