Reg: FI - Exit: EXIT_SAPLV60B_004
Hi,
The Exit 'EXIT_SAPLV60B_004' is triggred when Invoice is created or Changed.
I have added code in this Exit which need to be triggred only when it is triggred at the time of Invoice creation and not for the Invoice change.
How could I identify, that the Exit is triggred for Creation or for Change.
MY identification: When triggred for creation time I see the field xvbp-UPDKZ = 'I' and when triggred at the time of Invoice change I see the field xvbp-UPDKZ = ' ' .
My Question: My question is this the only way for identification for that triggred at the time of Creation Change ?
Edited by: chand_100 on Mar 23, 2011 10:59 AM
Hi,
For the both the cases Create and Change the Invoice number is avilable in VBRK-VBELN, and if we chek the Item level structure for Create case XVBRP-VBELN = starts with & and for change case able to see the Invoice number. Only valid difference I have seen is XVBP-UPDKZ for create will be 'I' and for change will be space.
But I was scared if the existing Invoice is changed to add new Item then XVBRP-UPDKZ would be 'I', But got conformation that there is no scope of adding new Item or delete the existing Item in there bussiness. Change in the Invoice will be mostly Accounting data - Billing date, which will not be a problem at all for the logic what I have implemented.
Thank you for the suggestion.....
Edited by: chand_100 on Mar 24, 2011 5:41 AM
Similar Messages
-
USER EXIT 'EXIT_SAPLV60B_004'
Hi experts,
I want implemente and activate this UE 'EXIT_SAPLV60B_004'. How can i do?
Thanks in advanceHi,
The user exit for this is SDVFX004.
you need to get the exit name for the same
Once you get the same assign a project to it in CMOD
in SMOD activate the same and double click on the FM
in FM put cursor on Zinclude and press enter then it prompts
write the code within the include based on the import parameters
Put break point in your name to debug the same.
Regards
Shiva -
Reg. Exit/BADI for changing item data of PO in ME22N
Hi all,
My requirement is to update the field LABNR (Order Ack.) of few specific line items of a PO, in the Transaction ME22N, using Exit/BADI.
I have tried the BADI ME_PROCESS_PO_CUST. But the PROCESS_ITEM method of this BADI processes only the line item which has been changed/inserted in ME22N transaction. But my requirement is to update line items irrespective of whether that line item was "changed/not changed" during the process in ME22N screen.
Could you please suggest me some suitable Exit/BADI for this requirement.
Regards,
Anbarasan KThanks Martin.
Problem solved by implementing the method Process_Header.
1. Get the items from Header - im_header->get_items
2. Loop the item list and get the line item record - re_item-item->get_data
3. <- Logic to Update the line item - >.
4. Update the line item - re_item-item->set_data
Thank you very much.. Martin.
Regards,
Anbarasan K -
REG:USER EXIT FOR DATA SOURCE 0HR_LSO_1
Hi ,
I have to write the enhancement ABAP code for data source 0HR_LSO_1 which is related to module " training and event management "(also known as LMS or LSO) in ECC 6.0 .
So how can I find out appropriate user exit for the same .I have to concentrate on the field "kostl (cost centre)" in that data source .
Please provide some suggestions .
Thanking You ,
Tarun Brijwani .Hi Tarun...
I this might help you.
In the HR System:
1) T-CODE: CMOD
2) Choose an existing project (vg: Z12345)
3) Modify
4) Press Components button
5) Look for the enhance: RSAP0001 (the BW extracting enhancement)
6) The you have one of the following option:
a- If the Data Source is "transaction data": The exit is "EXIT_SAPLRSAP_001"
b- If the Data Source is "master data": The exit is "EXIT_SAPLRSAP_002"
7) double-click in the appropriate one
8) You'll see an INCLUDE sentence. Could be this ZXRSAU01 or this ZXRSAU02 (depending on the previous step). Double-click and you'll be redirected to the SE38
9) some code:
CASE i_datasource
WHEN '0HR_LSO_1'.
LOOP i_t_data INTO my_struct
my_struct-KOSTL "Here you'll must have your Cost Center
...etc...etc...etc
ENDLOOP.
WHEN OTHERS.
ENDCASE
Hope it helps.
gdmon -
Reg:User-Exit In Sales Order to Invoice
Hi All,
I have An requirement that to create automatic sales order and invoice in one go, i have used BAPI_SALESORDER_CREATEFROMDAT2 to create sales order and bdc invoice to create invoice its worked fine.
My problem is now i got an requirement as after creating sales order it should not create invoice as such because they will manually check whether the sales order is correct then only i should proceed to invoice also they need the option to create,change,delete sales order and same too invoice how can i acheive this scenario through user exits?
Since am new to user exit can any one tell me how to use user exits and what user exits need like this scenario?Hi Suresh,
For sales order following user exits can be used. These are available in include MV45AFZZ.
USEREXIT_DELETE_DOCUMENT : At the time of deletion of sales order
USEREXIT_SAVE_DOCUMENT : At the time of updations or creation of sales order.
Following are the user exits available in smod.
SDVFX007 User exit: Billing plan during transfer to Accounting
SDVFX008 User exit: Processing of transfer structures SD-FI
SDVFX009 Billing doc. processing KIDONO (payment reference numbe
SDVFX010 User exit item table for the customer lines
SDVFX011 Userexit for the komkcv- and kompcv-structures
V05I0001 User exits for billing index
V05N0001 User Exits for Printing Billing Docs. using POR Procedu
V60A0001 Customer functions in the billing document
V60P0001 Data provision for additional fields for display in lis
V61A0001 Customer enhancement: Pricing
Please check this exits which will help you for your requirement.
Thanks,
Naveen Kumar. -
Reg: save exit and cancel buttons
Hi,
In normal report programs when we enable the back , exit and cancel buttons they work fine without writing any code.but its not in the case of Module pool why?
In thr normal reports where does the code come from?
regards
prasanthHi....
Module pool programs is nothing but screen flow + reports...
Here we designing the screens....
So we hav to to give every functionality.. for all buttons and menu items of the appeared screen...
Where as in reports...,
We are just using the standard screen (sellection screen and list output screen ) s mostly...,
Here also some times we hav to go for created screens.. nothing but.... interactive reports...,
There we need to give again all those functionalities...
And..,
To see the BACK button logic and other logics in the reports...,
Ex: PAI event of SAPLWBABAP program...,
You can find that name with...
By giving /H and enter before ur action...
Thanks,
Naveen.I -
hi,
i am writing this code in user exit MV45AFZZ for va32 and va02 transaction.it is working fine but the problem is whatever i select the first line item it is not responding corectly.ther then first line item the other line items are working properly and in va32 transaction when i select item overview tab then also the program is not working properly please help me out
LOOP AT XVBAP.
IF TCTRL_U_ERF_AUFTRAG-CURRENT_LINE = SY-TABIX
OR TCTRL_U_ERF_LIEFERPLAN-CURRENT_LINE = SY-TABIX.
SELECT VBELN POSNR ZEILE MATNR VTWEG WERKS DISPO
M1QTY M1QTY01 M1QTY02 M1QTY03 M1QTY04 MONYR KUNNR
INTO CORRESPONDING FIELDS OF TABLE IDEMAND
FROM ZSDDEM WHERE VBELN EQ VBAK-VBELN
AND POSNR EQ XVBAP-POSNR
AND MATNR EQ XVBAP-MATNR
AND KUNNR EQ KUAGV-KUNNR.
SORT IDEMAND BY VBELN POSNR ZEILE DESCENDING.
LOOP AT IDEMAND.
SELECT MAX( ZEILE ) INTO WA_ZEILE
FROM ZSDDEM WHERE MONYR EQ IDEMAND-MONYR
AND VBELN EQ IDEMAND-VBELN
AND POSNR EQ IDEMAND-POSNR.
AND KUNNR EQ IDEMAND-KUNNR
AND MATNR EQ IDEMAND-MATNR
IF SY-SUBRC = 0.
IF WA_ZEILE EQ IDEMAND-ZEILE.
TOTQ = TOTQ + IDEMAND-M1QTY.
ELSE.
DELETE IDEMAND INDEX SY-TABIX.
ENDIF.
ENDIF.
ENDLOOP.
IF TOTQ > 0.
MESSAGE E020(ZSD_AMP) WITH TOTQ.
ENDIF.
ENDIF.
ENDLOOP.
ENDIF.Hi,
Can you please check the below sap note?
Note 414421 - Creating or transferring simulat. version: CONVT_NO_NUMBER
Please also check
2. 0.410 PS-ST-WBS 449922 CJVB_PRPS_POST: ERR_UPDATE during update on table PRPS 27.02.2002
3. 0.400 PS-SIM 805384 CJV2; network structure graphic; create activity: NOT_FOUND 30.12.2004
4. 0.370 PS-SIM 379157 CJV4: SAPSQL_ARRAY_INSERT_DUPREC in SAPLV60F 24.03.2003
5. 0.340 SV-SMB-AIO-BP-IMC 612325 Coll.note: BP Industrial Machinery & Components (IM&C)V3.46C 25.08.2003
Thanks,
Ramakrishna -
hi to all ,
iam new to user-exits.i had seen some user-exits.
in which some are like FUNCTION EXIT_SAPMV45A_002,
FORM USEREXIT_FIELD_MODIFICATION.so what is the difference between them
are there any more exits.
with regards
satishHi,
1)
For the FUNCTION EXIT_SAPMV45A_002, you require a project in CMOD with the enhancement in it..Then the project should be activated in order to execute the code give in the FM..
For FM FUNCTION EXIT_SAPMV45A_002..You don't require an access key.
2) For user exit FORM USEREXIT_FIELD_MODIFICATION. You don't require a project in CMOD..You require an access key to modify the program.
Thanks,
Naren -
Hi all,
Facing problem with user exit SUSR0001.
When we login through GUI control is flowing through the exit, but when we login
through RFC, control is not flowing through the exit.
Wt to do if we want need any validation while we login through RFC.
Suggestions pls.
Regard's
Jean.Jean wrote:
...when we login through RFC, control is not flowing through the exit
Hi,
usually in the RFC connections, Service user or Background user types are always specified...
These kind of users are no-dialog user and therefore the userexit you implemented is not executed.
In the link below you can find some information about RFC user management.
[http://help.sap.com/saphelp_nw04s/helpdata/en/ed/8d7b64ee75ef4cb42358427613fa95/content.htm]
Regards,
Andrea -
Hi Guys,
I have a requirement like i need to save delivery header texts in VL02N transaction while creation of return delivery order, can any one tell the which user exit or BADI..
Regards,
mahendar .Exit Name Description
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)
BADI
DELIVERY_ADDR_SAP Address Change in Delivery Processing
DELIVERY_PUBLISH Announcement of delivery data during database update
Edited by: Phanindra Annaparthi on Mar 30, 2009 6:59 AM -
Reg user exit used for reading VB items
Dear all,
Please give me the details of user exit used when we run plant level MRP by MDBT, so that it will create
purchase requisitions only for consumables VB items, please explain how it works.
Thanks in advanceHi,
Can you explain what you mean by
create purchase requisitions only for consumables VB items
So for others you want to have planned orders?
Regards,
Vivek -
Reg:User Exit For Invoice
Hi All,
I have an requirement that when during creation of invoice i have to update some data's to ztables and during deletion of invoice i have to update some data's. Is it possible?
Is there any user exit for this scenario? Kindly give your idea's how to resolve this scenario.hi,
these r the exits updated during invoice creation.
Transaction Code - MIRO Enter Invoice
Enhancement/ Business Add-in Description
Enhancement
LMR1M001 User exits in Logistics Invoice Verification
LMR1M002 Account grouping for GR/IR account maintenance
LMR1M003 Number assignment in Logistics Invoice Verification
LMR1M004 Logistics Invoice Verification: item text for follow-on docs
LMR1M005 Logistics Inv. Verification: Release Parked Doc. for Posting
LMR1M006 Logistics Invoice Verification: Process XML Invoice
MRMH0001 Logistics Invoice Verification: ERS procedure
MRMH0002 Logistics Invoice Verification: EDI inbound
MRMH0003 Logistics Invoice Verification: Revaluation/RAP
MRMN0001 Message output and creation: Logistics Invoice Verification
Business Add-in
INVOICE_UPDATE Business Add-In: Logistics Invoice Verification -
Hi Gurus,
In purchasing order what r the user exits available in sap?
regards
T.ReddySee the below user exits available for purchase order :
LMEKO001 Extend communications structure KOMK for pricing
LMEKO002 Extend communications structure KOMP for pricing
MM06E011 Activate PReq Block
AMPL0001 User subscreen for additional data on AMPL
LMEDR001 Enhancements to print program
LMELA002 Adopt batch no. from shipping notification when posting a GR
LMELA010 Inbound shipping notification: Transfer item data from IDOC
LMEQR001 User exit for source determination
LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt
LWSUS001 Individual customer source determination in Retail
M06B0001 Role determination for purchase requisition release
M06B0002 Changes to comm. structure for purchase requisition release
M06B0003 Number range and document number
M06B0004 Number range and document number
M06B0005 Changes to comm. structure for overall release of requisn.
M06E0004 Changes to communication structure for release purch. doc.
M06E0005 Role determination for release of purchasing documents
ME590001 Grouping of requsitions for PO split in ME59
MEETA001 Define schedule line type (backlog, immed. req., preview)
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
MEVME001 WE default quantity calc. and over/ underdelivery tolerance
MM06E001 User exits for EDI inbound and outbound purchasing documents
MM06E003 Number range and document number
MM06E004 Control import data screens in purchase order
MM06E005 Customer fields in purchasing document
MM06E007 Change document for requisitions upon conversion into PO
MM06E008 Monitoring of contr. target value in case of release orders
MM06E009 Relevant texts for "Texts exist" indicator
MM06E010 Field selection for vendor address
MMAL0001 ALE source list distribution: Outbound processing
MMAL0002 ALE source list distribution: Inbound processing
MMAL0003 ALE purcasing info record distribution: Outbound processing
MMAL0004 ALE purchasing info record distribution: Inbound processing
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MRFLB001 Control Items for Contract Release Order
Thanks
Seshu -
Hi,
I have created two custom fields on infotype 8, i need populate on fied with base salaryBonus(from infotyp 14) and the other field should be the total of all line items on Infotype 8 ( Base salary shift differentials(permiums).
In order to do this, i searching for user exit , can anyone help me in doing this ..please
Thanks
KisuHi,
I looks into the exit.It seems it is doesnt get tigger while going through the PA40.I dont know is it possible or not but I need to do while going through the actions. when the user in pa40 goes through some actions and reaches infotype 8 and enters and the values and press enters ,at this moment I need to find the Exit that gets tiggers and calculates the values and populates the custom fields on 0008.
I would like to know is it possible to do so..?
Thanks
Kisu -
hi, iam doing modulepool programming in the bigging stage .while iam doing i have a doubt that idont know the difference between writing the exit case statment in PAI module and writing code for exit in seperate module out side PAI.
please help me inthis contextHI,
1. Exit in case statement.
CASE okcode.
when EXIT_TAB.
SET SCREEN O.
LEAVE PRGRAM.
ENDCASE.
2. writing exit in another module..
MODULE EXIT_MODULE AT EXIT COMMAND.
inside the exit module write the same code
set screen 0.
leave program.
REWARD IF HELPFUL
thanks
vivekanand
Maybe you are looking for
-
when i try to display some special char, e.g '�' (ascii code 196 )in java it cannot display. The char is correctlly store in java. why cannot dispaly ?? could any one give my some idea ?
-
Client PC migration fails from SBS 2003 to SBS 2012 Essentials
Please check out this entire message before making an assumption about what it says, thanks. Our old SBS 2003 Server hard failed a few weeks ago. Rather than repair it, we ordered a new server with SBS 2012 Essentials and loaded the backup data from
-
Printer won't print with upgrad, can't change IP address of printer
I have read lots of posts and did the guided solution several times and even tried reinstalling my printer and none of it helped. I bought the printer (HP PhotoSmart Plus B209-a) and had Vista 64 bit on my computer. In January I upgraded to Windows 7
-
RFC_READ_TABLE dump while reading T006- Urgent
Hi, I am using fm RFC_READ_TABLE ( cloned copy) to get values from another client. But while accessing T006 table it is giving following dump. Error Analysis In the current program "SAPLSDTX", an ASSIGN statement is supposed to assign a fiel
-
Regarding fetching TIN number of vendor
Hi all, from which table i can fetch vendor TIN number Thks Shailesh