User-exit EXIT_SAPLSPOR_001 not executed (filter spool requests)
Hi,
The default SAP functionality provided to control the output controller functions via auth. objects S_SPO_DEV, S_SPO_ACT & S_ADMI_FCD does not do what we would like to do.
There's a user-exit available to implement some additional code: SPOOAUTH / EXIT_SAPLSPOR_001.
I've activated SPOOAUTH via CMOD and added a record in table TSPOPTIONS (AUTHORITY, value CUSTOM) which was mentioned in the documentation of the function module.
No other changes were made.
However, this user-exit is not called when I start trx. SP01.In the selection screen I choose to show all spool request from all users for a specific time period. According to the documentation this should trigger the user-exit.
Now the funpart begins:
I've debugged SP01 and found that FM RSPO_CHECK_JOB_PERMISSION contains:
IF INIT IS INITIAL.
data: v like tspoptions-value.
call function 'RSPO_OPTION_GET'
exporting
name = SPOPT_AUTH
IMPORTING
VALUE = v.
if not v is initial.
return value of v should be CUSTOM. However it is empty -> skips the user-exit.
The check in FM RSPO_OPTION_GET contains:
ALL 'RSPO_CACHE_CONTROL' ID 'AREA' FIELD 'OPTION' ID 'OP'
FIELD 'GET'
ID 'NAME'
FIELD NAME
ID 'VALUE'
FIELD V.
if sy-subrc ne 0.
perform write_trace1 using 'RSPO_OPTION_GET %s failed\n' name. "#EC NOTEXT
select single value from tspoptions into v where spoption = name.
Field NAME = AUTHORITY
Field V = empty
Return = 0 -> skips user-exit.
Have I overlooked something?
Any help would be welcome.
Kind regards,
Mark
Hi Mark,
Could be that the option value is being picked from cache/buffer (old value). You can restart the system and verify.
Also, after putting a break-point in FM RSPO_OPTION_GET, you can edit the value of 'v' in debugger and set it to CUSTOM, just to check whether the user-exit gets executed in this case.
Similar Messages
-
System is not generating a spool request for Dep.?
Hi,
When I am running a test run with 'planned posting run' system is not giving me any error but when I am executing it in a "repeat run" system comes up with a message
"!! This processing can only be carried out as background processing !!
But when I go to (Jobs Overview screen) see the spool request system is not generating the spool request and Please help me out what's wrong is happening and what shall I do.
It is a new company code for the first time we are running the dep.
Thanks in advance...
Regards
NitinDear Nitin,
Refer Following threads
fiscal year change has not yet
AFAB - Not posting
AFAB - Not posting
Regards
Saurabh -
How to find if 1000 variables have user exit or not
Hi could you please let me know any table
to find if a list of variables In bex have a user exit or not .
actually i have 7000 variables and want to document if these variables have a user exit or not for Reporting Documentation
Wuld really appreciate your help
Thanks and regards
NovinoHi,
See following tables related to Rpeorts, so check in that tables to find the Variables and properties
Use RSZGLOBV table and there give OBJVERS = A and VPROCTP = 3 or 4 then execute it and se eth variables, all that are SAP/Customer Exit varaibles.
RSZELTDIR Directory of the reporting component elements
RSZELTTXT Texts of reporting component elements
RSZELTXREF Directory of query element references
RSRREPDIR Directory of all reports (Query GENUNIID)
RSZCOMPDIR Directory of reporting components
RSZRANGE Selection specification for an element
RSZSELECT Selection properties of an element
RSZELTDIR Directory of the reporting component elements
RSZCOMPIC Assignment reuseable component <-> InfoCube
RSZELTPRIO Priorities with element collisions
RSZELTPROP Element properties (settings)
RSZELTATTR Attribute selection per dimension element
RSZCALC Definition of a formula element
RSZCEL Query Designer: Directory of Cells
RSZGLOBV Global Variables in Reporting
Thanks
Reddy -
User Exit RV60AFZZ not Triggered When Processing IDOC
Hi,
I'm writing to seek some advice on why is the user exit RV60AFZZ not getting triggered when I do a vf01 bdc inside my inbouund IDOC function module. But when I try SHDB the user exit is getting triggered normally.
Thanks,
MawiHi,
Yes I'm creating invoice using delivery orders, inside the idoc function module I'm using bdc call transaction vf01 but somehow it does not trigger the user exit.
But when I do manual vf01 in sap, the user exit is getting triggered.
I cant figure out why this is the behavior of sap.
Regards,
Mawi -
Hi Experts,
I m trying to implement the exit IMRC0001 for creating notification through ik11.
but when ever i am trying to debug the exit is not executing .
i had just put a break point in ZXMRCU01.
but the control is not stopping there..Hi bibhuti khamari,
After creating include ZXMRCU01, Have you activated the exit?
If you have done so and your break-point is not getting triggered then try the following exits :
IMRC0002 MeasPoint: Menu exit for customer-specific function
IMRC0003 MeasDoc: Menu exit for customer-specific function
IMRC0004 Measure.doc.:Exit according to stndrd checks for new mes.doc
IMRC0005 Measure point: Exit in AUTHORITY_CHECK_IMPT
Thanks & Regards,
Faheem. -
User-Exit/Badi For Vendor Down Payment Request
hi All,
Is there any user-exit or badi available for vendor down payment request?
tcode:f-47.
please let me know.
Thanks & Regards,
RajI want to trigger an event for workflow when
a vendor down payment request is created in
*tcode f-47.*
Well if you are not able to find the correct enhamcement spot then you can approach as below
When ever you create a New Item In the Tcode F-47 the if you succesfully saves the data then it prompts you a message like below
*Document 1700000000 was posted in company code 2100*
So instead of searching for Exits or BAdi's try to Start workflow by using the message
for this all you need to bind the message and the Workflow , for this you have use the transaction SWUY it is a wizard where you need to specify the Message class and the message number -
LT09 - Transfer Order User Exit is not getting trigerred though its active
Hi,
I am trying to assign the enhancement : MWMTO001
( Enhancements for end of transfer order generation )
which contains the user exit component : EXIT_SAPLL03T_001
I have created a project in CMOD and assigned the enhancement.
When I execute the TCode LT09 for transfer order, I noticed that this exit is not getting trigerred ...
I need to call a smartform whenever we save the data in the T-code LT09.
Am i using a wrong Exit ? Please help me to find out why this exit is not getting triggered though its activated ....
Thanking you in advance..
Nagasubramanyam.Hi
Thank you for reply.
According to 1st scenario prgm is activated & also activated enhancement in CMOD.
According to 2nd scenario, can u suggest how to find out the correct exit...
Actually I written a print prgm in include of EXIT_SAPLL03T_001 & designed SMARTFORM for that...
if I do process thru LT09 transaction & save that SMARTFORM should be triggered which is not happening...I put break points & tried but the exit is not triggering.
pls suggest how to find out the correct exit of LT09 .
Thanks&Regards
NagaSubramanyam. -
Hi strong functional and technical, user exit, oss note
HI
Transaction codes are J1INCHLN and J1INCERT.
for this TC, there is no user exit, but i have to use one of the fields as cheque no field i.e. in short i have to use one unused field for my purpose.
there is OSS note for this TC and in that user exit is there.
i want to know the OSS note for this TC.
what is the solution.
thanx
rockyHi,
General Notes
You can execute the following commands in the transaction code (tcode) field with Enter. You will find some useful transaction codes below to work in tandem with the following commands:
To call a transaction - In the same session (window) Enter: /nxxxx (xxxx = transaction code). - In an additional session, Enter: /oxxxx (xxxx = transaction code).
If you enter this function before any of the tcodes below, you are able to break out of your current screen/business and begin a completely new session. Otherwise, the current business process has to be terminated, and return to the initial user screen (the main menu) has to be initiated before entering tcode spro). /o tcode saves you the effort of having to do this.
To end the current transaction Enter: /n. Caution: Unsaved changes are lost without warning
To delete the current session. Enter: /i.
To generate a session list Enter: /o.
To log off from the system Enter: /nend.
From John O'Meara
OSS Note 0026171 has additional information on OKCodes in SAP, and is a very useful read
Thanks,
Shankar -
BAPI_ACC_DOCUMENT_POST - User Exit is not working
Hi all,
I need to perform a posting and pass in some field into the extension table. I have follow the sap note recomendation and created a project in CMOD using ACBAPI01 as the component. I then added the coded into the user exit. When I tried to debug it doesn't not execute the code inside the user exit. Also BAPI_ACC_DOCUMENT_POST was executed w/o any error. However when I check the system, there's no document posted.
Also please correct me if I'm wrong. I'm not so sure what to populate for the following field in the header. Is the following correct?
gt_docheader-obj_type = 'IDOC'.
gt_docheader-obj_key = '$'.
gt_docheader-obj_sys = 'BGS1'.
gt_docheader-bus_act = 'RFBU'.
Thanks in advance
RickyHi Ricky and Igor,
Rick is right: You can use userexit wherever they are provided. Many BAPIs as i.e.
[code]BAPI_ACC_DOCUMENT_POST
BAPI_ACC_DOCUMENT_CHECK
BAPI_ACC_GL_POSTING_POST
BAPI_ACC_GL_POSTING_CHECK
BAPI_ACC_BILLING_POST
BAPI_ACC_BILLING_CHECK
BAPI_ACC_INVOICE_RECEIPT_POST
BAPI_ACC_INVOICE_RECEIPT_CHECK
BAPI_ACC_GOODS_MOVEMENT_POST
BAPI_ACC_GOODS_MOVEMENT_CHECK
[/code]
are implemented including userexit (to be seen as CALL CUSTOMER-FUNCTION in coding). Only the most impotant and regularily used fields are part of the BAPI interface. If the customer makes an append to any table or structure, the handling of the additional fields does not always happen automatically in the BAPI.
We created a User exit for BAPI BAPI_ACC_GL_POSTING_POST because the customer made extensions to the posting block.
The additional parameter values are passed in the BAPI extension table which is a genereric character table. In include ZXACCU15 we do the transfer of values passed via extension table to table t_accit which is part of the interface of the ueserexit.
If then BAPI is executed but it does not trigger the userexit, then you can put a breakpoint at the statement before CALL CUSTOMER-FUNCTION and see if you get there. If CALL CUSTOMER-FUNCTION is not executed, then try do de-activate the CMOD project and activate it again. This usually helps.
For the document header I can provide you just anaother example which works for us:
[code] ls_documentheader-obj_type = 'BKPFF'.
ls_documentheader-obj_sys = lv_logsys.
ls_documentheader-obj_key = '$'.
ls_documentheader-username = sy-uname.
ls_documentheader-header_txt = 'Investment Notes reconciliation'(026).
ls_documentheader-comp_code = ps_alv_display-bukrs.
ls_documentheader-doc_date = p_bldat.
ls_documentheader-fisc_year = p_gjahr.
ls_documentheader-pstng_date = p_budat.
ls_documentheader-fis_period = p_bper .
ls_documentheader-doc_type = p_blart.
[/code]
Hope this helps.
Regards,
Clemens -
User details are not populating in access request
Hello All,
We have configured GRC 10 with LDAP and we are able to search the users in LDAP tcode(find option) and in the access request. But when i select the user and click on ok in the access request, user information is not populating to user details tab. I have followed the SAP Standard doc and configuration is fine. When i select data source as SAP system, user details are population as expected. But when i use LDAP as data source, i am having the issue. I hope this is an field mapping issue but i tried all different options but no solution i found. Kindly help me with your expert suggestions.
Field mapping is as follows:
LASTNAME
SN
FIRSTNAME
GIVENNAME
USERID
SAMACCOUNTNAME
ROLE_NAME
NAME
MEMBER_OF
MEMBEROF
EMAIL
MAIL
MANAGERID
MANAGER
Regards,
Jai Reddy.I know the path, but how to check it? is it using metaverse search?
Look at the Runs. Are they succeeding, or failing to connect?
Remove the Bit 17 and try again.
Trevor Seward
Follow or contact me at...
  
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
Table I_KOMP in PO Pricning Item User Exit is not populating CHARG field
Hi,
I have activated the user exit EXIT_SAPLMEKO_002 which is used for pricing.
But the while creating PO the structure I_KOMP is not getting populated with CHARG i.e BATCH field which I want to use for pricing calculations.
Is there any thing to do so that the CHARG field in I_KOMP strucure is populated
Please help me for the same
Regards
Sujit SawantHi,
I have activated the user exit EXIT_SAPLMEKO_002 which is used for pricing.
But the while creating PO the structure I_KOMP is not getting populated with CHARG i.e BATCH field which I want to use for pricing calculations.
Is there any thing to do so that the CHARG field in I_KOMP strucure is populated
Please help me for the same
Regards
Sujit Sawant -
User exit or BADI to validate service request value with PO value
Dear gurus,
Is there any userexit or BADI to validate service request value with PO value. Please help me regarding this.
Thanks in advanceHi,
Please check these enhancements (SMOD) for user exits available of transaction ML81N.
SRV_FRM - SRV: Formula calculation (obsolete since 4.0A!)
SRVSEL - Service selection from non-SAP systems
SRVREL - Changes to comm. structure for release of entry sheet
SRVQUOT - Service export/import for inquiry/quotations
SRVPOWEB - Purchase order for service entry in Web
SRVMSTLV - Conversion of data during importing of standard service cat.
SRVMAIL1 - Processing of mail before generation of sheet
SRVLIMIT - Limit check
SRVKNTTP - Setting the account assgnmt category when reading in, if "U"
SRVEUSCR - User screen on entry sheet tabstrip
SRVESSR - Set entry sheet header data
SRVESLL - Service line checks
SRVESKN - Set account assignment in service line
SRVESI - Data conversion entry sheet interface
SRVENTRY - Unplanned part of entry sheet (obsolete since Rel. 3.1G)
SRVEDIT - Service list control maintenance/display)
SRVDET - User screen on tab strip of service detail screen
INTERFAC - Interface for data transfer
Regards,
Ferry Lianto -
USER EXIT MB_CF001 NOT GETTING TRIGGERED
Hi All,
I am using EXIT_SAPLMBMB_001(MB_CF001)
I want it to be triggered after the document has been saved but its not trigeering..
How can I find out the reason???
Regards
ShilpaHi,
have you checked documentation for that enhancement? That function module is not called after goods movement creation.
The user exit MB_CF001 includes a function module that is called up
immediately before the COMMIT WORK when a goods movement is posted.
How do you test that FM? Some function modules from user exits are called in UPDATE TASK so they just ignore break points. In this case you can use the following trick. You need to enter an infinite loop into your user exit. Then you can connect to this program via transaction SM50 (Program/Session -> Program -> Debugging).
Cheers -
EXIT_SAPLV50E_001 User Exit is not working for multiple plants case
Hi,
I have to update foreign trade data in Invoice during invoice creation using VF11. For that, I have written code in EXIT_SAPLV50E_001 and updated segal value. This functionality is working fine, if I have a single plant in an invoice. But customer has scenario where they can have multipl plants in an invoice.
For multiple plants in an invoice, this EXIT_SAPLV50E_001 is not called.
I am unable to find another better place where in I could place my code. Please help. Remember, case in multiple plants.
Will be rewarded.
Regards
ArpitHi Arpit,
Please use below mentioned user exit in T-code VF11
he following user exits are available for tcode VF11
Exit Name Description
SDVFX001 User exit header line in delivery to accounting
SDVFX002 User exit for A/R line in transfer to accounting
SDVFX003 User exit cash clearing in transfer to accounting
SDVFX004 User exit G/L line in transfer to accounting
SDVFX005 User exit reserves in transfer to accounting
SDVFX006 User exit tax line in transfer to accounting
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 number)
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 Procedure
V60A0001 Customer functions in the billing document
V60P0001 Data provision for additional fields for display in lists
V61A0001 Customer enhancement: Pricing
J_3RSINV Customer enhancement: Pricing
or You can use BADI
BADI_SD_SALES_BASIC
BADI_SD_TO_FM
BADI_SD_BILLING
Regards,
Thangam.P -
Overhead user exit (COOM0001) not being triggered for specific plant
Hello all,
I was wondering if anyone came across this situation before. I activated user exit COOM0001 for overhead calculation. This user exit is triggered when I create PCE for plant A but not plant B.
I can't figure out why it is not being triggered for plant B at all. I put a break point in function module EXIT_SAPLKASC_001, EXIT_SAPLKASC_002 and EXIT_SAPLKASC_003 and the system didn't stop in anyone of these function module.
Any help is greatly appreciated.
Regards,
CassandraHi
It seems that you are a Functional Consultant.
Please follow the following simple step for any userexit to see where all its been called.
1. Go To T. Code SMOD
2. Enter the Exit name COOM0001
3. Click on the COMPONANTS RADIO BUTTON and DISPLAY
4. U get Function Modules
EXIT_SAPLKASC_001
EXIT_SAPLKASC_002
EXIT_SAPLKASC_003
5. Now individually double click on each FM and put a break point ther.
6. Open a new session and see wheather it stop at the break-points of the T. code you are looking for.
I havent used this user exit, so no comments on how it ll be use ful.
Reward points if useful
Thank-You
regards
vinsee
Maybe you are looking for
-
The font weight on exported PDF's differs on pages w/ graphics in Acrobat?
Hi, I couldn't find anyone addressing this, so here goes... I just upgraded to iWork '06/Pages 2.02 so I could export PDF eBooks and retain the hyperlinks. Everything is working great, except that when I view the PDFs in Safari with Acrobat Reader (r
-
[cs3][as2] Help with Animation Displacement
I've been trying to piece together a way to have an image with a flag wave fade in as soon as the movie loads. Once the image is faded in almost all the way, I want the waving to slow to a stop so at the end, it's a static image. I've gotten most of
-
Slow speeds, am i missing something ?
hi all, been having issues for a couple of months or so now, where my IP profile is down at 135. I've tried removing the phone which sometimes seemed to cause problems (but didint for several months), and after 3 days i was up to about 2500 ip profil
-
Hi, I am receiving the following error when i am trying to run the report from report builder. I am working on reports 10g. REP-0069: Internal Error java.lang.illegalArgumentException: Not a directory! Can anybody suggest me how to resolve this issue
-
Swapping between 2 Oracle instances and Discoverer
We have this strategy of swapping between 2 Oracle instances every month to minimize downtime for our users. Our data warehouse is refreshed every month which takes about 2 to 4 days. Instance 2 is being re-loaded with next month's data, while users