on 07-02-2007 3:53 PM
All,
I have created a BPS application which will allow users to manually enter plan data. In my enhanced layout I want to add a user exit function which will check the value of one of the CKF and depending on its value will not allow the user to save. So basically, I want to add a user exit on 'SAVE'. If the CKF is not equal to 0, then they should not be able to save.
Can anyone tell me how I can go about this?
Hope you are in BPS....
Develop a planing function and write the logic with a Fox or ABAP code.
Ravi Thotahdri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK....but how do I specify in my logic that I want the piece of code to be executed after the layout is rendered?
When creating user exit variables in the query designer, you have the option of using i_step which identifies where you are in the query execution process. I need similar functionalilty here since I want my code to be executed after the table is rendered when the user clicks on save.
Any code samples?
thanks, Mayank.
I am assuming that I will need to create the planning fuctions in upxpm since you mention that I need to create them in the Planning folder, correct? However, I don't see on option to create planning functions in upxpm. Can you please be a bit more specific as to where I need to create these?
You must have created planing areas, levels and packages, right?
If you double click the package and momentatiry you will see a bottom screen portion on the lower left opening for you. Go that lower left screen and on the package, right click and you will see a option to planing function.
More at:
http://help.sap.com/saphelp_sem350bw/helpdata/en/0a/242537cedf2056e10000009b38f936/frameset.htm
Ravi Thothadri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thank, Ravi. You are a great help.
I have created the planning function and added my FM. I have set a breakpoint expecting to stop at my code when I click on "SAVE" in the layout but it did not launch the debugger. Is there anything I need to add in the Planning function to make it stop when I click on 'SAVE'?
I went back to UPXPM and right clicked on my layout to select Function attributes but the function attribute option is grayed out. Any ideas?
You cant create [laning function in UPSPM;
You need to do it BPS0 and the a FM if you wish to derive the function in a FM.
In UPSPM, you will see a function attributes button, right click that; select the function to work when the user exits the folder.
Ravi Thothadri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.