Offline Interactive Form Upload for creating Business Transaction

Hi All,
I am using CRM Web Request for creating Business Transaction through Offline Interactive Adobe Form.
For that i have done PDF upload coding and then converting the PDF form to XML format.
Now the XML format of form is converted to string from xstring.
And then passing the XML to function module CRM_WEBREQ_EXTERN_CREATE_DOC along with the corresponding request category configured for the web request.Created the corresponding request category structure also.
still the business transaction is not getting created, the following error message is coming "XML incompatible for data structure of request category" .
Please respond if anybody has done the same scenario.
Or is there any other process that can be followed to upload offline interactive adobe form to create one order object.
Regards,
Madhu

Hi Maarten,
Is that aatribute binded to Dropdown field lying under a node of cardinality 1..1??
I think if that's so, ur error can be resolved by just putting this attribute in a node with cardinality 1..n.
Hope this helps..!!
Thanks,
Amita

Similar Messages

  • Create offline interactive forms using webdynpro java with XML data source

    Hi Gurus,
    I am having a scenario like below:
    Sales guy request for order list online from portal- Sytem receives the request and creat XML file- from xml file need to create a Offline interactive form-Sales guy fills it offline at customer site- uploads in portal -on submit xml has to be generated with captured data at customer site-Process to  ECC.
    So my questions are:
    How to create the offline interactive form  from XML?
    Once filled offline interactive form uploaded into portal how to create XML again from pdf ?
    Please give some idea on this as this is my first Offline interactive form using XML datasource.
    Thanks
    Ravi
    Edited by: Ravi Sunkara on Jul 27, 2010 5:25 PM

    Hi Otto,
    Sorry for replying lately. First of all  I did not get your suggestions as your are editing the same posting.
    Secondly we will be using WDJ. Actually in between SAP Portal and ECC we are having adobe LCES so we need to create Interactive form using XML only. Once it is filled again the form will be submitted to another application which is running on FLEX, which will process the order.
    if you can give me your personal id i can send you the detailed process
    Thanks
    Ravi

  • Offline Interactive Forms (Web Dynpro for ABAP)

    Hi Everyone.
    Please help me!!!
    Upload Offline PDF file to xstring context attribute by file upload in Web Dynpro parts.
    Set Offline PDF file uploaded via xstring context attribute in 'pdfSource' property of interactive form.
    I wish to view Offline PDF file and get data to context in 'dataSource' property of interactive form.
    Below restriction.
    - Web Dynpro for ABAP
    - Offline Interactive Forms
    - Zero Client Installation
    - ABAP Dictionary-Based Interface
    NetWeaver 7.0 (NW 7.0) SPS16

    Hi Daisuke,
    As per your requirement, to get done your work you need to create two Adobe Forms , one is for Offline Interactive Form and other is Online Interactive Form.
    In offline Interactive you design your form and define the Layout type as zci layout and Abap Dictionary Based interface. And by executing the form you can save the form to your desktop.
    Now in online Interactive Form you create the context similar to the one which has been created in the Offline Interactive Form. Now in one view you define the file upload functionality and in other view you define the adobe interactive form, for this the interface is automatically as it asks for the context and its of type XML based interface, also do maintain the context variable something like "PDFDATASTRING" with type XSTRING in the Component Controller and now in adobe view you give the property pdfstring as "PDFDATASTRING" and dont forget to provide the navigation of these two view, and set the File Upload View as default view.
    The above functionality can help you in some way or the other.
    Regards
    Pradeep Goli

  • Get form values from an uploaded offline interactive form.

    Hi,
    I have created a simple offline interactive form with 2 text input elements Email and PhoneNumber.
    I have created a button on the view. In the action, I have to get the values of the Email and PhoneNumber
    How to capture input values from an offline interactive form.
    Thanks
    Srinivas

    Hi Arafat,
    I followed the how to do document https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20java/wdjava%20archive/offline%20interactive%20pdf%20form%20using%20download.pdf , and it mentioned what you just said. But I couldn't understand your suggestion "In second view you need to embed the IF element and create the required context attributs mapping for fields. Set the pdfMode as usePDF."
    In the second view, I have created another interactive form for previewing the offline form.
    I am able to preview the offline form. On submit action (submit button is on the view), when I print the context values, I get nulls.
    Thanks
    Srinivas

  • Help for-offline interactive forms based on sending receiving mails in ABAP

    hello friends i am struck with a requirement of my client.
    I am new to Forms and WEBDYNPRO and I have to cover a scenario where I have to develop,'offline interactive forms based on sending receiving emails '..
    i browsed a bit and with all the luck found a very good resource.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cacb9a7d-0c01-0010-1281-be4962c9ab3e
    but the problem is it is in JAVA.. I dont know JAVA..I know ABAP..
    can any one give me similar tutorial in ABAP or any other related links ..
    waiting to give Big Reward Points...

    Try these links...
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/lw/uuid/90e279fe-0107-2a10-bc85-bd96ab9738a7
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5087262b-59ef-2910-abb1-957000b7c3d4
    Hope they help.....
    Rao

  • In Bdc I have huge volume of data to upload for the given transaction

    Hi gurus,
    In Bdc I have huge volume of data to upload for the given transaction, here am using session method, it takes lots of exection time to complete the whole transaction, Is there any other method to process the huge volume with minimum time,
    reward awaiting
    with regards
    Thambe

    Selection of BDC Method depends on the type of the requirement you have. But you can decide which one will suite requirement basing the difference between the two methods. The following are the differences between Session & Call Transaction.
    Session method.
    1) synchronous processing.
    2) can tranfer large amount of data.
    3) processing is slower.
    4) error log is created
    5) data is not updated until session is processed.
    Call transaction.
    1) asynchronous processing
    2) can transfer small amount of data
    3) processing is faster.
    4) errors need to be handled explicitly
    5) data is updated automatically
    Batch Data Communication (BDC) is the oldest batch interfacing technique that SAP provided since the early versions of R/3. BDC is not a typical integration tool, in the sense that, it can be only be used for uploading data into R/3 and so it is
    not bi-directional.
    BDC works on the principle of simulating user input for transactional screen, via an ABAP program.
    Typically the input comes in the form of a flat file. The ABAP program reads this file and formats the input data screen by screen into an internal table (BDCDATA). The transaction is then started using this internal table as the input and executed in the background.
    In ‘Call Transaction’, the transactions are triggered at the time of processing itself and so the ABAP program must do the error handling. It can also be used for real-time interfaces and custom error handling & logging features. Whereas in
    Batch Input Sessions, the ABAP program creates a session with all the transactional data, and this session can be viewed, scheduled and processed (using Transaction SM35) at a later time. The latter technique has a built-in error processing mechanism too.
    Batch Input (BI) programs still use the classical BDC approach but doesn’t require an ABAP program to be written to format the BDCDATA. The user has to format the data using predefined structures and store it in a flat file. The BI program then reads this and invokes the transaction mentioned in the header record of the file.
    Direct Input (DI) programs work exactly similar to BI programs. But the only difference is, instead of processing screens they validate fields and directly load the data into tables using standard function modules. For this reason, DI programs are much faster (RMDATIND - Material Master DI program works at least 5 times faster) than the BDC counterpart and so ideally suited for loading large volume data. DI programs are not available for all application areas.
    synchronous & Asynchronous updating:
    http://www.icesoft.com/developer_guides/icefaces/htmlguide/devguide/keyConcepts4.html
    synchronous & Asynchronous processings
    Asynchronous refers to processes that do not depend on each other's outcome, and can therefore occur on different threads simultaneously. The opposite is synchronous. Synchronous processes wait for one to complete before the next begins. For those Group Policy settings for which both types of processes are available as options, you choose between the faster asynchronous or the safer, more predictable synchronous processing.
    By default, the processing of Group Policy is synchronous. Computer policy is completed before the CTRLALTDEL dialog box is presented, and user policy is completed before the shell is active and available for the user to interact with it.
    Note
    You can change this default behavior by using a policy setting for each so that processing is asynchronous. This is not recommended unless there are compelling performance reasons. To provide the most reliable operation, leave the processing as synchronous.

  • Missing code in "Offline Interactive Forms Using ABAP" SDN document?

    I am trying to build a sample offline form scenario using the code published in the SDN document "Offline Interactive Forms Using ABAP" written by Vani Krishnamoorthy. Everything works perfectly up to the point where we instantiate the PDF Object to extract the data from the form. Then there seems to be some code missing just before we call the method SET_DOCUMENT. We are supposed to export the parameter pdfdata = pdf_data , but I cannot find where pdf_data variable is declared or assigned. Also, an ENDTRY statement seems to be missing.
    Has anyone had success with Vani's offline scenario, and if so, do you know what code is missing, if any?
    Thanks in advance for any help you can offer.

    I found the missing code in sample program FP_PDF_TEST_06. Everything works well now.
    The PDF file that was uploaded from the PC first needs to be converted from binary to XSTRING before you can create the PDF object:
    data: lt_rawtab type standard table of raw255,
            g_pdfdata type xstring,
            l_len type i.
      call method cl_gui_frontend_services=>gui_upload
        exporting
          filename                = l_filename
          filetype                = 'BIN'
        importing
          filelength              = l_len
        changing
          data_tab                = lt_rawtab   "PDF file (binary)
        exceptions
          file_open_error         = 1
          file_read_error         = 2
          etc. etc.
    Convert binary tab to Xstring
      call function 'SCMS_BINARY_TO_XSTRING'
        exporting
          input_length = l_len
        importing
          buffer       = g_pdfdata              "converted to Xstring         
        tables
          binary_tab   = lt_rawtab
        exceptions
          failed       = 1
          others       = 2.
      if sy-subrc is not initial.
        message id sy-msgid type sy-msgty number sy-msgno
                   with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    Instantiate PDF object..
      data: l_fp     type ref to if_fp value is initial,
            l_pdfobj type ref to if_fp_pdf_object value is initial,
            l_fpex    type ref to cx_fp_runtime,
            l_type    type string,
            l_errmsg  type string.
    Get FP reference
      l_fp = cl_fp=>get_reference( ).
    Handle exceptions with Try..Endtry
      try.
      Create PDF Object using destination 'ADS' (<--this is how it is
      defined in SM59)
          l_pdfobj = l_fp->create_pdf_object( connection = 'ADS' ).
      Set document
          l_pdfobj->set_document( exporting pdfdata = g_pdfdata ). 
      Tell PDF object to extract data
          l_pdfobj->set_extractdata( ).
      Execute the call to ADS
          l_pdfobj->execute( ).
        catch cx_fp_runtime_internal
              cx_fp_runtime_system
              cx_fp_runtime_usage into l_fpex.
          case cl_abap_classdescr=>get_class_name( l_fpex ).
            when '\CLASS=CX_FP_RUNTIME_INTERNAL'.
              l_type = 'INTERNAL ERROR'.
            when '\CLASS=CX_FP_RUNTIME_SYSTEM'.
              l_type = 'SYSTEM ERROR'.
            when '\CLASS=CX_FP_RUNTIME_USAGE'.
              l_type = 'USAGE ERROR'.
          endcase.
          l_errmsg = l_fpex->get_short( ).
          message e010(ad) with l_type ':' l_errmsg.
      endtry.

  • "No transaction type is available for creating a transaction" service order

    Hi all,
    I am new in IC .
    I try to create service order or service ticket for incoming calls
    We are using CRM 7.0
    After I confirm the account I try to create service order
    But no screen displayed and error "No transaction type is available for creating a transaction" occurs
    in customizing there is a transaction type SRVO, also I copied it to ZRVO
    But here how can I define that this transaction type is assigned to this application??
    Please reply in detail steps.
    Thank you.

    Hi Rupesh,
    Thanks for your reply..
    I made a lot of controls but I can't find where I am wrong..
    My senario is, taking phones, create interaction record and create order for further investigation.
    I copied IC_AGENT role.
    I copied transaction type 0010 to Z010
    I create business transaction named ZBTP for transaction type Z010
    I made Define Transaction Types for Navigation for Z010
    Then Define Business Role -> Assign Function Profiles
    Here I assign my business transaction ZBTP to IC_BT function profile
    But when I connect tot the system with user having this business role
    I can create interaction record with type Z010, it is ok.
    When I press Service Order it gives this error.
    Work center id for Service order is : IC_UIU_SVO
    I copied my business role from IC_AGENT, and here this work center id was not active
    In my business role I made it active.  Is this work center can't used in IC senario
    Also how can I understand which transaction type is needed for it??
    If I know which transaction type is needed to create service order or service ticket under IC, then I will control it of course..
    I also copied transaction type TSVO(service IC) to ZSVO and do the above things for this type too..
    But nothing changed..
    Please help !!

  • Sending Offline Interactive Form Via Email

    Hi,
    I am running NW 2004s SPS09 and trying to configure GP to use offline adobe interactive forms.  As of now, I am able to create a callable object from an Adobe template, prefill fields from other background execution/web service callable objects, and launch a process when the form is submitted via email.  I am having trouble routing the form to the next processor through email.  I created an interactive form callable object, checked 'Enable Use In Guided Procedures' and selected 'Create Offline Interactive Form And Send By E-Mail'.  My first thought was that there was some delay in the sending of emails, but callable objects in other processes that send plain text notifications work fine.  The process does not enter an erroneous state and waits at that action.  Looking at the GP monitor under NW administration, the correct processor is set for the action, but the task does not appear in the user's UWL or GP runtime center (I figure this is because the task is meant to be completed offline).  Any suggestions would be much appreciated.  Thanks!
    ~Greg

    Turned out the 'switchToNewMailCommunication' property for the GP service was set to true when it should have been false.
    ~Greg

  • F4 help in Offline Interactive form

    Hi Experts,
    I have got the F4 help in online interactive form created by Web Dynpro using value help.
    I need to get F4 help in OFFLINE interactive form where the user even need not to connect to SAP system.
    Plz Help
    Thanks & Regards
    Arvind

    Hi,
    I am using value help in following way:
    1) Value help drop down list: I have field which is linked to MARA-MATNR in my context. When I try to create a value help drop down list and bind it to MARA-MATNR field, the value help drop down does work but just only once. After that I am not able to use F4 help on that field. Can you please let me know if I am missing any other settings as I am not doing any settings apart from what I wrote. or please provide me link for step by step screen shot,
    Note. I search many site but they are give same method but i am unable to take f4 help in adobe form

  • No transaction type is available for creating a transaction (IC WebUI )

    Hello,
    I'm tying to link WebUI business transactions (create transactions of
    business activity, service order, service confirmation)to the IC WebUI.
    I linked logical ID to the workcenter and assigned generic OP to the
    nav.bar profile and activated workcenter screen in the business role.
    I think that WebUI business transaction screen itself is well attached.
    But When I click the workcenter(logical ID is directely linked the
    workcenter). There are message:"No transaction type is available for
    creating a transaction". So, I cannot select any transaction type and
    go to the biz.tran.create sceen. there are lot's of transaction type of
    business activity.(Appointment). I got the same problem to the WebUI
    service order create transaction.
    But, Linking WebUI service confirmation creation screen to the IC WebUI  is sucessful: I can
    select transaction type of service confirmation.
    I don't know any difference between them.
    If you guys have any idea, please let me know.
    Thanks
    Mickey.

    Dear Kunstelj ,
    I found the solution with your suggestion.
    But What I did is a little bit different.
    I assigned two channel IAC interaction center, IAW Interaction center WebClient to the transaction type not GUI CRM Webclient UI. So It does work!!.
    Thank you for your help. I really appreciate it.
    Best regards,
    Mikyoug Kim.

  • Problem In offline Interactive Form

    Hi All,
    I have created a offline Interactive form application based on download functionality, using Adobe form in  NWDS  WDJ . So In my application I have created one download view & In the implementation part, I have written the code in wdInit() method as,
    public void wdDoInit()
        //@@begin wdDoInit()
        IWDAttributeInfo attInfo = wdContext.currentContextElement().node().getNodeInfo().getAttribute("pdfsource");
        ISimpleTypeModifiable type = attInfo.getModifiableSimpleType();
        IModifiableSimpleValueSet binaryType = type.getSVServices().getModifiableSimpleValueSet();
         binaryType.put("FileName","TravelRequest.pdf");
         binaryType.put("MimeType","WDWebResourceType.PDF");
         String Filename =  "C:
    Shital
    offlineInteractiveForm
    src
    mimes
    Components
    com.sap.offlineinteractiveform.shital.UploadDownloadformComp
    TravelRequest.pdf";
    //@@end
    When I am trying to deploy & run my application ,It's giving me the Exception as,
    java.io.FileNotFoundException: C:\Shital\offlineInteractiveForm\src\mimes\Components\com.sap.offlineinteractiveform.shital.UploadDownloadformComp\TravelRequest.pdf (The system cannot find the path specified)
    Help me to  solve this problem..?
    Thanks & Regards,
    Shital.

    Hi Shital,
    try to change the filename location mentioned below, replace the code below
    String Filename = "temp\\webdynpro\\web\\local\\offlineInteractiveForm\\Components\\com.sap.offlineinteractiveform.shital.UploadDownloadformComp\\TravelRequest.pdf";

  • Create Business Transaction Screen Customization

    Hi Everyone
    Is there some customization to change the options listed In the Create Business Transaction Popup i get when i Press Create in "Search for Business Transaction" Screen
    TIA

    Hi Asad,
    if you want to remove transaction types you need to set those to inactive in SPRO under Transactions -> basic functions --> define transaction types
    martin

  • Business transaction type parking permit is blocked for further business transactions

    I have a testing for web request demo-parking permit. When I finished the web table and sent it. System show "business transaction type parking permit is blocked for further business transactions". Could you help check it?

    Hi  Hamendra:
          Thanks for your hint. I have created the web request successful. Next , I have new issue. If I create a web request that be approved. How to send the web request message to inbox which is belong to approver by configuration? Thanks.

  • Offline interactive forms based on sending receiving emails in ABAP

    hello friends i am struck with a requirement of my client.
    I am new to Forms and WEBDYNPRO and I have to cover a scenario where I have to develop,'offline interactive forms based on sending receiving emails '..
    i browsed a bit and with all the luck found a very good resource.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cacb9a7d-0c01-0010-1281-be4962c9ab3e
    but the problem is it is in JAVA.. I dont know JAVA..I know ABAP..
    can any one give me similar tutorial in ABAP or any other related links ..
    waiting to give Big Reward Points...

    Hi,
    Go thru this [Article|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9051b07e-0c01-0010-87bc-e3d527153a31].
    Regards,
    Padmam.

Maybe you are looking for

  • How to run a unix command in java

    Hi all, I need to run a unix command in my standalone java application.my java program is in windows.Is it possible to run unix command on windows system.help me out. I tried this Process p = Runtime.getRuntime().exec("ps -ef");             BufferedR

  • Macbook and Netgear Router

    I am sure lots of you are having similar difficulties with the Macbook and Routers. As soon as I brought my new Macbook home I knocked the whole wireless network out of being usable. The only way to fix it was to close up my Macbook or turn off Airpo

  • Complex SQL query return type

    I am trying to take a complex query that I was running inside of C# code and turn it into a stored proc so that it performs much better. I was doing quite a bit of looping in C# code because I am most familiar with that but I know it ain't the best w

  • Change of Relationship IN MSS

    Hi All, Most of the times client is asking that they have managers for whom they can not maintaine the relation ship A012 i.e. head of org unit. But they can maintain some other relation ship like A002. I am not sure about the full customization of t

  • Flash 6 and flash 8 swf on same site

    bob ayers tax website initially, i load a FLASH 6 swf to tell visitors to upgrade to FLASH 8 ... when they click to enter website, i unload the FLASH 6 movie from level 0 and load the FLASH 8 swf to level 0 ... problem is that (what i suspect to be)