cancel
Showing results for 
Search instead for 
Did you mean: 

user exit or badi to update custom fields in inspection lot in qa02

0 Kudos

Hi Experts,

using screen badi i have added 4 custom fields in QA01,QA02,QA03 .I need to edit workarea in qa02 and update custom fields values into QA02 tcode .

The user exit QPL10001 which is useful in work area update is not working for QA02.

please help me in finding user exit or BADI to update custom field values in qals.

Thanks in Advance..

Thanks,

Raj.N

Accepted Solutions (1)

Accepted Solutions (1)

jogeswararao_kavala
Active Contributor
0 Kudos

Have a look at this BADI: INSPECTIONLOT_UPDATE

0 Kudos

Hi Jogeswara Rao Kavala,

INSPECTIONLOT_UPDATE badi is not updating QALS table .

We need to update the qals Table , it is containing our custom fields in it.


Thanks for your reply.

jogeswararao_kavala
Active Contributor
0 Kudos

You can see the methods inside. It is meant for QALS table update.

0 Kudos

Hi ,

Thanks for your reply.

i have written the code in CHANGE_IN_UPDATE of INSPECTIONLOT_UPDATE.

please find below code.

new_insplot-CHANGE_DAT  sy-datum.

   new_insplot-CHANGE_BY   SYST-UNAME.

   new_insplot-CHANGE_TIMS SYST-UZEIT.


but custom fields of qals table are not getting updated in QA02 tcode.


please help me .


jogeswararao_kavala
Active Contributor
0 Kudos

Which are the custom fields here?

0 Kudos

change_dat, change_by ,change_tims  which are added to qals by appending structure.

jogeswararao_kavala
Active Contributor
0 Kudos

Use SY-UNAME, SY-UZEIT and see.

Alsothe reason for not updating might me related to the Screen-exit through which you have added the custom fields to QA01. You have to write proper codes in the Export and import function exits provided in the user-exit.

0 Kudos

Can u please tell me how to use this BADI to update the short text field in qa33 tcode with header text in migo tcode.Can u tell me in a step wise procedure as i am new to BADI's

Answers (2)

Answers (2)

Harsh9
Participant
0 Kudos

Hello Raj,

You can try using transaction code ANST.

- Enter ANST tcode and then enter your transaction code you want.

- Do all the activities up to the point where you want exit to be triggered and then press back button.

- ANST will collect the traces and will provide with list of Customer Code available.

- You can choose from BAdI and exits from here.

Let me know if you face any difficulty...

Regards,

Harsh

0 Kudos

Hi,

ANST transaction does not exist.

Thanks

Raj

Harsh9
Participant
0 Kudos

Okay

Your system's basis package might be lower than what is required.

arunsapqm
Participant
0 Kudos

Hi check this link

thanks & Regards