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: 

Problem in Call Transaction

Former Member
0 Kudos

Dear Friends,

I have done an interactive report.

It's working fine except when i click on anywhere in the line it should takes me to Tcode VA43.

when i click on that line every time it is taking me to one contract number only(va43).

Means it is taking me the number which has last displayed via VA43 separately.

Suppose i executed VA43 and displayed of contract 100.

In the program it takes me to 100 Evertytime... but in the coding contract number is getting updated correctly based on row selected.

Kindly help me.

PFB code..

   FORM DOUBLE_CLICK  USING R_UCOMM     LIKE SY-UCOMM
                         RS_SELFIELD TYPE SLIS_SELFIELD.
  CASE R_UCOMM.
    WHEN '&IC1'.
      CLEAR WA_FINAL.
      READ TABLE IT_FINAL INDEX RS_SELFIELD-TABINDEX INTO WA_FINAL.
      SET PARAMETER ID 'AUN' FIELD WA_FINAL-VBELN.
      CALL TRANSACTION 'VA43' AND SKIP FIRST SCREEN.
ENDCASE.
ENDFORM.                    "DOUBLE_CLICK

1 ACCEPTED SOLUTION

former_member196490
Active Participant
0 Kudos

Try parameter ID 'KTN' instead of 'AUN'

5 REPLIES 5

kesavadas_thekkillath
Active Contributor
0 Kudos

Change AUN to KTN.

The F1 help on the fields says as below

  • AFN - Inquiry number
  • AGN - Quotation number
  • AUN - Order number
  • LPN - Scheduling agreement number
  • KTN - Contract number
  • AMN - Assortment number

former_member196490
Active Participant
0 Kudos

Try parameter ID 'KTN' instead of 'AUN'

0 Kudos

Thank you Neha & KesavaDas.

You Replies resolve my issue.

but how would i get Parameter id ..?

i checked via f1 help from va41 it shows 'ATN' only.

Kindly tell me the way.. thanks in advance.

0 Kudos

You were looking at the technical details. This was mentioned in the F1 documentation, before hitting technical details. This is differentiated based on document type.

Former Member
0 Kudos

Hi,

Add CLEAR wa_final and try.

Nevermind your problem seems resolved

Priya.