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

Pass data to std prog or tcode

Former Member
0 Likes
771

Please refer to the Tcode "FCKR" and std prog "RFEBCK00" I have to pass few fields to this screen though my SE38 program,

Fields to be passed :

1. Check File with File Path

2. Prenumbered checks to checked

3. Session name to be passed

4. Document type to be passed

5. Print file to be checked from the program.

Assume my data which is to be passed is in internal table I_PROCESS.

Can any one give me the code for this.............

6 REPLIES 6
Read only

Former Member
0 Likes
714

You will use the SUBMIT WITH statement, where WITH is your various parameters. You can simply press F1 ion SUBMIT.

Rob

Read only

Former Member
0 Likes
714

Ya chked it.........did not understand.............can u send the code if u have any idea abt it or if u have used it before

Read only

0 Likes
714

Try:

submit RFEBCK00
  with ck_file = 'Whatever'
  with... etc.
  and return.

You can just look at the parameters defined in RFEBCK00 to see what else you need.

Rob

Message was edited by:

Rob Burbank

Read only

Former Member
0 Likes
714

Hi,

If you want to pass the data your internal table to standard program. You can use the below code :

SUBMIT RFEBCK00

WITH ck_file= itab-filename with PNUMC = 'X' with PA_XBDC = itab-sesionname with I_BLART = itab-documenttype with p_File = 'X'.

AND RETURN.

Thanks,

Sriram Ponna.

Read only

Former Member
0 Likes
714

somthing lyk this :

submit RFEBCK00 with rlgrap-filename eq p_path

with febpdo-pnumc_ebck eq 'X'

with bkpf-blart eq D

and return.

In my program I have field called session how do i pass sesion name to that field.

Plzz chk the Tcode"RFEBCK00" and then correct me.

Read only

0 Likes
714

WITH group = 'MY_SES'

Rob