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: 

CRM t-code COMMPR01 call transaction with parameters

paulagarca
Explorer
0 Kudos

Dear experts,

I am trying to skip first screen of COMMPR01 with a material, like this:

SET PARAMETER ID: 'PRODUCT_ID' FIELD <fs_alv>-ordered_prod.
CALL TRANSACTION 'COMMPR01' AND SKIP FIRST SCREEN.

But it does not seem to work, first screen is skipped but the material is not the one selected, it is the last one used for last access to the t-code.

Any ideas? Thanks in advance!

3 REPLIES 3

raymond_giuseppi
Active Contributor
0 Kudos

Look at

  • Attributes of the transaction initial dynpro, next dynpro of dynpro 100 is dynpro 100 -> so AND SKIP FIRST SCREEN should not be effective (actually this dynpro is a dummy)
  • Logic of class CL_PRWB_APPLICATION to find how to pass parameters (or execute where-used and look at FM such as COM_PRWB_BASE_UI_NEW_OPEN_POP)

paulagarca
Explorer
0 Kudos

Hi Raymond,

Sorry, I don't understand your solution 😞

thilakan_t
Participant
0 Kudos

Check in debugging, if the parameter ID (PRODUCT_ID) is used in PBO of COMMPR01 in GET PARAMETER statement and used to display that product. If not, you have to do a small enhancement to do the same.