on 10-06-2014 1:29 PM
Hi’
We try to create a validation when saving network header.
The validation should check values for Profit center at WBS element and Project definition.
(We know the logic and the tables to check, but we need to have the network number/ID to create the check).
We goto OPSI and create new exit in ZGGBR000
Data available are from structure AFVGD and not view CAUFVD.
The check seems to be done same number of times as networks in the project, but the data available are from the activity.
How do we do the coding to get data from the network header?
Thank you very much in advance for input
BR
Lone
Hi' again
I have found a solution.
I added CAUFVD as a Dictionary Structure in ZGGBR00 and voila - the data was available
Regards
Lone
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Do you want your project definition and WBS profit center should same? .
If yes, which level of WBS should be check against project definition profit center.
eg.
If my WBS level is 1 then project def. profit center is equal to WBs profit center
Validation
Prerequisite
PRPS-STUFE = '1'
Check
PROJ-PRCTR = PRPS-PRCTR
Message
Your WBS profit center is not same as Proj Profit center
Dnyanesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi'
Im sorry the problem is unclear.
In the exit for validation at network header we know how to make the coding needed for the profitcenter-check - BUT it is the wrong data we have available in the exit.
To make the check we need to take the network number for data available when the validation is performed.
When we put a break point for debugging to check the data available, they are from structure AFVGD and not view CAUFVD.
If you make a validation without exit, then for network header you can pick data from structure CAUFVD.
If you make a validation without exit for network ACTIVITY you can pick data from structure AFVGD.
When we make the exit for network header, we can pick data from AFVGD and not CAUFVD.
The strange thing is, that debugging shows that the exit are executed the same number of times as network in the project, not the number of times as activities in the project.
What do we have to do to have the structure CAUFVD available for the exit?
Thank you in advance.
Best regards
Lone
Hi,
Sorry, but the requirement is unclear.
Can you elaborate on this please?
Thanks and Regards,
Varshal Kachole
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.