Application Development 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: 

How to find current shop paper in coding of interface PM_COMMON

emanuel_gampp
Explorer
0 Kudos

Hello,

I'm printing a shop paper out of a CS order and I need to know in interface PM_COMMON the shop paper which I'm printing. Do you know which table I can use to select the current shop paper in a CS order?


Thanks in Advance

Regards Emanuel

1 REPLY 1

raymond_giuseppi
Active Contributor
0 Kudos

From Shop paper you get form and driver program (transaction OIDF, table T390) but multiple shop parpers could refer same form and program. Actually in standard report programs T390 is defined with a TABLES statement, so shoul already be availabe, in other cases you should be able to find it in memory (look for a form GENERAL_DATA_IMPORT or usage of memory id ID_IPRT_OPTIONS in driver programs such as RIPRCT00)