BADI triggered from Portal for Termination process

Hi,
I have the requirement to check for User parameters and verify data while a PERNR is terminated from Portal side.
To do this I will need a BADI which is triggered from Portal.
I have got a couple of BADIs but not sure which one to use. Anyone has come across such requirement?
Also I need to filter values for F4 help depending on the authorization in Portal -> Personal info->Additional details.
I need to put filter on the Subtypes available.
I was thinkling of using WD_BADI to implement this.
but there is very few help available for this BADi. Has anyone ever used this?
ags.

put an external break point on CL_EXITHANDLER->GET INSTANCE method.
now start your portal.
each time an exit/badi is available, the debugger will start. this way you can check the exact BADI as exact position.

Similar Messages

  • Work flow to be triggered from portal but not from PA30 Transaction

    Hi,
    We have copied a standard workflow to enhance it and attached standart event to that workflow in SWETYPV t-code.
    Now the work flow is triggered from both PA30 and portal whenever changes are made.But we want it to be triggered from portal alone.
    Can anyone suggest how can i restrict work flow start event to be triggered from portal alone.
    Thanks in advance.
    Martina.

    My suggestion is instead of starting the workflow by using EVENT it is better to start by using SAP_WAPI_START_WORKFLOW
    As you are saying that you need to trigger the workflow only from the protal. Now in the portal you might be using a WebdDynpro Application or a BSP application, so in that application after filling all the details you might be having a button like Save or Submit or Create so under this final button you call the FM SAP_WAPI_START_WORKFLOW in the action handler.
    And more over even by using this FM you can even pass the values from WD Application to workflow by using the tables Parameter Simple_container.
    And one more thing is if you start a workflow by using a event then when ever the event is occured then the workflow gets triggered.
    or make use of Start Condition in the basic data of the workflow.

  • Remove  Invalid Filing Statuses from Portal for Puerto Rico W-4 (IT210)

    Hi Experts,
    I need to remove Invalid Filing Statuses from Portal for Puerto Rico W-4 , can any one advise , checked in T5UTK can we do changes in this table?
    Thanks
    Sri

    Hi Obulu;
        Yes you have to customize that table, please refer to note 1500596 "New Puerto Rico Marital Status".  If you want additional info about the changes in PR I wrote a blog about it Withholding changes in Puerto Rico
    Hope that helps!
    Best regards,
    Federico.

  • Assertion Failed - Dump when clicking on the links from Portal for WD Comp

    Hi,
    We have a WD Component which is integrated to the Portal . When we click on the link in the Portal for the first 2 times, the selection screen is shown correctly ( when debugged, the program stops in WDDOINIT method before the sel.screen is shown).
    When we click on the link for the third or fourth time with no time gap, it shows a dump. This is the dump I am getting.
    Runtime Errors         ASSERTION_FAILED
    Date and Time          01/06/2011 10:13:58
    Short text
    The ASSERT condition was violated.
    What happened?
    In the running application program, the ASSERT statement recognized a
    situation that should not have occurred.
    The runtime error was triggered for one of these reasons:
    - For the checkpoint group specified with the ASSERT statement, the
    activation mode is set to "abort".
    - Via a system variant, the activation mode is globally set to "abort"
    for checkpoint groups in this system.
    - The activation mode is set to "abort" on program level.
    - The ASSERT statement is not assigned to any checkpoint group.
    How to correct the error
    Probably the only way to eliminate the error is to correct the program.
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "ASSERTION_FAILED" " "
    "CL_NW7_VIEW_ELEMENT_ADAPTER===CP" or "CL_NW7_VIEW_ELEMENT_ADAPTER===CM004"
    "DISPATCH_NW7_EVENT"
    If you cannot solve the problem yourself and want to send an error
    notification to SAP, include the following information:
    1. The description of the current problem (short dump)
    To save the description, choose "System->List->Save->Local File
    (Unconverted)".
    2. Corresponding system log
    Display the system log by calling transaction SM21.
    Restrict the time interval to 10 minutes before and five minutes
    after the short dump. Then choose "System->List->Save->Local File
    (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
    In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    User and Transaction
    Client.............. 010
    User................ "STECURRY"
    Language Key........ "E"
    Transaction......... " "
    Transactions ID..... "4D250E9ADDFB00BDE10080000A041004"
    Program............. "CL_NW7_VIEW_ELEMENT_ADAPTER===CP"
    Screen.............. "SAPMHTTP 0010"
    Screen Line......... 2
    Information on Caller ofr "HTTPS" Connection:
    Plug-in Type.......... "HTTPS"
    Caller IP............. "10.6.4.220"
    Caller Port........... 443
    Universal Resource Id. "/sap/bc/webdynpro/sap/ZEM_INV_APP_ASSIGNMENTS/"
    Information on where terminated
    Termination occurred in the ABAP program "CL_NW7_VIEW_ELEMENT_ADAPTER===CP" -
    in "DISPATCH_NW7_EVENT".
    The main program was "SAPMHTTP ".
    In the source code you have the termination point in line 5
    of the (Include) program "CL_NW7_VIEW_ELEMENT_ADAPTER===CM004".
    Source Code Extract
    Line
    SourceCde
    1
    METHOD dispatch_nw7_event.
    2
    DATA: l_event_handler TYPE REF TO if_wdr_nw7_event_handler.
    3
    4
    l_event_handler = get_nw7_event_handler( i_event_handler_id ).
    >>>>>
    assert l_event_handler is not initial.
    6
    7
    " View-based Delta Rendering: tracking of client events
    8
    raise event on_nw7_handle_event
    9
    exporting
    10
    event_handler = l_event_handler
    11
    event_name    = i_event_name.
    12
    13
    14
    l_event_handler->handle_event(
    15
    i_event_name       = i_event_name
    16
    i_event_parameters = i_event_parameters
    17
    i_update_data      = i_update_data
    18
    i_event_queue      = i_event_queue ).
    19
    ENDMETHOD.
    -  I have cut the dump to make it short and clear.
    One of my colleague ran a HTTP watch trace and I am attaching it as well.
    <body> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr> <td> <h1> Error when processing your request </h1> <br> <h2> What has happened? </h2> <p> The URL https://uswasspq.deloitte.com:/sap/bc/webdynpro/sap/ZEM_INV_APPROVER_MAIN//ucfLOADING was not called due to an error. </p> </td> </tr> <tr> <td>   </td> </tr> <tr> <td class="emphasize"> <strong> Note </strong> <br> <ul> <li> The following error text was processed in the system SPQ : <b> User session (HTTP/SMTP/..) closed after timeout </b> </li> </ul> <ul> <li> The error occurred on the application server usuxc204_SPQ_01 and in the work process 1 . </li> </ul> <ul> <li> The termination type was: ERROR_MESSAGE_STATE </li> </ul> <ul> <li> The ABAP call stack was: <br> Method: PREPROCESS_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP<BR>Method: IF_HTTP_EXTENSIONHANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP<BR>Method: EXECUTE_REQUEST_FROM_MEMORY of program CL_HTTP_SERVER================CP<BR>Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME<BR>Module: %_HTTP_START of program SAPMHTTP<BR> </li> </ul> </td> </tr> <tr> <td>   </td> </tr> <tr> <td> <p>   </p> <h2> What can I do? </h2> <ul> <li> If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system SPQ in transaction ST22. </li> </ul> <ul> <li> If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server usuxc204_SPQ_01 in transaction SM21. </li> </ul> <ul> <li> If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 1 in transaction ST11 on the application server usuxc204_SPQ_01 . In some situations, you may also need to analyze the trace files of other work processes. </li> </ul> <ul> <li> If you do not yet have a user ID, contact your system administrator. </li> </ul> <br/> <p class="note"> Error code: ICF-IE-https -c: 010 -u: STHUGHES -l: E -s: SPQ -i: usuxc204_SPQ_01 -w: 1 -d: 20110208 -t: 131808 -v: ERROR_MESSAGE_STATE -e: User session (HTTP/SMTP/..) closed after timeout </p> <br/> <p> HTTP 500 - Internal Server Error <br/> <p> Your SAP Internet Communication Framework Team </p> </td> </tr> </table> </body> </html>
    After this error a URL is called form the WebDynpro to the following html page.
    https://uswasspq.deloitte.com/sap/bc/webdynpro/sap/zem_inv_approver_main/dps_Error_Page.html ( this is the friendly message we have put so that the user does not see the dump on his screen.
    I tried invalidating the nodes in the WDDOEXIT at the view level but it did not help. This is a show stopper for the project to go live.
    Thanks,
    Guru.

    Hi Guru,
    It is not readable the way you posted and that might be the reason that you do not get reactions.
    Can you please confirm the following.
    1. Is this problem occurs  with out portal when you run the application standalone in SAP GUI.
    2. What is going on wddoinit method or wddomodify method, any  resource handling there ?

  • Single time receiving material from stores for diff process order.

    Dear all,
    I am creating 5 different process order for 5 different FG material.
    But for all 5 fg material one bill of material is common to all.
    While receiving material from stores that particular bom i need to get single time only from stores for all five process order.
    Kindly please let me know how to process.
    Regards
    Rajasekaran

    Hi Raja,
    As replied to your earlier threads, unique reseration is created against each process order. Accordingly issue also takes place againt unique reservation/process order. Use MB1A/MIGO for individual issue or pick list COIK where issue an be done by stores for all process orders in on go.
    In SAP Mill Products once DIMP is activated there is combination order functionallity available where if operations/ BOM of 5 orders are same then combination order (New order) can be created by combining the qty of 5 individual orders. Here Goods issue is done against the new combined order which is single order for total 5 orders qty. This functionality i used in Discrete Maufacturing.
    Have a look.
    Combined Production Order Processing (DIMP)
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/7c/ea814440ce11d385c70000e8200b4c/content.htm
    Thanks & Regards,
    Ramagiri

  • Hide The Content Reference from Portal For specific users.

    Hello Everyone
    I am new to peoplesoft and want to hide the content reference from the main portal for specific users
    Can anyone help me on this?
    Thanks in advance...

    the users should have roles which do not contain the permission lists to which your current component is added.
    This is the way security is maintained!
    Vikas

  • System variables in R/3 when badi is triggered from portal

    Hi,
       How can we know the action from the portal,i mean from the create expense report i want to throw an error message if the user press "Review" button based on my validation. i have written in the badi,but when the user press "Previous step" button also this badi is getting triggered and as per the validation it is throwing an error message, i cannot go back. Are there any system variables that we can capture which button he pressed from the portal so that i can control to throw an error message only when the user press "Review" button.
    Thanks & Regards,
    Anil kumar

    Resolved

  • "Invali date" error on Portal for termination PCR.

    Hi Experts,
                     I am working on termination PCR. when I check my PCR on Portal it works very fine when the value in the effective date field is sy-datum.But when the date is changed to any other than sydatum then On portal i get an error message as "INVALID DATE".Th BADI which I m using is QISR1.
                    please let me know where to check for this error and how to resolve it?
    Thanks in Advance.
    Sarang

    Hi Anand,
    I am facing the same problem. Were you able to resolve that issue? if so, what is the solution? I don't find any relevant note for this.
    Probelm: BRF is activated and when you do save/check on SC, throws short dump with error message as
    "Dynamic type conflict when assigning references".
    "MOVE_CAST_ERROR" "CX_SY_MOVE_CAST_ERROR"
    Thanks
    Akbar

  • Executing a workitem from UWL for approval process in ESS/MSS

    Hi All,
    I am working on ESS/MSS workflows...Everything is configured and also workflow is developed...When i try to execute a workitem from UWL to approve a PCR, i am getting a message in the status bar as "work item exucuted(new processing status:"in process"). But it's not launching the SAP transaction for approval.
    Can anyone tell what is the probelm....
    Thanks,
    Sunil

    Hi Sunil,
              how r u, i have also same dout i know the configuration steps of UWL but i don't know how to Configuration of Universal worklist and Timesheet application in ESS/MSS to display at manager side....i am new to this ESS and MSS Configuration side.....i request to u could u please tell me the step by step procedure or else if u have any configuration steps which u have already done please send me a mail to my id : [email protected]
    really i appreciate your help....i will be waiting for your mail.....
    Thanks and Regards,
    Abhiram.

  • Break points are not triggering in RFC from portal application

    Helllo,
    I am running Biller Direct application from portal, which is triggering a standard SAP RFC FM back end, am trying to debug my execution from portal, for this i put the External Break point, Session break-poiint at the beginning of this SAP RFC FM, but, its not stoppping at ll, here the user is a Web user, not dialog user.
    How can i stop my execution in this SAP RFC FM to check how the structures are populated?
    Thank you

    Hi Raju,
    Please try the below way and check if it works.
    Open the RFC in R/3 i.e.
    SE37 -> give FM NAME -> DISPLAY.
    Click on UTILITIES -> SETTINGS -> CLICK THE TAB debugging.
    In the screen against the field users : give the value 'WEBLOGIN'.
    Uncheck the FLAG 'IP MATCHING'.
    And at the bottom check the check box against the field
    'Session Break Point Activate Immediately'.
    Save these settings.
    Then go to the line at which you want to debug the code and put an external break point over there.
    But, please take care of one thing as we are giving it as a WEBLOGIN, when ever some logs in, it will reach the brteak point and stop there. We have to click F8 to continue. Or else, the portal will be hanged for them.
    Thanks & regards,
    Y Gautham

  • Error while uploading pdf document for GP process  .

    Hi,
    I had developed a pdf form in Adobe designer and i'am tring to upload that file into Portal for GP process.But it is giving me an error as "<b>Could not retrieve template fields: Wrong document format or adapter mismatch from adapter</b>"
    Kindly help me in this issue.
    with regards
    Pradeep.B

    Deepak,
    Can you indicate the exact version of Adobe LiveCycle that is being used? Also, please let me know which application server, database and MS Office versions are being used.
    Also, please delete (or achive) your existing application server log files, and restart your application server. Then repeat the steps that lead to this error.
    Finally, please post the application server log files.

  • BADI/User Exit for Order processing

    Hi Experts,
    I have a requirement that whenever someone modifies the order belonging to a specific order category then some error/ warning is issued. Can you please suggest some User Exit/BADI in APO for the same.

    Hi Tiago,
    My requirement is to block the processing of Released process order from both Product view and Detailed Scheduling Board.
    If I am getting you correctly then in the mentioned BAdI and Method --I should call FM --/SAPAPO/OM_PEG_CAT_GET_ORDERS (to fetch orders by order category) to see whether the order category is for released process order or not.
    If its Released process Order --then I should block the change. Is that correct for both Product View and Planning Board?

  • Why the process chain always run twice when triggered from R3?

    I run a program from R3 by calling the remote function 'RSSM_EVENT_RAISE' on BW to trigger an event and in turn the event on BW bring up the running of a process chain.  But whenever I run the program on R3 to bring up the running of the process chain, I find the process chain always run twice at the same time.  Does anybody knows the answer? 
    And also I would like to know the functionalities of the two picture buttons "Activate" and "Activate and Schedule" in process chain.  In which case the "Activate" button should be used and in which case, the "Activate and Schedule" button should be used?   If we click the Start variant of a process chain, then click "Change Selections" button which bring up the window "Start Time" where the buttons "Immediate", "Date/Time", "After job", and "After event" are listed at the top.  If we modify at any of the above buttons, then after save this modification, we will have to click "Activate and Schedule" button to make it work, right? 
    Thanks a lot and everyone's idea is greatly appreciated!

    Kevin, make sure there is only one job scehduled for the Start Process of your Process Chain.  If you bring up the Process Chain (not the log view), right click on the Start Process and select "Displaying Scheduled Job(s)...".  There should only be one scheduled job with name BI_PROCESS_TRIGGER.  If there is more than one, then when triggered, it would execute more than once at the same time.  If there is only one job, then maybe your R/3 program is triggering the event more than once? 
    As far as the Start conditions for the Start Process, it works off the same principals as a scheduled job.  These start conditions determine when or how the Process Chain is to be executed.  You also have control over frequency.  These start conditions determine the scheduling of the Start Process of your Process Chain.
    When you schedule a Process Chain, a separate scheduled job is created for "each" process in the Chain.  BW controls the triggering of these jobs based upon how the processes in the Chain are linked.  All the jobs associated with Process Chains have strict naming conventions and all begin with BI_PROCESS_...  If you use SM37 to view all jobs that begin with BI_PROCESS_ you will find alot of scheduled jobs associated with your process chains.  Each job represents one of the processes within your process chains. 
    Does this help?
    Another tip might be to trigger the event manually in BW (use tx SM64).  If the process chain executes twice again, then maybe there is a separate scheduled job in BW that triggers the process chain that is triggered by the same event as the start process of the process chain.
    Message was edited by: George Shannon

  • Start process from Portal

    Hi everyone!
    I need to implement process start as a link in portal. I've created and tested WSDL in NWDS. I also assigned start event for the process. So it works and starts fine from the WS navigator. Now I need to make it available in portal. I have no experience in Portal. So i found some guidelines regarding VC and WebDynpro. But I need an advise about that. I wanna know what is the best practice to implement that. I mean how is it usually done? Because the task seems pretty typical. NWDS and CE are 7.2 SP06 both.
    Thanks in advance,
    Peter

    Well, it depends on the requirement.
    If you just want to start a process and no shiny (tree control, file upload etc...) UI manipulation, you can use VC. Its very easy to develop. Also VC covers vast number of UI element, though not all provided by WD. But, if there is any complex business logic invovled , with heavy data manipulation, WD stands good.
    However, for most of the cases, UI provided by VC suffice all requirements. If the purpose is just to provide basic, simple UI for submitting info and starting BPM, VC fits best.
    -Abhijeet

  • HCM Process running from Portal

    Hi,
    We implement HCM process Transfer scenario.
    we are able to view the adobe form from portal, initated by HR. But while clicking  Check and send, the process is in continuous loop.
    The same process successfully we are able to test from SAP R3.
    While executing from portal we end up with an continuous process loop and no error messages thrown.
    All help is greatly appreciated.
    Thanks

    Hi,
    Which version are you on?
    ISR_FORM_SPTR  might be active in transaction SFP, but is not available for use in ERP2004. For further clarification, please check note number  863308.
    Regards,
    Aditi

Maybe you are looking for

  • Cannot connect to the internet through my Airport Card, while in Windows 7

    Alright, so I wasn't sure how best to give a topic heading for this, but i think thats the jist of it. Basically I have Windows 7 on  hard drive and am able to boot up my Macbook Pro (Early January 2011). Everything seems to run the right way, howeve

  • How can I add Infrared reception to macbook air

    I want to be able to control a Keynote presentation using a remote. I have heard about software called Keynote Remote that allows control of Keynote using an iPhone or iPod Touch. I don't have either. Is there anything that will work other than that?

  • Fetch data from prod servers

    Hi all, can anyone help me in developing package with below requirement: requirement  Excel sheet contains all the  emp_ids ..these emp_ids should be searched in Emp DB and return the output to an new excel sheet. Excel sheet Emp _ID 111   222 33  --

  • Select options default value and execute

    Hello, I managed to fill my select options default value. But what I also want is that the user does not have to press the execute button when the screen is shown at the first time. I would like to show the result screen for these default values at t

  • Make my Illustrator file 3D with lighting?

    Hello, I have a stock photo of a photo studio i'm using as my background. I have a vector image created in Illustrator i'd like to "place" into my background, with the end product being the photographer taking model shots of my fancy vector image. Th