PO line level user exit
Which is the PO line level user exit available?
Please advice.
HI.
Goto se24 class builder ,
Display the Class Cl_exithandler . There is a function name get_instance, Double click on it and pu a session breakpoint on the function METHOD cl_exithandler=>get_class_name_by_interface
Now run the Transaction, it will be executed in the debugging mode and find the value of the variable... exit_name in it.
You will get the exit name.
regards,
Kapil.
Similar Messages
-
Sales Order Line Items User Exit - Credit Management/ Exposure Calculation
Hello Folks
I am looking for a solution to a peculiar problem we have in credit management.
In case of Drop Ship sales order life cycle, the system automatically creates two line items per sales order - one each for Freight and Handling Fees. these are NOT relevant to schedule line delivery, nor are they billed to the customer along with the material billing. The default update rule for credit control area concerned is 12. The system, on finding line items not relevant to schedule line delivery automatically switches from rule 12 to 18. This leads to Open Deliveries field (S067-OLIWW) being updated instead of Open Orders (S066-OEIKW) on saving the sales order.
Once the sales order is billed for the material, the system should logically display net value as zero for the open order (as the 2 lines of fees and freight are not yet billed, the order is still open). But the system considers this figure at SALES DOCUMENT HEADER level and considers the net value as the total value of the sales document (including the material that is already billed).
What I am looking for is if there is an exit available whereby the system considers only those line items whose billing status indicator is "not complete". As such, the net value should be updated to the S067-OLIKW field net of the billed items.
Please advise if there is any such user exit available. Also, is there a way to customize this? We are exploring this at our end, but would appreciate an expert advise. Right advise will be awarded with brownie points
Regards
Mandar BarveVKM1 uses FM SD_ORDER_CREDIT_RELEASE to release orders on credit.
-
Sales order line item user exit?
Hi Folks,
Can any one of you suggest me an user exit in sales order line item level?
I want something which stops before/ or just after entering the quantity in the item level.
We wanted to set up a issue which deals with rounding profile comming from CMIR record to take from Ship-to rather than standard Sold-to party functionality.
Thanks a TON in advance.
Praveen.Praveen,
Check this post
https://forums.sdn.sap.com/click.jspa?searchID=7098802&messageID=1674246
Regards,
Satish -
Creating SD schedule lines in user exit
Hello,
We are automatically creating schedule lines for a certain kind of SD document (scheduling agreement, VA31) in a user exit. We are inserting directly into internal table XVBEP.
Creating those lines works. The values in VBAP and VBEP are exactly the same as if they were created manually, even though the confirmed quantity is only calculated when the document is saved. The requirements show up in MD04 for example.
However, for some reason index table VEPVG is not updated accordingly. Any ideas what we're missing?
Thank you
RolandFound it myself. We didn't maintain the client field when adding new lines to XVBEP. This didn't matter for database table VBEP, but it did matter for index table VEPVG for some reason...
-
ME21N Update Text in Line Item User Exit
Hi, I have created a new PO text item for use in ME21N that I want to populate from document details held in the material master. After entering a material number what user exit do I need to use to update internal tables for display of the document details before they are saved along with the other PO details. I know the tables where the material document details are held. Thanks.
BADI ME_PROCESS_PO_CUST.
Note that this BADI has a number of methods with parameters defined as "Importing" which makes it look like you cannot change data, but some of these parameters are "TYPE REF TO" objects which themselves have methods such as GET_DATA and SET_DATA that actually allow you to access and change the fields.
Search for previous posts including "ME_PROCESS_PO_CUST" - there is sample code in some of them.
In transaction SE19, if you display the BADI then select menu option goto>sample code>display, you will be able to drill down on the PROCESS_ITEM method to some SAP supplied sample code.
This includes the definitions and method calls to get the item data:
DATA: ls_mepoitem TYPE mepoitem.
ls_mepoitem = im_item->get_data( ).
You then just change relevant fields in structure ls_mepoitem and call the set_data method to pass the data back
call method im_item->set_data exporting im_data = ls_mepoitem.
Take care with what you change - SAP does not validate that you have passed back correct / consistant data.
Not sure if the text field you want will be available - you may need to look at further methods of the BADI or of the parameter objects. If you drill down on the objects that the method parameters are defined as TYPE REF TO you will see the methods that are available - the GET_DATA and SET_DATA ones I have mentioned above are only a small part of the options. If there are none dealing with texts at the Header / Line, then you may need to put your code in at the latest method available (once the PO number is allocated) and call the SAVE_TEXT function module to do your update - not 100% way of doing it because standard code may save in update event and have rollback handling.
To use the BADI you will need to create an implementation of it - there is a menu option in SE18 to do this, or you can use SE19.
Andrew -
FB60 Line item User exit/BADI/BTE
Hi Guys,
I need a user exit/ BADI/BTE to change the Line item in FB60 transaction. Please let me know ifyou know any enhancment on this. Thanks
Regards,
GaneshHi Dude,
Following are the list of BADIS for FB60 tcode
BADI_FDCB_SUBBAS01
BADI_LAYER
BADI_FDCB_SUBBAS02
PPA_CUST_BADI
BADI_FDCB_SUBBAS03
WRF_PREPAY_INVOICE
BADI_FDCB_SUBBAS04
BADI_FDCB_SUBBAS05
ADDR_LANGU_TO_VERS
ADDR_PRINTFORM_SHORT
BADI_MATN1
For your requirement the releavant badi is PPA_CUST_BADI
Thanks & Regards
Ramakrishna Pathi -
PM Notification - Item level user-exit
Hello there!
I'm trying to use QQMA0008 user-exit (User Subscreen for Additional Data on Notification Item) in order to add new fields to my notification item, but system is just trying to hinder my purposes... And it's at its best!
I've already customized my client requirements regarding to Notification Header (via QQMA0001 user exit), but I'm facing several new handicaps with the Item enhacement, so let me explain the steps I've followed and, please, make me see reason if anything is wrong with my (unfinished) procedure.
- <b>CMOD</b>: I've created a project and add the suitable components to it. Project is active and I'm sure there's nothing wrong with it (because there are some other enhancements in it, such as the "User Subscreen for Notification Header" I've talked you about, <b>QQMA0001</b>, which is actually working as it should)
- <b>SE80 / SCREEN PAINTER</b>: I've developed a test screen which is, in fact, associated to the user exit I'm trying to get to work: <b>SAPLXQQM 0210</b>
- <b>IMG</b>: <i>Cross-Application Components / Notification / Notification Creation / Notification Type / Define Screen Templates / Define Screen Areas and Tabs</i> ( ? )
What am I suposed to do right now? I mean, if I select my Item tab (<b>10\TAB10</b>), all Screen Areas (sreen blocks) are "grey" (I mean, there's no possible input for these five fields). How can I make the system know it has to show my custom screen/subscreen in the Notification Item tab? It was pretty easy when I worked with the Header, I've just used the "Aditional Data" tab (<b>10\TAB02</b>) and selected the Customer Subscreen (One Screen/Not.Type), '<b>090</b>', in the first Screen Area (it was obviously in "white" mode, I mean, allowed input mode)...
But I just don't know what to do with the Item parametrization! Can you please help me with this matter?
On the other hand... What do I have to do with <b>TQSUB</b> table? I've included a new line in it in order to let the system know about my Header custom dynpro (<b>SAPLXQQM 0100</b>), but now it doesn't allow me to do the same thing (and I can swear you I don't know why)!
System displays the following error message:
Diagnosis
Entries in table TQSUBT cannot be edited in connection with customizing object TQSUB S as table TQSUBT does not belong to customizing object TQSUB S, according to the object definition.
System Response
The function terminates.
Procedure
Check whether the entered objects and keys are correct.
Then check in the Implementation Guide whether the object was created correctly.
Correct the object definition or the entry for the Transport Organizer interface.
Any ideas?
Thanks in advance, any help will be (kindly) appreciated.
Greetings from Switzerland!Hi
For this u need to implement the ehancement spot. To achive this u need to implement the ehancement spot in include
LMEPOF7X. And modify the required field in structure mepo.
Regards,
Raghavender. -
Send email from PA30 user exit
When I try to send an email from user exit in ZXPADU02 it never makes it to SOST. WIll always go to SBWP outbox if I set the flag but never gets sent to receiver address.
If I paste the following code into a report it works fine. Is there some other parameter for this FM or some additional process needed to send email from a user exit?
DATA: maildata TYPE sodocchgi1.
DATA: mailtxt TYPE TABLE OF solisti1 WITH HEADER LINE.
DATA: mailrec TYPE TABLE OF somlrec90 WITH HEADER LINE.
CLEAR maildata.
REFRESH: mailtxt, mailrec.
maildata-obj_name = 'SRVC_EMAIL'.
maildata-obj_descr = 'Email test'.
maildata-obj_langu = sy-langu.
mailtxt-line = 'Test line from user exit'.
APPEND mailtxt.
mailrec-receiver = '[email protected]'.
mailrec-rec_type = 'U'.
APPEND mailrec.
CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
EXPORTING
document_data = maildata
document_type = 'RAW'
put_in_outbox = 'X'
commit_work = 'X'
TABLES
object_header = mailtxt
object_content = mailtxt
receivers = mailrec
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
others = 8.Put the function call 'SO_NEW_DOCUMENT_SEND_API1'
in a report Program & SUBMIT that report from ZXPADU02.
Arya -
Can't find user exit or enhancement at RGJVBR15
Hi everyone,
I need your help guys. Right now,i'm developed sapscript for billing statement (cash call and expenditure). I have finished the form but i have problem at print program RGJVBR15. This print program is called by RGJVBR10 (Tcode : GJ14 --> Hard Copy Billing).GJ 12 and GJ 13 is used to extract data that will be used by forms.
There is statement like this in RGJVBR15 at subroutine CREATE_EXPENDITURE (Line 1421 in include file RGJBF_I1) :
AT NEW C5_CURR. --> Group by funding currency
PERFORM POPULATE_SPOOL_ID
ENDAT.
PERFORM F6100_PROC_... -> This will be used to open form,write form (sapscript)
AT END OF C5_CURR.
ENDAT.
The problem is that i want to change this logic. I want to change the standard logic (display report group by funding currency), i want to ignore this and instead using group currency. So there only one report produced with one currency only (if using standard logic there is more than 1 report based on funding currency). But i can't find user exit or enhancement in this SAP Standard Program. Is anyone know if there is user exit or enhancement in this program? I don't want to use implicit enhancement because it's will produce problem when client want to upgrade their system. Thank you.
Best Regards,
Satriahi,
for tcode GJ14 user exits avaliables are
Exit Name Description
JVA-IM-1 Joint Venture: Integration Manager Set Intercompany Lines
JVA_IM_2 User Exit Splitting
JVA_IM_3 User Exit Check Document
regards,
paras -
User exit/BADI to change the Accntg doc which gets created during Billing
I am trying to do the following . Is this possible ?
When a delivery related billing document is created an accounting document is created in the background , I want to modify the line items in the accounting document, Just before posting the accounting document.
I am using exit EXIT_SAPLV60B_008 as suggested but I don't see the accounting line items in any of the internal tables in this exit.
My accounting document when it gets created looks like this. And I want to modify one of these lines before the document is posted.
Thanks in advance.
Regards,
Ankur Bhandari
1 01 32517 Jaaaa 3,700.83 USD
2 50 3100000 MERCHANDISE SALES 3,199.96- USD
3 40 3100000 MERCHANDISE SALES 160.00 USD
4 50 3200000 DELIVERY INCOME 132.00- USD
5 50 3200000 DELIVERY INCOME 10.00- USD
6 50 2170156 SALES TAX COLLECTED 198.87- USD
7 50 3400000 WARRANTY INCOME 320.00- USD
8 15 32517 Jaaaa 3,700.83- USD
9 40 1117217 RECV. VISA/MCARD Sto 3,700.83 USD
Any answers on how can I delete line 1 8 and 9 and add another line which balances the amount ?
Need to do this just before the accounting document gets generated.
Is this possible ?Hi Ajay,
I just want throw a light on your issue.
There are couple of other user-exits also available here.
Just check the required data is available or not?
EXIT_SAPLV60B_001 User Exit AC Interface (Header Line)
EXIT_SAPLV60B_002 User Exit AC Interface (Customer Line)
EXIT_SAPLV60B_003 User Exit RW Interface (Cost)
EXIT_SAPLV60B_004 User Exit AC Interface (GL Account Item)
EXIT_SAPLV60B_005 User Exit AC Interface (Accruals)
EXIT_SAPLV60B_006 User Exit AC Interface (Tax Line)
EXIT_SAPLV60B_007 User Exit AC Interface (Customer Line)
EXIT_SAPLV60B_008 User Exit AC Interface Transfer Tables
EXIT_SAPLV60B_010 User Exit Item Table for the Customer Lines
Thanks,
Ramakrishna -
hi experts,
in our project we are not incorporating BADI technology for extractor enhancements due to known performance issues and now its decided that we will incorporate a simple ABAP technique using PERFORM ststement that will allow a program to dynamically called based on data source name.
now question is that:
1) what type of USEREXIT is recommended by SAP in such a problem explained above.
2)Is there any DATASOURCE or FUNCTION MODULE whose Data source name character exceeds 30 chars.
please ans me in terms of:
1) performance 2) memory and complexity.
thank you very much.Hi Check the links below :
http://knol.google.com/k/alfonzo-vega/sap-bi-global-report-variable-user-exit/2uo5n5fokb0ac/4#
http://it.toolbox.com/wiki/index.php/SAP_BI_Global_Report_Variable_user_exit_modularization
But the above links talks about Query level user exit modularization.
List of User Exits in SAP R/3 Enterprise 4.7:
http://www.erpgenie.com/abap/1395-list-of-user-exits-in-sap-r3-enterprise-47
Regards
Ram.
Edited by: Ramakanth Deepak Gandepalli on Dec 18, 2009 10:59 AM -
Is there a user exit to modify PO line item level..
Dear Friends,
Is there a user exit to modify PO line item level..
RaviHi...I'm not sure on any available customer exits for this purpose. However you can use the check function exit 'EXIT_SAPMM06E_012' of customer exit MM06E005 and using memory pointers you can change the item level data.
The other option is to use BADI ME_PROCESS_PO_CUST's method PROCESS_ITEM to change the item level value. I would prefer the BADI rather than the customer exit.. Hope it works..
Thanks,
Jude -
Hi all....
I need a user exit which is applicable at line item level.
The field 'first date' in line item, is same as first line in scehdule line.If i update 'first date in line item, the schedule line gets updated automatially. According to my requirement, i need a user exit at line item for date field.
Thaks
AleemHi,
You can try this.
USEREXIT_MOVE_FIELD_TO_VBEP
Use this user exit to assign values to new fields at the level of
the sales document schedule lines.
The user exit is called up at the end of the FORM routine
VBEP_FUELLEN.
Thanks
Krishna. -
User exit - for ME21N, 22N, 23N - at line item level
Hi,
I want to add new text field to display the description of the MPM(material) in it.
That filed I want to add to the Account Assignment tab at item level.
How to add that field on the screen, I mean any screen exit for this?
and function module to pass the data to that field.
If anybody worked on such problem then pls. let me know.
Thanks in advance.
-- UmeshHi,
These are the user exits for me21n.
AMPL0001
LMEDR001
LMELA002
LMELA010
LMEQR001
M06B0001
M06B0002
M06B0003
M06B0004
M06B0005
M06E0004
M06E0005
ME590001
MEETA001
MEFLD004
MELAB001
MEVME001
MM06E001
MM06E003
MM06E004
MM06E005
MM06E007
MM06E008
MM06E009
MM06E010
MMAL0001
MMAL0002
MMAL0003
MMAL0004
MMDA0001
MMFAB001
Regards
praveen -
User Exit for Updating Delivery Plant at Item Level in Sales Order
Hello Experts
There is a requirement to determine the delivery plant for each item level and than update the items with newly determined plant. There is a user exit MV45AFZZ routine FORM USEREXIT_MOVE_FIELD_TO_VBAP. to update the item level entries in Sales Order in VA01 or VA02. Is this the right place to do this?, if yes , do i need to perform any other standard logic (like re determine Shipping points , schedule lines ) for newly determined plant? If not , can you please suggest any other place , BADI or user exit to change the delivery plant of sales order.
Thanks a lot....
-HarkamalBest place is MV45AFZZ-USEREXIT_SAVE_DOCUMENT_PREPARE. Populates the values just before saving the document. You can have your own deriving logic. Make sure that peice of code is trigger only for Sales Order create or change (VA01/VA02).
Are you kidding??? You do realize that this is AFTER all validations against configuration, ATP, pricing, etc. have been performed??!!! Never, ever change a critical value like plant in the SAVE user exits...
Maybe you are looking for
-
I click on the bookmarks button on the Firefox browser and the folders that hold the bookmarks are not in any particular order. I would like the folders to be in alphabetical order when I see them...when I click on the bookmarks button at the top of
-
New Date() in Safari 6.0.3 gives +- 1 hour during timezone change
Hi, Java Script Date object adds one additional hour when Date is parsed in the below format. This happens until the 10th hour on timezone change day which is 03/10/2013 (PST to PDT change). new Date ('3/10/2013 02:00'); => Gives Sun Mar 10 2013 03:0
-
Disk Utility can't repair disk
Hi, I just saw that the amount of memory left on my HD just dropped around 60GB, so I used the "Verify Disk" option on Disk Utility, and the output was: Verifying volume "Macintosh HD" Performing live verification. Checking Journaled HFS Plus volume.
-
Activating DataSource BI 7.0
hi, all, there is a problem with activating a data source for master data texts from flat file. In the Tab Proposal I can load example data - it works properly. In the tab PREVIEW I want to read preview data and have to activate the data source.But d
-
The display on safari glitches.
It's been happening very frequently and even if I close the window browser and open a new one the display glitches. It's happened on shopping websites e.g. amazon, nordstrom and on google, youtube and netflix. I called apple support and they had me r