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: 

assign password while click button

former_member254311
Active Participant
0 Kudos

hello friends

My requirement is as follows , I need set password window while clicking button in QA32 Transaction code That is

at first i will a inspection lot , Then moment i click Usage Decision(UD) Button then this password window should come ..

Any Idea or logic .. USER EIXT BADI Etc

anandkumar

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi friend

try this.


case sy-ucomm.
when 'fc'.

 CALL FUNCTION 'SSFH_PASSWORD_PROMPT'
      EXPORTING
        SIGNER           = 'MANAGER'
      IMPORTING
        PASSWORD         = STR
      EXCEPTIONS
        CANCELED_BY_USER = 1
        OTHERS           = 2.
    IF SY-SUBRC EQ 0.
      IF STR EQ 'XXXXX'.
        PERFORM F1.
      ELSE.
        CALL TRANSACTION 'J1IP'.
      ENDIF.
    ELSE.
      CALL TRANSACTION 'J1IP'.
    ENDIF.
ENDCASE.

regards

suren.s

4 REPLIES 4

Former Member
0 Kudos

Hi,

U can use th BADI - QEVA_SUBSCREEN_1101 to add addtional screen on UD of an Inspection Lot.

U can get more details about this BADI @ SPRO (Quality Management --> Enviornment --> Tools --> Business Add-Ins --> Quality inspection)

Regards,

Bhargava

Former Member
0 Kudos

Hi,

Use FM POPUP_GET_USER_PASSWORD to popup a logon dialog which gets username and password.

Regards

Karthik D

Former Member
0 Kudos

hi friend

try this.


case sy-ucomm.
when 'fc'.

 CALL FUNCTION 'SSFH_PASSWORD_PROMPT'
      EXPORTING
        SIGNER           = 'MANAGER'
      IMPORTING
        PASSWORD         = STR
      EXCEPTIONS
        CANCELED_BY_USER = 1
        OTHERS           = 2.
    IF SY-SUBRC EQ 0.
      IF STR EQ 'XXXXX'.
        PERFORM F1.
      ELSE.
        CALL TRANSACTION 'J1IP'.
      ENDIF.
    ELSE.
      CALL TRANSACTION 'J1IP'.
    ENDIF.
ENDCASE.

regards

suren.s

former_member254311
Active Participant
0 Kudos

I got a user exit for packages QV QEVA0006

Edited by: anand kumar on Jul 10, 2009 1:33 PM