cancel
Showing results for 
Search instead for 
Did you mean: 

INTERNAL QN CHECK ON AUTHORIZATION FOR SALES ORG

Former Member
0 Kudos

Hello Experts,

Following is the current set up

An internal QN -Root Cause Analysis QN (RCA QN) is created via standard QM01 trxn where Sales Org is a mandatory field to be filled.The user able to create RCA QN for any Sales Org.

There is No check either at the time of selecting the Sales Org. field value OR at the time of save QN for authorization check against Sales Org. for the user.

There is now a requirement from business to ensure user can create a RCA QN only for the Sales Org. assigned to the authorization object in his authorization profile.

Problem:

The field Sales Org.(VIQMEL-VKORG) belongs to the Std. screen 0100 in screen program name SAPLXQQM.There is not any BADI enhancement that is triggered during RCA QN creation/Save for this field .Also , the user exit enhancement QQMA0002 will not work as VIQMEL is not updated yet with VKORG value until saved ( at when QQMA0002 FM EXIT_SAPLQAUT_001 is NOT getting triggerred)

Question:

Pl can you advise if there is  a way to check this field in the QN at time of creation or save via any user exit /enhancement in the std .prgm?

Pl let me know

Thanks

Ranganath

Accepted Solutions (0)

Answers (2)

Answers (2)

busyaban7
Active Contributor
0 Kudos

Hi Rangantha,

I think, you need to do a screen exit level validation (For Ex: QQMA0001) at sales org level (VIQMEL-VKORG), which should be triggered before "SAVE" option is executed or "Enter" is pressed. The main objective for this enhancement should be to check if the value VKORG is matching with the value maintained at User Profile. In case if both matches, then the "Save" option should be executed. Else, it should throw a pop-up message for user's reference that both the data is not matching.

Thanks,

Arijit


Former Member
0 Kudos

Hi Ranganath,

   You can try using EXIT_SAPMIWO0_009.


Basically this is provided to add new fields in subscreen but you can do additional check if requied.

Also this will trigger after you providing your Salses Orgnization Input.


Regards,

Monishankar C