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

Parameter id for PT61

Former Member
0 Likes
945

I am not able to find the parameter id for the fields of PT61 for e.g period.

I tried in the data element and also in the screen layout?

I want to make a call trx.

1 ACCEPTED SOLUTION
Read only

former_member69765
Contributor
0 Likes
862

Its actually a report.

Even I tried.. not able to find.. not sure of the reasons...

But if you want to do a CALL Transaction... then that is not required...

since this is a report... u can do submit report and pass the parameters ...

The report name is - RPTEDT00

Hope this solves ur Problem

Plz reward points if it was helpful ...

I am not able to find the parameter id for the fields of PT61 for e.g period.

I tried in the data element and also in the screen layout?

I want to make a call trx.

5 REPLIES 5
Read only

former_member69765
Contributor
0 Likes
863

Its actually a report.

Even I tried.. not able to find.. not sure of the reasons...

But if you want to do a CALL Transaction... then that is not required...

since this is a report... u can do submit report and pass the parameters ...

The report name is - RPTEDT00

Hope this solves ur Problem

Plz reward points if it was helpful ...

Read only

0 Likes
862

How do we pass parameters using submit?

Read only

0 Likes
862

Also will it create a spool?

or how do i get back the report generated by this report.

help will be greatly appreciated and rewarded.

Read only

0 Likes
862
  • Submit the Program.

SUBMIT <Report Name> TO SAP-SPOOL WITHOUT SPOOL DYNPRO

WITH <Parameter_1> EQ <value> AND RETURN.

If it is a select option use IN instead of EQ (as we do in ranges)

There are many variations with submit program so just Press F1 and see what suits best in your case.

This will submit the output into the spool. The spool name will be - 1st 9 characters of your report name + 1st 3 characters of ur user name (who is executing the program)

This is the convention followed but in ur case I would advice u to go and check in table TSP01 where the spool no. are stored.

From this table u have to select the latest spool created (RQIDENT) and then pass this spool no to FM - RSPO_RETURN_ABAP_SPOOLJOB.

      • Select Query ***

SELECT MAX( RQIDENT ) INTO V_SPOOL_NO FROM TSP01

WHERE RQ2NAME = <SPOOL_NAME>

AND RQOWNER = SY-UNAME.

******

CALL FUNCTION 'RSPO_RETURN_ABAP_SPOOLJOB'

EXPORTING

RQIDENT = V_SPOOL_NO

TABLES

BUFFER = IT_SPOOL

EXCEPTIONS

NO_SUCH_JOB = 1

NOT_ABAP_LIST = 2

JOB_CONTAINS_NO_DATA = 3

SELECTION_EMPTY = 4

NO_PERMISSION = 5

CAN_NOT_ACCESS = 6

READ_ERROR = 7

OTHERS = 8.

******************************************

this will pass u the spool into a internal table.

Read only

Sandeep_Panghal
Product and Topic Expert
Product and Topic Expert
0 Likes
862

Hi,

U can check table - TPARA .

hope this helps.