Adobe Form dumps in Web Dynpro ABAP Application but opens up by Report

Hello Experts,
I created a form and tested it by creating a report which contains following code,
   call function 'FP_FUNCTION_MODULE_NAME'
        exporting
          i_name     = lv_form_name "my form name
        importing
          e_funcname = iv_function_name.
*retrieve data in lt_items
  call function iv_function_name
    exporting
      /1bcdwb/docparams  = fp_docparams
      it_item            = lt_items
      is_header          = is_header
      control_parameter  = ls_control_parameters
    importing
      /1bcdwb/formoutput = fp_formoutput
    exceptions
      usage_error        = 1
      system_error       = 2
      internal_error     = 3.
However when I try to do it on click of a button in my Web Dynpro Application, it dumps (the action has very much the similar code).
The error is: USAGE_ERROR
SY-TITLE HTTP Control
SY-MSGTY E
SY-MSGID FPRUNX
SY-MSGNO 111
Thanks in advance for your help.
Best regards,
Abir

Hi Otto,
I try to paste the ST22 log below.
Short text
    Exception condition "USAGE_ERROR" raised.
Error analysis
    A RAISE statement in the program "SAPLFPCALL" raised the exception
    condition "USAGE_ERROR".
    Since the exception was not intercepted by a superior
    program, processing was terminated.
    Short description of exception condition:
    For detailed documentation of the exception condition, use
    Transaction SE37 (Function Library). You can take the called
    function module from the display of active calls.
Source Code Extract
Line  SourceCde
   16 *   Return of PDF is always possible.
   17     IF ie_outputparams-device IS NOT INITIAL AND
   18        ie_outputparams-device <> 'PRINTER'.
   19 *     Devices TELEFAX and MAIL are not allowed in many cases.
   20       IF ie_outputparams-nodialog = c_false
   21         OR ie_outputparams-preview = c_false
   22         OR ie_outputparams-noprint = c_false
   23         OR ( ( ie_outputparams-arcmode = '2' OR ie_outputparams-arcmode = '3' )
   24              AND ie_outputparams-noarchive = c_false ).
   25 *       Dialog or no preview; preview only if no output or archiving requested.
   26         MESSAGE ID 'FPRUNX' TYPE 'E' NUMBER '110'
   27             WITH ie_outputparams-device RAISING usage_error.
   28       ENDIF.
   29     ENDIF.
   30   ENDIF.
   31
   32 * Call the internal interface.
   33   move-corresponding ie_outputparams to l_params.
   34
   35   call function 'FPCOMP_JOB_OPEN'
   36     changing
   37       ie_outpar            = l_params
   38     exceptions
   39       cancel               = 1
   40       usage_error          = 2
   41       system_error         = 3
   42       internal_error       = 4.
   43   case sy-subrc.
   44     when 0.
   45     when 1. raise cancel.
>>>>>     when 2. raise usage_error.
   47     when 3. raise system_error.
   48     when 4. raise internal_error.
   49   endcase.
   50
   51   move-corresponding l_params to ie_outputparams.
   52
   53 endfunction.
Contents of system fields
Name     Val.
SY-SUBRC 2
SY-INDEX 7
SY-TABIX 0
SY-DBCNT 0
SY-FDPOS 70
SY-LSIND 0
SY-PAGNO 0
SY-LINNO 1
SY-COLNO 1
SY-PFKEY
SY-UCOMM
SY-TITLE HTTP Control
SY-MSGTY E
SY-MSGID FPRUNX
SY-MSGNO 111
SY-MSGV1
SY-MSGV2
SY-MSGV3
SY-MSGV4
SY-MODNO 0
SY-DATUM 20101110
SY-UZEIT 091449
SY-XPROG SSO2GETPARAM
SY-XFORM GET_PARAMETER
Chosen variables
Name
    Val.
