cancel
Showing results for 
Search instead for 
Did you mean: 

UD reversal with QEVA0008 ?

Former Member
0 Kudos

Hi,

We are in a process to impliement the UD reversal below OSS notes

Note 33924 - Reversing usage decisions

Note 175842 - Inspection lot: Reversal of goods movements from UD

I understand we can copy the porgram from 175842 to reverse the stcok postings?

My question is as per OSS note 33924, we can impliement user exit QEVA0008 for reversing the UD.

Iw ant to know what logic needs to be written in the above user exit? How do we exactly achive reversal of usage decision with the user exit? there has to be some codin?

any clue guys ?

Accepted Solutions (1)

Accepted Solutions (1)

kiran_kumar179
Active Contributor
0 Kudos

Dear After implementing user exit there must be customized transaction transaction code ask your technical team to find out and reverse the UD with inserting inspection lot or Apply SNOTE 174877.Copy the program ZQEVAC22 in the SNOTE and create a tcode for that.

Check this thread for some help:

Cheers

KK

Former Member
0 Kudos

Hi,

I understand the part from 175847 for implimeenting the program( this would do reversal of goods movements) but i dont understand how UD can be reversed n in the user exit? what code needs to be written in the user exit?

Former Member
0 Kudos

As I understand ,There is std Include for this

***INCLUDE LXQEVF10.

*-- Example: Reset the Usage decision

*-- Please add your own authority requirements here or

*-- use the authority check within the general status management

*-- by adding a user status profile

*-- Reset Status Usage Decision by using business transaction QM68.

CALL FUNCTION 'QAST_PROCESS_ACTIVITY'

EXPORTING

  • I_DIALOG = 'X'

I_OBJNR = I_QALS-OBJNR

I_VORGANG = 'QM68'

EXCEPTIONS

NOT_ALLOWED = 1

ACTIVITY_NOT_ALLOWED = 2

OTHERS = 3.

E_EXIT_ACTIVE = 'X'.

This is used along with the system sets the inspection lot status "UDRE" - usage decision reset (system status I0297 ) logic in EXIT_SAPMQEVA_008..

Also read the document of OSS note 33924

Former Member
0 Kudos

as per my knowledge, u don't have to write any separate code for ud reversal.

just implement that note , copy program in note and assign 1 t_code to it

add that t_code for 322 in omjj

when u execute that t_code by giving insp. lot as input, it will do 322 in back ground

then u can go in qa12 and manually change ud code and post material as per ur requirment.

Former Member
0 Kudos

For UD reversal you don't have to create T Code.

As you are only Canceling UD & not doing 322 Movement type.

EXIT_SAPMQEVA_008-->This function module is called if the freely defined function (+FC1) in the menu for the usage decision transactions is called up.you need not to create T code.

Former Member
0 Kudos

Hi,

So You mean I dont ened to actually impliement INCLUDE ZXQEVU10 which is there in EXIT_SAPMQEVA_008.

The standard include alone LXQEVF10 will serve the purpose?

Former Member
0 Kudos

You have to write ZXQEVU10 along with updation of LXQEVF10 depending upon the logic.Take help of ABAPer

Former Member
0 Kudos

Sujit,

Any example of logic return in the Z include? I am still not sure what i should code in z include? Will the standard include alone will serve my purpose?

If anybody has implimented the z include let me know.

Answers (0)