Substitution rule, validation and BTE
Hi,
Can some one explain me the basics of substitution rule, validation and BTE.
Please send me the related docs and links.
thanks in advance
Regards
Suresh
Suresh,
I have got a good documentation on the same .
Send me your email id .
Mine is : [email protected]
~ laxmi
Reward for helpful answers
Similar Messages
-
Substitution rule & validation rule
Hi
Please tell me what steps should be followed in substitution rule & validation rule
Thank You
DeepikaFor Creation of validation Goto GGB0.
You should choose in which module you are going to create. Like FA, AA, Cost accounting, Spl Ledgeretc.
Then at what level you want to do Validation. Like Complete Document level or Line item Level
Then You need to Define Your
1. Prerequite
2. Check and
3. Message
For Substitution goto GGB1
You need to define your Prerequisite and Substituion rule.
regards
jay -
Customer Master Data - Validation / Substitution Rule
Is there a way to perform a validation / substitution rule in the customer master data?
Eg: In customer master, payment history checkbox is a required field so the user will always have to tick the checkbox when creating a customer master.
Question: how to make this payment history checkbox defaulted to tick so that user don't have to manually tick it themselves when creating customer master.
Is there a validation / substitution that can be performed in customer master because in accounting document, we will be able to perform the validation/substitution.Hi
You could potentially use a BADI to substitute the data. IMG > Financial Accounting > Accounts Receivable and Accounts Payable > Customer Accounts > Master Data > Preparations for Creating Customer Master Data > Adoption of Customer's Own Master Data Fields > Business Add-In: Customer Subscreens
You'd need to get an ABAPer to code the change in the relevant Method.
Kylie -
wht is validations and substitutions? and difference between validations and substitutions
thanks in advance
premValidations are used to check the conditions while posting a document in sap system.
Validation allows you to define your own individual checks for specific fields when a business transaction is being processed.
Each validation can contain up to 999 steps that each consist of a
Prerequisite
Check
Message
Prerequisites and checks contain the same fields and have the same field processing options.
You can use a message that has already been defined or you can create a new message for the validation.
You can include up to four fields in a message. The '&' characters in the message are placeholders for the fields to be output.
path :In IMG under
Financial Accounting -> Special Purpose Ledger -> Tools -> Maintain Validation/Substitution/Rules -> Maintain Validation or
Transaction GGB0 for validation creation
T Code GGB1 for subtitution creation
Activation of validation and subtitution is GGB4
Substitutions are used to to substitute certain values GGB1
Prerequisite
Check
Message
for example to substitute a cost center or a GL account. -
Validation - Business Rule or/and UJ_Validation
Hi experts,
I'm on BPC 7.5 NW, I'm facing problem to construct a simple validation where I need to compare the amount from one parent account against to other. Let's explain the business scenario and after the technical solutions.
Business Scenario
Compare the Total Assets is equal to the Total Liabilities. The Total Assets is represented by a parent account "1", the Total Liabilities is represented by a parent account "2". If it is different show a warning.
This is need to trigger, after the Actual Transactional Data Load + Journals.
Technical Solution
Application: Legal
Dimensions: Empresa (Entity), Conta (Account), Fonte (C_DataScr), Versao (C_Category), Groups, Intco, MesAno (Time), TipMov (Flow), CCusto (User Defined), CLucro (User Defined)
1 - Business Rule
Validation Definition
Validation Account Remark Validation Operand Other destination dimension Members Validation Tolerance
ZATIVO_X_PASSIVO Ativo x Passivo = CONTA=VALIDATIVPASS,INTCO=SPTOTAL,CLucro=ACTEDUMMY,CCusto=ACTENONE 0
Account 1 Flow 1 Sign 1 Account 2 Flow 2 Sign 2 Remark
1 TMTOTAL* 1 2 TMTOTAL* 1 Ativo x Passivo
*The TMTotal Flow is a parent from every data on the master data TipMov (flow)
Validation.lgf
*RUN_PROGRAM VALIDATION
CATEGORY = %VERSAO_SET%
CURRENCY = %GROUPS_SET%
TID_RA = %MESANO_SET%
OTHER = [ENTITY=%EMPRESA_SET%]//For More than one other scope parameters: OTHER = [ENTITY=%ENTITY_SET%;INTCO=%INTCO_SET%...]
*ENDRUN_PROGRAM
Result
When I run with this parameters I receive the message : "UJP_PROCESS_EXCEPTION:Data for category not found in application LEGAL"
2 - Validation with UJ_Validation
Assign the driver dimension to Legal - in case I used the CONTA (Account)
Rule Maintenance
Assigned Member: "1" and "2"
Use Logic Table
Dimension = Empresa (Entity)
Operator "="
Members = TECSA - This is a parent from every Entities.
Result
When I run with this parameters I receive the message : "UJP_PROCESS_EXCEPTION:Data for category not found in application LEGAL"
3 - Validation with UJ_Validation and BADI
Assign the driver dimension to Legal - in case I used the CONTA (Account)
Rule Maintenance
Assigned Member: "1" and "2"
Use BAdI Implementation
BADI_UJ_VALIDATION_RULE_LOGIC
Create a Enhancement ZATIVO_X_PASSIVO
Filter
Rule_Num = 1
APPSET_ID = ZTECSA
DIMENSION = CONTA
Class
METHOD if_uj_validation_rule_logic~do_validation_logic.
FIELD-SYMBOLS:
<field1> TYPE ANY,
<field2> TYPE ANY.
ASSIGN COMPONENT 'FIELD1' OF STRUCTURE is_data TO <field1>.
ASSIGN COMPONENT 'FIELD2' OF STRUCTURE is_data TO <field2>.
IF <field1> NE <field2>.
es_message-message = 'Error in Validation'.
es_message-recno = 1.
es_message-MSGTY = 'W'.
ENDIF.
ENDMETHOD.
And add this line to the script
*START_BADI_UJ_VALIDATION_RULE_LOGIC~DO_VALIDATION_LOGIC
QUERY = ON
WRITE = ON
*END_BADI
Result
Data Region:
[WARNING!] NO MEMBER SPECIFIED FOR DIMENSION:CCUSTO WILL QUERY ON ALL BASE MEMBERS.
[WARNING!] NO MEMBER SPECIFIED FOR DIMENSION:CLUCRO WILL QUERY ON ALL BASE MEMBERS.
[WARNING!] NO MEMBER SPECIFIED FOR DIMENSION:CONTA WILL QUERY ON ALL BASE MEMBERS.
[WARNING!] NO MEMBER SPECIFIED FOR DIMENSION:FONTE WILL QUERY ON ALL BASE MEMBERS.
[WARNING!] NO MEMBER SPECIFIED FOR DIMENSION:INTCO WILL QUERY ON ALL BASE MEMBERS.
[WARNING!] NO MEMBER SPECIFIED FOR DIMENSION:TIPMOV WILL QUERY ON ALL BASE MEMBERS.
[WARNING!] MEASURES IS NOT SPECIFIED!
So what could I make to maintain all my options to do what I need ?
I appreciate any help
Best Regards
Alexandre Mendoza CollepicoloHi,
Just to check, can you try and hardcode the category in the rules itself...just for a test to see if it is working.
You can have the category mentioned as CATEGORY=ACTUAL in the rules itself for Other source dimension members and other destination members. J
This is to check if the validation package runs successfully or not.
Thanks,
Sreeni -
BPM and Substitution rule (Delegate mechanism)
can we create substitution rule (Delegate mechanism )using BPM
Hi,
I have one scenario..!
If the user is on leave and and he is not submitting his task for more than 3 days automatically BPM has to redirect that task to another user with out any human involvement. Is it possible?? If so with what version.
Please help me on this.
Regards,
Krishnam -
UWL Guided Procedures and Substitution Rules functionality - how possible?
We are using Guided Procedures with Custom Web Dynpro objects and need to utilize user/role substitution that is easily enabled in other AdHoc tasks using 'Manage Substitution Rules. Unfortunately when creating and turning ON a substitution rule in the UWL all Guided Procedure Tasks are excluded and do not show up in the substituting person's UWL.
Does anyone have any ideas of how we can utilize Substitution Rules in UWL for all Guided Procedure tasks/steps?
Thanks in advance
-SteveWHi SteveW!
The situation you're facing is the normal behavior from GP in relation with substitution feature of UWL.
Unfortunately GP doesn't support substitution as the other UWL connectors do.
Best regards
Armando Zaro -
Substitution rule has to triggered after save document in FB70 and FB75
HI,
I have a substitution rule for REFNR field and that will trigger when you make FB70 and FB75 for 2 company codes. In the user exit for subustitution we have a code to get the next object number for some other purpose. because third party will use this generated next number for their legal requirement.
The real problem comes this substitution rule is triggered before save document. due to this if i came back from the transaction without saving the document I am losing that generated number which i dont want.
I need some tips on this. is there a way in the substituion settings we will trigger this exit at save document.
I would appreciate your inputs on this.
Regards
PRasadHi Rob,
I would like to know.
call point 001 is document header
call point 002 is document item
call point 003 is complete document.
I am assuming 003 triggers after complete the document.
Any clue on this.
Regards
PRasad -
Reg: Validation and substitution
Hi gurus
what is the use and difference of Validation and substitution?
pls urgent
thanks
amkHi AMK
validation will validate field values in your input in transaction and return a message, it could be warnign, error .
Ex:- if you want to check for cocode=1000 business area would be HYD.
in Validation (T-code GGB0) you write validation that check cocode=1000 busineess area= hyd else error message
"enter right business area"
you need to activate this validation in T-code 0b28
when ever you enter values in f-02 system will execute this validation and returns a message accordingly.
Substitution will subtitute the field values without the user knowledge.
Creation of subsitution GGB1
It will substitute value of business area automatically without user knowlege.
Best Regards
Ashish Jain
Message was edited by:
Ashish Bohara -
Regarding Validation and Substitution.
Hi all,
I need to write a new substitution and validation and these has to be triggered when MIRO/FB60/FB65 are saved.
Now the problem is that i have append my exit and the Form has been written and program had also customized.
But when I save the transactions mentioned my exit form is not triggering. Can any one suggest why this is not triggering ASAP.
Thanks
SAGAR.Hi,
you can create ur validation enchancement using GGB0 transcation and activate it using OB28 transcation code
it will works. -
Validations and substitutions in FI
Hi All...
Can some one explain me what exactly validations and substitutions mean in SAP and where can i find some documents to get some knowledge on it..
Appreciate your help...
Thanks,
Kanthi..Hi
Validations are controls it can use while a FI document is being posted or updated.
Substitutions are to populate automatically some fìelds while a FI document is being posted or updated.
Try to see here:
http://help.sap.com/saphelp_470/helpdata/en/eb/13796243c411d1896f0000e8322d00/frameset.htm
Max -
Renaming Validation-rule.xml and Validation.xml
Hi
Is it possible to rename Validation-rule.xml and validation.xml files in the Struts Validation framework.
will the validation work both the files are renamed to say abc-rule.xml or xyz.xml.
please provide your feedback on this.
Thanks
Vikengvikeng wrote:
please provide your feedback on this.I think that it would be better if you asked that on an Apache Struts forum (or mailing list). -
Order of reading Validations and substitutions
Hi Experts
Would I be correct in my thinking that the order in which the system reads these are: -
FI Validations
FI Substitutions
CO Validations
CO Substitutions.
Please assist techies.
Thank you in advance.
Regards
DawnHi Dawn,
I agree with you... In my opinion thats the order in which system reads...
take a simple eg:
1. You want to check Bus Areas for Certain bank related GL accounts, say, Bank Charges acount... ...you control this via Validation if more than 2 Bus Areas or by Substituion if you want to specify one single bus area for the bank a/c.
2. Once Bus Area is defaulted, now assume you want to specify PC based on Bus Area.. you will now call for a substitution based on the validated data...
3. based on this substituted data, you can call for a default CO object from OKB9, which is sort of CO substitution
regards
Ajay M -
500 internal error in managhe substitution rule in UWL
Hi All,
One user is getting 500 internal error when cklicks on manage substitution rule in UWL.Only one user is facing this problem.
I checked in backend system, so substitute exists.
Can some body help me what could be the problem? Thanks in advance.
Regards,
Thirun.Hi Thirun,
This is a common issue and usually has to do if the 'substitutee' for lack of a better word, is no longer a valid user.
4. When there is a substitution rule connecting the current user to a
deleted user, the following problems were discovered:
- substitution rule management returns 500 browser error;
- it is not possible to delete a Java Workflow substitution which
refers to a deleted user as assignee;
- Java workflow connector is not able to retrieve items for user that
has a substitution rule with a deleted user;
- The "status", "What to do", "assignee" and "Task Owner" fields are
not properly filled in the Manage Substitution Rules view.
Do a search in SAP notes in component EP-BC-UWL and also for your version. Alternatively you can let me know the version here and I can tell you in what release this is fixed in that matches closest to your version. (maybe only a patch required).
Beth Maben
EP - Senior Support Consultant
AGS Primary Support, Business Suite & Technology
Please see the UWL Wiki @
https://www.sdn.sap.com/irj/scn/wiki?path=/display/bpx/uwl+faq *** -
Substitution rule is not working correctly
Hi PS Gurus,
We have a problem in one of the newly created projects that the substitution rule is not working correctly; the data is not copied to the WBS element Cust. Enhancement tab.
Project 1 is working fine and the data is copied & Project 2 and Project 3 are not getting all the data copied to the WBS element,
In that project profile (substitution rule is given), substitution rule is also maintained
So please help why in one project substitution rule in working & other isnu2019t.
Many Thanks in Advance.
MMHello Menaka,
Select the WBS element in the project builder.
Cleck on Edit --> Validation Substitution --> Substitution
You will get the list of Substituitions, Double click on the required Substition rule.This action will generate a log, whether substitution has been succesfully caried out or with some error.
Kindly provide us that error log to guide you further.
Regards
Ravi
Maybe you are looking for
-
Multiple Messages in Same JMS queue
Hello, I have interfaces in which different xml messages from the same sender system will be placed in the same MQ queue, is there a way that XI JMS sender channel can differentiate the xml messages based on the payload? I can create a single communi
-
Thunderbolt to Charge Certified Like NEW? NO I don't think so...
I dont know what appears to be the problem with the thunderbolt and like new devices. I hate to complain but there is an issue all around with them. I've had 4 CLN thunderbolts and all have had various problems most that have been posted in the forum
-
SRM-MDM catalog error - shopping cart preview
Hi, I am experiencing the following error in my SRM-MDM (ver 2) catalogue: When I select an item from the catalogue, it displays that there is 1 item in the shopping cart. But when I click on the Shopping Cart Preview button, it duplicates the item a
-
Parameter error on call pl sql
Hi all, I use Flash MX for client side and ColdFusion MX 6 (Hot Fix apply) for biz logic and ORACLE 9i database on HP-UX11i. Flash MX parameter and CF connect using Flash remoting gateway, there is no error between these. in CF, the parameter come fr
-
hi All, How to create new user and how i can grant all Privileges to the user. Can any one give reply. Which commands i can use. Thanks a lot in advance