No.      20 Ty.          FUNCTION
Name  FP_JOB_OPEN
IE_OUTPUTPARAMS
    PRINTER XX                                   00#䄀###   #䄀###      X   ##00000000000000   00>
    0000000000000000000000000000000000000000000000004000000040000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000001000000010000000000000000000000000000000000000
    5544545255222222222222222222222222222222222223300000222000002222225222003333333333333322233344
    029E4520880000000000000000000000000000000000000000000000000000000080000000000000000000000000C9
    005000520049004E005400450052002000580058002000200020002000200020002000200020002000200020002000
SYST-REPID
    SAPLFPCALL
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    5454454444222222222222222222222222222222
    310C6031CC000000000000000000000000000000
    005300410050004C0046005000430041004C004C002000200020002000200020002000200020002000200020002000
%_SPACE
    0
    0
    2
    0
    0020
SY-SUBRC
    2
    0000
    0002
    00000002
SY-REPID
    SAPLFPCALL
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    5454454444222222222222222222222222222222
    310C6031CC000000000000000000000000000000
    005300410050004C0046005000430041004C004C002000200020002000200020002000200020002000200020002000
%_DUMMY$$
    0000
    0000
    2222
    0000
    0020002000200020
SY-MSGV3
    00000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000
    22222222222222222222222222222222222222222222222222
    00000000000000000000000000000000000000000000000000
    0020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000
SY-MSGNO
    111
    000
    000
    333
    111
    003100310031
%_VIASELSCR
    0
    4
    04
SY-MSGV4
    00000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000
    22222222222222222222222222222222222222222222222222
    00000000000000000000000000000000000000000000000000
    0020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000
SPACE
    0
    0
    2
    0
    0020
Application Calls
Index Calls
    1 R=7 P=/sap/bc/webdynpro/sap/INM_WORKCENTER_APP/
Internal notes
    The termination was triggered in function "ab_jfune"
    of the SAP kernel, in line 3058 of the module
     "//bas/720_REL/src/krn/runt/abfunc.c#3".
    The internal operation just processed is "FUNE".
    Internal mode was started at 20101110091356.
Lock Shared Objects
ModeLockRe Area Name
Instance Name                                                                    Clt Lock Type
VersionId  Label                Include                                  Line       Time Stamp
         1 CL_WDR_CONF_APPL_SHM
INM_WORKCENTER_APP.                                                              102 R
       178                 5690 CL_WDR_CONF_APPL_SHBROKER=====CM001               9 20101110091356
         2 CLUR_NW7_MESSAGE_AREA
E                                                                                R
        10                   10 CLUR_NW7_MESSAGES=============CM003              11 20101110091356
         3 CL_WDR_CFG_COMP_SHM
INM_WORKCENTER_COMP.AD4B75FF707A473CD26008949EBB0A69.07..E                       102 R
        11                   12 CL_WDR_CFG_COMP_SHBROKER======CM006              29 20101110091359
Directory of Application Tables
Name                                     Date       Time       Lngth
    Val.
Program  SAPMHTTP
SYST                                       .  .       :  :     00004612
    \0\x0007\0\0\0\0\0\x0001\0\0\0\0\0\x0001\0\0\0\0\0\0\0\0\0
SY                                         .  .       :  :     00004612
    \0\x0007\0\0\0\0\0\x0001\0\0\0\0\0\x0001\0\0\0\0\0\0\0\0\0
Program  SAPLHTTP_RUNTIME
ICFBUFFER                                  .  .       :  :     00005624
ICFSERVICE                                 .  .       :  :     00004040
    SAP            0000000000000000000000000DFFAEATGKMFLCDXQ04
Program  CL_HTTP_SERVER================CP
RSJOBINFO                                  .  .       :  :     00000164
                                    00000000000000
Program  SAPLLANG
T002                                       .  .       :  :     00000010
    ES1EN|
Program  SAPLSSFG
SSFARGS                                    .  .       :  :     00001734
Program  CL_WDR_CLIENT_ABSTRACT_HTTP===CP
INDX                                       .  .       :  :     00003104
    102BMWD_SP_LEVEL           \0\0\0  00000000
