ISR/Adobe Sending back fields from BADI in event request_check

Dear Forum,
Within my BADI implementation I want to alter some form data, after some user data has been entered. This applies to calculated fields from rather complex HR related data. Far to complex for Formcalc, but definitly as a response to user input to be checked before the notification should be posted.
I expected that altering formfields would be possible just by changing the table SPECIAL_DATA in the event int_service_request_check. However, this appears not so, where exactly the same does in the method int_service_request_init filled.
I am sure that the altered table gets fine throughout ISR_PROCESS_EVENT_WD, but still my form shows the original (from int_service_request_init filled) content.
Has anyone experienced this? Is there a workaround? Since dropdownlists somehow behave the same (however, not usable in my case) I believe it should be possible and I am looking forward to any anwser on this.
Regards, Hans GM

Chris,
I have resolved the issue in our system, so maybe the same resolution will work for you.  The answer is in Note [1440741|http://service.sap.com/sap/support/notes/1440741].  In our system we are on HR SP 23, which contains all the code corrections from earlier versions of this Note, but does not contain the manual corrections described (essentially creating the characteristic or data type for ASYNC_BACKGROUND_SAVE).  I just had to set up the characteristic as described and our form now submits just fine.  I found this only by running the ABAP debugger on Method GET_EXTERNAL_DATA_VALUE of Class CL_IM_HRASR00ISR with a breakpoint set on the line "ASSERT sy-subrc EQ 0."  I just stepped through until I saw the return code turn to something other than 0, and made a note that it was looking for a fieldvalue of ASYNC_BACKGROUND_SAVE.  A search of Notes for this fieldvalue turned up 1440741, and that appears to have resolved the problem.  The problem was not so much with the form itself, but with the asynchronous background save in the workflow step.
Hope this helps you!
--Matt

Similar Messages

  • Adobe form getting data from BADI?

    Hi,
    I  have a webdynpro component which calls an Adobe form which gets data from BADI i.e. prepoulate the values after interacting with the BADI's.How to find the BADI's name ?how it triggers that particular BADI.where it is calling exit handler?
    please reply me soon..
    Regards,
    Lakshmi.

    >
    Lakshmi Atukury wrote:
    > Hi,
    > adobe form getting data from BADI only,through the BADI interface method Initialize.
    > but technically i would like to know from where it is calling BADI and how it interacts with Adobe form.How the process goes?
    >
    > Regards,
    > Lakshmi.
    That's why we have debuggers.  I suggest that you start debugging through the application and see what it is going on. I would find it difficult to see how the Form itself calls a BADI (since a BADI is an exit in ABAP coding).  I would think that the BADI would be called via a service class of the Web Dynpro or the Web Dynpro is calling a function module to process the form.  I would start back with the Web Dynpro and see how it is even initializing the form itself.

  • How to get back fields from INSERT statement in batch mode(getGeneratedKeys

    Hi,
    I wanted to insert records to database and get back some fields.
    I create prepared statement:
    preparedStatement = connection.prepareStatement(sqlQuery, columnIndexes);
    then I set parameters.
    Following code works properly:
    preparedStatement.executeUpdate();
    generatedKeys = preparedStatement.getGeneratedKeys();
    if (generatedKeys.next()) {
    doSomething();
    But when I try to do this by batch I get exception:
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 22
         at oracle.jdbc.driver.T4CNumberAccessor.unmarshalOneRow(T4CNumberAccessor.java:190)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:612)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:966)
         at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:10644)
         at org.jetel.component.DBOutputTable.runInBatchMode(DBOutputTable.java:619)
    My "batch" code:
    for(...){
    setParameters(preparedStatement);
    preparedStatement.addBatch();
    preparedStatement.executeBatch();
    Isn't it a bug?
    Can I get back fields (eg. from last insert added to batch)?
    I hope somebody can help me.
    Agata

    This code works for me but only inserting one row. More than one causes an ArrayIndexOutOfBoundsException once sendBatch is called.

  • Sending Custom fields from SRM to ECC through BAPI

    Dear All ,
    I am looking for a step by step instructions on how to send my data i.e Start date and end date at ITEM :LEVEL for limit items from SRM to ECC
    It is currently only sent a Header level . I have almost read all the posts and yet not able to figure out . Please can you some one help me to understand .
    Checked the below
    http://scn.sap.com/thread/476423
    http://scn.sap.com/thread/170189
    http://scn.sap.com/thread/26494
    http://scn.sap.com/thread/1399901
    http://scn.sap.com/thread/1991218
    and also  checked the SAP official page :
    http://wiki.scn.sap.com/wiki/display/ABAP/BAPI?original_fqdn=wiki.sdn.sap.com#BAPI-Passingcustomfield
    http://wiki.scn.sap.com/wiki/display/SRM/Transfer+process+of+the+Shopping+Cart
    http://scn.sap.com/docs/DOC-2726
    However no luck . I also opened a similar thread previously but still unable to get an end to end understanding .Please could some one guide me for this one ?  Currently what I found out there is a class CL_BBP_BS_ADAPTER_PO_CRT_ERP10 where CREATE_DOCUMENT decides what fields would be passed .. In that there is a FM which is being called from ECC .. and in that there is header and header X field ..
    which has the fields which I need VPER start and end date ..
    CALL FUNCTION 'BAPI_PO_CREATE1'
           DESTINATION av_rfc_dest
           EXPORTING
             poheader               = as_po_out-is_poheader      "#EC ENHOK
             poheaderx              = as_po_out-is_poheaderx
    h
    Now I wnat the same fields to be passed at item level of the SC .. Please could you confirm on what exactly I should do ?
    I saw the below tables not sure what I should do with them to include the 2 fields I want which should be passed to ECC .
    TABLES
              poitem                 = as_po_out-it_poitem        "#EC ENHOK
             poitemx                = as_po_out-it_poitemx       "#EC ENHOK
                 extensionin            = as_po_out-it_extensionin   "#EC ENHOK
      *      extensionout      = as_po_out-it_extensionout "not used by SRM
              poexpimpitem      = as_po_out-it_poexpimpitem      "#EC ENHOK
              poexpimpitemx     = as_po_out-it_poexpimpitemx     "#EC ENHOK
             potextheader      = as_po_out-it_potextheader "not used by SRM
    *      popartner         = as_po_out-it_popartner    "not used by SRM
    Please can some one let me know for the below queries :
    1, How to identify If I am checking on the right method .
    2. How I can create these 2 fields voer start date and end date and pass them to EKPO table of PO in ECC ?
    3. How to create these 2 fields in BAP and pass it further from SRM to ecc
    4. How would they be visisble in SC portal screen ..
    Please guide me on this would be really grateful . Thanks in advance for the help
    Regards
    Vinita

    Hi Madhu,
    Please check out this note 1027081 which is for the PO Held in classic scenario.
    Praveen.

  • How ro send error message from BADI to BAPI

    i have a BADI which is triggered from a BAPI.This BADI has only importing and changing parameters.How can i send error message to BAPI.Please reply at the earliest.
    High points can be expected.

    Hi Arshi,
         Please check whether the following link is of any use to you,
    how to capture the error message from bapi
    Best Regards.
    Reward points if it is helpful.

  • Labview Excel Search data in one column and send back data from the second!

    Hello,
    I am still very new with using LABVIEW and I have a issue. I am using an excel worksheet with two columns and four rows. In one column I have  barcode numbers and in the second I have which sequence tests that the particular barcode has with it. I have it where I get the barcode scanned but what I need help with is having Labview search the excel sheet for a match on the Barcode (From column one) and return back the related test sequence that goes with it ( From Column two). Any suggestions???
    Joe

    Sorry!
    Attachments:
    Excel String Search.vi ‏50 KB
    Barcode.xlsx ‏10 KB

  • Importing iPhoto Back Up from DVD - Duplicate Event Issue

    i'm trying to transfer the iphoto back ups (created in iPhoto) from DVD to my external hard drive. with the disc in, i create a new iphoto library, name it and import the "iPhoto Library" file from the DVD on to my laptop's hard drive. When i do so, it imports over 3,000 photos, whereas it should only be 2,623. when the import is done, i have duplicate events; it looks as though the events are the original and modified versions.
    i don't want to have to reorganize my photos after importing them back in (there are 11 ). am i missing something?

    doesn't keep the name, but dragging them one by one keeps them separate. guess that's not too bad; at least not as tedious as having to weed through all the photos.
    is there some kind of automator i can use?
    why don't the events transfer over? this particular back up is Jan. 2009 thru Jun. 2009. I bought iLife '09 in April. could it be because half the photos were organized with a previous version of iPhoto?
    Thanks for your help btw. i really appreciate it.

  • Add fields so clients can sign electronically and send back

    I've read a bunch of discussions about how to add fields to forms but none of them answered all my questions.
    What I'd like to do is add a signature and text field (for date) to a PDF so that my clients can send them back signed electronically. I do not want to use EchoSign.
    I have Acrobat Pro v9.5.2. I added a signature field and text field per http://www.adobe.com/accessibility/products/acrobat/pdf/A9-creating-accessible-pdf-forms.p df. I read on an Adobe forum that I was supposed to go to Save as > Reader Extended to allow the user to sign the document and send back to me signed. However, all I have as save options are Save or Save As. There's no Save As > Reader Extended option and when I choose Save As the "Save as type" does not include Reader Extended either.
    Please post step by step instructions for how to do this (add 2 fields, save doc, send to client, have them sign and fill in fields and send back to me completed). Surely we can do this with 9 yes?
    Thanks so much in advance!

    Here are full instructions for version 9.5.2 in case they're helpful to anyone:
    How to add digital signature field to PDF using Adobe Acrobat Pro 9.5.2:
    1. Open PDF in Acrobat (Right click > Open with > Acrobat)
    2. Go to Forms > Add or Edit Fields
    3. Pop up box > select NO
    4. Click "Add New Field" button on top left > select Digital Signature
    5. Guideline-type things will appear > drag to where you want field.
    6. Click on the signature field and change name if you'd like.
    7. Click "Close From Editing" button on top left.
    8. Go to Advanced > Extend Features in Adobe Reader > Save Now
    9. Save it where you'd like
    How to Digitally Sign a Document with Adobe Reader
    1. Double click the signature field on the bottom right of the contract. A pop up box will appear.
    2. If it's the first time you'll be signing anything in Adobe Reader, select bottom option, "A new digital ID I want to create now" > click Next
    3. Fill in your name and email (required) > click Next
    4. Enter a password and then again in "Confirm password" and write down your password somewhere so you'll remember
    5. Click Finish. You're now ready to sign doc
    6. Enter the password you just created into "Password" field
    (To import graphic of your signature, from "appearance" field, select "Create New Appearance" > Enter title like "signature" > click "Imported graphic" option > click "File" (not sure but file might need to be a PDF) > click Okay and click okay again.
    7. Click "Sign"
    8. Save document - give it a name > Save.
    9. You should see signature in the signature field
    At any point in future you can come back to signature and right click (or ctrl click if mac):
    You can clear, validate, etc.
    If doc has been modified, you can "view signed version" or "show signed properties".
    Edit > Protection > Security Settings
    You can see any digital IDs you've set up, remove, add new ones, look at usage options,
    For more help, you can watch this video on "How to Digitally Sign a Document with Adobe Reader"
    http://tv.adobe.com/watch/acrobat-x/how-to-digitally-sign-a-document-with-adobe-reader/

  • ISR Adobe forms send by email

    Hi,
    is it possible to send ISR Adobe form by email? I would need to feel the form with data and send it.
    Thanks inadvance,
    Anna

    Hi Anna,
    Have you created a form through the HCM Processes and Forms scenario?  If you have, you can send a form from one person to another with form information filled in by the form initiator, but this has to be configured using workflow, and it would only appear in their Workflow Inbox.
    This is a link to SDN eBook on e-mailing Interactive Forms.  This is not done with HCM Process and Forms, but gives you an idea on how to do it...
    [SAP Interactive Forms by Adobe for Processing with eMail (Session 4J)|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/203674f5-bdfc-2a10-3988-8aeaff041744]
    Hope this helps,
    Cheers,
    Kevin

  • Just upgraded to Lion an am discovering that I cannot send email photos from within iPhoto. Error message says bad Internet connection or server not working, when that's not the case. Never happened in Snow Leopard! Help!!!

    Just upgraded to Lion an am discovering that I cannot send email photos from within iPhoto. Error message says bad Internet connection or server not working, when that's not the case. Never happened in Snow Leopard! Help!!!

    what email service - Yahoo mail have been acting up lately
    you can try setting Mail as your email client - it resolves this pfoblem for some people
    LN

  • I send an email from my Iphone to a friend.  My friend receives it on her Iphone, but as text message.  She replies and it goes back to my daughter's phone, a completely different email and phone number.  Why?

    I send an email from my Iphone to a friend.  My friend receives it on her Iphone, but as text message.  She replies and it goes back to my daughter's phone, a completely different email and phone number.  Why?

    We went through my friend's phone and my daughter's email and phone number are not in it.  I have never given my daughter's iphone number to my friend.  Is it something to do with gmail or my apple id?  My daughter (14) has been using my computer as her "base" for HER Iphone. 
    My friend does use her iphone number as an email address as well.
    For instance:  her phone number might look like this:  (493) 305-3958
    and her email address would look like this:  [email protected]
    If I Iphone/email my friend, she receives it as a text message.  Then if she replies to that text message, it goes to my daughter's phone and not mine.  It's completely crazy!  We searched her phone contacts and did not find my daughter's phone number anywhere or attached anywhere to mine.  Since when does Iphone emailing wind up in the text messaging area?

  • How to remove sender name in field "From" in Notification page

    I would like to remove name ( LIUNI, ANTONIO_ ) (bold text and underline) from message and field "From" in notification page.
    I have 2 problems below:
    1.) This message "_*LIUNI, ANTONIO*_ has completed their appraisal of KERINS, ANNE MARY"
    Should change to "A multirater has completed their appraisal of KERINS, ANNE MARY"
    2.) Field From, must be blank: From: LIUNI, ANTONIO_ -> From: <Blank>
    It call standard workflow HRSSA.
    Please provide me coding in controller to set item attribute values in field "From" to blank and remove sender name in message+
    Below is the example notification:
    This notification does not require a response.
    LIUNI, ANTONIO_ has completed their appraisal of KERINS, ANNE MARY.
    Personalize "Notification Details Function"
    Personalize "Notification Details Attributes"
    Personalize Table Layout: (leftTable)
    From LIUNI, ANTONIO_
    To BILLOUD, CLAIRE
    Sent 26-Apr-2010 09:53:06
    ID 66666475
    Personalize Stack Layout: (rightStack)
    Personalize Table Layout: (rightTable)
    Personalize Stack Layout
    Personalize Stack Layout
    Personalize "Summary"
    Edited by: jamras on Apr 26, 2010 1:34 AM

    Thank you for your reply.
    Do you mean region in notification page?
    Below is region in notification page.
    Field From is in Region: /oracle/apps/fnd/wf/worklist/webui/NtfDetailsAttr.leftTable
    Document Name /oracle/apps/fnd/wf/worklist/webui/NtfDetailsAttr
    Message is in Region: Notification Details Function
    Document Name /oracle/apps/fnd/wf/worklist/webui/NotifDetailsRG
    Now I'm working on extension controller in the page below (I'm submit button in this page).
    /oracle/apps/per/selfservice/appraisals/webui/PartCompletePG
    My controller -> fao.oracle.apps.per.selfservice.appraisals.webui.FaoPartCompleteCO
    I put the following coding in this controller. It removed value in workflow attribute, but it didn't remove value from notification page.
    SSHRParams sshrparams = new SSHRParams(oapagecontext.getRootApplicationModule());
    String wfItemType = sshrparams.getItemType();
    String wfItemKey = sshrparams.getItemKey();
    // String wfProcess = "HR_APPRAISAL_DETAILS_JSP_PRC"; ///sshrparams.getProcesName().toString();
    wfClass.setItemAttrText(oapagecontext, wfItemType, wfItemKey,
    "HR_APPRAISAL_FROM_USER_ATTR", "");
    wfClass.setItemAttrText(oapagecontext, wfItemType, wfItemKey,
    "FORWARD_FROM_USERNAME", "");
    wfClass.setItemAttrText(oapagecontext, wfItemType, wfItemKey,
    "FORWARD_FROM_DISPLAY_NAME", "");
    wfClass.setItemAttrText(oapagecontext, wfItemType, wfItemKey,
    "FORWARD_FROM_PERSON_ID", "");
    wfClass.setItemAttrText(oapagecontext, wfItemType, wfItemKey,
    "HR_APPRAISAL_FROM_NAME_ATTR", "");
    Thank you for your help.

  • Since upgrading to IOS 8.1.2, I cannot send/receive emails from either of my Apple or Verizon email accounts.  Does anyone know how to fix this problem or how to go back to IOS 8.1.1?

    Since upgrading to IOS 8.1.2 on my iPad3, I cannot send/receive emails from either of my Apple or Verizon email accounts.  I confirmed that my internet connection is working. Does anyone know how to fix this problem or how to go back to IOS 8.1.1?

    Hi Milrclan,
    Thanks for contributing to the Apple Support Communities. 
    If you're not able to send or receive email from the mail accounts on your iPad after updating iOS, start with these troubleshooting tips:
    Get help with Mail on iPhone, iPad, and iPod touch - Apple Support
    Best Regards,
    Jeremy 

  • What are the steps to send sales order custom field from CRM to ECC

    Hi Xperts,
      We have created a custom field in sales order [ VBAK] and successfully replicate its value from ECC to CRM. But while doing the enhancement to replicate the field value from CRM to ECC [ When the SO is created in CRM ] we are not able to do so.
    We used a FM in CRM0_300, but while replicating the SO from CRM to R/3 it is not getting called.
    Please help us by providing the steps to do the full enhancement to replicate the custom field of SO from CRM to ECC.
    Thanks in Advance.

    Hi Anjaneyulu,
    We are faced with a similar situation as you.
    Here is our scenario with the steps that we performed so far:
    1.  We have added a few custom fields in CRM 7.0 (Ehp1) using AET.
         The BDoc BUS_TRANS_MSG has been automatically extended with these custom fields.
    2.  On ECC side also, same custom fields have been added to VBAK and VBAP, using APPEND STRUCTURE. Fields were added to ADDITIONAL DATA TAB B in VA01 / VA02 transactions.
    3. Extended BAPI structures BAPISDITM and BAPISDITMX in both CRM and R/3 Side.
    4. As mentioned in the note 1053817, we have implemented BADI CRM_DATAEXCHG_BADI -> Method CRM_DATAEXCH_AFTER_BAPI_FILL in CRM (mapped fields from BDOC to BAPI structures)
    5. In the above note, for R/3 BAPI to R/3 API they have given to implement user exit USEREXIT_MOVE_FIELD_TO_VBAP which we found in MV45AFZZ. But in this we are unable to find BAPI Structure to map.
    Our issue is, when a sales order is created in CRM, it is getting replicated on ECC. But, only standard fields are getting replicated. The custom fields that we have added are remaining empty on ECC side.
    In CRM --> txn SMW01, we can see that the BDOC is populated with custom fields also.
    Could you let us know if your issue is solved completely. Are you able to see the value of custom field, in ECC? Did you use AET to add fields in CRM.
    Could you please give us the steps that you have done.

  • How can I upgrade from Adobe Send Annual to Adobe PDF Pak monthly, it won't let me.  Just makes me choose annual.

    I would like to upgrade to the Adobe PDF Pak but on a monthly basis, even though it is a little more.  I currently have the Adobe Send on an annual basis with Auto renewal.  Even if I turn off auto renewal, it won't let me upgrade unless I turn auto renewal back on.  I didn't think it should be this difficult....
    Linda

    Hi lindag80498358,
    I just checked your account, and it looks like you've been taken care of with both an Adobe Send annual subscription, and an Adobe PDF Pack month-to-month. Please let us know if there's anything else we can do for you.
    Best,
    Sara

Maybe you are looking for