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

HOW TO CAPTURE DATA IN SAPSCRIPT

Former Member
0 Likes
682

HI,

CAN U TELL ME HOW TO CAPTURE DATAA FROM R/3 STANDARD TRANSACTION LIKE BILLING (VF01) WHEN TRIGGERING SAPSCRIPT.

SO THAT FURTHER DATA CAN BE SELECTED FROM PRINT PROGRAM BY USING THE CAPTURED DATA.I PROMISE TO GIVE FULL POINTS IF ANY CLUE IS GIVEN ON THIS ISSUE.

regards,

sanjay

HI,

CAN U TELL ME HOW TO CAPTURE DATAA FROM R/3 STANDARD TRANSACTION LIKE BILLING (VF01) WHEN TRIGGERING SAPSCRIPT.

SO THAT FURTHER DATA CAN BE SELECTED FROM PRINT PROGRAM BY USING THE CAPTURED DATA.I PROMISE TO GIVE FULL POINTS IF ANY CLUE IS GIVEN ON THIS ISSUE.

regards,

sanjay

3 REPLIES 3
Read only

Former Member
0 Likes
523

Hello Sanjay,

Output type will have Driver program (Print Program) and

LAyoutname.

Printprogram would have imported most of the data from Transaction when the Output routine triggered.

Now you Print program has the key data already, if you want to have some other data . Take the key fields (say invoice Number )and read required data from data base and pass it to script Layout.

Rgds,

Mano Sri

Read only

0 Likes
523

hi mano,

where exactly the key data is stored in print program.i need the variable name.

regards,

sanjay

Read only

0 Likes
523

Hi Sanjay,

So to your Driver program, go to FM open_form.

check for write_form FM and each element will be called.

You can see how the program is passing the data.

If want to print some more data which is not in Print program.

You can copy it and fetch teh required code or use perform endperform at script level layout.

Rgds,

Mano Sri