Program  CONTEXT_X_TR_SYS_PARAMS
CONTEXTB                                   .  .       :  :     00002992
    102EBTR_SYS_PARAMS       000007000100000000000000\0\0\0\0
TCONT                                      .  .       :  :     00000068
    TR_SYS_PARAMS       20100623230418|
Program  CL_WDR_TRACE_TOOL=============CP
INDX                                       .  .       :  :     00003104
    102BMSWD_TRACETOOL_ACTIVEAR\0\0\0  00000000
Program  SAPLSKWF_NAMESPACE
SKWF_URLIO                                 .  .       :  :     00000384
    102BBMIME/sap/public/bc/ur/nw5/themes/custom
Program  SAPLSDCL
SDOKIOCL                                   .  .       :  :     00000600
SDOKIOCLT                                  .  .       :  :     00000150
SDOKLOCL                                   .  .       :  :     00000754
                          00000000000000            0000000000
SDOKLOTAB                                  .  .       :  :     00000362
SDOKPHTAB                                  .  .       :  :     00000662
Program  SAPLISOC
T002                                       .  .       :  :     00000010
    ES1EN|
Program  CL_CALENDAR_DEFINITION_CALLER=CP
INDX                                       .  .       :  :     00003104
    102ARCAL_DEF               \0\0\0  00000000
Program  CL_WDR_LS_JS_TIMESTAMP========CP
INDX                                       .  .       :  :     00003104
    102BMCL_WDR_LS_JS_TIME...  \0\0\0  00000000
Program  CL_WDR_WINDOW=================CP
RSJOBINFO                                  .  .       :  :     00000164
                                    00000000000000
Program  CL_WDR_DELEGATING_VIEW========CP
RSJOBINFO                                  .  .       :  :     00000164
                                    00000000000000
Program  CL_CGPL_USER_OPTIONS==========CP
CGPLT_OPT_INDX                             .  .       :  :     00003040
    102OP*           RPM                                \0\0 0
Program  SAPLBDLS
T000                                       .  .       :  :     00000214
    102GCC:GTv1-5.IK.PLN Dev CltGDC                      CHF
Program  SAPLSDEX
DD07L                                      .  .       :  :     00000120
    /GLB/7PTIR_GLB_PROJSTATUS     A00020000R
Program  SAPLSSCU
USR02                                      .  .       :  :     00000942
    102ARAYCHA     \0\0\0\02010032499991231AGCCSC_EU    \0
Program  SAPLPRGN
AGR_DEFINE                                 .  .       :  :     00000266
    102TM15_GLB_XX_ZR4026A_PLN01
Program  SAPLSDOC
DOKHL                                      .  .       :  :     00000306
    TXLG1B0000062000009
DOKTL                                      .  .       :  :     00000296
Program  SAPLSI63
IWBSETTING                                 .  .       :  :     00000260
Program  SAPLSR11
TADIR                                      .  .       :  :     00000464
Program  SAPLSUGU
CVERS                                      .  .       :  :     00000102
    SAP_BW                        702       0004      W|
Program  SAPLSUG2
SVERS                                      .  .       :  :     00000144
    702
Program  CONTEXT_X_IWB_CLASS_PROPS
CONTEXTB                                   .  .       :  :     00002992
    102IBIWB_CLASS_PROPS     000007000300000000000000\0\0\0\0
TCONT                                      .  .       :  :     00000068
    IWB_CLASS_PROPS     20010206162330|
Program  SAPLTIW1
IWTESTFCTS                                 .  .       :  :     00000052
                              |
Program  SAPLSDCS
SDOKDOCSP                                  .  .       :  :     00000148
Program  SAPLSDSD
DDSHOFFLD                                  .  .       :  :     00003020
    IF/RPM/TS_ITEM_D_DATA_CUST      YYGLB_SEVERITY
Program  /1BCWDY/EI2AA7ZECUCSFD0NKHM6==CP
RSJOBINFO                                  .  .       :  :     00000164
                                    00000000000000
