As01 using substitution user exit populate classificaion key(ANLA-VMGLI)
Hi all,
I have a requirement, where in using the substitution user exit rule U210, I need to populate fields ANLB-NDPER, ANLB-NDJAR and ALNA-VMGLI from the values maintained in Ztable.
I am able to overwrite the SAP standard values for the fields ANLB-NDPER and ANLB-NDJAR. But not able to populate the filed VMGLI(Classification key).
For some asset classes, the classification key is not mandatory and the user without giving the value in that field if save the transaction, then I need to populate the value of VMGLI with the ztable value.
The present rule U210 is not working for classification key.
Please suggest, is there any other user exit for the scenario where we can populate VBGLI field.
regards
Rajani Yeluri
Hi Balaji,
We have the same problem.
Have you discovered how to make this exit works?
We will really apreciate your help.
Thanks a lot,
Ivan Spellmeier
Similar Messages
-
As01 transaction using substitution user exit populate classificaion key
Hi all,
I have a requirement, where in using the substitution user exit rule U210, I need to populate fields ANLB-NDPER, ANLB-NDJAR and ALNA-VMGLI from the values maintained in Ztable.
I am able to overwrite the SAP standard values for the fields ANLB-NDPER and ANLB-NDJAR. But not able to populate the filed VMGLI(Classification key).
For some asset classes, the classification key is not mandatory and the user without giving the value in that field if save the transaction, then I need to populate the value of VMGLI with the ztable value.
The present rule U210 is not working for classification key.
Please suggest, is there any other user exit for the scenario where we can populate VBGLI field.
regards
Rajani YeluriHi,
Did you find a solution. I'm just looking for the same thing.
best regards.. -
As01 transaction using substitution user exit populate classificaion
Hi all,
I have a requirement, where in using the substitution user exit rule U210, I need to populate fields ANLB-NDPER, ANLB-NDJAR and ALNA-VMGLI from the values maintained in Ztable.
I am able to overwrite the SAP standard values for the fields ANLB-NDPER and ANLB-NDJAR. But not able to populate the filed VMGLI(Classification key).
For some asset classes, the classification key is not mandatory and the user without giving the value in that field if save the transaction, then I need to populate the value of VMGLI with the ztable value.
The present rule U210 is not working for classification key.
Please suggest, is there any other user exit for the scenario where we can populate VBGLI field.
regards
Rajani YeluriIn the user exit documentation, it doesn't say anything about this exit being used for validation, therefore, it probably shouldn't be used as a validation routine, especially if its not being trigger at every PAI.
<i>FU EXIT_SAPLAISA_001
Short text
Assign Inventory Number
Functionality
Using this user exit, it is possible to assign an inventory number when you create a new asset master record.
Notes
In the user exit, it is absolutely forbidden to use a statement that leads to an update or removal of database changes. Examples of such statements are:
'Commit Work' , 'Rollback Work' or call of function module 'DB_COMMIT'.
Parameter
I_ANLA
E_INVNR
Exceptions
Function group
XAIS</i>
Regards,
Rich Heilman -
Function SO_DOCUMENT_SEND_API1 (send mails) Substitutions-user-exit
Hello Forum,
I have to make a substitution (user-exit) for this perform.
PERFORM U999 (ZRGGBS000) IF FOUND.
As this code is standard, I gather that I can not touch it.
My development is in the FORM and I can't control the parameters
I leave the code here, you can try to find the solution that I need:
FORM u999.
*FORM u999 TABLES tab_contents_txt
* it_attach
* USING p_email
* p_mtitle
* p_format
* p_filename
* p_attdescription
* p_sender_address
* p_sender_addres_type
* CHANGING p_error
* p_reciever.
DATA: int_error TYPE sy-subrc,
int_receiver LIKE sy-subrc.
DATA: w_doc_data LIKE sodocchgi1,
chr_email LIKE somlreci1-receiver.
DATA:
tab_contents_txt LIKE solisti1 OCCURS 0 WITH HEADER LINE,
tab_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
tab_receivers LIKE somlreci1 OCCURS 0 WITH HEADER LINE.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = w_doc_data
put_in_outbox = 'X'
* SENDER_ADDRESS = SY-UNAME
* SENDER_ADDRESS_TYPE = 'B'
commit_work = 'X'
* IMPORTING
* SENT_TO_ALL =
* NEW_OBJECT_ID =
* SENDER_ID =
TABLES
packing_list = tab_packing_list
* OBJECT_HEADER =
* CONTENTS_BIN =
contents_txt = tab_contents_txt
* CONTENTS_HEX =
* OBJECT_PARA =
* OBJECT_PARB =
receivers = tab_receivers
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 = 8Hi,
Try this..Call the FM in BACKGROUND TASK..
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
IN BACKGROUND TASK
Thanks,
Naren -
Function SO_DOCUMENT_SEND_API1 (substitution-user exit about mails )
Hello Forum,
I have to make a substitution (user-exit) for this perform.
Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of code. And also use code tags.
Edited by: Rob Burbank on Jan 18, 2010 2:48 PMHello Forum,
I have to make a substitution (user-exit) for this perform.
Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of code. And also use code tags.
Edited by: Rob Burbank on Jan 18, 2010 2:48 PM -
Can we add additional fields in work center creation using any user exit ?
Hi,
is there any user exit using which we can have some tab and fields such that we can add/ update the equipment to wotk center in CR01 ?
regards,
madhu kiranhi,
requirement is can i get the additional fields like equipment and asset in the work center creation ?
i would like to maintain these against a work center
and using any user exit can i add additional fields ?
regards,
madhu kiran -
How to use/activate user exits
Hi all,
i wish to use user exit COZF0001...
however i have no experience how to do it. do i need an ABAPer or other consultant to do it or can i just activate it and make it work with minimal instructions?
kindly give procedure/overview how to activate/use user exits.
thanks in advanceHi Ramesh,
Go to transaction CMOD . Create a project called ZVA01. Choose the Enhancement assign radio button and press the Change button. In the first column enter COZF0001.
Note that an enhancement can only be used in 1 project. If the enhancement is already in use, and error message will be displayed
Click on Save . Go to Components. You can now see that enhancement uses the user exit EXIT_SAPLCOZF_001. Double click on the exit and add your code.
Activate the include program. Go back to CMOD and activate the project.
-- Shivaji -
Hi!
We have following scenario.
The system must check weather the WBSE is Planning Element. If Not the system must mark it as Account Assignment element & Then in next step Lock the Account Assignment for that WBSE( system status= AALK).
APMK I am approaching this from two angles-
1) We may use substitution & then execute User Exit to set the system status as AALK.( I need some expert comments & guidance on this method)
2) I am also able to solve my problem, if somehow I can work out, an exit or Boolean logic to find out what is the level of lowest level WBSE in a project. Note that the lowest WBSe can vary from 2-5 in our scenario. ( some guidance on this will also help alot)
Thanks,
SeemantMake sure your code looks like this:
exits-name = 'U903'.
exits-param = c_exit_param_field.
exits-title = text-203. (Text id number)
APPEND exits.
Then, in the bottom section this should be there:
FORM U903.
Your code in btw. and
ENDFORM.
With this you should be able to see U903 in the exit drop down. If you have not maintained the text id, then you will just see the key and not the description.
Regards, -
Using Variable values to populate virtual key figure
Hi Gurus,
I want to populate virtual key figure in my report. I am using BADI for this. To populte VKF I want to use the variable values in my calculation. For eg. variable name is ZCAL_MON based on 0CALMONTH. When the user enters some value in this variable say 03.2010 I want to populate VKF for the last 12 months (sum for a period 04.2008 to 03.2009). I have written a customer exit in CMOD for variables but for vkf I am using BADI. Can anyone tell me how do I pass the variable value in populating vkf and also how do I total for the last 12 months?
UtpalHi,
Did you find a solution. I'm just looking for the same thing.
best regards.. -
Help needed in Substitution & User Exit.
Hi Experts,
I have a peculiar recuirement. In the <b>Vendor Invoide Creation</b> transaction (<b>FB60</b>), if you try to create a Invoice/Credit memo for a "<b>One Time Vend</b>or", a pop up window comes asking Bank and Address data.
The user need to enter the bank key and acc no and need to substitute the name, address fields in this pop up window screen, with some data fetched from custom DB tables according to the bank keys.
Since the pop up screen fields are from structure BSEC, I cant really do the substitution them from OBBH (Since it only allows BSEG & BKPF fields to be substituted !! ).
Also since the Only user exit (ZXCPDU01) avaliable in FB60 does not have any Export table, I can send the values back to the screen.
<b>Can any one of you by any luck have a feasible solution for this ?</b>hi Saurav.
there are 14 user exits in thsi transaction. these are as follows
F050S001 FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
F050S002 FIDCC1: Change IDoc/do not send
F050S003 FIDCC2: Change IDoc/do not send
F050S004 FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
F050S005 FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
F050S006 FI Outgoing IDoc: Reset Clearing in FI Document
F050S007 FIDCCH Outbound: Influence on IDoc for Document Change
F180A001 Balance Sheet Adjustment
FARC0002 Additional Checks for Archiving MM Vendor Master Data
FEDI0001 Function Exits for EDI in FI
RFAVIS01 Customer Exit for Changing Payment Advice Segment Text
RFEPOS00 Line item display: Checking of selection conditions
RFKORIEX Automatic correspondence
SAPLF051 Workflow for FI (pre-capture, release for payment)
check if anyone of them meets ur requiremnt
regards
ravish
<b>plz dont forget to reward points if helpful</b> -
User Exit ..Acess Key
hi ,
i added code in standard exit of customer,it never ask me acces key when i tried for va01 (new) then its asking for acces key ....
regardsStandard SAP user exits are designed to use include programs that are in the customer name space. They all begin with a Z therefore no access key is requried.
Since the user exits in VA01 (SAPMV45A) are subroutines and the include programs are not in the custom namespace these require an access key.
Chris -
I have written a FM that was included in a user exit. The purpose of my user exit is to restrict certain Accounts that my Query uses. The problem that I run into is that the Account is a numerical value which is NOT a key. For example, I could have one account that exists in two different reporting divisions such as Africa and Asia and might not want to restrict Africa. If I don't take into consideration the divison, then I will be eliminating required Accounts. I thought about creating a seperate user exit for the reporting division but then I might run into the problem of eliminating certain Accounts that are associated with that division. I'm thinking that If I create another user exit for the division, then I will somehow have to link the two(not sure how this would work). Secondly, the divison and account is a compounded key in my InfoCube. There is not InfoObject that holds the compounded key so I can not create a variable of this type.
I'm not sure what would be the best way to solve this problem so any input you can give is greatly appreciated.
Thanks,
NyrvoleHi Reddy,
This user exit can creating & activating in project by using CMOD Transaction code.
AFAR0002 is Enhanc for external determination of depreciation.
Thank you
Anil -
JOB_OPEN cannot be used in user exit, what can I do to raise a job?
Dear Experts,
We need to setup a job in user exit ZXM06U43 (when saving purchase order), but JOB_OPEN has 'COMMIT WORK' in it, which is not acceptable in user exit.
Do you have another method to walk around?
Thank you for your comments.
Joanne WuHi,
Try this..
Create a RFC FM...
In the include ZXM06U43...Call the function module in background task..
CALL FUNCTION 'Z_RFC_TEST' IN BACKGROUND TASK
EXPORT.
In that RFC function module use JOB_OPEN Function module...
Hope this helps..
THanks,
Naren -
MC94 - How to use the User exit EXIT_SAPMMCP6_002 to develop custom macros
Were implementing macros with the user exit EXIT_SAPMMCP6_002, but we see that the parameter table T_TAB doesnt contain all lines and columns viewed in the grid of transaction MC94 (Change Plan Consistent Planning).
Nevertheless, files and columns that are contained, arent shown in the order that they are visualized in the screen (MC94 - program SAPLMCPA screen 707).
Does somebody know how to update the grid visualized in that screen?
Thanks in advance for any help!Hi,
Have you any luck with this yet. I am actually looking to do something similar but on the planning level.
To get the detailed level, you can try the following:
get the lines for this macro
CLEAR I_LINES. REFRESH I_LINES.
LOOP AT T_LINES WHERE KRIT1 = I_STRAT-AKT_PLOBJ
AND FLGIS IS INITIAL
AND STRUL = 'X'.
I_LINES = T_LINES.
APPEND I_LINES.
ENDLOOP.
get columns for this macro
LOOP AT T_COLS.
LOOP AT I_LINES.
READ TABLE T_TAB WITH KEY Z = I_LINES-LINE
C = T_COLS-COLUMN
BINARY SEARCH.
IF SY-SUBRC EQ 0.
I_COLS = T_COLS.
APPEND I_COLS.
ENDIF.
ENDLOOP.
ENDLOOP.
SORT I_COLS.
DELETE ADJACENT DUPLICATES FROM I_COLS.
this should pull the values that are visually seen on the screen.
What i need is the values for ALL levels? I cant seem to figure this out.
Anyways, lemme know if the above was helpful. -
Changing sales office in sales office using save_document user exit
Hi,
My requirement is to change the sales office to 109 based on some conditions.
Here i am using FORM USEREXIT_SAVE_DOCUMENT user exit in the sales order to do it.
but it is not taking this value .
Can any one suggest me any other place i.e. user exit where we can change sales office depending on some conditions.
Thanks & regards
Manjari.You have to use userexit 'USEREXIT_SAVE_DOCUMENT_PREPARE' because when exit 'USEREXIT_SAVE_DOCUMENT' is called all the order data has already been submitted into update task. So if you want to change data in the order and have it saved with it you need to use 'USEREXIT_SAVE_DOCUMENT_PREPARE'.
Regards,
Michael
Maybe you are looking for
-
Hi All, I am trying to invoke a web service stub to call create() functionality. From the stand alone program(with out integrating with OIM server), if I just run it from eclipse, I am able to create the user in target system. If I try to invoke thro
-
Purchase requisition , ME51N, user exit for change Release date
Hello. Purchase Requisition ( transaction ME51N). I want to change the value of u201ERelease dateu201C using user-exit EXIT_SAPLMEREQ_005. CALL METHOD im_req_item->get_data RECEIVING re_data = get. set = get. set-frgdt = u2026.. CALL METHOD i
-
I have a MacBook Pro running 10.6.8. I have a wirelessly networked printer (HP PhotoSmart D110). All worked well until a couple of months ago. For reasons unknown, I stopped being able to print wirelessly to the printer from the Macbook. It appears a
-
How to empty cache in Safari 6?
In Safari 6, the "empty cache" command is missing from the Safari menu. Does anyone know how to empty the cache in Safari 6?
-
hi , I tried to create a text index for a table.Iam granted ctxapp,connect and resource. The error is create index quick_text on quick ( text ) ERROR at line 1: ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine ORA-20000: ConText