Sales user exit on save
I am trying to use the on save routine to stop and order from saving, but then allow the user to correct the data. I am outputing a type 'E' message, but this doesn't allow the user to corect the data and the user gets stuck in the screen.
Sorry if you double click oin the screen it becomes available again.
Similar Messages
-
Hi,
Is there any user-exit at save for transaction KL01.
Here is my requirement.
Where ever am employee is hired in HR ( transaction PA40; Action = Hire) i have to automatically create an Activity Type ( t.code : KL01 ). I am doing this in user-exit PBAS0001, component EXIT_SAPFP50M_002 on HR side.
The next this is, once activity type is created using transaction KL01, i have to automatically trigger a activity type planning, transaction KP26.
So, i need a user exit at Save in transaction KL01, so that i can trigger KP26 from there. I found one exit COOMKS02, but i its not triggeting from KL01.
Does any one know any user-exit in KL01 which trigger at save. Please let me know
Thanks,
PratikHi Sharad,
Thanks for your reply.
I always have an option for executing both KL01 and KP26 fron PBAS0001, but what i was thinking that if there is any exit available at save in KL01, i can trigger KP26 from there.
If i could not find any exit, i will call both KL01 and KP26 from PBAS0001 itself.
Thanks,
Pratik -
User exit on SAVE event in tranasaction CS01
Hi all,
Please tell me user exit on save event in transaction cs01.
Thank you.Hi,
Check the following user exits.
PCSD0001 Applications development R/3 BOMS
PCSD0002 BOMs: Customer fields in item
PCSD0003 BOMs: Customer fields in header
PCSD0004 BOM comparison
PCSD0005 BOMs: component check for material items
PCSD0006 Mass changes user exit
PCSD0007 Check changes in STKO
PCSD0008 WBS BOM: Customer-specific explosion for creating
PCSD0009 Order/WBS BOM, determine URL page
PCSD0010 Order/WBS BOM, determine explosion date
PCSD0011 Knowledge-based order BOM, parallel update
PCSD0012 Customer - Mat. number/mat. number during material exchange
PCSD0013 Customer-specific processing of an explosion for BOM browser
hope it helps
Regards
Rajesh Kumar -
USER-EXIT on SAVE event for IE01
Hi,
I need USER-EXIT on SAVE event for t-code IE01.
EXIT IEQM0003 work only first time after pressing "SAVE".
IF i press "SAVE" second time equipment will be created.
Edited by: andriy.hulyk on Jan 26, 2012 12:45 PMHere is my code:
IF DATA_ILOA-TPLNR IS INITIAL.
AUTHORITY-CHECK OBJECT 'ZZ_MC_FLC'
ID 'ZZFLC' FIELD '*'.
CASE SY-SUBRC.
WHEN 0."SAP-ALL User
EXIT."OK
WHEN 12."User without restriction
EXIT."OK
WHEN OTHERS.
AUTHORITY-CHECK OBJECT 'ZZ_MC_FLC'
ID 'ZZFLC' FIELD '01'.
CASE SY-SUBRC.
WHEN 0."Create eq. only with FL for some work centers
MESSAGE E250(ZPM) WITH 'test' RAISING POSTING_NOT_ALLOWED_EXT.
ENDCASE.
ENDCASE.
ENDIF.
If i press "SAVE" firs time it work great. But next pressing just create new equipment. My restriction does not work( -
Cross Sales & User exits & stock transport orders
Hi all,
<b>
Can anyone tell me about Cross Sales & User exits ?
Also what is stock transport orders ? Can i get some config. steps for that ?</b>
My id : [email protected]
RajarshiHi,
Mail order catalog retailers frequently use cross selling to increase sales. When a customer orders an article over the phone, the order taker can suggest additional articles that the customer might buy. For example, if the customer orders a VCR, you might suggest purchasing some blank tapes; for a cellular phone, a leather carrying case.
The sales transaction takes place as normal: The customer chooses an article and the order taker enters it on the sales order screen. The order taker can press Enter after each article, or wait until the customer has finished selecting the article he or she wants.
If the order taker presses Enter after entering the data for one article, then a dialog box appears automatically, displaying a list of articles to be suggested to the customer. These cross selling articles are ones that pertain specifically to the purchased article.
If the order taker waits to press Enter until the customer has finished ordering, then the dialog box appears automatically, this time showing all of the articles in the sales order, along with their corresponding cross selling articles.
The articles that appear in the cross selling dialog box always depend on which articles are in the sales order. If you want to have the system suggest articles based on the customer's past purchasing history or other factors, see Dynamic Product Proposal in the standard SD documentation.
The cross selling dialog box displays the following information:
Article number
Description
Sales unit of measure (each, 3-pack, etc.)
Price per unit of measure (calculated either by the standard R/3 pricing scheme or by a custom pricing scheme you have defined)
Availability check
Delivery flag (that is, whether the cross selling articles can be delivered independently of their corresponding main articles in the sales order, or whether the cross selling articles can only be shipped either together with or after the main articles have been shipped)
To set up cross selling, you must make the following settings in Customizing:
Create the conditions tables, access sequence, and calculation schemes for determining cross selling articles, since the cross selling function relies on the conditions technique. (Alternatively, you can use the analysis discussed in "Activities" below to create the data automatically.)
Create a cross selling profile with the following attributes:
Determination of cross selling articles via function module
Price calculation scheme
Scheme using conditions technique
Flag indicating how the cross selling dialog is to appear
Flag indicating whether an availability check is to be performed
Assign the cross selling profile to a sales area, document scheme, and customer scheme.
USEREXIT
Userxits allow us to add our own functionality to SAP standard program
without modifying it . These are implemented in the form of subroutines and hence are also known as FORM EXITs. The userexits are generally collected in includes and attached to the standard program by the SAP.
Reward ipoints if useful
Regards,
Amrish Purohit -
User exit when save production order
Hello,
I have to fill the OVERHEAD KEY field value in production order header at runtime based on some calculation. So I need a user exit which can be used to save the value of overhead key.
I already tried the exits PPCO0001, PPCO0007, PPCO0006, PPCO0012, and PPCO0018 but these all are not working for me as I am trying to insert or change the value of Overhead key(ZSCHL) but at the last value is not changing at all .
Please suggest me if you have any solution.
Thank you in advance!!!
Rock,My question was:
I need a user exit, using which I can change the value of overhead key at runtime.
suppose I am creating a production order with a sales order (CO08), and overhead key value is NULL currently.....but at the time when I save that production order based on sales order type I have to enter the value of overhead key.....for that I need a user exit where I can change the value of overhead key
at runtime.
I already tried the exits PPCO0001, PPCO0007, PPCO0006, PPCO0012, and PPCO0018 but these all are not working for me as I am trying to insert or change the value of Overhead key(ZSCHL) but at the last value is not changing at all .
Please suggest me if you have any solution.
Thank you in advance!!!
Rock, -
User exit after save for purchase order create/change
After generating the purchase order no (ME21) i need to save that PO no into a custom table.....can u plz tell me such user exit where i can do this???
Hi,
BADI ME_PROCESS_PO_CUST.
1. Method to implement would be POST.
2. Method POST has parameter IM_HEADER which is in reference to IF_PURCHASE_ORDER_MM.
3. This reference has method GET_CONDITIONS.
4. call this method to get conditions data.
5. Make all the changes based on the logic and use method SET_CONDITIONS to change the values.
User exit will be MM06E005.
EXIT_SAPMM06E_012.
<b>Reward points</b>
Regards -
User exit for save data in T.code PA40 ABAP-HR
Hi Expart,
what is the user exit which is trigger when we save the data through pa40 transaction which check the latest update in the database.
Kindly give me exit name .Hi Vikash ,
Please refer to below Exits :
HRPBAS01 User Exit for HR Master Data
HRPC0001 HR: PC download authorization
HRRPAI01 User exit for FB HR_ENTRY_DATE and HR_LEAVING_DATE
PARA0001 Enhancement for Determining the Number of Periods
PARA0002 Enhancement for Calculating Annual Salary; IT0008,14,15
PBAS0001 PA: Pers.Admin./Recruitment: Default values and checks
PBAS0002 PA: Enhancements for Personnel Administration - Menu
PBASRP01 PA: User exit distributed reporting
Hope this will help you.
Regards,
Nikhil -
MIRO - User Exit during SAVE: Read items & Update header
Hi there!
During MIRO after pressing save...
I search for an user-exit or BAdI, to READ ITEM DATA and UPDATE HEADER DATA (XBLNR) after SAVE but before UPDATE.
I have searched this forum, but with no luck. Many more then me seem to have the same problem. The most common answer have been to try BAdI INVOICE_UPDATE, but that BAdI only give READ access and NO UPDATE, so no luck there..
To summarize all my searching here and findings... I list all exits I have tested...
User-Exits
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
BADI - When saving in MIRO the following BAdI were passed...
PPA_CUST_BADI
/CCIS/FICLRDC_ENH
INVOICE_UPDATE << only read no update
ME_DP_CLEARING
AC_DOCUMENT
FI_LIMIT_PROCESS
AC_QUANTITY_GET
FMRE_BUS_PROCESS
EXIT_XFMPRI_001
CO_DOCUMENT_INFO
INVOICE_UPDATE (method change_before_update ) << only read no update
MRM_RANSACT_DEFAULT
MRM_HEADER_DEFAULT
Other BAdI's
MRM_HEADER_CHECK - Bara ingående värden för kontroll
MRM_HEADER_DEFAULT - Tyvärr sätter bara XBLNR precis när man går in i MIRO...dvs för tidigt.
MRM_ERS_HDAT_MODIFY - EJ anropad...
Would be greatful for any ideas on this matter...
Best regards
HenrikHello Henrik,
In BADI INVOICE_UPDATE there are 3 methods CHANGE_AT_SAVE, CHANGE_BEFORE_UPDATE and CHANGE_IN_UPDATE.
Of these CHANGE_AT_SAVE is called before INSERT / UPDATE statements are executed. We can use this to update RBKP-XBLNR.
We can't use CHANGE_BEFORE_UPDATE and CHANGE_IN_UPDATE methods as they are called after INSERT / UPDATE statements are executed and before COMMIT.
You can update RBKP-XBLNR through INVOICE_UPDATE~CHANGE_AT_SAVE method using call stack technique like below. You can replace 'VALUE' in the below code with the value based on your calculation using other variables like s_rbkp_new, ti_rseg_new etc.
method IF_EX_INVOICE_UPDATE~CHANGE_AT_SAVE.
DATA: lv_name_xblnr(30) TYPE c VALUE '(SAPLMRMP)RBKPV'.
FIELD-SYMBOLS: <fs_rbkpv> TYPE mrm_rbkpv.
ASSIGN (lv_name_xblnr) TO <fs_rbkpv>.
IF <fs_rbkpv> IS ASSIGNED.
<fs_rbkpv>-xblnr = 'VALUE'.
ENDIF.
endmethod.
Best regards,
Vishnu Tallapragada -
User exit for save button in transaction code CBIH82
HI All.
i have got an issue with finding of user exit for transaction code cbih82.
my functional consultant want me to go for exit CBIH_LB39_UE_POST_COMMIT (se37) but i cont find any user exit in this function module as it is triggering when i click on save at cbih82 in debugging.
but i cont find any user exit in this CBIH_LB39_UE_POST_COMMIT.
so could any one help me in this issue for finding user exit which should trigger when i click on save at cbih82 tcode.
will be waiitng for a good answer.
bye.
regards.
seetaram.check in smod
user exits for CBIH82
Exit Name -- Description
EHSIAHM1 -- EH&S: Menu Exit 1 for Incident/Accident Log Header
EHSIAHM2 --- EH&S: Menu Exit 2 for Incident/Accident Log Header
EHSIAPM1 --- EH&S: Menu Exit 1 for Incident/Accident Log Person
EHSIAPM2 -- EH&S: Menu Exit 2 for Incident/Accident Log Person
EHSMPHM1 -- EHS: Menu Exit 1 for Measurement Project Header Data
EHSMPHM2 -- EHS: Menu Exit 2 for Measurement Project Header Data
EHSMPJM1 -- EHS: Menu Exit 1 for Measurement Project Measurements
EHSMPJM2 -- EHS: Menu Exit 2 for Measurement Project Measurements
EHSSARA -- EHS: Check/Edit Lines in SARA List Before Printout
Salil...
Edited by: salil chavan on Nov 19, 2008 8:23 AM
Edited by: salil chavan on Nov 19, 2008 8:25 AM -
MIRO - User exit at save to put on a payment block
I need to do some consistency checks at the save of MIRO. In this user exit I need the option of putting the payment on a payment block. I have found some enhancements but I haven't found any which will allow me to put it on a payment block.
Regards,
Davisuse this BADI
MRM_PAYMENT_TERMS -
FB60 Looking for user exit at Save
hello all,
i need to do some verification on the company code and wbs. It would be best if i could find a user exit when the Save button is executed. Does anyone have any ideas ?
thanks ScottThe below program gives all the user exits..try the program and awards points if it was useful
*& Report ZUSER
REPORT ZUSER no standard page heading.
*& Enter the transaction code that you want to search through in order
*& to find which Standard SAP User Exits exists.
*& Tables
TABLES : tstc, "SAP Transaction Codes
tadir, "Directory of Repository Objects
modsapt, "SAP Enhancements - Short Texts
modact, "Modifications
trdir, "System table TRDIR
tfdir, "Function Module
enlfdir, "Additional Attributes for Function Modules
tstct. "Transaction Code Texts
*& Variables
DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
DATA : field1(30).
DATA : v_devclass LIKE tadir-devclass.
*& Selection Screen Parameters
SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP.
PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN END OF BLOCK a01.
*& Start of main program
START-OF-SELECTION.
Validate Transaction Code
SELECT SINGLE * FROM tstc
WHERE tcode EQ p_tcode.
Find Repository Objects for transaction code
IF sy-subrc EQ 0.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'PROG'
AND obj_name = tstc-pgmna.
MOVE : tadir-devclass TO v_devclass.
IF sy-subrc NE 0.
SELECT SINGLE * FROM trdir
WHERE name = tstc-pgmna.
IF trdir-subc EQ 'F'.
SELECT SINGLE * FROM tfdir
WHERE pname = tstc-pgmna.
SELECT SINGLE * FROM enlfdir
WHERE funcname = tfdir-funcname.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'FUGR'
AND obj_name = enlfdir-area.
MOVE : tadir-devclass TO v_devclass.
ENDIF.
ENDIF.
Find SAP Modifactions
SELECT * FROM tadir
INTO TABLE jtab
WHERE pgmid = 'R3TR'
AND object = 'SMOD'
AND devclass = v_devclass.
SELECT SINGLE * FROM tstct
WHERE sprsl EQ sy-langu
AND tcode EQ p_tcode.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
SKIP.
IF NOT jtab[] IS INITIAL.
WRITE:/(95) sy-uline.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 sy-vline,
2 'Exit Name',
21 sy-vline ,
22 'Description',
95 sy-vline.
WRITE:/(95) sy-uline.
LOOP AT jtab.
SELECT SINGLE * FROM modsapt
WHERE sprsl = sy-langu AND
name = jtab-obj_name.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
WRITE:/1 sy-vline,
2 jtab-obj_name HOTSPOT ON,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
ENDLOOP.
WRITE:/(95) sy-uline.
DESCRIBE TABLE jtab.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No of Exits:' , sy-tfill.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'No User Exit exists'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'Transaction Code Does Not Exist'.
ENDIF.
Take the user to SMOD for the Exit that was selected.
AT LINE-SELECTION.
GET CURSOR FIELD field1.
CHECK field1(4) EQ 'JTAB'.
SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
Thanks and regards. -
COR2 User Exit at Save for Process Order Manipulation
I am trying to find a User Exit where I can manipulate fields at the item level, specifically batch or CHARG.
PPCO0007 seems to only have the header fields, batch is an item level field. Other exits seem to already save the order prior to my making the change.
Any suggestions will help.
Thank-You.Dear,
User exit ZXVBZU02 assign value to RESB-CHARG first
BAdI WORKORDER_UPDATE, and put break-points in method AT_SAVE, AT_RELEASE, IN_UPDATE
Please refer this thread,
User exit for transaction code COR2
Regards,
R.Brahmankar -
User exit after save for purchase order?
After generating the purchase order no (ME21) i need to save that PO no into a custom table.....can u plz tell me such user exit where i can do this???
Hello,
Use the exit
EXIT_SAPMM06E_012
EXIT_SAPMM06E_013
VAsanth -
Asset master user exit at save
Hi!
Can anyone tell me, which user-exit is running at the save moment, while creating or modifying an asset master data (AS01, AS02 transaction)?
Only the user exit is interesting me, which is running when the user is pressing the "SAVE" button, random user-exit lists are unwanted.
Thank you
TamáHi,
Following are exits available for AS01. Just put break point in each exit and test it at the time saving asset whether it is triggering it or no. Then you will come to know the exact one.
TRAN0001 User exit for asset transfer
AAPM0001 Integration of asset accounting and plant maintenance
AFAR0003 External changeover method
AFAR0004 Determination of proportional values for retirement
AINT0004 Change amount posted for certain areas
AINT0005 Dummy for extended syntax check. Do not use.
AISA0001 Assign Inventory Number
AIST0001 Exchange number range in master data maintenance
AIST0002 Customer fields in asset master
AMSP0002 Determine relationship type for two company codes
Reward points if helpful.
Regards,
CS.
Maybe you are looking for
-
Report without the first record using JasperReports
Hi everyone, I�m using JasperReports127 but the first record is not being showed... I really don�t know why... Does someone had the same problem?! I follow this tutorial: http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/rep
-
All, Please review the following code: <uix:column > <%String sessionColumn = "Site"; %> <uix:columnFormat columnDataFormat="iconButtonFormat" /> <uix:columnHeader> <uix:sortableHeader text="Site" value="Site" destination="some-action.do" sortable="<
-
I'm working in a newly installed version of Captivate 4. I am going into edit preferences for the recording mode. I am changing the default from demonstration, to custom, or training simulation. (I've tried both.) Even if I resave my project immed
-
Guided Sales_B2C Webshop
Hello Experts, As per the requirement, we need to implement GUIDED SALES for E-Commerce B2C scenario (SAP CRM 7.0) As per the below SAP HELP Link, this part of the software has not been tested and/or developed finally. http://help.sap.com/saphelp_crm
-
I have the advanced setup of OS X Server and I was wondering if there was a way to easily change whether users are allowed to have blogs. I used to have it setup on Basic but I found out that it does not support portable home directories so I switche