Attachment in MSS PCR

Hi,
We use the standard SAP documentation "Control API for File Upload (fileUpload)" for a new PCR scenario (not adobe). http://www.sapdesignguild.org/resources/htmlb_guidance/fileupload_dev.html
However whenever any call is made to the backend now the text of fileupload is wiped blank.
Whenever the user inserts any file name and submits the form the file is not sent as part of PCR.
I use 2 SAP function modules to "upload/read" the file:
SO_FOLDER_ROOT_ID_GET: to create a folder for the file
SO_DOCUMENT_REPOSITORY_MANAGER: to upload the file and store in the folder
These 2 functions work fine in a foreground without any errors, but when I put them in the back end of PCR, I got "Internal Error: Null". It fails at the call function SO_OBJECT_UPLOAD within function module SO_DOCUMENT_REPOSITORY_MANAGER.
Any ideas on how best to achieve this?
Regards,
Michael.

Solution:
When you configure HTTPS make sure you dont get a popup window of the certificate and even if you get all the three items (like trusted name, expiry etc) should be green and no warning.
Regards,
Piyush.

Similar Messages

  • MSS - PCR-Pdf error at workflow approve

    Hello,
    When I try to show a form pdf based in UWL for approve process, an error occurs :
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Error during call to AdobeDocumentServer: Processing exception during a "Render" operation.
    com.adobe.ProcessingError: File not found error writing stream: <Render><Template><Name> "http://ecc03.fer.sa.dir.bunge.com:8103/webdynpro/dispatcher/sap.com/pcui_gpisr/IsrFormApprove/wd_key15_1150728935669/unknown.pdf
    java.io.FileNotFoundException: IO error detected while opening HTTP/HTTPS connection: http://ecc03.fer.sa.dir.bunge.com:8103/webdynpro/dispatcher/sap.com/pcui_gpisr/IsrFormApprove/wd_key15_1150728935669/unknown.pdf
    java.io.FileNotFoundException: HTTP Status-code: 500 Internal Server Error - connecting to http://ecc03.fer.sa.dir.bunge.com:8103/webdynpro/dispatcher/sap.com/pcui_gpisr/IsrFormApprove/wd_key15_1150728935669/unknown.pdf
    I am using SPPM mss/pcr scenario.
    Thanks in advance for any help.
    Renato.

    Hi Renato,
    When you are using PCRs/ISRs the form data is read from the XML data attached to the R/3 Notification object.
    ISRFormApprove in particular expects that this XML dat already exists and is correctly attached to the R/3 Notification object.
    So:
    1) Check your UWL is connecting ok to your SAP system - which I presume it is otherwise you wouldn't be getting the work item.
    2) Check the system alias from the system landscape used for your UWL system connection - make sure that its the right one and has the webdynpro host/port/path details defined.  Use the Connection Test options in the Portal Content Directory to check it.
    3) Check you have passed in a valid R/3 notification number - i.e. you should be able to display the notification in transaction IQS3 in the backend SAP system.
    4) Check the XML data is correctly linked to the form. The easiest way is probably to use transaction SE37 test option against function module ISR_SPECIAL_DATA_GET.
    It should return a list of all your PCR characterstics and their values.
    If all that's working and its still not happening for you, check you have the latest fixes as per SAP notes, and then raise an SAP message.
    Regards,
    Jocelyn

  • Adobe form MSS PCR senarios  not working with Portal SSL

    Hi All,
    we have implemented MSS PCR  senarios Nw04 with ERP2004 system.
    every thing is working fine when use http protocal for portal acess.
    Now we try to implement ssl for portal. so started implemnation and done in portal side, after that when try access any senario forms , The adobe form is not opening for editing, its throwing  error
    <b>The initial exception that caused the request to fail, was:
       java.net.ConnectException: Connection refused: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
        at java.net.Socket.connect(Socket.java:461)
        ... 47 more</b>
    its very urgent anybody can help out this, what settings ot be done on R/3 server and Portal and ADS server
    Thanks in advance
    Gopal

    Hello Gopal,
    You would only need an https connecion between the browser and the portal server if you are only concerned with the MSS applications. You need to have SSL configured from the portal to ADS server had you implemented some custom scenarios like certification, digital signature etc. But, considering your MSS issue, you do not need to worry about it untill and otherwise your landscape demands you to do so for any security reason.
    Well, you might have already gone through the following link, incase not, please go through the link to find out more on how to confugre SSL on the j2ee engine:
    http://help.sap.com/saphelp_nw04/helpdata/en/f1/2de3be0382df45a398d3f9fb86a36a/frameset.htm<a href="http://help.sap.com/saphelp_nw04/helpdata/en/f1/2de3be0382df45a398d3f9fb86a36a/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/f1/2de3be0382df45a398d3f9fb86a36a/frameset.htm</a>

  • MessageBox on Adobe Form in SAP MSS PCR for SAP ECC 5.0

    Hello,
    I have a question regarding the behavior of Adobe form messagebox in SAP HR MSS PCR (Personal Change Request)
    I tried to test how the messagebox looks like, and so I created a PCR scenario with an Adobe form. This form contains a datetime field. I added the script "xfd.host.messageBox("this is message", "this is title") to the "exit" event of the datetime field. Then I did all the necessary steps so that this PCR is displayed in the Portal.
    Now at the runtime, when I select a date value from the datetime field, the messagebox is displayed, BUT within an empty Adobe Reader page. It is not displayed on the top of my adobe form.
    But the strange thing is that when I use tab key to navigate through the datetime field, the messagebox is displayed on the top of my adobe form, without the empty Adobe Reader page.
    I also tried my script with several different event types, including "Change", and "Validate", it behaves the same way. But when I tried it with the event type "MouseExit", no empty Adobe reader page is shown up at all (of course, this is not the right event type for me)
    The environment is SAP ECC 5.0, SAP MSS business package for ECC 5.0, SAP Portal 7.0 (NW 2004s), Adobe LiveCycle 7.1, and Adobe Reader 8.1.1
    Has anyone experienced this? I'd really appreciate any comments and suggestions. Thanks in advance.
    Best regards,
    Harrison

    Antony,
    The Adobe Reader version is 8.1.1
    Just wondering if you used messageBox in interactive forms with ISR framework, and it worked well for you?
    Thanks.
    Harrison

  • MSS PCR(Personnel Change Request) Report

    Hi Experts,
    We have configured MSS successfully, Now the reqirement is that we require a report which keeps the track of all requests generated during MSS PCR, like which request, who requested, approver, status of the request....etc.....
    Is there any way out where I can track all these things.
    Please suggest.
    Thanks
    Rohit G

    @Rohit Gaharwar 
        Sorry, Rohit...yes, I understood you are on PCRs and not HCM P&F, but I wanted to mention that functionatlity is in fact there for HCM P&F since it was a big missing part for PCRs. And if you are actually on ECC6, you might want to look into it versus PCRs since PCRs are going the way of the dinosaur.
    @Suresh
       Is their some reporting off of workflow that could be done as well? I would think that could show who processes a request as well as where they are "held up". Reporting is a big missing part of PCRS, agreed.

  • MessageBox on Adobe Form in MSS PCR for ECC 5.0

    Hello,
    I have a question regarding the behavior of Adobe form messagebox in MSS PCR.
    I tried to test how the messagebox looks like, and so I created a PCR scenario with an Adobe form. This form contains a datetime field. I added the script "xfd.host.messageBox("this is message", "this is title") to the "exit" event of the datetime field. Then I did all the necessary steps so that this PCR is displayed in the Portal.
    Now at the runtime, when I select a date value from the datetime field, the messagebox is displayed, BUT within an empty Adobe Reader page. It is not displayed on the top of my adobe form.
    But the strange thing is that when I use tab key to navigate through the datetime field, the messagebox is displayed on the top of my adobe form, without the empty Adobe Reader page.
    I also tried my script with several different event types, including "Change", and "Validate", it behaves the same way. But when I tried it with the event type "MouseExit", no empty Adobe reader page is shown up at all (of course, this is not the right event type for me)
    The environment is ECC 5.0, MSS business package for ECC 5.0, SAP Portal 7.0 (NW 2004s), Adobe LiveCycle 7.1
    Has anyone experienced this? I'd really appreciate any comments and suggestions. Thanks in advance.
    Best regards,
    Harrison

    Antony,
    The Adobe Reader version is 8.1.1
    Just wondering if you used messageBox in interactive forms with ISR framework, and it worked well for you?
    Thanks.
    Harrison

  • ISR template error in MSS PCR

    Hi all..
    i am implementing MSS PCR on EP 60... MSS 100
    when i user any of the scenarios in PCR, it gives me an error "Error in try-catch block - Template could not be retrieved"
    whereas ... the template in ISR scenario defination exists.
    this is the extract of the error
    com.sap.pcuigp.xssfpm.java.FPMRuntimeException: Error in try-catch block - Template could not be retrieved.
         at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:111)
         at com.sap.pcui_gp.isr.isrprocessevent.FcISRProcessEvent.raiseFormException(FcISRProcessEvent.java:1251)
         at com.sap.pcui_gp.isr.isrprocessevent.FcISRProcessEvent.setTemplateSource(FcISRProcessEvent.java:351)
         at com.sap.pcui_gp.isr.isrprocessevent.FcISRProcessEvent.callRFCIsrProcessEvent(FcISRProcessEvent.java:442)
         at com.sap.pcui_gp.isr.isrprocessevent.FcISRProcessEvent.callIsrProcessEvent(FcISRProcessEvent.java:254)
         at com.sap.pcui_gp.isr.isrprocessevent.wdp.InternalFcISRProcessEvent.callIsrProcessEvent(InternalFcISRProcessEvent.java:1079)
         at com.sap.pcui_gp.isr.isrprocessevent.FcISRProcessEventInterface.callIsrProcessEvent(FcISRProcessEventInterface.java:125)
         at com.sap.pcui_gp.isr.isrprocessevent.wdp.InternalFcISRProcessEventInterface.callIsrProcessEvent(InternalFcISRProcessEventInterface.java:380)
         at com.sap.pcui_gp.isr.isrprocessevent.wdp.InternalFcISRProcessEventInterface$External.callIsrProcessEvent(InternalFcISRProcessEventInterface.java:500)
         at com.sap.pcui_gp.isr.isrprocessevent.showform.VcISRShowForm.onBeforeOutput(VcISRShowForm.java:185)
         at com.sap.pcui_gp.isr.isrprocessevent.showform.wdp.InternalVcISRShowForm.onBeforeOutput(InternalVcISRShowForm.java:395)
         at com.sap.pcui_gp.isr.isrprocessevent.showform.VcISRShowFormInterface.onBeforeOutput(VcISRShowFormInterface.java:137)
         at com.sap.pcui_gp.isr.isrprocessevent.showform.wdp.InternalVcISRShowFormInterface.onBeforeOutput(InternalVcISRShowFormInterface.java:136)
         at com.sap.pcui_gp.isr.isrprocessevent.showform.wdp.InternalVcISRShowFormInterface$External.onBeforeOutput(InternalVcISRShowFormInterface.java:212)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.callOnBeforeOutput(FPMComponent.java:503)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:471)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:354)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.access$1300(FPMComponent.java:71)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.raiseEvent(FPMComponent.java:790)
         at com.sap.xss.hr.pcr.selectform.VcPcrSelectForm.toShowForm(VcPcrSelectForm.java:193)
         at com.sap.xss.hr.pcr.selectform.wdp.InternalVcPcrSelectForm.toShowForm(InternalVcPcrSelectForm.java:178)
         at com.sap.xss.hr.pcr.selectform.SelectForm.onActionToShowForm(SelectForm.java:143)
         at com.sap.xss.hr.pcr.selectform.wdp.InternalSelectForm.wdInvokeEventHandler(InternalSelectForm.java:171)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
         at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleAction(WebDynproMainTask.java:101)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:304)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:649)
    I have installed adobe env from NW componets CD and imported creadentials successfully
    please help as this urgent!!
    Regards
    Ashutosh

    Hi Ashutosh,
    I am facing this error what you have faced long time back.
    java.lang.NoSuchMethodError: com.sap.tc.webdynpro.services.task.ITask.getWebContextAdapter()Lcom/sap/tc/webdynpro/services/sal/adapter/core/IWebContextAdapter;
         at com.sap.pcui_gp.isr.isrprocessevent.FcISRProcessEvent.setTemplateSource(FcISRProcessEvent.java:440)
         at com.sap.pcui_gp.isr.isrprocessevent.FcISRProcessEvent.callRFCIsrProcessEvent(FcISRProcessEvent.java:571)
    its regarding ISR in Portal.
    could you please tell me how did you solve this error.
    Thanks
    Vijay

  • MSS PCR confirmation -- customization

    Hi Experts,
    I am facing problem in customizing PCR (request for seperation(enhanced)).
    Environment:
    EP 7.0 SP 12
    ECC 6.0 SP 11
    MSS 1.0 SP 09
    NWDS 7.0.12
    Requirement:
    Customize three PCRs in the SAP suggested standard way.
    first PCR is request for seperation(enhanced).
    In this PCR there are 5 steps
    Select Employee
    Select Form
    Edit Form
    Review Form
    Send(Save)
    After which you get a confirmation page saying:
    Your request has been sucessfully ....bla ...bla and your notification number is bla...bla
    Now the customization required is that there has to be no workflow, so I (as a portal developer) have to add a push button(update database) on the cofirmation page which would call a RFC with the notification number and that RFC will update the database.
    I have configured NWDI and imported all the required components on the development track and there are no dirty DCs, I am able to see all the DCs.
    When I have a look at the code in the DC ....mss/pcr it shows me only the initial two screens while the rest of the screens seem to be dynamically generated by the FPM(it is entering FPM event loop).[CORRECT ME IF I AM WRONG]
    I am deploying the Self Service Administrator handy for the future.
    I am stuck at this point for a week not able proceed.
    Please suggest/correct me as to how to proceed further.
    Just a reminder that I only have to worry about putting the push button.
    Thanx all

    You can set up ISR to make sure there is no workflow. However, the end result will be that it still goes to the proper admin to actually make the change (via Action Box config). I think what you seek is an "auto update" which is NOT supported in PCRs. However, in ECC6, you might want to look at the new Process and Forms which are part of HRAS (HR Admin services) that is replacing PCRs. I think it now supports automatic updates. Hope this helps.

  • MSS PCR screen error in UWL

    HI expersts.
    Does anybody have an idea how create service in WF_EXTSRV and WF_HANDCUST for MSS PCR screens .
    if anybody worked on MSS PCR screens in portal side (not developmet) .plz share with me .
    In my uwl when i try to open the PCR form request it is throwing error
    "message number can not read form workflow container"
    Thanks in Advance
    Surekha .

    Hi srinivasan
    Thanks for ur reply.
    The same task is there in users inbox in R3.
    I have refreshed UWL system .
    What i think service(ABAP) is required for this task . That is through WF_EXTSRV and WF_HANDCUST.
    How to create service in WF_EXTSRV .
    Surekha.

  • MSS PCR ( Change In position)

    Hi all
      i am using a one-step approval workflow process in MSS PCR (Request for Position Change).1st time when i am trying to initiate the position change for a particular employee its taking fine.but after the completion of approval process for that employee,whenever i am trying to initiate again the position change process for that employee then its giving me a message as "An organizational reassignment is already planned for this employee" & i am not able to process again for that employee.
    but already for the 1st process the approver have run the action through iqs22 tcode.but still its not allowing me to process again for that same employee 2nd time.
    kindly give some Clue regarding this.
    Thanks
    Syam.

    hi
    As per your issue you are not able to overwrite the feature SCHKZ in IT0007. But i think that default feature of SCHKZ allow you to overwrite and change the workschedule in IT0007.
    Can you check for the user exit because of which you are not able to change it.
    Hope this should be helpful
    Thanks
    Arun

  • Find Dependent DC's for PCR request in mss~pcr

    Hi All,
    Need help in finding the dependent DC's for mss~pcr application.
    Why this becasue I need to check the code behind event the " Refresh" link in Create Application of Employee Change request.
    Thanks
    Gansa

    Hi Gansa,
    wrong forum!
    this is Web Dynpro ABAP floorplan manager - not WD Java!
    Suggest you search in WD Java forum, then if you don't find anything, post there!
    Cheers,
    Chris

  • MSS PCR's vs Forms

    I need to understand the difference between Personnel Chnage Request (PCR) in MSS and Forms functionality? Are these two different? if yes, how?. Would be helpful if some screen shots could be shared- which would help me relate easily.
    Thanks,

    Hi Priyaneet
    HCM Processes and Forms can work as both request functionality to HR Admins and also
    allow Managers to update infotypes directly in R3 via PDF forms displayed in the Portal
    PCRs as I understand it are predominantly just requests - allowing managers to requestchanges to infotypes
    There is also a difference in the technology platform used --->
    HCM Processes and Forms are launched by Webydynpro ABAP applications and viewed in PDF
    - whereas MSS PCRs were traditionally launched by HTMLB and viewed in JSP
    or most recently launched by Webdynpro JAVA iviews and viewed in PDF
    In addition to this - there are further limitations with PCRs - see section
    EP-PCT-MGR-HR  
    MSS: Interactive Forms
    of note 852235 
    Best wishes
    Stuart

  • Problem with Adobe Document Server and MSS PCR's

    Hello gurus,
    We are implementing ESS and MSS on ERP 2005, and our technical team is having lots of problems to make ADS work. Apparently the problem is that the ADS is not actually supported by SAP for 64-bit servers.
    But I need to configure MSS PCR's that use Adobe Interactive Forms. So I need help in 2 different ways:
    - Do you know any possible solution to the compatibility problem?
    - Is there any way to make PCR's work in ERP 2005 without using Forms. Is this a sensible thing to do?
    Thanks,
    Andres

    You will need ADS to make PCRs work. There is no way around it.
    The only option I can think of is to upgrade the server. go to service.sap.com/pam to find out what's supported.
    James

  • How to add table data to an MSS PCR form?

    Hi All,
    I am new to Adobe Interactive Forms and I need to add a table of information to an existing form. This form is a customized version of an MSS PCR form Request for Termination. Currently the form fields are populated by an implementation of BADI QISR1. It is a copy of implementation HRWPC_PCR and uses the internal table special_data. All the fields currently on the form are single fields and I can see how they are populated. However I now want to add the contents of an internal table. I have read through the ISR cookbook but I cannot work out how to get this data onto the form and how or if it should be stored in the special_data table. The table (LOAN) has been added to the context and has 4 fields. Would anybody be able to provide some direction to me? Please let me know if I have not provided enough information.
    Thanks very much!
    Ashley

    Hello Ashley,
    you are already close to the solution. In BADI QISR1 you simply fill the
    table SPECIAL_DATA e.g.like
      fieldindex = 1
      fieldname = 'FIELD1'
      fieldvalue = 'Value1'
      fieldindex = <n>
      fieldname = 'FIELD1'
      fieldvalue = 'VALUE<n>'
    Then on the Adobe form layout (Adobe Designer), you have to use the table control XFO from the standard library. Here you have to bind then the corresponding column to FIELD1.
    Best regards,
    Simon

  • HR administrator to process MSS- PCRs for employees

    Hello all,
           We are on SAP ECC 6.0 , EP 7.0 Sp15  and MSS version 600 SP13 .
    We are using MSS Personnel change requests like separation , termination etc.
    We want HR administrator to intiate PCR for all employees as managers do for employees in their respective org. units they
    are heading .
                          We know that in HCM P&F  , HR admin can initiate  Forms for employees .But since we are already using PCRs , we cant switch to HCM P& F .
                                              Is there any way we could meet this requirement with MSS PCRs .
    I feel the only way is if HR admin is at CEO position and is heading all org units , he can process PCRs for all employees .
    But this doesn't seems to be workable .
    I searched the forum and could find out that we can go for customized application .
    any pointers are greatly appreciated.
    Thanks,
    Sahiba

    You can assign manager, Hr admin role as well, and have a custom evaluation path which will populate the
    employees he intends to perform the services!

Maybe you are looking for

  • 5800 animation problem

    In my 5800 whenever i load animated wallpaper and themes it does not show animation

  • Content Server not working after 5.0.2 upgrade

    We upgraded the plumtree to 5.0.2. After upgrade, content server portlets not working properly. When I publish my portlet, Interface says it is published, HTML file generated at the published location, but log says com.plumtree.search.UnknownTypeExce

  • Having problem with listening songs after updating iPad 2 to OS 5.1?

    I recently updated my iPad 2 to OS 5.1. After the update, I have been having a problem listening to music. If I go to iPod and start a song after exiting to the home screen, the song stops playing.Why is this happening? I also tried restarting the iP

  • How to add signature using magic trackpad

    I have read that I can add a signature using the track pad.  I am a new Mac user and just trying to get things figured out.

  • ComponentShown not called

    I am attempting to update a component once the panel is displayed. However, the componentShown method is not being called. Any ideas?      this.addComponentListener(new java.awt.event.ComponentAdapter() {                  public void componentResized