Program  SAPLSUNI
TFDIR                                      .  .       :  :     00000268
Program  SAPLBDS_METHODS
BDS_LOCL                                   .  .       :  :     00000350
    DEVC_STXD_BITMAP              OTBDS_LOC3  BDS_POC3  BDS_RE
I really appreciate your help.
Many thanks and best regards,
Abir

Similar Messages

  • HTTP form post from Web Dynpro Java Application without opening new window

    Hi Experts,
    We are trying to submit form data to an external URL from Web Dynpro Java application. We are achieving this with the following piece of code.
      try
       strPrintContent="<html>"+
         "<head>"+
         "<script type=\"text/javascript\">"+   
         "function myfunc () "+
         "{"+
         "var frm = document.getElementById(\"paymentForm\");"+
         "frm.submit();"+
         "}"+
         "</script>"+
         "</head>"+
         "<body onLoad=myfunc()>"+
         "<form id=paymentForm  method=post action=\""+merchantURLPart+"\">"+
         "<INPUT type=hidden name=username value="+userName+">"+
         "<INPUT type=hidden name=pass value="+passWord+">"+
         "<INPUT type=hidden name=senderid value="+senderID+">"+    
         "<INPUT type=hidden name=dest_mobileno value="+mobile+">"+
         "<INPUT type=hidden name=message value='"+msg+"'>"+
         "<INPUT type=hidden name=response value="+response+">"+
         "</form>"+
         "</body>"+
         "</html>";    
      IWDWebResource webResource = WDWebResource.getWebResource(strPrintContent.getBytes(),WDWebResourceType.HTML);
      IWDWindow window = wdComponentAPI.getWindowManager().createNonModalExternalWindow(webResource.getAbsoluteURL(),"WBSEDCL");
      window.show();
      catch(Exception e)
      wdComponentAPI.getMessageManager().reportException("Error : "+e.toString(),false);
    But it opens another window. We dont need that. We have to stay on the same window.  Please suggest what can be done.

    Hi,
    You can create a HTML file with the request post parameters and the external URL something like this:
    public java.lang.String GetRedirecturl( )
    // External URL
    String html = "<html><head></head><body onload=\"load()\"> " +
    "<form id=\"form1\" action=\"https://www.abc.com/xyz.jsp\" method=\"POST\">" +
    // Post Parameters
    "<INPUT TYPE=\"HIDDEN\" NAME=\"Param1\"VALUE=\""+Param1Value+"\">"+
    "<input name=\"sap-wd-resumeurl\" type=\"hidden\"/>" +
    "</form> " +
    "" +
    "<script>" +
    "function load(){" +
    "var loc = window.location.search.substring(1);" +
    "var queryString = loc.split(\"sap-wd-resumeurl=\");" +
    "if(queryString.length > 0)" +
    "{" +
    "var resumeURL = queryString[1].split(\"&\");" +
    "if(resumeURL.length >= 0)" +
    "{" +
    " document.forms['form1'].elements['sap-wd-resumeurl'].value= unescape(resumeURL[0])" +
    "}" +
    "}" +
    "document.getElementById('form1').submit();" +
    "}" +
    "</script>" +
    "</body> </html>";
    String redirectUrl = "";
    byte[] byteArrayHtmlData = null;
    try {
      byteArrayHtmlData = html.getBytes("UTF-8");
    } catch (UnsupportedEncodingException e) {
      wdComponentAPI.getMessageManager().reportException("Internal error occurred. Please try after some time",true);
    IWDResource htmlResource = WDResourceFactory.createCachedResource(new ByteArrayInputStream(byteArrayHtmlData), "Redirect.html", WDWebResourceType.HTML, true);
    redirectUrl = htmlResource.getUrl(WDFileDownloadBehaviour.AUTO.ordinal());
    return redirectUrl;
    Hope this will be helpful.
    Regards,
    Anurag

  • Issue While printing / Previewing a Adobe form in Web Dynpro ABAP application

    Dear All,
    We have designed 4 different adobe forms using SFP transaction for 4 different countries in SAP system.
    Every country have different terms and conditions and therefore we have placed static texts (Hardcoded text) with text in different styles. Some text is in bold, some in different font (Bold, Italic). Font and Paragraph settings of the text was done as per expected. All the forms have same font and paragraph settings.
    When we Launch Web Dynpro ABAP application to open the form in Print preview or to take print, form is not getting displayed / printed as it is designed in SFP. But if you open the form in SFP, everything looks fine.
    It is working fine for 3 different forms but problem with only 1 form.
    Kindly guide what is the reason for this strange issue when previewed or taken print. It is very urgent.
    Thanks,
    Bharath.K

    Dear All,
    Thanks for your responses.
    We had identified the reason.
    Customer has provided terms and conditions for all 4 countries in PDF document. Along with PDF, for 3 out of 4 countries customer has shared pre-prepared word document with pre aligned and justified terms and conditions as per expected outcome. We copied this text from word to Adobe form layout. It worked fine. For 1 country, customer have not shared terms and conditions in word document. Therefore we had copied text directly from adobe PDF document in to Form layout. Then this issue happened.
    Solution for this issue is to, prepared a word document with expected alignment and justification of terms and conditions text . Then copied from word to adobe livecycle designer form layout. It worked fine.
    Thanks,
    Bharath.

  • How to decrease performane of a web dynpro abap application

    Hi Folks,
            I am new to web dynpro abap .pls tell me how to decrease performane of a web dynpro abap application but dont say by using icm tracking and wd_trace_tool.that are used to find out errors?

    >You mean to say we can use Runtime analysis and SQL trace in WDABAP?
    Yes, that is exactly what I mean.
    >I Thomas i need e learning tutorials created by you.I am new to WDABAP.if possible try to send URL of your e learning tutorials
    They are all available here on SCN in the Web Dynpro ABAP eLearning library:
    http://www.sdn.sap.com/irj/scn/webdynpro-elearning

  • Integration of Adobe Flex with SAP Web Dynpro ABAP

    I am new to adobe flex development. i am following a tutorial prepared by
    Mr. Karthikeyan Venkatesan (Infosys Technologies Limited) Integration of Adobe Flex with SAP Web Dynpro ABAP-for ABAPers
    He used flex 3 to develop the flex application. i am using flex 4 downloaded from adobe(At a time Build release I used low version only 3.5). I followed all the steps. At a time of Run the data was not came.
    How to fetch the data?
    Please Guide how to proceed.

    Hi Laxmikanth,
    For Adebo Flex help..
    Please go through Thomas tutorial..
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10989ef6-968c-2b10-50a9-eb34a5267163&overridelayout=true
    and ...
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/307b434f-ff32-2b10-e885-991247270480?quicklink=index&overridelayout=true
    Hope it might helps you
    Thanks,
    Kris.

  • Integrating Web Dynpro ABAP application in portal

    Dear experts,
    I created a Web Dynpro ABAP application. I need to Integrate it in portal and have to capture portal login id to my application.
    Kindly guide me how to integrate WDA in portal and how to capture Portal Logon id in my application.
    Thanks,
    Kind Regards,
    Ram

    Hello ,
    It is asking for SAP system user id and password becasue there is no SSO established between portal and the web dynpro system.
    Now, either you can establish SSO between portal and the backend system by SAP Logon TIcket or  user mapping.
    SSO stands for single sign on.
    SSO using SAP Logon Tickets :-
    by using this technique you will be able to login into the backend by using SAP logon ticket
    issued by the portal system. For this you need to import the .der certificate form the system administration ->system config -->
    key ticket store. there download verify.der and upload it in the trusted system list in the backend in the trasaction strust_import.
    here is link for this method.
    http://wiki.sdn.sap.com/wiki/display/EP/LogonTickets,CertificatesandBackend+Certificates.
    SSO using user mapping. :-
    For this method you need to map the user in the portal to one user in the backend system.
    You can do so by going to user administration in the portal there find the user id with which the user will login.
    then go to the user mapping for system access tab there select the system from the dropdown and give user id and password
    for the same system save it.
    Now when you will login it wont ask for the user id and password.
    And after this you can get the portal user id also in  your web dynpro application.
    Thanks
    Sarbjeet Singh

  • Adobe Flash Islands for Web Dynpro ABAP Data Binding problem

    I have downloaded the NetWeaver 7.1 Trial (includes Adobe Flash Islands for Web Dynpro ABAP). I try to create a very simple FlashIslands component running within the Web Dynpro Application, everything looks good. However, all binding to the Flex component is not working. Does anyone know why?
    Since it's trial version, I login as BCUSER into NSP system. When I load up the build-in sample, such as Chart Demo, the binding to Flex seems working. I suspect if it has anything to do with package? I could only create my Web Dynpro under the $TMP package, as all the build-in sample are defined in SWDP_DEMO.
    Please help.
    Alan

    hi,
    Check out this link. It will give you an idea how to integrate Aobe island comp with web dynpro.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/307b434f-ff32-2b10-e885-991247270480
    Thanx.

  • How can I call a java object from Web dynpro ABAP application?

    I made Web dynpro ABAP application and posted it to SAP EP.
    For certain business purpose, we need to call external 3rd party java object using 3rd party's java api in Web dynpro application.
    Is there anybody who experienced this kind of java interface issue?
    I know Web dynpro Java environment can fully support this kind of requirement. but regarding Web dynpro ABAP, I couldn't find any clue for this.
    Any comment or suggestion would be greatly appreciated.
    Thanks,
    Raymond, ABAP Consultant

    if you have jco configured, then you can make calls to java api from ABAP .
    check out this weblog.
    /people/gregor.wolf3/blog/2004/08/26/setup-and-test-sap-java-connector-outbound-connection
    Raja

  • Problem in submit button on adobe form integrated with web dynpro

    Hello,
    I'm facing prob in triggering web dynpro event onSubmit for Interactive form.
    I've created a submit button from web dynpro activex pallete on adobe form (integrated with web dynpro) to send the form as email.
    Then in the web dynpro view where this form is embedded i have created an action against onSubmit event and called a method within this.
    However, on clicking Submit button this event is not getting triggered.
    Please let me know what is lacking in this process?
    Thanks.

    Hi,
    I am also facing the same problem. i have developed a simple scenario under which user have to input his/her details and on submit button it will be updated to database.
    I have tried the above solution but after adopting this solution all the editable fields become non-editable.
    so the above solution is not working for me could you help me out.
    I think ... try this....
    When you create the Adobe Form from WebDynpro, you need to follow one step in SFP Transaction or inSE80 transaction. Open the Adobe Form in any one the transaction and now in SAP menu bar "Utilities" in that you will find the "INSERT THE WEBDYNPRO SCRIPT" just click on that one. Then you will see a new Script Object is being created with the name "ContainerFoundation_JS" under the "Variables" in the Heirarchy of the Object Pallete of the Adobe Form.
    This step is mandatory to use the SUBMIT Button of the "WebDynpro Native", to trigger the OnSubmit event of the WebDynpro.
    Thanks
    Edited by: shailendra2sap on Mar 6, 2009 12:24 PM

  • Problems creating new Web Dynpro ABAP application

    All,
    I am following this tutorial to create my first Web Dynpro ABAP application
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/fc/501b42b5815133e10000000a155106/frameset.htm
    In this tutorial I was asked to create a component as Local object.
    But after giving the name of the component, I get an alert saying
    "Object can only be created in SAP Package"
    When I confirm this, I was shown a "Create Object Directory entry" dialog box which asks for attributes like Package.
    And this box has Local Object button, when clicked I get the message "Test Objects cannot be created in foreign namespaces".
    I found some other article through Google
    http://www.octavia.de/fileadmin/octavia_files/content_bilder/Hauptnavigation/SAP_NetWeaver/WebDynpro/Web_Dynpro_Part_I.pdf
    According to this, I tried to give $TMP as Package. But still have the same error
    "Test Objects cannot be created in foreign namespaces"
    Where am I and what should I do to create a new project?
    Thanks.

    Thanks Abinav.
    My problem is with naming convention only. Component name starting with Z solved my problem.

  • Adding attachments to workflow from Web Dynpro ABAP Application program.

    Hi,
    workflow is supposed to start by a Web Dynpro ABAP Application.
    The user can attach files to it.
    A superior is supposed to review the files and either approve or reject the request.
    I tried the following in Web Ddynpro ABAP:
    CALL FUNCTION 'EWW_WORKFLOW_START'
    EXPORTING
    X_TASK = 'WS90000074'
    IMPORTING
    Y_WORKFLOW_ID = lv_WF_ID
    TABLES
    X_CONTAINER = lv_IT_CONTAINER
    EXCEPTIONS
    then followed by:
    CALL FUNCTION 'SAP_WAPI_ATTACHMENT_ADD'
    EXPORTING
    WORKITEM_ID = lv_wf_id
    ATT_HEADER = lv_swr_att_header
    ATT_BIN = Item_FILENAMEATTACHED
    DOCUMENT_OWNER = SY-UNAME
    LANGUAGE = SY-LANGU
    IMPORTING
    ATT_ID = lv_swr_att_id
    The Workflow has only one user decision step and one notification Step.
    In the user decision step, there is a binding from ATTACHOBJECTS to the task.
    But, in the log, you can see the attachment in the Workflow Container of the workflow instance, but you don't see it in the task (neither Inbox nor UWL)
    I have checked the binding it is correct. I am getting the attachment in workflow container in '_attach_objects' element. but this attachment has to go to the user decision step, so I am binding the '_attach_objects' of workflow container to '_attach_objects' of user decision step. But the attachment was not going to user decision step.
    Could you please let me know where am i doing wrong?
    Thanks,
    V.Nagaraju

    @Ruslim Chang 
       Sorry to point out but the FM will return the Workitem ID only so there is no problem with the LV_WF_ID variable.
    @vundralla nagaraju
    Instead of making binding between attachobjects make binding between
    WiGroup_ID <---- attachobjects
    and then on the next step you try to make biniding in the user decision step by using WiGroup_ID.I think it should work.

  • No switch to HTTPS occurred in Web Dynpro ABAP application

    We are building a Web Dynpro ABAP application and when I logon I get:
    No switch to HTTPS occurred, so it is not secure to send a password
    I want to suppress this message but I can only find a parameter that works for BSP applications (You can suppress the message using the property BspDontShowHttpsWarning. Goto SICF and locate your service, open node and choose tab error pages. At redirect URL add '&bspdontshowhttpswarning=X').
    However, for Web dynpro this parameter does not work. Does somebody know if there is a parameter available for web dynpro ABAP applications to suppress this message?
    kind regards
    Angelique Heutinck

    Angeline
    I asume that you are using a "Basic Authentication" method, if this is your case, you should configure the SICF service with the following parametters:
    1) Go to SICF, /yourservice / double click
    2) On the "Logon Data" tab, in the "Procedure" option choose "Alternative Logon Procedure".
    3) On the same tab, at the "Logon procedure option", delete the SSO option, and change the Number of the another methods, raised the "Basic Authentication" to the first place.
    4) Go to Error pages tab, flag "System logon", and after that click over Configuration, here check "Do no display warnings"
    Hope this help you !

  • How to call custom themes for Web Dynpro ABAP Application?

    Hi,
    I need to change the appearance of Web Dynpro ABAP application. So far I followed below steps,
    1.     Created theme folder u2018testngou2019 (SE80->MIME Repositoty -> SAP->PUBLIC->BC->UR->nw5->themes -> u2018testngou2019 ).
    2.     used program BSP_UPDATE_MIMEREPOS to dowmloaod content of  u2018sap_tradeshowu2019 (SE80->MIME Repositoty -> SAP->PUBLIC->BC->UR->nw5->themes -> sap_tradeshowu2019) to desktop.
    3.     Modified the themes using Eclipse Theme Editor.
    4.     used program BSP_UPDATE_MIMEREPOS to upload modified themes to MIME repository u2018testngou2019  (SE80->MIME Repositoty -> SAP->PUBLIC->BC->UR->nw5->themes ->  u2018testngou2019) .
    My current URL is like http://server.name:XXXX/sap/bc/webdynpro/sap/hrrcf_a_startpage_int_cand?sap-client=XXX.
    Now I want to know how custom themes called for Web Dynpro ABAP Application.
    Is my approach correct?
    ...Naddy

    Hi Naddy,
    What you used is one way and even I failed when tried that method,
    Instead go to SE38 - WD_THEMES - and you need to upload the zip file and you need to follow a folder structure.
    it is case sensitive, atleast the zip file.
    Make a zip file by name "Project.zip" -
    Create a Folder Project and have the below folder structure,
    1  data - all the properties files and also the designinfo file, below is the code
    2  themes - (to get all the files download the theme from portal and you will have all the folders)
       2.1  ur
         2.1.1 name of the theme
           2.1.1.1 common
           2.1.1.2 csf
           2.1.1.3  r
           2.1.1.4  ur - all the css files (would be good if you can get the files from the server.)
           2.1.1.5   WSRP
    3  war - empty folder
    *.designinfo
    isVisible=true
    version=7.0.14.1.0
    isDefault=false
    isSapDesign=false
    designName=**** name of the theme
    Once done create a zip file and click on Start Import and give the path and will ask for transport request, it will take a while to upload once done as mentioned in the use the parameter sap-ep-themeroot="path"
    This will resolve the issue.
    Cheers-
    Pramod
    reward points if helpful

  • Web Dynpro ABAP application  - Fully Qualified Domain Names (FQDN) error

    I have created a Web Dynpro ABAP application. On executing it, I get Fully Qualified Domain Names (FQDN) error. I have host name of my server.
    I do not know domain name of my server. How can I detect it?
    I want to know in  Windows XP and Windows 7.
    Please help me asap.

    Hi,
    On your server run command ipconfig /all
    FQDN = Hostname + Primary DNS Suffix
    The make sure the profile parameters SAPLOCALHOSTFULL and icm/host_name_full reflect the same.
    Regards,
    Srikishan

  • Web Dynpro Abap Application for list employees of one manager?

    Hi experts!
    I'm trying to find a Web Dynpro Abap application that could show the list of employees of some manager, like the Web Dynpro Java application for MSS - Training Management.
    In my search's i don't find any, and i want to take sure if there wasn't any Dynpro Abap before to create a new application.
    Thanks & Best Regards,
    Luís Bento

    Hi Gayathri,
    I just have that scenario in my mind, and certainly it's the purpose that i need to implement. However i'm tried to use only standard applications, but maybe this case  it's a exceptional case
    Best Regards,
    Luís Bento
    PS: I give you some points for your answer

Maybe you are looking for

  • Why does Firefox sometimes open a new window when I navigate to an existing tab?

    I often have 7 or 8 tabs open in Firefox. Sometimes when I click on a tab, Firefox opens it in a new window instead of just going to that tab. I haven't figured out a pattern when it does this.

  • URL Redirect problem in Provider

    Hi, i have written following piece of code in JSPProvider, but it is not directing to the url that i required. Please send a solution Thanks in advance Arun public StringBuffer getContent(           HttpServletRequest req,           HttpServletRespon

  • Printing GR and GI documents in different languages

    We have users logging in French and English.  When posting a Good Issue or a Goods receipt the documents are printing in English only.  We have set up SAPscript documents for both languages.

  • Arranging playlists.

    I subscribe to a pod cast and have several problems with it. First and foremost, the playlist I created for it WILL NOT allow me to change the order of the items. Secondly in downloading the pod casts it will only allow me to reverse the order of ALL

  • XMII Store & Forward

    Hi, we are currently looking into using a Store & Forward design to allow updates on our xMII v12.0 (AIX) system to continue during an ECC outage and catch up our SAP system (asynchronous) after an ECC outage. Seems there are multiple ways to accompl