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

Enhanced standard transaction Qa01 but on first saved data not displayed

sivab4u
Active Participant
0 Kudos
5,515

Hi friends,

I have enhanced standard transaction QA01 with custom input field(TRANSL) in modulepool screen 100. so it is working fine when i enter data and click on save. it is getting updated in table. but the problem is when i enter QA02, QA03 the field is blank.

I have fallowed this link: User-Exit for QA01/QA02/QA03 transactions | Issues Solving Solutions

in Function exit : EXIT_SAPLQPL1_004: implementation: transl = I_QALS-ZZTRANS_LOC.

                         EXIT_SAPLQPL1_006: implementation: E_QALS_CUST-ZZTRANS_LOC = transl.
                                                                                    E_ACTIVE = 'X'.

did i miss anything.


Regards,

Siva

1 ACCEPTED SOLUTION
Read only

Former Member
0 Kudos
4,659

Hi Siva,

1) Have you created the custom field in CL_QALS structure.

2) Check the logicfor EXIT_SAPLQPLI_004.

3) Check the logic for exit_saplqpli_006.

if you have implement the above things correct you should get the result. I have implemented it in my system for me it worked fine.

Regards,

Quddus.

11 REPLIES 11
Read only

PallaviU
Participant
0 Kudos
4,659

Hi Siva,

For the field TRANSL data is saved to database from QA01 tcode. Inorder to display the data in QA02 , QA03 are you fetching that particular field (TRANSL) from database?

Regards

Pallavi

Read only

sivab4u
Active Participant
0 Kudos
4,659

Hi Pallavi,

I have checked for importing parameters for inspection lot number, based on which i can use select statement to get value from qals table and display the custom field. but the importing paramaters of EXIT_SAPLQPL1_004 is blank so how do i get the value so i can display value for my custom field.


Regards,

Siva

Read only

Former Member
0 Kudos
4,660

Hi Siva,

1) Have you created the custom field in CL_QALS structure.

2) Check the logicfor EXIT_SAPLQPLI_004.

3) Check the logic for exit_saplqpli_006.

if you have implement the above things correct you should get the result. I have implemented it in my system for me it worked fine.

Regards,

Quddus.

Read only

0 Kudos
4,659

Hi Quddus,

Thanks for your reply, actually the issue got resolved. i did not maintain e_active and it is working fine.

now how do i make the field disabled in qa03.

Regards,

Siva

Read only

0 Kudos
4,659

Hi Siva,

Great you got your issue resolved. Now to make field disable. open exit_saplqpli_006 in which you have implemented the logic.

click on the button which is in yellow color it will direct you to se80.

Expand screen and double click on 100. uncomment module status_0100 output.

Double click on module status_0100 output. Implement the below logic.

Here screen-name = 'ci_qals-zzname' is the field name which you created in layout.

I have implement in my system successfully.

In qa02.

in qa03.

Reward if it is help full.

Regards,

Quddus.

Read only

0 Kudos
4,659

Hi Quddus,

I have maintained the code as below but the breakpoint is also not being triggered did i miss anything??

-->

MODULE STATUS_0100 OUTPUT.
*  SET PF-STATUS 'xxxxxxxx'.
*  SET TITLEBAR 'xxx'.
     BREAK-POINT.
if sy-TCODE = 'QA03'.
  LOOP AT SCREEN.
    IF screen-name = 'TRANSL'.
         screen-input = 0.
        MODIFY SCREEN.
     ENDIF.
    ENDLOOP.
  ENDIF.

ENDMODULE.

Read only

0 Kudos
4,659

Hi Siva,

Have you activated the project in cmod. 

Read only

0 Kudos
4,659

yes i have activated my project.

Read only

0 Kudos
4,659

Hi Siva,

Might be your flow logic is inactive.

Right click on XQPL and click on activate and also double click on screen 100 and check every thing is properly active .

Read only

0 Kudos
4,659

Thank you

Read only

aadizarobi
Explorer
0 Kudos
4,659

Hi,

I was facing same issue Just change a field name on you custom screen (QALS-ZZTMSCODE to CI_QALS-ZZTMSCODE) . Hope it will solve you problem

If your problem is resolved, please mark as "Answered and closed".