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

Problem regarding F-47

Former Member
0 Likes
613

Through t. code F-47 It is observed that system is allowing users to create DPR for closed & Partial Closed POs (GR made, invoices booked & payment made) as well. I need validation that system should not allow users to create DPR for closed & Partial Closed POs. Also, One more problem faced is that system lets the user to make down payment against PO number even if the amount in Down Payment Request is more than teh total price i have after the GR.

Kindly help..

Edited by: lyviaCardoza on Jul 30, 2010 7:07 AM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
575

Hi Lyvia,

To solve your issue you can try the following steps:

1.copy RGGBR000 to zRGGBR000

2.Decide on the name for your user exit, which should start with 'U' (for a user defined user exit) and then a 3 digit unique number.

3.Above the line 'REFRESH ETAB', make the following entries:

Code:

Select all 

EXITS-NAME = 'U100'.
EXITS-PARAM = C_EXIT_PARAM_NONE. "Complete data used in exit.
EXITS-TITLE = TEXT-101. "Posting date check
APPEND EXITS.

4.Having written the user exit code, you must now activate that code. This is not the same as activating a program. What you are doing here is telling SAP that there is code available and this is where it lives.

5.Change the screen into change mode by clicking this pencil as normal, and then enter the module pool name that you created in the steps above into the Ex. Prog Field.

6.Save the changes and exit.

"Activating" the User Exit.

The next thing to do is to incorporate your user exit code into a validation rule.

Start transaction OB28.

Select 'New Entries', and complete the input fields.

Select the rule that you wish the user exit to be activated for (Note that these activations are company dependant).

Your user exit will appear essentially as a boolean variable in the rule that you have selected (or created).

In the relevant step enter the user exit name either as part of a condition statement or on it's own.

Hope this helps you.

Through t. code F-47 It is observed that system is allowing users to create DPR for closed & Partial Closed POs (GR made, invoices booked & payment made) as well. I need validation that system should not allow users to create DPR for closed & Partial Closed POs. Also, One more problem faced is that system lets the user to make down payment against PO number even if the amount in Down Payment Request is more than teh total price i have after the GR.

Kindly help..

Edited by: lyviaCardoza on Jul 30, 2010 7:07 AM

1 REPLY 1
Read only

Former Member
0 Likes
576

Hi Lyvia,

To solve your issue you can try the following steps:

1.copy RGGBR000 to zRGGBR000

2.Decide on the name for your user exit, which should start with 'U' (for a user defined user exit) and then a 3 digit unique number.

3.Above the line 'REFRESH ETAB', make the following entries:

Code:

Select all 

EXITS-NAME = 'U100'.
EXITS-PARAM = C_EXIT_PARAM_NONE. "Complete data used in exit.
EXITS-TITLE = TEXT-101. "Posting date check
APPEND EXITS.

4.Having written the user exit code, you must now activate that code. This is not the same as activating a program. What you are doing here is telling SAP that there is code available and this is where it lives.

5.Change the screen into change mode by clicking this pencil as normal, and then enter the module pool name that you created in the steps above into the Ex. Prog Field.

6.Save the changes and exit.

"Activating" the User Exit.

The next thing to do is to incorporate your user exit code into a validation rule.

Start transaction OB28.

Select 'New Entries', and complete the input fields.

Select the rule that you wish the user exit to be activated for (Note that these activations are company dependant).

Your user exit will appear essentially as a boolean variable in the rule that you have selected (or created).

In the relevant step enter the user exit name either as part of a condition statement or on it's own.

Hope this helps you.