Field data change-User exit in PA30 & PA40
Hi All,
I wants to execute an rfc with following data, whenever changes maid in following fields.
P9005/ZFIELD, PA0002/NACHN, PA0002/VORNA, PA0002/CNAME,
PA0000/STAT2, PA0041/DAR01, PA0041/DAR02, PA0041/DAR04,
PA0008/TRFGR, PA0008/TRFST, PA0001/WERKS, HRP9103/ZZORG, PA9008/WRKLO, PA0041/DAR01
Please guide me which user exit i can use?
Or any other idea by which i can send those changes to XI.
Thanks in advance
Ok I found user exit PBAS0001 will solve all except one.
HRP9103/ZZORG field.(field of PP02)
null
Similar Messages
-
How to access the global data in user exit.
Hi All,
How to access the global data in user exit.
the question is that when we were writing a code in the FM. i need to read data from the standard program like newly created documen and this document number need to be accessed in my program.
this document number is not imported to the FM i needed to access for frther proceed.
Thanks in advance.Hi,
See the below PDF file by Jeff Goldstein. There you can find all the details about accessing data outside of the exit.
[SAP User Exits and the People Who Love Them|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/208811b0-00b2-2910-c5ac-dd2c7c50c8e8]
This will help you to solve your problem.
Regards
Karthik D
Edited by: Karthik D on Dec 2, 2008 4:18 PM -
Hello Experts,
I am very new to user exit and enhancement topic.
I have to perform cryptographic operations (Encryption and Decryption) on some of the fields of transaction PA30. Ex. -Wage type amount, Date of Birth and Address.
For that i have figured out user exit to do the the custom operations. Name of the user exit is "EXIT_SAPFP50M_002" I also checked the above enhancement by changing or modifying the fields. Control is successfully coming into the relevant INCLUDE program of the user exit FM EXIT_SAPFP50M_002.
My problem is if user enters or modifies basic salary as 1234.00 (User may modify other specified fields also) and saves the transaction, how to access these value in include program so that i can able to perform encryption on the value entered by user.
Any help??
Thanks in Advance,
Prashant
Edited by: Prashant Jagdale (Genius) on Dec 31, 2008 4:26 PMHI,
In this you have ZXPADU02 include na, so go into that and write your validation
TABLES prelp.
IF tclas EQ 'A' .
*Code for checking for infotype 8 when there is a change
*in the basic pay
CASE innnn-infty.
WHEN '0008'.
CALL METHOD CL_HR_PNNNN_TYPE_CAST=>PRELP_TO_PNNNN
EXPORTING
PRELP = INNNN
IMPORTING
PNNNN = I0008.
if i0008-lga01 eq '1000'. " Basic wage type in IT0008
move amount to I0008-bet01.
endif.
WHEN OTHERS.
ENDCASE.
ENDIF.
Regards,
Arjun. -
Updating user fields through a user exit in CO01
Hi..
I'm new to user exits and knw there are loads of user exits for CO01, but can't find the exact one to modify the user fields.. And also, would a simple
afvgd-usr00 = 'some material' work???
Tnx..Try with OSS note:
68720
Symptom
The system does not display the 'User data' operation detail screen when you create an operation of a production order with input facilities.
Additional key words
CO01, CO02
Cause and prerequisites
Solution
1. Add the following entry to table TCO62:
CAT SeqKey Verif.No Program Grp Panel 10 OC0001 7 SAPLCOVF V9 0201
UseTransaction SM31.
Table TCO62 is client-specific, that is, you must create the entry inall relevant clients.
2. See the attached advance corrections. If you have implemented an earlier version of this note, please note that, for up to Release 3.0F, the correction was changed for Include LCOVFO10. -
Schedule Line Category change-USER EXIT
REQUIREMENT:
When saving a SALES ORDER, Change the schedule line category on the SALES ORDER from CP(Standard Availability Check) to CS(Third Party Processing u2013Trigger Purchase Requisition)
Initially when we create the SALES ORDER, we have Schedule line category CP to generate schedule lines based on stock availability
SO Date- 09/14/2010
Schedule line 0001--- 09/14/2010 --- Confirmed Qty (0) --- Sched Line Categ(CP)
Schedule line 0002--- 09/16/2010 --- Confirmed Qty (1) --- Sched Line Categ(CP)
Config Change: We have changed the Schedule line category- CS to turn off Purchase Order Scheduling (Indicator turned off--P.req.del.scheduling)so that when we change the schedule line category, no PO scheduling happens again
Our requirement is that when saving the sales order, we want to change both the schedule lines item category-0001/0002 from CP to CS
SO Date- 09/14/2010
Schedule line 0001--- 09/14/2010 --- Confirmed Qty (0) --- Sched Line Categ(CS)
Schedule line 0002--- 09/16/2010 --- Confirmed Qty (1) --- Sched Line Categ(CS)
After saving the order, a Purchase Requisition is generated for the Schedule Line 0002..
MY QUESTION:
Is this possible using the BAPI_SALESORDER_CHANGE without changing the dates on the schedule lines or deleting any schedule line
Thanks
KumarHello Kumar,
Please check the User exit and let us know whether your requirment is met or not.
#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.
Regards,
Sarthak -
Reg: User exits used in pa40 and pb10
Hi Experts,
I need to find user exit in pa40 and pb10 main program ,where i can capture fields like RCINS (vendor ID) and offid (advertisement ) and need to update applicant details into my z table.Try the one in with +: Both of Tcodes have Same user Exits
Exit Name Description
+ 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
PBAS0004 Spanish Data Privacy Law: User Exit for Recording
Regards
Shital -
Hi group
Quick question...while doing a PO change ( IDOC_INPUT_ORDCHG)....sales order line items are to be deleted....I know that this needs to be done in a user exit...i am trying to nail down to the right user exit......
I found only one user exit ( customer function 002 ) dealing with BDCDATA...but the problem is this one is called multiple times in the program...and I want to run this code only once....have you guys encountered similar situation / have any clue....Plz let me knowHi,
I did not get your question. What is the relationship between changing PO data and deleting sales order line item.
I do not recommend changing sales order line in some userexit while processing PO idoc. Eventhough you find an userexit to do this, when sales order line item is deleted and commit happens in not only commits the sales order data but also other outstanding updates. This might cause database inconsistency.
Please clarify your exact requirement.
Regards,
RS -
Profit Center Master Data - Validation - User Exit
Hi,
I need to add few validation to the profit center master data. If there is any user exit that I can use or is there any validation like OB28 (we have for financial accounting document) that can be used.
Please help me out.
Regards,
Binay AgarwalWe are on version 4.6C. Requirement is that while creating profit center, two fields, Budget Holder and CC Board Member field should be updated via some valid user id that exist in SAP.
This user id would be used in work flow. This fields are free field and would accept anydata. But subsequent processes would be hindered. Same thing has been implemented for Cost center and we were able to get hold of user exit but I am struggling to find the same for profit center.
As far as I am aware there might not be any user exit for KE51 tcode. Now only point is is there any other way (like validation) which can be setup before the data us saved so that we have control over the data being saved in these two fields.
Regards,
Binay Agarwal -
HR-ABAP-want user exit for pa30 for creation 2001 infotype for sick leave
Hi ALL,
My requirement like, whenever I try to create a sick leave through PA30 Tcode for infotype 2001 then the has to be trigger like, if the personnel joing date will be from Feb-Dec any date of the year then, the SL will be valid for next year Jan.
Ex; Todya I am creating SL on 2001 infotype. then the condition will
If joining date not Jan 2007 then,
Leave will be valid for next year Jan 2008.
So, let me know is there any user exit for this.
Thanks In advance.
J.PFind myself
-
Dear all,
I'd like to adjust VBRK-KURRF so that it will be the currency at the date of pricing date (RV60A-PRSDT). Only point I can do this seems to be user exit USEREXIT_FILL_VBRK_VBRP [RV60AFZC], unfortunately I can not catch the pricing date here since RV60A is not filled at this moment. How can i see the pricing date in this particular user exit?
Best regardsYOu can do something like this:
create field symbol
FIELD-SYMBOLS: <pricdate>.
Assign value of variable from calling prog to field symbol
ASSIGN ('(Main program name)the variable which holds pricing date) TO <pricdate>.
(Example: ASSIGN ('(SAPMM06E)RM06E-BSART') TO <status>.)
Regards,
Ravi Kanth Talagana -
How to identify BW caller in Sap R/3 Data Source user exit
Hi,
I have the following question :
I use the same R/3 extractor to load two different SAP BW system. Before, the data must be enriched by a user exit process ( CMOD ).
In this exit, the treatment for each datasource is identified by the case clause but I have to do some different treatment for each BW target for the same datasource
CASE i_datasource.
when 'MyDatasource'
if BW Caller = BW 1
Data treatment for BW 1
else .
if BW Caller = BW 2
Data treatment for BW 2
endif.
Do you know the way to identify the SAP BW system caller in the R/3 user exit in order to aplly a specific treatment for the same datasource ?
Thanks for your help.
Marchi,
not very nice but and not really satisfying:
if the users of the remote-users for the logon from the BWs onto the one R/3 differ you could use sy-uname to check what bw is extracting ...
everything else is a bit more complex
hth
cheers
sven -
Passing data from user exit to workflow.
HI,
Please consider the below scenario.
In the user exit 'MV50AFZ1' I have created an include in the form 'USEREXIT_SAVE_DOCUMENT_PREPARE.'.
In this include based on some certain conditions a workflow is triggered.
I am using the function module 'SWE_EVENT_CREATE' to trigger the workflow.
Now the requirement is to pass some data from this user exit ('USEREXIT_SAVE_DOCUMENT_PREPARE') into the workflow.
Could someone please explain me how to pass this data from the user exit into the workflow ?
Thanks in advance.
With regards
AbhishekHello everybody,
Thanks a lot for your responses.
I am using the fuction module 'SAP_WAPI_CREATE_EVENT' to trigger the workflow, I am also able to pass the delivery number through the paramater 'OBJECT_KEY' of the function module in to the workflow container.
But I am unable to pass the line item number and the material number into the workflow.
I am following the below process:
I have defined a stucture ZST_DELIVERY containing the POSNR and MATNR in the data dictionnary.
I have pouplated the internal table of this structure inside my user exit.
Then I m passing the values of the above internal table into another internal table - 'Container''which is of structure type 'SWR_CONT'.
And I am passing the internal table 'Container' into the paramater 'INPUT_CONTAINER' of the function module 'SAP_WAPI_CREATE_EVENT'.
And in the workflow I have created a container 'ST_DELIVERY' which is of the structure ZST_DELIVERY and I have made it 'import', 'export.'
And in my business object ZLIKP in the custom event CheckPrice I have defined a paramater 'ST_DELIVERY' of the structure ZST_DELIVERY and I have made it multiline.
And in I have binded my workflow container 'ST_DELIVERY' and the ZLIKP paramater with the same name.
Please do let me know if the above steps that I have followed is correct.
Please do let me know if any further information is required.
Thanks in advance,
~Regards
Abhishek -
Mblnr field for mb1c user exit on save
Hello All,
Im using user exit, "EXIT_SAPMM07M_001" in enhancement package "MBCF0002".
I want to use MBLNR field but when i run program and fall into this user exit, i check local variables but MBLNR field is empty.
How can i get this field?
Any ideas?Hi,
It has 'I_MSEG' structure which 'mblnr' field. did you check this field. it should have value because that is main key in determining material document.
i think my understanding of the issue is in right path.
Thx,
krishna -
Does any one know what user exit to use when a batch is changed MSC2N. Ideally I would like to write some code when the Usage Decision in the classification view is changed in MSC2N, but if thats not possible, I dont mind using a user exit for batch change. Thanks
tRY USE BAPI_BATCH_CHANGE
Or You can use.
SAPLOMCV-LOMCVU01 EXIT_SAPLOMCV_001 MGA00003 Material Master (Industry and Retail): Number Display
SAPLOMCV-LOMCVU01 EXIT_SAPLOMCV_002 MGA00003 Material Master (Industry and Retail): Number Display
SAPLV01D-LV01DU02 EXIT_SAPLV01D_001 SAPLV01D Determining the initial status of a batch
SAPLV01Z-LV01ZU05 EXIT_SAPLV01Z_001 SAPLV01Z CFCs for internal batch number assignment
SAPLV01Z-LV01ZU05 EXIT_SAPLV01Z_002 SAPLV01Z CFCs for internal batch number assignment
SAPLV01Z-LV01ZU07 EXIT_SAPLV01Z_003 SAPLV1ZE CFCs for external batch number assignment
SAPLV01Z-LV01ZU07 EXIT_SAPLV01Z_004 SAPLV1ZE CFCs for external batch number assignment
SAPLV01Z-LV01ZU13 EXIT_SAPLV01Z_005 BATCHCHK Function Module Exits for Check in Case of Batch Changes
SAPLV01Z-LV01ZU14 EXIT_SAPLV01Z_006 BATCHCHK Function Module Exits for Check in Case of Batch Changes
SAPLV01Z-LV01ZU03 EXIT_SAPLV01Z_011 SAPLV1ZN CFCs for batch valuation in VB_CREATE_BATCH
SAPLV01Z-LV01ZU08 EXIT_SAPLV01Z_011 SAPLV1ZN CFCs for batch valuation in VB_CREATE_BATCH
SAPLV01Z-LV01ZU08 EXIT_SAPLV01Z_012 SAPLV1ZN CFCs for batch valuation in VB_CREATE_BATCH
SAPLV01Z-LV01ZU03 EXIT_SAPLV01Z_012 SAPLV1ZN CFCs for batch valuation in VB_CREATE_BATCH
SAPLV01Z-LV01ZU03 EXIT_SAPLV01Z_013 SAPLV1ZN CFCs for batch valuation in VB_CREATE_BATCH
SAPLV01Z-LV01ZU08 EXIT_SAPLV01Z_013 SAPLV1ZN CFCs for batch valuation in VB_CREATE_BATCH
SAPLVBMD-LVBMDU08 EXIT_SAPLVBMD_001 SAPLMHD1 Shelf life expiration date -
Problem in filling Custom segment data using User Exit for ZORDERS05
Hi,
I am using Process Code SD10 to generate the custom Idoc ZORDERS05.
The function module used is IDOC_OUTPUT_ORDRSP.
I am able to succesfully generate the Custom Idoc (VA02->Extras->Header->Edit) but unable to populate the custom segments in the IDOC.
I have tried to write the code in User Exit EXIT_SAPLVEDC_003 -> ZXVEDU15. But still I'm unable to populate the Z segments.
Even though I place a break point in the FM or in the User Exit during the generation of Idoc the control doesn't stop in FM nor in the User Exit.
I am unable to understand how to go about this.
Can anybody please help me with this?
Thanks in Adavance,
Rohan.Okay I under what you are speaking about NACE.
Yes that configuration has been done and I am sucessfully able to generate the IDOC.
But even though I know that in FM IDOC_OUTPUT_ORDRSP, I have to write code in User Exit EXIT_SAPLVEDC_003 to populate the Z segments; I'm unable to understand y the control doesn't pick the FM and Exit.
Right now I have code in the Exit to fill Z segments.
Thanks
Rohan.
Maybe you are looking for
-
INSERT PICTURE USING ABAP OBJECTS
Hello friends , can any1 of u tel hw come can i insert a desktop picture in to the abap list using abap objecs apart frm se78... sakthi
-
Too many touch points reported: Bug ?
Dear JavaFX community Following situation. I have a touch handler who recognizes special gestures and fires javafx.GestureEvent derivates on positive detection. the gesture event carries a list of cloned touch points for carrying the touches on start
-
OWB Repository Assistant Failed on repository owner creation
I have a 10g database on linux, installed owb 10g on the same linux box. I also installed owb 10g on my windows xp computer as client. Now I'm using repository assistant to create a repository. It error out on creating repository owner (error message
-
Zones + Directory installation + cacaoadm
Hello, I am installing directory server using DSEE.6.3.Solaris10-X86_AMD64-full.tar on solaris 10 zone, x86 machine. however directory server installation goes into wait mode when it comes to "starting cacaoadm" and never come out. while debugging fo
-
My macbook shows up the apple at startup and then the screen turn blue
As I said, when I turn on my macbook, the apple appears and then the screen turns blue and stays like that.