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

Passing value to a tcode

Former Member
0 Likes
850

Hi friends

Please help me """"HOW TO PASS VALUES TO A TRANSACTION CODE TEXT BOX AUTOMATICALLY WHEN A SCREEN IS LOADING""""""""

the scenario is....

i'm doing a BDC for transaction MD4C (in ECC 5 - this differs in ECC 6 or 4.7) ... i passed values from flat file and the report is executing....My question is to run this report in background processing or spool processing....so i have found the sy-ucomm for the print icon in the report and that is (rppr and it goes to the spool , when clicking the print icon manually or typing the RPPR in transaction code box).... so now question is to pass the value directly to the transaction code when the report gets executed....so that the spool processing can be done automatically when running this BDC program in background.....

please guys , help me with this....Is this possible...

kindly guide me

thanks for your time...

4 REPLIES 4
Read only

Former Member
0 Likes
520

Try call transaction using BDCTAB.

CALL TRANSACTION MD4C using USING bdc_tab.

Here bdc_tab is an internal table bdc_tab of row type BDCDATA.

records screen sequence from SHDB for MD4C and then based on the recording populate bdc_tab and pass it to call transaction.

Read only

0 Likes
520

Dear joyjit

I tried those steps you said , actually while doing a recording in MD4C the recording stops when executing the report after passing values, recording shows up to passing values , it does notrecord the execute button trigeering and the report that comes further......And also in MD4C transaction , the Variant option is not there for saving and as a result it's not possible for running the report in back ground.....thats why i passed the value through parameters in MD4C and then passed that values through bdc recording and the program now takes the value and executes the report...but to execute in background we need to give print command , for that only i'm trying to give values RPPR in transaction code....So kindly help me with this...

Read only

Former Member
0 Likes
520

When You Run a report in background, if the report gives some output , then By Default there will be a spool generated and added to the spool list. Check the spool in SP01 or from background job you can go to the spool directly....

Read only

Former Member
0 Likes
520

answered