cancel
Showing results for 
Search instead for 
Did you mean: 

Badi or User exits for Inspection lot posting in previous period QA32

former_member231869
Participant
0 Kudos

In QA32 inspection lot stock in this user insert posting date in have to restrict user if document date in 17.10.2016 then posting date should be 15.10.2016 just 2 days before.

for that i need badi or user exit but find some but not triggering

here are some badi & user exit.

QEVA_ALT_QTY_INPUT

QEVA0001,

QEVA0008

QEVA0007

QEVA0010

plz guide me how i could achive this.

Accepted Solutions (0)

Answers (17)

Answers (17)

former_member231869
Participant
0 Kudos

i got it so i have to use RQEVA-BUDAT directly in the code

i mean its giving unknown

former_member231869
Participant
0 Kudos

hey now its triggering....

former_member196331
Active Contributor
0 Kudos

Can you do a small thing, for me.

Open the program as shown in the below program, then Put break point, then immediately open the new session , from this present session.

now open Qa32 then enter qty and posting date other fields, In every action below line will be trigger, Even if you try to save the qa32 dcoument too it will be trigger. Even while opening the Qa32 will be below line will be triggers.

Can you please tell me whether it is triggering or not.

former_member231869
Participant
0 Kudos

ok....no enhancement triggering....so could you say configuration is not proper?

former_member196331
Active Contributor
0 Kudos

Brother.........

In Structure .. RQEVA , I was highlighted BLDAT and BUDAT. Please Check the first attached image.

former_member231869
Participant
0 Kudos

dear just last question... at there in enhancement how you get the value of document date and posting data?

former_member196331
Active Contributor
0 Kudos

Ok, Fine

But Small mistake.

It is better to say.

enhancement-point not working In your system.

Here working fine. Reason may be any reason. Need to Find out.

former_member231869
Participant
0 Kudos

no.....

but there is one badi which trigger at save

INSPECTIONLOT_UPDATE

enhancement-point not working .

former_member196331
Active Contributor
0 Kudos

is this triggering when you click on save or tick?

both, After click on Right symbol at Document date then while saving both the times getting triggering.

former_member231869
Participant
0 Kudos

could you tell me what will be the reason why its not triggering?

is this triggering when you click on save or tick?

former_member231869
Participant
0 Kudos

yes i have to validate document date and posting date.

if document date is 17.10.2016 then it should allow posting upto 15.10.2016

former_member196331
Active Contributor
0 Kudos

Here it is working. NO other comments.

former_member231869
Participant
0 Kudos

yes its active

former_member196331
Active Contributor
0 Kudos

Your Requirement is While saving Qa32 need to validate that two field. Am i correct.

former_member231869
Participant
0 Kudos

see this...from here its not triggering

former_member196331
Active Contributor
0 Kudos

Exact Same point , i was created the point, but it is triggering. But why its not in your system. May i know why.

Can you confirm me, Go to Se19 enter your enhancement point like YPOSTINGDATE_R(something) AT the field

New badi Edit box and press display and tell me whether it is active or not.

raymond_giuseppi
Active Contributor
0 Kudos

As it's related to the FI posting date, you could also consider a validation (OB28), or even a substitution (OBBH), in FI?

Regards,
Raymond

former_member231869
Participant
0 Kudos

i found this....right there i need to do code ?

former_member196331
Active Contributor
0 Kudos

Yes, Exactly below, Create Point. And write your logic. And check it.

While saving whether it is triggering or not, I hope it will trigger, Here triggering.

Need Feedback.After implement.

former_member231869
Participant
0 Kudos

well thanks but don't knw where to write its soo confusing to write there

former_member196331
Active Contributor
0 Kudos

There is one form

form diag_xml_handling.

Immediate below i was Created One Enhancement point. Line no 470.

Note:If you observe line no wise ,It may be changes As per the sap version wise. Better you go with form diag_xml_handling.

Else.

First check what are all the available enhancement point. then

1st

check not

else.

2nd.

else.

3rd.

else.

4th.

else.

Hope you understood.

former_member196331
Active Contributor
0 Kudos

Hope You Still have not got the Answers.

After 1 hours i was checked, different exits, But i have not got any solutions.

Finally One enhancement point ,I have found, AT Qa32 After save the button, this enhancement point will be trigger.

Program:SAPMSSYD

Structure:RQEVA

Fields:Budat and Blat.

Find enhancement point and write the logic for validating the fields

Please Find the Attached File.

Hope you understood. And know how to find the Enhancement point in abap , N Number of examples are there you may check it with correct keywords.