on 01-21-2011 8:41 PM
Hello Colleagues,
My customer need a validation in Account creation: If the Role is sold-to-party, the tax number is mandatory.
I copied the function the class CL_BUPA_IL_TAX_NUMBER (with the corresponding customizing in clúster view) but I can´t see if exists tax number or see the bp number in the EXECUTE_CHECK_BEFORE_SAVE method .
The only ones parameters in this method are:
IV_MSG_SERVICE_ACCESS type ref IF_GENIL_MSG_SERVICE_ACCESS
CS_OBJECT type CRMT_GENIL_OBJ_INST_LINE
Can somebody help me?
Thanks.
Roberto
Edited by: Roberto Cabezas on Jan 21, 2011 9:42 PM
Hi Roberto,
You may try the following way to solve the issue.
Redefine the EH_ONSAVE Method .
Read the Tax Number and the Role using the GET_PROPERTY Method.
Allow to save only if the condition satisfies else raise Error Message.
Thanks,
Sijo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
1 | |
1 | |
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.