User exit or validation to check plant in FI entry
Dear Experts,
I have one business requirement that at the time of vendor invoice verification throgh FB60 or credit memo system should check that the vendor is existing for the particular plant or not from LFM2 table.
So please help me if there is any validation or user exit is there which we can use for the same.
Thanks & Regards,
Hansa Chechani
Dear expert
please go through below link it may help you
Copy Credit Memo request from Invoice
Regards
Ajeesh
Similar Messages
-
Creating Validation to check Plant/Material
Hi All,
I have a problem can any one please give me the answer. Its very urgent.
I got a request from the user stating that when he is entering any FI transaction and in that if he give the Material and Plant in the line item then validation has to check the Plant Material combination exits in table MBEW.
In our company we are using sets in the validation.
Here is the existing code:
Prerequisite:
( G/L IN FSS-ZDS2-S3-GLACCOUNT ( Margin segmentation enhancement ) OR
G/L IN FSS-ZDS2-S3-GLACC-NETPRO ( Accounts for Net Proceeds SV43 ) )
AND
( Activity type <> 'SD00' ) AND
( NOT Document type IN
FSS-ZDS2-V38-BLART-EXCL ( Doc type to be excl from val Rev COPA ) )
AND
( NOT Company Code IN
FSS-ZDS2-BUKRS-EXCL ( Co codes that are non GSAP ) )
CHECK:
( Plant <> '' )
We can change in this existing code or we have to create A new Step in the line item.
I am not so strong in the creating Validation can you please let me know how we have to write the logic.
Regards,
Venkatesh.MNies,
You can create a Validation Rule in transaction OPSI, where you can check the contents of the Plant field against the WBS Element in the Project Builder.
However, only PS master data can be validated so checking the plant against a PR or reservation using OPSI isn't possible, unless you store that data in a PS user field and then perform the check.
Please review note 440186, an FAQ note on Validation rules.
Regards,
Damien. -
BADI/User Exit for validation in WAK1
Hi,
I need to put validations in transaction WAK1.
for the Site Groups under the site groups TAB.
Please suggest if any BADI or User Exit is available to do this.
I checked there are BADI's "WAKT_BADI_001" to "WAKT_BADI_008" but they are for SAP Internal Use only.
Regards
AnkurHi
Below are some of BADIs available for WAK1. Please check.
Exit
WCOUP001 User exit for coupon processing in POS inbound
BADIs
RDM_BAPI_PROMO_CREATE - Enhancement Spot (RDM_OPT_PROMO_IN)
RDM_PROMO_POST - Enhancement Spot
RDM_PROMOTION_WAK1 - Enhancement Spot
WAKT_BADI_001 -
~~~Ganesh Kumar K. -
FBCJ BADI/User Exit or Validation Rule Implementation
Inspite of my maintaining validation as under, i am not able to achieve what i desire, i.e., System is still posting Cash transactions thru FBCJ t code for amount exceeding INR 50,000
1. Created a validation name
2. Assigned it to Application Area - FI
3. Callup Point - 2 Line item
4. In validation step 0001, created pre-requisite as
Transaction code = 'FBCJ' AND Account Type = 'D' AND
Posting key = '15'
5. Under check, Amount <= '50000.00'
6. Entered E in message type with corresponding message class ZKM_MSG_CLASS for message number 018
7. Assigned the above validation in OB28 t code for activation level 1 (i.e., Active)
System display a message; but also post it as well, despite of 'E' error message type.
How to tackle with the above problem.
Is there any other badi/user exit for FBCJ. I have only find CJ_DOCUMENT, but it's not working for me.
Thanks and Regards,
SohailHi
Below are some of BADIs available for WAK1. Please check.
Exit
WCOUP001 User exit for coupon processing in POS inbound
BADIs
RDM_BAPI_PROMO_CREATE - Enhancement Spot (RDM_OPT_PROMO_IN)
RDM_PROMO_POST - Enhancement Spot
RDM_PROMOTION_WAK1 - Enhancement Spot
WAKT_BADI_001 -
~~~Ganesh Kumar K. -
GATP - User exit during product availability check
Hi,
Is there any method (e.g. user exit) to confirm the stock based on batch characteristic in APO during product availability check? i.e. before confirmation of the stock some validation needs to be put by reading the batch characteristics.
Let me know if further clarification is required.
Regards,
RSHi Manimaran,
thanks for the reply,
Actually we are not using class 400. The confirmation of stock should be done by reading the batch characteristic value because we want to put validation on the characteristic value. This should happen during product availability check.
Is this possible based on batch class (023) and without using class 400.
Regards,
RS -
Validation to check Plant in project builder
Dear All,
Can we implement validation to check if user create PR or reservation could only on certain plant , for example FG05 . If they didnot put FG05. the error message will come up.
Cheers,
NiesNies,
You can create a Validation Rule in transaction OPSI, where you can check the contents of the Plant field against the WBS Element in the Project Builder.
However, only PS master data can be validated so checking the plant against a PR or reservation using OPSI isn't possible, unless you store that data in a PS user field and then perform the check.
Please review note 440186, an FAQ note on Validation rules.
Regards,
Damien. -
Dear All,
We have two user group for creating the Sales Order.They are
1. Sales order creation (Real ) and 2. Sales Order creation (Virtual ).
Our requirement is that a user(s) belonging to Real must be able to create Virtual SALES ORDER and vice versa.
We have identified the table and the field as mentioned below.
Table is VBAK ( Transaction Code : VA01 & VA02), & Field is ZZSO_SORT.
As we are planning to write a Validation in FI as per the below logic.
Validation 1.
IF T.CODE ; VA01 or VA02 and User id isXXXXX ( REAL group),then check ZZSO_SORT = REAL (hard code value)
Validation 2.
IF T.CODE ; VA01 or VA02 and User id isXXXXX ( VIRTUAL group),then check ZZSO_SORT = VIRTUAL (hard code value)
But we don't have the table VBAK( and also the feild ZZSO_SORT) in FI validation (OB28),so we have to write an user exit.
As we have fever knowledge about writing a code for user exit( as per above logic) and assigning the same to the respective Validation,it will great,if some one can assist us to achieve our target.
Thanks for your time and patience.
Regards,Hi
I don't know where the information for that field is from
Validation 1.
IF T.CODE ; VA01 or VA02 and User id isXXXXX ( REAL group),then check ZZSO_SORT = REAL (hard code value)
Validation 2.
IF T.CODE ; VA01 or VA02 and User id isXXXXX ( VIRTUAL group),then check ZZSO_SORT = VIRTUAL (hard code value)
The field VBAK-ZZSO_SORT can be filled programatically by the user-exit USEREXIT_MOVE_FIELD_TO_VBAK (include MV45AFZZ):
FORM USEREXIT_MOVE_FIELD_TO_VBAK.
IF T180-AKTYP = 'H' OR "---->VA01
T180-AKTYP = 'V'. "---->VA02
IF SY-UNAME = <......>.
VBAK-ZZSO_SORT = 'REAL'.
ENDIF.
IF SY-UNAME = <......>.
VBAK-ZZSO_SORT = 'VIRTUAL'.
ENDIF.
ENDIF.
ENDFORM. "USEREXIT_MOVE_FIELD_TO_VBAK
Otherwise it needs to know who/what inserts the value of VBAK-ZZSO_SORT in order to decide where the control has to be placed.
Max -
User exit for CJ20n (to check budget when create Reservation) for project
Dear All,
Plz advice, is there any user exit for CJ20n(project builder) in order to check available budget when we create reservation under a network/activity for a project?
Many thanks in advance.Hi,
Budget functionality is available against actual / commitment items, but n't against reservation of materials as there cane be reservation at projects or plant level. Morever there is no such user exit in CJ20N.
If you can make developments of reservation agsinst network as committments items then budget functionality may work in that case.
Hope this will help you.
Regards,
Rakesh Pradhan -
User exit for validation of field NEWKO in f-48 tcode in finance
hi,
Previously we validated the Field XBLNR (Reference) in the document header from the table EKKO, for the PO Number. now we want to validate the vendor number(LIFNR) in the field NEWKO from the table EKKO with reference to the PO number entered in the field XBLNR.
we want to find out the correct user exits or any enhancement for the above validation.
pls help me in this regard ,matter most urgent.
Thanks & regards
veerahi,
for f-48 you could use FI-validation with tcode OB28
use an exit (UK...) for your check in Program ZGGBR000
A. -
BADI or USER Exit for BP Adress check
Hi All ,
what is the badi or user exit for giving a additional check on Postal Codes when creating a BP ?
I have checked BUPA_ADDR_CHECK
BUPA_ADDR_EXPORT
BUPA_ADDR_IMPORT
BUPA_ADDR_UPDATE
BUPA_ADRREL_EXPORT
and the user exit ZXSZARU01
but when i am entering the postal code and pressing Enter , i am not able to catch the User/EXIt or badi .
Thanks for help.Hi
Use the BAdi : ADDRESS_CHECK
Implement the method: ADDRESS_POSTAL_CHECK
Once you enter the Post Code and Country on BP Txn, Pressing Enter will trigger this Badi for address check !
Good Luck !
Thanks
<b>Allot points if this helps !</b> -
User exit in MIGO when check is pressed
Hi I'm working on 4.6b
I checked the program thru which we get user exits from transaction
My problem here is I want to display pop up when check button is pressed in MIGO transaction.
Can anyone suggest any user exit....
Thanks in advance
Hema.hi hema,
you can use the badi
Badi MB_MIGO_BADI is used for adding new subscreen ( User defined subscreen )in the Migo transaction
i donno weather it exists in ur verson r not?
you can also check....
You can use exit EXIT_SAPMM07M_001.
This exit is executed before the document is posted.
Also you can use exit EXIT_SAPLMBMB_001 after the document has been posted.
~~Guduri -
User exit for Credit Management check on SD document
Is it possible to enhance and put in some custom logic during CREDIT check on SD documents?
Can some one tell me which User exit can I used?Hi,
Yes, I think you can do. Here is what SAP help says....
If you want to carry out your own individual credit checks, that differ from those in the standard system, you must define them in the following user exits:
LVKMPTZZ
LVKMPFZ1: USER_CREDIT_CHECK1
LVKMPFZ2: USER_CREDIT_CHECK2
LVKMPFZ3: USER_CREDIT_CHECK3
User exit for availability check
User exit USEREXIT_AVAIL_CHECK_CREDIT exists in Include MV45AFZF.
This user exit allows you to determine whether the system should or should not carry out an availability check after a blocked document has been released or after a new credit check.
Hope this helps
Thanks
Mukund S -
User exit that can be checked in the delivery before the EDI Message can go
Hi all,
I have an business requirement, to set up the block inthe delivery before the EDI message triggered.
pls help me providing the user exit and to check the requirement in user exit.
Regards,
SKtHi,
You can assign a requirement in the output procedure to the EDI out put type. If this is not sufficient for your requirement, please explain the business requirement clearly so that any one can give some alternate.
Venkat Cheedalla -
Hi Gurus,
I need to validate a field in cat2 transaction for a field . if the user enters a value other 1 then i need to validate that field providing an warning message "Number of days should not exceed 1 for a given date".
and then user should input the proper value (i.e, 1).
I incorporated this validation in User Exit CATS0002 CATS: Supplement recorded data.
in which i need did the validation for enrich_table-catsquantity as mentioned below.
IF enrich_table-catsquantity > 1.
MESSAGE w667(lr) WITH 'No.of days'
'should not'
'exceed 1 for'
'a given date'.
ENDIF.
1. If this condition becomes true the message will be triggred. then after executing this message staement will it alow the user to enter proper value ?
2. any other method of validating ?
Please help regarding this.
Thanks
ramuHi Kiran,
This sounds very interesting to me and I would like to learn more about the use case.
But first I need more information about your system landscape.
Do you run the use case on NW 70 EhP 1 or 2?
I strongly recommend NW 7.0 EhP 2 and I am convinced you get it done easily with BRFplus.
Calling BRFplus rules can be achieved by RFC or WebService call or locally in ABAP. Maybe take a look at a package called SFDT_DEMO_OBJECTS.
BR,
Carsten -
How does the user exit of validation rules get triggered?
SPRO
FinancialAccounting> GL Accounting > Business Transaction > GL posting > Carry out doc settings > Validation in accounting docs
Here you can specify rules and call user exits also.
To add code into the user exit, we have to copy the standard program that contains this user exit and then create a z version?
If so, where do you tell to branch into the custom z program and not the standard program?Go to transation GGB0(Change Validation), Go to Application Area/Time -> Financial Accounting -> Line Item. Create a validation what ever you want and add the steps/rules for that. You have a provision to give Rules/Exits(User Exit).
Maybe you are looking for
-
Help! my printer no longer works after 10.4.10 upgrade
I have a canon pixma ip4200 printer, worked fine for 2 years. Since I upgraded to 10.4.10 my ibook can't find it. I've reinstalled the canon latest driver, setup utility, checked my usb ports (both fine) and cable, tried disk utility on my hard drive
-
Is there a way to remove my facebook contacts from my phone contacts list? I had an iphone 4 and it was easy to shut off from teh contacts through the groups link at the top left, but the iphone 5s does not have this feature nor can i figure it out
-
ImageFORMULA P-215 Scan-tini Software Issues with Windows 8.1 32-Bit Laptop
Hi,, I have a ImageFORMULA P-215 Scan-tini scanner which worked without any problems with my Lenovo X230 laptop running Windows 7 64-bit. However, I have been unable to get the CaptureOn Touch software to work on my Asus Transformer TA100T notebook
-
What's a good email client for E71?
Hi Having struggled to make email work on the E71, I have now given up and accepted the fact that I will need to purchase a 3rd party email client which will provide Authentication which my server needs. Can you suggest which one I should buy? And yo
-
Hi all, I've been asked to create a new user profile similar to SAP_ALL but with restrictions, because we don't want this kind of user to modify the basis configuration of SAP as it is shared with other projects. What are the steps to make this? Than