User Exit for VA02 while changing payment terms in the screen
Hi,
In Va02, in header details if we go to billing tab,
Whenever we change the terms of payment(ZTERM) in the screen, we should check if the fixed value date(VALDT) is not blank based on some conditions.
If it is blank before saving we should display error message with the VALDT screen field in VA02 transaction as open for input to enter the value.
I have tried writing in MV45FZZ , in userexit_save_document_prepare , but the screen field is going to display mode after the throwing error message. but it should be open for input.
Could anyone please suggest proper exits or badis to validate this condition?
Hi Naimesh ,
Thanks for your reply ,
I have tried the code but its not working.
As per my knowledge, statement after error message,will not be executed.
Please suggest.
raghavender,
Thanks for your suggestion.
I have tried it before , its working fine but as it is not suggested to use Leave to screen in custom code I was trying for alternate solution.
Please suggest.
Thanks ,
Srilakshmi Godavarthi.
Similar Messages
-
User exit for VD03 to handle Payment Term (KNVV-ZTERM)
Hi,
I need to block a couple of Payment terms in VD03 ( KNVV-ZTERM )
For that i need to find an exit to handle data associated with KNVV.
Are there any exits available?
Regards,
RemiHi,
Thank you for the response.
I tried writting code in the exit :
EXIT_SAPMF02D_001. (Customers: User Exit for Checks prior to Saving)
DATA zterm TYPE dzterm.
"-- Block Payment Terms in SO --
SELECT SINGLE zterm
FROM zblkso
INTO zterm
WHERE zterm = i_knvv-zterm.
IF sy-subrc = 0.
MESSAGE e013(zmsg) WITH i_knvv-zterm.
ENDIF.
Set a break point to check whether it goes to that point when i try saving.
It does not even trigger.
I needed a point for KNVV much similar to form exit :
userexit_move_field_to_vbak.
Regards,
Remi -
User Exit for ME22N while saving of PO
Hi all,
i want a USER EXIT for ME22N while saving. i want EKET data.
After checking EKET data, i want to chage EKPO data.
Thanks
pabiHi,
Below Exit you can have access to EKET and EKPO data in the tables paramters before the SAVE
EXIT_SAPMM06E_012
TEKPO: EKPO data
TEKET: EKET data
Enhancement:MM06E005 (Check in SMOD transaction)
Check for one Paramter: I_TRTYP (This is for Create/Change/Display Modes) or You can check on Sy-Tcode = ME22N
Hope this helps
Regards
Shiva -
User-exit for delivery while assigning serial numbers(urgent)
hi all,
can u plz tell me the specific user exit for delivery (VL01n) while assigning serial numbers?
i am getting the serial numbers for material in database table OBJK .i am also getting these serial no.s in IQ01.
while doing delivery,i am going for extra-->serial number.at this time one screen for serial number is comming.those serial numbers which are stored in objk will transfer to this screen of delivery automatically.
for this , i want a specific user-exit for delivery so that i can transfer the serial nos from objk to that screen of delivery.plz suggest .(urgent )
any idea is highly appreaciated
Regards
pabitraYou can find from below list of user exists
V02V0001 Sales area determination for stock transport order
V02V0002 User exit for storage location determination
V02V0003 User exit for gate + matl staging area determination (headr)
V02V0004 User Exit for Staging Area Determination (Item)
V50PSTAT Delivery: Item Status Calculation
V50Q0001 Delivery Monitor: User Exits for Filling Display Fields
V50R0001 Collective processing for delivery creation
V50R0002 Collective processing for delivery creation
V50R0004 Calculation of Stock for POs for Shipping Due Date List
V50S0001 User Exits for Delivery Processing
V53C0001 Rough workload calculation in time per item
V53C0002 W&S: RWE enhancement - shipping material type/time slot
V53W0001 User exits for creating picking waves
VMDE0001 Shipping Interface: Error Handling - Inbound IDoc
VMDE0002 Shipping Interface: Message PICKSD (Picking, Outbound)
VMDE0003 Shipping Interface: Message SDPICK (Picking, Inbound)
VMDE0004 Shipping Interface: Message SDPACK (Packing, Inbound) -
User Exit in VA02 - Fast Change of selection
Hello Experts,
Is there an existing user exit in VA02 that can be used to add another menu item under menu Edit > Fast Change of ...
I would like to add another item under that I can use to change the user status of the item.
Thanks in advance.
Regards,
Erwinform userexit_field_modification in MV45AFZZ will be called during the VA02 transaction (and the VA01).
There is a case statement within here.
case screen-name.
which allows processing to be limited to a field on the tranaction screen. KUWEV-KUNNR is the screen element for the ship to, so you should be able to trap any changes in here. -
User Exit for Inbound Process - Changing IDOC control record
Hi,
I want to utilize the identification field (under details tab) of the IDOC Control Record. What is the suitable user exit for inbound process that i can use to change the IDOC control record?It's been a long time since I have done any IDOC processing.
Go to SE37 and enter the function module IDOC_INPUT_ORDERS. Display the source code. Search for "CALL CUSTOMER". You should see several "CALL CUSTOMER-FUNCTION" lines. These are enhancements where you can manipulate the IDOC data. If you locate the correct one (where the data is read from the IDOC but not yet validated), you should be able to map the partner function value. Double-clicking on the number in quotes will bring you to an "EXIT_" function module. A "ZX" INCLUDE program is referenced. If you haven't used the exit yet, double-clicking on the ZX INCLUDE will create it. The values passed into the function module are available in the INCLUDE.
Ideally, you should create a project in transaction CMOD that references the chosen enhancement. This way you can activate/deactivate without commenting/uncommenting the code in the INCLUDE. -
COR2 user exit for saving item changes
Hi,
i need to change item contents with user exit while saving in COR2 transaction.I found several user exits with debugging.But could not accomplish to change fields.
Please give me a user-exit name which can change the item contents while saving.
Thanks.Hi burc,
what about enhancement CONFPI05 Process Ord. Conf.: Cust.-Specific Enhancements when Saving, EXIT_SAPLCORF_405.
Or tell in more detail what is it you want to change.
Regards,
Clemens -
User-exit for MIGO, need change GKONT for CO
Good evening,
Dear friends, sorry for my english.
I have made user-exit for MIGO in GGB1 and put on it in SPRO.
I have HKONT=V3100* and corresponding HKONT=1551*( OBYC, group WRX).
Then i run MIGO and make Purchase Order.
In my user exit, if HKONT of first position eq V3100, i must change corresponding HKONT from 1551 to V1551*.
When i make Order, i am run view documents: FI and other HKONTs changed successfully! ( first possition has V3100, second - V1551).
User-exit must work only with sy-tcode = MIGO or MIRO.
But CO documens NOT changed: HKONT(type of cost) eq V3100, but corr GKONT = 1551*...
I also try to use OPEN FI, but have the same picture... (in CO docs V3100* and 1551, but all another docs and FI too - V3100 and V1551*).
I see, that GKONT has only COEP. And this table a cannot see in user-exit.
I think, that FI doc must do CO doc,
but why in
View documents->RW-infodocs->documents CO = it is not change?
Please, answer me? if you can. regards.Please, view Print-Screen of my problem:
<a href="http://rodendron.blogspot.com/2007/07/user-exit-for-migo.html">http://rodendron.blogspot.com/2007/07/user-exit-for-migo.html</a>
Anybody can help? -
User exit for VA02 - Urgent Please
Hi,
I got a requirement to develop USEREXIT for the sales district (Vbkd-bzirk) validation based on item category.
It is for ITEM level i have to check the user entered value with my newly developed ztable.
Can any one tell me whether MV45afzz is the suitable user exit for this requirement and what is the approach.
Also please importantly tell me the structure will have the value in runtime
Points guaranteed
Regards,
RaghuYes, MV45AFZZ will be suitable for the same. Please have a look at below link for details about the same.
http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm
I hope it helps.
Best Regards,
Vibha
*Please mark all the helpful answers -
Hi All,
My requirement to automatically change the schedule line dates (ETDAT) in a sales order when the requested delivery date (KETDAT) of the document is changed.
The schedule line dates should automatically change to the date that is changed in the requested delivery date.
Is there any user exit or enhancement point to achieve this.
Thanks in advance.
Regards,
Darpana.A>
Darpana Ahire wrote:
> HI,
>
> In Include FV45KF0V_VBAK-VDATU_PRUEFEN I have implemented an enhancement point, just before the data declaration of the include
>
> *---This logic does not display the warning that Date is not copied to the schedule line items
> data: v_vdatu like vbak-vdatu,
> v_vprgr like vbak-vprgr.
>
> if sy-tcode = 'VA02'.
> call function 'PERIOD_AND_DATE_CONVERT_INPUT'
> exporting
> dialog_date_is_in_the_past = space
> external_date = us_ketdat
> external_period = us_kprgbz
> importing
> internal_date = v_vdatu
> internal_period = v_vprgr.
>
> if *vbak-vdatu <> v_vdatu.
> *vbak-vdatu = v_vdatu. "Initialising the Changed date
> endif.
> endif.
>
>
>
> In Include FV45EFEP_VBEP_UNTERLEGEN I have implemented an enhancement point, just before the data declaration of the include
>
>
> DATA: v_vdatu TYPE EDATU_VBAK.
>
> if sy-tcode = 'VA02'.
>
> *---Selecting the required delivery date
> SELECT single vdatu
> from vbak
> into v_vdatu
> where vbeln = vbak-vbeln.
>
> *---Checks if the Required delivery date is changed then changes the schedule line items first date
> if vbak-vdatu <> v_vdatu.
> loop at xvbep.
> xvbep-edatu = vbak-vdatu.
> modify xvbep TRANSPORTING edatu.
> endloop.
> endif.
>
>
> *---Checks on click of Save button
> if sy-ucomm = 'SICH'.
> *---Checks if the Required delivery date is changed or not
> if vbak-vdatu <> v_vdatu.
> loop at xvbep.
> xvbep-edatu = vbak-vdatu.
> modify xvbep TRANSPORTING edatu.
> endloop.
> *---Modifys the database table VBEP accordingly
> modify vbep from table xvbep.
> endif.
> endif.
>
> endif.
>
>
> Hope your problem gets solved by this logic.
>
> Regards,
> Darpana.Ahire
Hi Darpana,
I have a requirement to automate the requested delivery date while creating the sales order through VA01.
I have to add some lead time to the defaultly proposed requested delivery date.
I am able to change the requested delivery date VBAK-VDATU and schedule line date VBEP-EDATU.
I have done it through form 'SAVE_DOCUMENT_PREPARE' in SAPMAV45A.
Now my client requires this date date has to be reflected in all places like in goods issue date, loading date, material availability date, invoice date etc.,
As my user exit triggers only at the time of saving the document, changing the requested deliery date is not affecting all these dates.
Any solution for this.
Highly appreciate your help.
Thanks
Sreenivasa Reddy Vallem -
BADI / user-exit for MD02 while creating Schedule Lines
Hi experts,
I have a problem with implementation that I'm designing.
Current situation:
While MRP run (MD02 or background) new Schedule Lines are being created in reference to MM Scheduling Agreement.
Example:
04.08.2014
SchLne
5500000415/00010
200
04.08.2014
IndReq
VSFB
200-
05.08.2014
SchLne
5500000415/00010
300
05.08.2014
IndReq
VSFB
300-
2 Schedule Lines where created - for wuantity 200 and 300.
Target:
There is a need to create more than one Schedule Line per day during MRP run. According to example there should be for example 2 Schedule Lines in 04/08 and 3 Schedule Lines in 05/08 all for quantity = 100. There is possibility to change Schedule Lines in ME38, but there is a need to make a change during creatin while MRP run.
04.08.2014
IndReq
VSFB
200-
04.08.2014
SchLne
5500000415/00010 *
100
04.08.2014
SchLne
5500000415/00010 *
100
05.08.2014
IndReq
VSFB
300-
06.08.2014
SchLne
5500000415/00010 *
100
06.08.2014
SchLne
5500000415/00010 *
100
06.08.2014
SchLne
5500000415/00010 *
100
So instead of creating only 2 Schedule Lines, MRP should create 5.
I'm looking for a BADI/user-exit to edit Schedule Lines which are to be created by MRP and change it tn reference to the needs.
I found only one BADI:
BADI: MD_CHANGE_MRP_DATA
method: CHANGE_MDPSX_MDBS
The priblem is that this method is only being executed when there are Schedule Lines which already exist.
Maybe some of you have done some extension similar to mine? Please give me advice where I should put extension.
Thanks in advance!Dear Saravaran,
Thanks for the reply.
This will not suits to us. The provided BADI will works upto Posting the material document in transaction MIGO and it will not considered for the FI level entries.
Hope you could have understand mine requirement.
The requirement of mine is:
While doing the GR with ref to PO the material documnet will be posted and subsequently FI documnet will be generated in Background. While generating the FI document i need to manipulate the values for the G/L. So that the manipulated values will be flow into BKPF and BSEG tables.
Thanks.
Regards
Swamy -
BADI or USER EXIT for MIGO when changing order number
Hi experts, I'm looking for a BADI or USER EXIT in Tx. MIGO that is triggered after pushing ENTER when you change the order number. What I need to do is to propose the movement type depending on the order data. Thanks.
Not sure but you can try in BADi MB_DOCUMENT_BADI menthod:
MB_DOCUMENT_UPDATE -
User exit for MIRO while saving
Hi
I need to validate the Company code in Txn MIRO with the company code of the PO that's been processed
Is there any user-exit which gets triggered while saving the document in txn MIRO.
I know the following BADI INVOICE_UPDATE gets triggered while saving the documents, as i am new to the BADI functionality, i am unable to proceed further with the implementation of it in the system.
Can some one let me know how to implement a BADI.
CheersHi Sushis ,
check this link abt badi
http://help.sap.com/saphelp_nw04/helpdata/en/ee/a1d548892b11d295d60000e82de14a/content.htm
and u have to choose this method is useful
<b>CHANGE_AT_SAVE Invoice Document at Save
CHANGE_BEFORE_UPDATE Invoice Document Before Update
CHANGE_IN_UPDATE Invoice Document During Update</b>
let me know if u required more info.
regards
Prabhu -
User exit for billing to change vbrk header data on SAVE
Hi
I need to change vbrk header data on save in vf01
transaction, can some one send me the user exit,
also code if possible.
I have tried out RV60AFZZ it is entering the exit
but if i modify vbrk fields it does not get
reflected.
Thanks & Regards
Abhimanyu.LHave a look in include RV60AFZC
=> maybe you can use form USEREXIT_FILL_VBRK_VBRP. -
BADI/USER EXIT for MIGO while generating FI Documents.
Hi Friends,
In MIGO T.Code when posting the GR, we'll get the Material Documnent right, at the same time it will
generate an Accounting Document in background and the same will update in BKPF/BSEG Tables.
Mine requirement is when ever the entries are updating into thr Finance tables, i need to manipulate the line items and the updated line items needs to be upadted to BSEG table.ERO.
Is there any EXIT or BADI or Enhancement or any Enhancement Point while posting the entries to FI with transaction MIGO.
Regards:
Swamy Dikonda.Dear Saravaran,
Thanks for the reply.
This will not suits to us. The provided BADI will works upto Posting the material document in transaction MIGO and it will not considered for the FI level entries.
Hope you could have understand mine requirement.
The requirement of mine is:
While doing the GR with ref to PO the material documnet will be posted and subsequently FI documnet will be generated in Background. While generating the FI document i need to manipulate the values for the G/L. So that the manipulated values will be flow into BKPF and BSEG tables.
Thanks.
Regards
Swamy
Maybe you are looking for
-
Get all the values of optionset
Hi My requirement is to retrieve all the values of an optionset field using javascript.How can i do this
-
Leave to screen 0 is not working
Hi Guys I made an alv oops. The container screen is 100. in the pai of 100 when i say case ok_code when 'BACK'. leave to screen 0. endcase. IT DOES NOT GO TO THE STANDARD SELECTION SCREEN!!. I am at the end of my wits , can someone help?? Thanks a lo
-
Re: using the iMac i5 for gaming
I have recently purchased an iMac I5 which I'm delighted with. I realise that it will be anathema to many but my question is could you use it for gaming? I am thinking of downloading Dragon Age Origins but cannot get my mind around how I could operat
-
I use Flash cs4 , i need to know how to store and load text file into actionscript .
-
Can I open BridgeView files in LabVIEW?
Hopefully this is a simple question... I know nothing about BridgeView. I have seen screen shots of a collegue's BridgeView application, and the diagrams look just like LV code. He is not a s/w programmer at all, but needs support for his very old ap