on 02-04-2016 6:18 AM
Hello,
I had already created Validation rule for Company Code X by Tcode OB28.
It's working fine.
Now created New Company code Y.
Created Validation rule for Company code Y by copying from Company Code X by OB28.
Now when I change any rule for Company Code X then it affects for Company code Y also.
So it gets overnights rule of Y Company.
I don't want to change any rule for Y company when I change any rule for Company Code X.
So why all change affects for both the company code.
Regards
Hello Swati
You can add company code (use set) in prerequisite of a particular validation rule in transaction GGB0.
Regards
Aniket
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks,
Do we really need Company code in prerequisite as we are creating all rules for all company code..
like ,
Company code X --- > Line Items ---> Valid --->Prerequisite, Check & Messages
Company Code Y ---> Line Items ---> Valid ---> Prerequisite, Check & Messages
So Company code is Main Criteria then why need company code in prerequisite.
Regards
Hi Swati
As I understand you wanted to change particular rule, so i suggested you to change prerequisite of that rule.
When you assign company code to call point and validation in OB28 all rules under that particular call point (document header / line item / complete document) and validation folder are application for that company code. If you want to skip any rule within validation folder then you can hange prerequisite in GGB0 accordingly.
For better understanding of your requirement / issue please share screenshots.
Regards
Aniket
In above screenshot , There are two company code.
Now even if I change Description of One company , system changed for another company also.
You can see in above, description are same. Actual I have change for company 'RI01' only.
Same way if I change validation for Company code 'RI01' then system changed for Company code 'TC01' also.
FYI, Step No. are same for both company.
Regards
Hello Swati
What do you mean by chaning description of one company code. The description displayed in OB28 is description of folder name "VALID". Call point 2 is line item folder.
Please check in GGB0>Financial accounting> Line item> Valid folder will be available there. Check description of folder.All rules defined under valid folder are applicable to company codes assigned in OB28. Now if you want to modify any rule then you can change prerequisite in GGB0 accordingly.
P.S. If issue is resovled, please close the thead.
Regards
Aniket
Description Means , You can see in above screen "Description"heading with "Validation for company code XXXXX"
In above screen you can see two different Company code as "RI01" & "TC01" for Call Point 2.
I am creating New steps by OB28.
Now I have step 001 for company code "RI01" and step 001 for Company code "TC01".
I want Prerequisite and Check detail different for both company as per below screenshot.
In GGB0 , there is no company code.
Hello Swati
You can write two seperate steps in GGB0, one each for company code RI01 and TC01. Company code is available in GGB0. You need to select "Accounting document header" option under table fields. Refer below screenshot.
Thank you.
Regards
P.S. Please close the thread by if your issue is resovled.
Thanks a lot Aniket,
In simple word , If I have One validation rule created for Company code RI01 IN ob28.
Now if I want to create same validation rule for Company code TC01.
e.g Following screen shot , validation rule created for Company code 'RI01'
Now same rule I want to create for Company code TC01 with same prerequisite but different Chek.
In Check , It should be 'BSEG-BUPLA = 'TC01' AND BSEG-SECCO='TC01'
Hi Swati
Validation rule is triggered and message is displayed when " Prerequisite is met and Check fails" . Based on your screenshot if transaction key is WIT, transaction code is FB60 and if company code is other than RI01 or TC01 an error message should be displayed. For this logic you can write prerequisite and check as mentioned below.
Prerequisite statement BKFP-TCODE = 'FB60' AND BSEG-KTOSL = 'WIT'
Check statement (BSEG-BUPLA='RI01' AND BSEG-SECCO=RI01) OR ((BSEG-BUPLA='TC01' AND BSEG-SECCO=TC01).
Regards
Aniket
P.S. Please close the thread by if your issue is resovled.
User | Count |
---|---|
7 | |
4 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.