ABAP Script value incorrectly reflected in ADOBE form interface.

Hi ,
I have an issue. In ABAP Script, the unit of measure value for VBDPL-VRKME is 'STK'. But it is printed as 'EA' in ADOBE form.
Would you please suggest me an idea to fix this issue as I am new to SAP not much aware of fixing issues other than debugging.
Best Regards

Go to SE11 for table  VBDPL.  Find field VRKME and double-click the data element.  Then double-click the domain...MEINS.  You'll note that MEINS has the CONVERSION routine populated.   After you do a read on the database, call the conversion routine Function module (double-click the conversion field to get the name) to convert the database value to the display value.  This is what SAP programs do when there is a conversion routine...  In this case, you'll probably find that the EA is correct because 'EA' is likely the user-display value for database value STK.
Edited by: BreakPoint on Oct 1, 2010 9:25 PM

Similar Messages

  • Text Field value display twice in Adobe Form.

    Hi Experts,
    I want to display a text field value twice in a ADOBE FORM but it only display at first occurance of the text field.
    Please suggest me possible solution.
    Regards,
    Abdul

    Why don't you have two different text fields in the interface and bind them separately at the two different places in the form. In the driver program you can control the value being passed to be same for both the fields.
    Regards
    Ranganath

  • Value Help in Interactive Adobe Form in Web Dynpro

    I have to provide a value help for certain Fields in Interactive Adobe Form using Web Dynpro ABAP. I have managed to get the Value Help Popup for the fields using Java Script in Adobe, but the problem is that whenever I select the Value from the Value Help, the selected value in not getting populated in the field....
       Please let me know the solution in case any one of you come across such kind of requirement.

    Priyanka:
    Can you let me know the steps on how to provide value help in interactive forms?
    Thanks
    Vijai

  • Urgent !!! - Java script help for events in adobe form

    Hi ,
    We have requirement  where we have 5 buttons on interactive form which will retrive data from R/3 system .
    1) How can i distingish the event of each button  ?
    For Ex : We have 5 buttons namely , GetPlantcode , GetStatus, SubmittpSAP etc..
    We hav only 2 events on adobe form - Submit to SAP and SAPCheckFields.
    Please let me know some alternative by which i can sent some variable to webDynpro which distinguishes them.
    2) How to set a value for the context variable on button click event ?
    Ex : I have a context node ( data node ) bind to adobe interactive adobe component on a webDynpro application. If i want to set Selectindicator ( value attribute in data Node ) a value on a button click , Please let me know the java script how i can do this.
    Happy New Year for all
    Nanda

    Hi ,
    We found one work around for this. It seems to solve our issue for now.
    Set a text field on adobe and try to set it with some value in each button click. We can get retrived that value in webdypro application through context bind value node to text field.
    Using the value in the value node we have applied different logic in same event submit to SAP.
    Nanda

  • PHOTO IS NOT GETTING REFLECTED IN ADOBE FORM

    Hi experts
    We have tried the below code to dispaly photo in webdynpro integrated with adobe forms
    CALL FUNCTION 'HR_IMAGE_EXISTS'
        EXPORTING
          p_pernr                     = v_obj_id
    *     P_TCLAS                     = 'A'
    *     P_BEGDA                     = '18000101'
    *     P_ENDDA                     = '99991231'
        IMPORTING
    *     P_EXISTS                    =
          p_connect_info              = l_connect_info
        EXCEPTIONS
          error_connectiontable       = 1
          OTHERS                      = 2.
      CHECK sy-subrc = 0.
      CALL FUNCTION 'SCMS_DOC_READ'
        EXPORTING
    *     MANDT                       = SY-MANDT
          stor_cat                    = space
          crep_id                     = l_connect_info-archiv_id
          doc_id                      = l_connect_info-arc_doc_id
    *     PHIO_ID                     =
    *     SIGNATURE                   = 'X'
    *     SECURITY                    = ' '
    *     NO_CACHE                    = ' '
    *     RAW_MODE                    = ' '
    *   IMPORTING
    *     FROM_CACHE                  =
    *     CREA_TIME                   =
    *     CREA_DATE                   =
    *     CHNG_TIME                   =
    *     CHNG_DATE                   =
    *     STATUS                      =
    *     DOC_PROT                    =
        TABLES
          access_info                 = lt_infos
    *     CONTENT_TXT                 =
          content_bin                 = lt_image_bin
        EXCEPTIONS
          bad_storage_type            = 1
          bad_request                 = 2
          unauthorized                = 3
          comp_not_found              = 4
          not_found                   = 5
          forbidden                   = 6
          conflict                    = 7
          internal_server_error       = 8
          error_http                  = 9
          error_signature             = 10
          error_config                = 11
          error_format                = 12
          error_parameter             = 13
          error                       = 14
          OTHERS                      = 15.
      CHECK sy-subrc = 0.
      READ TABLE lt_infos INDEX 1 ASSIGNING <fs_info>.
      CHECK sy-subrc = 0.
      CALL FUNCTION 'SCMS_BINARY_TO_XSTRING'
        EXPORTING
          input_length = <fs_info>-comp_size
          first_line   = <fs_info>-first_line
          last_line    = <fs_info>-last_line
        IMPORTING
          buffer       = l_employee_photo_content
        TABLES
          binary_tab   = lt_image_bin
        EXCEPTIONS
          failed       = 1
          OTHERS       = 2.
    but the photo is not getting reflected in the adobe forms .
    and also i have tried the url method but it doesnt work .
    please help me out .

    First, have you set a breakpoint in this code and made sure that you are getting data into lt_image_bin?  That would seem to be the first place to start.
    Then the question is how are you trying to pass the image into the Adobe Form?  Are you passing an XSTRING context attribute into the form interface?  Have you marked that part of the interface as an image?  Are you setting the MIME Type parameter of the form interface as well.  You really haven't posted any details about what you are doing on the Adobe Form side.

  • Can we store values @run time in Adobe Forms when there are multiple views

    Hi,
    I am new to Web dynpro Java - Adobe Forms. I working on a solution for the following scenario.
    I have 3 Views (each an adobe Form) in a web dynpro component.
    I have to capture the user entered values in View1 and View2 (PDFs) and display them in VIew 3 (another PDF)
    I am able to capture the values in the recent view. (view2) but the values from the view1(Context elements ) are cleared.
    Can I hold or store the values from the first view like we do in java using session variables??
    Also, if there is any other way out, please let me know.
    Version:
    NWDS 7.0.1
    SAP Netweaver SP12
    Adobe Designer - 7.0.1
    Thanks in Advance.
    Vasu

    I got the solution

  • Values not capture during adobe form display on pa30.

    Hi Experts,
    I have attached Adobe Form into Transaction PA30 in which form values are not capturing during form display,
    But its displaying at the time of form generation on ZHINUREQ_CORRS_LETTER program.
    Kindly give suggestion.
    Regards,
    Abdul

    Hi Saujanya,
    This could by caused by the network, the used browser or additional browser plugins. Try to do the following:
    1. Test with an alternative browser (if you are on a SP which supports different browsers than IE, see PAM, http://service.sap.com/pam): If it works with Firefox, then you know the problem is caused by IE and not by the OS, network, ...
    2. Deactivate/uninstall all additional browser plugins/add-ons (like google toolbar, Yahoo toolbar, ...)
    3. Create a client trace as explained in SAP note 999998. Maybe there's a hint in the trace. Watch for something like "ERROR".
    4. Install a HTTP sniffer (like "fiddler") on both machines and compare the network traffic. Maybe there's a request with a 4xx HTTP status code?
    5. How is the machine connected to your network? Is it behind an additional webproxy?
    Hope one of this helps,
    Ralf

  • ABAP WD application using Select Options  & Adobe form :Don't see form data

    Hi,
    I am trying to get multiple PDF forms by passing multiple order numbers.I was able to get one PDF form successfully and now I am enhancing this application.
    For doing this I have created nested WD Context .
    1) Created a Node for Selections. ND_SELECT  ,
    Cardinality: 1..n ,
    Selection: 1..n ,
    Intialization lead Selection : Checked ,
    Singleton : Checked
    2) Created a Node for Output Structures ADOBE_DATA
    Properties same as above
    3) As we need Nesting Under ADOBE_DATA node I have created a subnode for Header: HEADER
    Properties same as above
    4) Under HEADER node I have created a items Node : ITEM
    Properties same as above
    As I have used Select-options and I am getting both header and Item data in to button search method .
    DATA lo_nd_adobe_data TYPE REF TO if_wd_context_node.
      DATA lo_nd_header TYPE REF TO if_wd_context_node.
      DATA lo_el_header TYPE REF TO if_wd_context_element.
      DATA ls_header TYPE wd_this->element_header.
    * navigate from <CONTEXT> to <ADOBE_DATA> via lead selection
      lo_nd_adobe_data = wd_context->get_child_node( name = wd_this->wdctx_adobe_data ).
    * navigate from <ADOBE_DATA> to <HEADER> via lead selection
      lo_nd_header = lo_nd_adobe_data->get_child_node( name = wd_this->wdctx_header ).
      lo_nd_header->bind_table( new_items = it_header  set_initial_elements = abap_true ).
      DATA lo_nd_item TYPE REF TO if_wd_context_node.
      DATA lo_el_item TYPE REF TO if_wd_context_element.
      DATA ls_item TYPE wd_this->element_item.
    * navigate from <CONTEXT> to <ADOBE_DATA> via lead selection
      lo_nd_adobe_data = wd_context->get_child_node( name = wd_this->wdctx_adobe_data ).
    * navigate from <ADOBE_DATA> to <HEADER> via lead selection
      lo_nd_header = lo_nd_adobe_data->get_child_node( name = wd_this->wdctx_header ).
    * navigate from <HEADER> to <ITEM> via lead selection
      lo_nd_item = lo_nd_header->get_child_node( name = wd_this->wdctx_item ).
    lo_nd_item->bind_table( new_items = it_item  set_initial_elements = abap_true ).
    Could you please tell me where I am doing wrong?
    In adobe form
    Created one MainForm  and its properties are
    Binding : $record.HEADER.DATA[*]
    Repeat subform for each data item Checked , Min Count: 1
    Subform Content : Flowed ,Western Text , Allow page breaks withing Content Checked
    Accessibility /Subform Role: None
    Inside this Mainform I have created a small table ITEMTABLE  with 3 fields and mapped it item data.
    Itemtable properties
    Binding : ITEM
    Uncheck Repeat table for Each Data item.
    I have Itemtablerow inside Itemtable  and its properties are:
    Binding : DATA[*]
    Repeat row for each data item Checked ,Min count: 1
    Accesibility:/Subform Role: Body row
    Row: body row, Check Allow page breaks within content
    Still donu2019t see data on form.here is what i have in Hierarchy tab.
    ADOBE_DATA (no Caption)
    - (Master pages)(no caption)
             Page1
                      Untitled Content Area(no caption)
    - Mainform(no Caption)
                       PSPID {PSPID}
              -ItemTable (No caption)
                      - ItemtableRow (no Caption)
                                   PSPID(no Caption)
                                    CJTDAT(no Caption)
                                    CPERCO(no Caption)
    What could be going wrong ?
    Rgds
    Vara

    Hi John,
    In the WD4A view, there is a button "Show/Hide Layout Preview".
    Click on that button to be able to see the Layout.
    Note that this button is next to the Pretty Print button.
    regards,
    Reema.

  • Re: Adobe forms - interface type

    Hi...
        When Iam creating the interface ... it is asking  Description and
                                               interface type as         ABAPDictionary- Based interface
                                                                                XML Scheme- Based Interface
                                                                             Smartforms-Compatible interface...    Have to select one option.. In some Examples I didnt see this interface type Option... what is the use  of this interface type...
    Thanks & Regards,
    Abaper..

    hello again,
    i tried to list all the things u need to know to create your interface:
    1.      Open the required interface in the Repository Browser of the ABAP Workbench.
    2.      The Interface tab is displayed. Under Form Interface, double-click the Import node
    3.      You see a screen for entering import parameters. This screen also shows the standard parameter /1BCDWB/DOCPARAMS. You cannot change this parameter.
    You use this parameter in your application program, to specify the value for the language setting, for example. To display this structure in the ABAP Dictionary, double-click the SFPDOCPARAMS type.
    4.      XML schema-based interface
    ○     The standard parameter /1BCDWB/DOCXML with the type XSTRING is used for sending data from the application program.
    ABAP-based or Smart-Forms-compatible interface
    ○     To insert a new line, choose Insert Line (This graphic is explained in the accompanying text). Enter the parameter names of the data you want to import. These names are valid for the whole form and do not have to match the variable names in the data collection program. All data types are valid. TYPE can be selected under Type Assignment.
    5.      When you double-click Export, you see the standard parameter /1BCDWB/FORMOUTPUT of the generated function module. You cannot change this parameter.
    Note: You use this parameter in your application program, to make the generated form available as a PDF for further processing, for example.
    6.      To display the exceptions used by the generated function module, double-click Exceptions.
    7.      Activate the interface.
    Note: At runtime, the application program must provide the parameters. If a parameter has been defined in the form, but is not defined when the application program is called, then the output of the form ends with the program crashing (hex dump).
    However, it is also possible that the application program provides parameters that the form does not need. You do not need to mention these parameters in the form; they can also be specified in a different order from the code of the application program. This has the advantage that an application program can work with several different forms.
    Hope this helps
    Cheers

  • Regarding Adobe form - Interface

    Hi all,
    I need to copy one standard adobe form into Zform.and also i used to copy the standard Interface into my Zinterface.but in standard interface most of the parameters refers to type groups and structures, so how can i fetch the data from type groups and structures.
    Please help me///
    Thanks in advance.
    <MOVED BY MODERATOR TO THE CORRECT FORUM>
    Edited by: Alvaro Tejada Galindo on Jul 21, 2008 1:43 PM

    Hi
    Go to ****************
    click on tutorials
    select Adobe forms
    creting interactive forms by adobe
    With Regards
    Nikunj Shah

  • Fill DDL based on other field values in offline interactive adobe form

    Hi,
    I have a requirement where in i need to fill the values for a dropdown list  based on 3 other field values in offline adobe interactive forms which uses web service to interact with SAP.
    Note: I read many blogs and posts in SDN , but couldn get much info ab the same, so posting a new thread.
    Thank you.
    Regards,
    Soumya

    Hi Soumya,
    It is possible but a little bit tough and will make your form heavier.
    The solution is advisable only when there is not very much data required for the drop down(May be not more than 500 values as it will create performance issue).
    You can create a hidden table on the form contaning data for all the combinations. Depending on the selection of another 3 fields you can write the code to select only those values from this hidden table which are applicable to that selection. These values you can add to the drop down list removing the previous values.
    Only you have to do is on calculate or vlaidate event of target DDL you have to write your code.
    Pseudocode:
    1. Clear your DDL using deleteItem() method.
    2. Loop at your hidden table.
    3. Inside the loop check for applicable entries depending on selection in other 3 fields.
    4. Select the appropriate vlaues
    5. Add using additem method().
    Refer formCalc or JavaScript help for the appropriate code.
    Hope this will be helpfull.
    Regards,
    Vaibhav

  • Do i need ABAP stack on EP, to run Adobe form in Webdynpro ABAP

    Hi All,
    We have an EP running on Java stack, and are going to configure ADS for development of Intercative forms in webdynpro ABAP, on our ABAP stack wihich is seperate R/3 system.
    Do we need to have ABAP stack also on Portal, for the development and execution of Interactive forms on Portal?
    Please clarify my doubt. Its very important
    Thanks in advance

    Hi,
    installation isn't my hobby and I can't tell you about possibilities of upgrading.
    For WebDynpro ABAP your abap stack must be NW 2004s. Your java stack with ADS must also be NW 2004s because communication between ADS on NW 04 and abap stack on NW 2004s doesn't work - thread "Run JAVA netweaver2004s and ADS 7.0 together with ECC 5.0 "
    But here is certainly someone who can describe it more precisely.
    Michal

  • Calling adobe form from webdynpro abap view

    Hi,
    I need some help. The situation is: I have created a Adobe form interface as well as a form using the SFP transaction. Now, I have a webdynpro screen with a button, which upon pressed must give the output of the PDF form.
    I tried the following steps:
    1. Call function 'FP_FUNCTION_MODULE_NAME'
    2. Call 'FP_JOB_OPEN'
    3. Call the generated function module name
    4. Call FP_JOB_CLOSE.
    The procedure works fine when I use the same code in a report program. It opens a dialog box where there is a option for Print preview and it displays the PDF.
    But when I try to replicate the same, it does not work in Webdynpro for ABAP. Any suggestions as to how to go about this problem?
    regards,
    Praveen Kumar

    Hi Praveen
    there is documentation on the Web Dynpro for ABAP integration of Interactive Forms in the SAP Help Portal at http://help.sap.com/saphelp_nw2004s/helpdata/en/aa/940ee5331b4b8fa0a6cb6714dc5db4/frameset.htm which should answer most of your questions.
    You specify the form to be used during the design of your Web Dynpro application (you are prompted to determine it when you insert the UI element).
    You can save the form from the Reader toolbar, the question would be why would you want to do this and not use a proper download screen.
    A proper tutorial is planned to be available in June. Until then, check the ABAP page in SDN for some e-learning / webinar recording), or directly here: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/c766e918-0b01-0010-99b1-c2b78cd059b3
    Cheers,
    Markus

  • Search Help in online adobe form WDABAP

    Hi,
    How to get F4 help in online adobe form? If the values are maintined in the domain then in the form Im able to see all the values by using Enumarated drop down. But if for the particular filed any Value Table is assigned , then how to get those values in F4 of Adobe form? It can be done by binding to UI elemtn or Do I need to do any coding for getting this?
    Actually I have gone through few links in SDN but Im not clear. Im not working on ISR. It is a normal BAPI and adobe form is designed based on that BAPI and form is ZCL type.
    Appreciate your help
    Regards,
    Ravi

    Hi,
    please see the link below
    link: F4 Value Help on Adobe Interactive Form with Web Dynpro ABAP
    link:F4 help in Interactive forms with Webdynpro abap
    link:F4 Value help on adobe form doesn't work
    link:Search Help from SAP values using WebDynpro ABAP in ADOBE Interactive Form
    regards
    Pranav

  • Adobe Form output cropped when sent directly from SAP to printer

    I have created an Adobe Form (not interactive) that looks perfectly OK when previewed in Adobe Acrobat viewer but when printed blank margins of 4-5 millimeters are applied on all 4 paper edges. The form was designed with a coloured frame around it but the margins effectively remove most of the frame. The form content is being cropped instead of being compressed inside the margins.
    The form has been created with LiveCycle Designer via SAP transaction SFP. I am generating the form from an ABAP program
    When the form is printed from the Adobe Acrobat viewer I have the option to set Page Scaling to 'Fit to Printable Area'. This makes the form content being compressed inside the blank margins and the coloured frame remains intact. If I leave the Page Scaling setting as 'None' the output is being cropped as described above.
    The real problem occurs when I want to print without previewing first. I need to do that since previewing enables the user to skip printing and the application must know if the form has been printed or not. I have so far found no way to make the printer print on the paper edges or fit the content to printable area. Is there some setting in the output parameters than handles this?
    Also there is a need for duplex printing when sending form directly to printer. On help.sap.com there is information about duplex print for SAPscript and Smartforms but nothing for Adobe Forms.
    Here is an excerpt of the ABAP code used for printing the Adobe Form:
      DATA: zs_outparams TYPE sfpoutputparams,
                 z_fmname     TYPE rs38l_fnam.
    Set some print parameters
      zs_outparams-nodialog = abap_true.        "No user dialog
      zs_outparams-device   = 'PRINTER'.          "Output device
      zs_outparams-dest     = z_pdest.              "Printer name
      zs_outparams-reqnew   = abap_true.        "New spool request
      zs_outparams-reqimm   = abap_true.        "Print immediately
    Open print job
      CALL FUNCTION 'FP_JOB_OPEN'
        CHANGING
          ie_outputparams = zs_outparams
        EXCEPTIONS
          cancel          = 1
          usage_error     = 2
          system_error    = 3
          internal_error  = 4
          OTHERS          = 5.
      IF sy-subrc <> 0.
        RAISE print_error.
      ENDIF.
    Get FM name for form
      CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
        EXPORTING
          i_name     = 'Z_TEST_FORM'
        IMPORTING
          e_funcname = z_fmname.
    Call FM to print form
      CALL FUNCTION z_fmname
        EXPORTING
          i_header       = t_data_for_form
        EXCEPTIONS
          usage_error    = 1
          system_error   = 2
          internal_error = 3
          OTHERS         = 4.
      IF sy-subrc <> 0.
        RAISE print_error.
      ENDIF.
    Close print job
      CALL FUNCTION 'FP_JOB_CLOSE'
        EXCEPTIONS
          usage_error    = 1
          system_error   = 2
          internal_error = 3
          OTHERS         = 4.
      IF sy-subrc <> 0.
        "Ignore
      ENDIF.
    Please advise on how to
    -  avoid the content cropping
    -  enable duplex print
    when sending Adobe forms directly to the printer
    Thanks very much!
    Bernt Evensen

    Thanks for your answer, Ramachandra!
    However I need some more specific information to solve this.
    Which printer layout settings are relevant for the handling of margins and duplex printing for Adobe Forms?
    I have not set up the printer myself but when talking to the printer guy which settings should I recommend him to look at?
    I can see in transaction SPAD that there are settings specific to SmartForms but there is nothing said about Adobe Forms. Is there some way to make Adobe Forms related setting appear in SPAD for a device type?
    Maybe my problem is not related to the printer device settings but rather to the way the printer is being called. When printing duplex we will have to override the default settings of the printer anyway.
    Function module FP_JOB_OPEN has a parameter structure of the type SFPOUTPUTPARAMS. Which fields in this parameter structure are to be manipulated to get duplex print and output fitted to page size?

Maybe you are looking for

  • How to get system time from cRIO?

    Hello, I have an NI cRIO-9076 chassis with an NI-9467 GPS module and an NI-9234 module. I've downloaded the FPGA Timekeeper application which synchronises the FPGA clock to the 1PPS GPS, this works well.  What I want to do is create a trigger that at

  • Password Protect an iWeb Web Site

    Hello, Is there a way to password protect an iWeb website? I am not using mobile me, I use 1&1. I need to password protect a page on my website. Can anyone help?

  • JSlider as Cell Renderer

    How to add JSlider as table cell renderer? I wrote a custom cell renderer and returning JSlider, but it is not showing up.

  • ICal User Cant login - No Principal Found

    have an ical user on 10.6 new macbook, connecting to Leopard Server 10.5.1 Everything was fine when the user was on 10.5 but now on 10.6 he cant log in. I can create that account on any of our 10.5 boxes but same error on all of our 10.6 boxes. we ge

  • Duplicate files created when saving in Excel

    The application creates two copies of the file to the disk the only difference is the second identical file has and additional set f characters added to the file name presenting a doubling of the space used on the disk Any body got an explanation we