Entering custom backend service in Design Time for Processes and Forms

Hi all,
I am trying to create a form that have 3 fields:
1. pernr
2. ename
3. effective_date
I done all the necessary setup of BADI ,class, interface and form.
However I cannot seem to insert my custom backend service in the Design Time for Processes and Forms workbench (t-code:hrasr_dt).
Currently, I am just using SAP_PA for my backend service which is unable to load the ename into my form. The code in my custom class will not be triggered if I did not use my custom back end service in the Design Time for Processes and Forms.
Whenever I tried using my custom back end service, I will encounter the assertion_failed dump.
Anyone have any idea?
Edited by: Siong Chao on Dec 22, 2010 6:35 AM

Hi Siong Chao,
The filter name you have used in the BADI for your generic service requires to be defined in the Create / Edit Generic Service - Definition.( You can see this on selecting the Back-end services node under Form Scenario definition while using HRASR_DT transaction code)
Once you do that, you can import the fields defined in the Generic service BADI - using the same procedure used in standard SAP backend sevices.
Hope this clarifies. Please let me know if you have any further questions.
Best Regards
G Raj

Similar Messages

  • Design Time for Processes and Forms

    Hi experts,
    When trying to open  "Design Time for Processes and Forms" in order to create a process, I get a dump.
    Could you let me know what could be wrong ? config? etc..
    Hereunder is a sample of what I found in T.code ST22
    The following checkpoint group was used: "No checkpoint group specified"
    If in the ASSERT statement the addition FIELDS was used, you can find
    the content of the first 8 specified fields in the following overview:
    " (not used) "
    " (not used) "
    " (not used) "
    " (not used) "
    " (not used) "
    " (not used) "
    " (not used) "
    " (not used) "
        referenced node must exist
          READ TABLE object_hierarchy_nodes TRANSPORTING NO FIELDS
                     WITH KEY node_id = object_hierarchy_node_wa-ref_node_id
    >>>      ASSERT sy-subrc = 0.
        ENDIF.
      provider has to be specified (except in case of recursion)
        IF object_hierarchy_node_wa-ref_node_id IS INITIAL.
          ASSERT object_hierarchy_node_wa-provider_id IS NOT INITIAL.
        ENDIF.
    Thanks in advance,
    Louis

    note: Note 1075650
    Re: Assertion_Failed dump when accessing Design Time for Processes & Forms EP3
    regards,
    Prakesh.

  • Create Adobe Form using Design Time for Processes and Forms

    Hi all,
    I am trying to create a form that have 3 fields:
    1. pernr
    2. ename
    3. effective_date
    I done all the necessary setup of BADI ,class, interface and form.
    I need the step to step guide where you create the adobe form using the Design Time for Processes and Forms. Anyone have any idea?
    Edited by: Siong Chao on Jan 3, 2011 4:54 AM
    Edited by: Siong Chao on Jan 3, 2011 5:00 AM

    Hi,
    I couldn't get to your query..
    What do you mean by step by step procedure for a design time & process for forms.
    if you are a beginner and looking for basic examples to implement adobe forms there are lot of them in SDN, please search them.
    let me know if your query was a very specific one.
    Cheers,
    Sai

  • Design Time for processes and forms : Short Dump

    Hi All,
    When I try to execute Design Time for processes and forms - (tcode :HRASR_DT), I am getting below short dump.
    The following syntax error occurred in program
    "CL_HRASR00_DT_FSCN_PD_DATA====CP " in include
    "CL_HRASR00_DT_FSCN_PD_DATA====CM00E " in
    line 177:
    "The obligatory parameter "FORM_SCENARIO_VERSION" had no value assigned"
    " to it."
    Please suggest what could resolve this.
    Thanks.
    Tejas

    note: Note 1075650
    Re: Assertion_Failed dump when accessing Design Time for Processes & Forms EP3
    regards,
    Prakesh.

  • Assertion_Failed dump when accessing Design Time for Processes & Forms EP3

    After exhausting SAP note searches and the SDN community forums, blogs & wiki searches, I decide to make my first SDN post:
    After installing Enhancement Pack 3 to the base ECC 6.0, we got the Design Time for Processes & Forms node in the IMG under HR Administrative Services. I was able to get in to it the very first time without any issues; however once I selected one of the sample SAP processes, I received an "Assertion_Failed" dump in the section of code saying a referenced node must exist. In debugging, we did see a node that is referencing a node that does not exist,  which is causing the dump. The dump occurs in CL_HRASR00_DT_OBJECT_BROWSER, Method ASSERT_OBJ_HIER_IS_CONSISTENT (line 71). 
    I now get this dump each time I try to execute the Design Time for Processes & Forms node in the IMG. Note: when accessing process the old way, there is no issue.
    To me is seems like either EP3 was not installed completely, something went wrong in the activation of those business functions, or the copy of the sample forms from client 000 did not grab everything.  In debugging, it appears that the missing reference node is related to some form scenario node.   Also note that all the steps under Technical Settings were completed.
    Has anyone seen this issue before?
    Thanks for any help you can give.  If I find the solution, I will post the answer here as well.
    -Jeff Glynn
    Edited by: Jeffrey Glynn on Oct 22, 2008 1:54 AM

    Hi Jeff,
    I believe we had the same issue here.
    There is an SAP Note (below) for this. Please let me know if this works.
    Note 1075650 - New Design Time tool Corrections for the dump
    Note Language: English Version: 1 Validity: Valid from 18.07.2007
    Summary
    Symptom
    Dump on executing the transaction HRASR_DT which starts the new design time
    tool of the HR Administrative services
    More Terms
    Design time tool HRASR_DT HRadmin
    Cause and Prerequisites
    Solution
    The solution to the dump occuring would be resolved by applying the SP
    Alternately the dump can be
    resolved by performing the following steps manually :
    1.Start SE16 transaction
    2.Give the table name as T5ASRDTOBJHIER and press RETURN key
    3.Execute the Selection screen by pressing on F8 Key
    4.Select the following entries:
    i. OBJECT TYPE = PROCESS and NODE TYPE = PROC_REF_FSCN_DIRECT
    ii.OBJECT TYPE = PROCESS and NODE TYPE = PROC_REF_FSCN_DIRECT_START
    5. Click on EDIT entries button on the header
    6. Enter in the field REF_OBJECT_TYPE the value as FORM_SCENARIO
    7. Click on the Next button on the header bar to navigate to the next entry
    8. Repeat Step 6 for this entry also
    9. Save the modification
    Additionaly, perform the following steps as well:
    1.Start SE16 transaction
    2.Give the table name as T5ASRDTTOOLS and press RETURN key
    3.Execute the Selection screen by pressing on F8 Key
    4.Click on CREATE entry button on the header
    5.Enter the following to create a new entry:
    TOOL TYPE = FSCN_MSG_MAPPER
    OPERATION = DISPEDIT
    TOOL CLASSNAME = CL_HRASR00_DT_FST_MESSAGE_MAP
    6. Enter the following to create a new entry:
    TOOL TYPE = PROC_EXEC_FREQUENCY
    OPERATION = DISPEDIT
    TOOL CLASSNAME = CL_HRASR00_DT_PRT_EXEC_FREQ
    7. Save the new entries
    These adjustments should resolve the dumps hindering to start the new
    design time tool

  • Dump while Executing Hrast_dT (Design time of HCM Process and Forms)

    Hi All,
    I am getting Syntax Error Dump while Executing Hrast_dT tcode (Design time of HCM Process and Forms) and here with i have mentioned the source code also ist contained in standard class.
    *METHOD constructor.
      DATA:
        badi_context          TYPE REF TO lcl_badi_context.
      CALL METHOD super->constructor
        EXPORTING
          form_scenario         = form_scenario
          form_scenario_service = form_scenario_service.
      DATA:
        t5asrfscnsrv_wa TYPE t5asrfscnsrv.
      SELECT SINGLE * FROM t5asrfscnsrv INTO t5asrfscnsrv_wa WHERE form_scen_srv EQ form_scenari
      ASSERT sy-subrc EQ 0.
      ASSERT t5asrfscnsrv_wa-service_type = 'GENSRV'.
      fill_table_metadata( ).*
    i followed this link also..its not working for me..
    [Re: Assertion_Failed dump when accessing Design Time for Processes & Forms EP3]
    Regards,
    Parthi

    Hello Parthasarathi,
    Please, try to implement the note 1075650.

  • F4 help not working in custom backend service for PD form

    Dear All,
    Iam working with the Create position HCM PD form and i have a requirement to add two fields, one for the company code and the other is for the cost center and then create the relationship betwee the position and the cost center when the form is submitted.
    I have defined a generic service and created an enhancement implementation and linked this generic service to the imppementaion. I have written the logic for the F4 help for the fields in the method GET_HELP_VALUES, i have written the scripting for the drop down field in the form to trigger the F4 help in the form.
    When the cost center is being passed to the screen, i would then read the value of the cost center in the form workflow and create the relationship between S and K in the workflow as i am unable to achiev this in the design time of the PD form.
    But my current problem in that he values are not getting passed from the method to the field on the screen. I have worked on quite a few scenarios for F4 help and doing validations in the implementation in the PA form and i have seen this functionality working fine.
    My problem here is that i am unable to understand why the F4 value help is not working in my form. The standard PD service SAP_PD is also being used in the form to have the dropdown values for the account assignment feature.
    Could you please suggest me with some clues to fix my issue? i can share more details for further analysis.
    Thanks.
    Best regards,
    Sridharan

    Hi Chris,
    Thanks for your inputs. please see my reply to your questions
    First....are you sure you have "marked" that field as possible for F4 help?
    Reply: Yes
    Second...are you populating the help values strictly from that method...ie. not also using do_operations method to do it. If you refer to the documenation, it points out that trying to use both can cause issues.
    Reply: i am using only the GET_HELP_VALUES method and nothing written in do_operations.
    Third...when you debug your method, do you "see" the help values actually populating and as you say "not coming back to the screen"? I would check this first to make sure that there are actually values being found (ie. the logic within your service is correct).
    Reply: i have put the external break-point in this method and when the form in opened for processing by the HR admininstrator,the form openes up and the control is not being sent to the debugger.  I have written the scripting in the exit event of the events and scripts as suggested in the SAP help document. SO when i click on the dropdown field in the form, the debugger starts and executes the method and the code executes, then no values are populated on the screen.
    Fourth...are you using any generic services for populating help values as well. HCM P&F has a nasty habit of "if one GS fails, they all fail" so often, your service might work fine but an error in another makes yours appear to fail as well....hard to debug and find those kind.
    Reply: Yes i am using the generic service mainly for the purpose of F4 help. I do not see any issue with other gneric services as i have implemented a few generic services for PA forms and they are working fine.
    Fifth...oops...forgot the obvious one...make sure it isn't a security issue...ie. make sure you have access to read the cost centers you want.
    Reply: I dont get any auth error in SU53 while i test the process in R3
    Lastly, you said:
    "When the cost center is being passed to the screen, i would then read the value of the cost center in the form workflow and create the relationship between S and K in the workflow as i am unable to achiev this in the design time of the PD form."
    You actually should be able to do this using an Advanced/Enhanced Generic Service (if this is in fact the step at which you want a true update to occur). Just a thought.
    Reply: Could you please give some more information about this, how can i achieve it in advanced generic service.
    Appreciate more thougts from you Chris!
    Thanks,
    Sridharan

  • Can I write Design-time for JSP custom tag(not JSF components)

    I have some old JSP custom tags(not JSF components), and I want to use them in the IDE through the toolbox.
    Now I have already written the BeanInfos for these tags, and they can be drag from the toolbox; but it will throw a Exception when render the tags, and the properties in the Property Editor are not which I describe in the BeanInfos.
    How can I write Design-time for these tags? or whether it is possible to write the Design-time for these tags?
    the Exception is shown as follow:
    java.lang.ClassCastException
         at com.sun.rave.insync.faces.FacesPageUnit.renderNode(FacesPageUnit.java:1347)
    [catch] at com.sun.rave.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1086)
         at com.sun.rave.insync.faces.FacesPageUnit.getFacesRenderTree(FacesPageUnit.java:993)
         at com.sun.rave.css2.FacesSupport.getFacesHtml(FacesSupport.java:152)
         at com.sun.rave.css2.CssContainerBox.addNode(CssContainerBox.java:373)
         at com.sun.rave.css2.CssContainerBox.createChildren(CssContainerBox.java:354)
         at com.sun.rave.css2.DocumentBox.createChildren(DocumentBox.java:90)
         at com.sun.rave.css2.DocumentBox.relayout(DocumentBox.java:160)
         at com.sun.rave.css2.PageBox.layout(PageBox.java:392)
         at com.sun.rave.css2.PageBox.relayout(PageBox.java:454)
         at com.sun.rave.css2.DocumentBox.redoLayout(DocumentBox.java:313)
         at com.sun.rave.css2.PageBox.redoLayout(PageBox.java:460)
         at com.sun.rave.css2.DocumentBox.changed(DocumentBox.java:634)
         at com.sun.rave.designer.DesignerPaneUI$UpdateHandler.changedUpdate(DesignerPaneUI.java:1012)
         at com.sun.rave.text.Document.fireChangedUpdate(Document.java:851)
         at com.sun.rave.text.Document$5.run(Document.java:631)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

    I have some old JSP custom tags(not JSF components), and I want to use them in the IDE through the toolbox.
    Now I have already written the BeanInfos for these tags, and they can be drag from the toolbox; but it will throw a Exception when render the tags, and the properties in the Property Editor are not which I describe in the BeanInfos.
    How can I write Design-time for these tags? or whether it is possible to write the Design-time for these tags?
    the Exception is shown as follow:
    java.lang.ClassCastException
         at com.sun.rave.insync.faces.FacesPageUnit.renderNode(FacesPageUnit.java:1347)
    [catch] at com.sun.rave.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1086)
         at com.sun.rave.insync.faces.FacesPageUnit.getFacesRenderTree(FacesPageUnit.java:993)
         at com.sun.rave.css2.FacesSupport.getFacesHtml(FacesSupport.java:152)
         at com.sun.rave.css2.CssContainerBox.addNode(CssContainerBox.java:373)
         at com.sun.rave.css2.CssContainerBox.createChildren(CssContainerBox.java:354)
         at com.sun.rave.css2.DocumentBox.createChildren(DocumentBox.java:90)
         at com.sun.rave.css2.DocumentBox.relayout(DocumentBox.java:160)
         at com.sun.rave.css2.PageBox.layout(PageBox.java:392)
         at com.sun.rave.css2.PageBox.relayout(PageBox.java:454)
         at com.sun.rave.css2.DocumentBox.redoLayout(DocumentBox.java:313)
         at com.sun.rave.css2.PageBox.redoLayout(PageBox.java:460)
         at com.sun.rave.css2.DocumentBox.changed(DocumentBox.java:634)
         at com.sun.rave.designer.DesignerPaneUI$UpdateHandler.changedUpdate(DesignerPaneUI.java:1012)
         at com.sun.rave.text.Document.fireChangedUpdate(Document.java:851)
         at com.sun.rave.text.Document$5.run(Document.java:631)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

  • Adding Custom Backend service form fields in SAP_PA

    Hi All,
    I have defined a rule in the form scenario using a form field in my custom backend service. I want this rule to be used in the operation of the SAP_PA backend service.
    In order to use the rule in SAP_PA, the field from the custom backend service(used in the rule definition) has to be assigned to SAP_PA as well. Unfortunately I am not able to assign it.
    I have seen SAP delivered from scenarios (S_HR_PA_US_CHG_PERM_ADDR) where they have assigned fields from custom backend service to SAP_PA, Can you please guide me how to acheive this ??
    Thanks,
    Bharath

    Try directly adding the field in the form scenario in the SAP_PA service.
    Thanks,
    Aravind

  • Adding Form fields from Custom backend service in SAP_PA

    Hi All,
    I have defined a rule in the form scenario using a form field in my custom backend service. I want this rule to be used in the operation of the SAP_PA backend service.
    In order to use the rule in SAP_PA, the field from the custom backend service(used in the rule definition) has to be assigned to SAP_PA as well. Unfortunately I am not able to assign it.
    I have seen SAP delivered from scenarios (S_HR_PA_US_CHG_PERM_ADDR) where they have assigned fields from custom backend service to SAP_PA, Can you please guide me how to acheive this ??
    Thanks,
    Bharath

    Try directly adding the field in the form scenario in the SAP_PA service.
    Thanks,
    Aravind

  • Design pattern for unprotecting and reprotecting sheets with VBA?

    Many macros can't run when a worksheet is protected, so when I develop an Excel workbook that has protected worksheets, I have to unprotect worksheets when macros are called and then reprotect the worksheets once the macro has completed.
    The current design pattern I use for this is the following:
    I look at each procedure individually and consider which sheets need to be unprotected for it to run. Then in each procedure I write:
    Sub Test()
    Dim bSheet1Protected as boolean
    Dim bSheet2Protected as boolean
    bSheet1Protected = Sheet1.ProtectContents
    bSheet2Protected = Sheet1.ProtectContents
    bSheet1Protected.Unprotect
    bSheet2Protected.Unprotect
    '''The rest of my code
    if bSheet1Protected then Sheet1.Protect
    if bSheet2Protected then Sheet2.Protect
    End Sub
    But I imagine that maybe there are better ways of doing this. What is your preferred design pattern for unprotecting and reprotecting sheets with VBA?

    Hi JP3O,
    I think it is a good practice to unprotect the worksheet before execute some code and protect it back after the code execute finished.
    >>But I imagine that maybe there are better ways of doing this. What is your preferred design pattern for unprotecting and reprotecting sheets with VBA?<<
    I am not able to find a better way since we always need to unproect the worksheet if some code didn't not executed successful when the worksheet is proected.
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Adobe Cs6 design standar for student and teacher

    I want to buy adobe cs6 design standard for student and teacher but i want to make sure, "Will I be able to instal my software in my three computers"?

    All Adobe software can only be activated on a maximum of two computers at any one time and it can be only used on one of those computers at a time.
    http://www.adobe.com/products/eulas/pdfs/Gen_WWCombined-MULTI-20111031_1230.pdf
    2.1.3 Portable or Home Computer Use.
    Subject to the restrictions set forth in Section 2.1.4, the primary user of the Computer on which the Software is installed under Section 2.1 (“Primary User”) may install a second copy of the Software for his or her exclusive use on either a portable Computer or a Computer located at his or her home, provided that the Software on the portable or home Computer is not used at the same time as the Software on the primary Computer.

  • Background job is taking lot of time for processing the job.

    One background job - which is processing Idocs is processing a job for more than 2000+ seconds.. and completed tho.
    But this is happening for the past few days.. is there any way to trouble shoot, or find from any logs of this completed job, to find out why it was taking lot of time for processing.
    Can you please tell me the steps of analyzing / trouble shooting why it was taking lot of time daily.
    Regards,
    Satish.

    Hi Satish,
    Run DB stat from db13 it will improve the performance.
    Check number of idocs. You can send part by part, instead of sending huge data.
    Check SM58 logs
    Suman

  • Can i get a new serial number for Adobe CS6 Design Standard for Students and Teachers?

    I have had to re-install my Adobe CS6 Design Standard for students and teachers after having problems with my computer (MacBook Pro)
    I am wondering if there is a way to access my old serial number from when I originally installed CS6, or do I have to start over again and get a new serial number?
    Help is greatly appreciated!!

    You normally use the same serial number that you are first issued.  If you registered your product when you first installed it then you should be able to find your setial number available thru your Adobe account online.

  • My battery runs low very fast (three hours). I looked in the usage settings and it seems the time for usage and stand-by are the same, allthough i did have my iphone on stand-by!! What can i do?

    Community,
    I have a problem with my iphone 4. Every few months my battery starts draining within a few hours. I have tried all kinds of battery saving tips, but they don't help. When i go to the settings/general/usage is can see that the time for Usage and Stand-by are the same, so my phone is fully on all the time this explains the draining. But in reallity i turn my phone to stand-by most of the time, i mean the screen is black and all???
    The first and second time a had this problem, both a few months a part,  i restored my phone and it was solved. This time i restored my phone but this did not help!! And restoring my phone every two months is not my preferd way of solving this problem.
    Does anybody have an idea on how to solve this problem? can anybody help me?
    best regards,
    Merijn

    Restoring is the answer. It sounds as if there is a rogue process constantly draining your battery.
    The issue you face is that, if you restore your backup thereafter, you risk the problem coming straight back with your files.
    Store your files individually and it is time to start fresh.

Maybe you are looking for