Cannot map control record values from payload w/XSLT after SP13 upgrade

Hi!
Since we upgraded to SP13, the mapping of control record values form the XML payload to the IDOC control record (File->XI->IDOC scenario) no longer works if the mapping is done via XSLT. It works if the XI graphical mapper is used. The XSLT used is the same pre and post upgrade, but worked fine previously.
[ Apply Control Record Values from Payload is checked in the IDOC adapter comm channel. ]
Has anyone else experienced this? Am looking for any inspiration
Cheers
Duncan

Are you sure the xslt file is still there?
Maybe some non-compliance was corrected in later SP and your XSLT was using that non-compliance.
If you post the XSLT we could try to point out any possible errors.
Regards,
Henrique.

Similar Messages

  • Mapping Control record?

    Hi all,
    iam doing File to idoc Senario and i need to map control record,How to map the control record.
    regards,
    phani

    Hi Venkatraman,
    if you want to control sender (and receiver) of an IDoc message by mapping, check "Take sender from payload" (and "Take receiver from payload") on. Map the fields of EDI_DC40:
    for the sender:
    SNDPRN (Sender Partner Name)
    SNDPRT (Sender Partner Type)
    and the receiver:
    RCVPRN (Receiver Partner Name)
    RCVPRT  (Receiver Partner Type)
    RCVPOR (Receiver Port)
    <a href="http://help.sap.com/saphelp_nw70/helpdata/en/96/791c42375d5033e10000000a155106/frameset.htm">Configuring the Receiver IDoc Adapter</a>
    Regards,
    Udo

  • How to get the Output File Name as One of the Field Value From Payload

    Hi All,
    I want to get the Output file name as one of the Field value from payload.
    Example:
    Source XML
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:MT_TEST xmlns:ns0="http://sample.com">
    - <Header>
      <NAME>Bopanna</NAME>
      </Header>
      </ns0:MT_TEST>
    I want to get the Output file name as " Bopanna.xml"
    Please suggest me on this.
    Regards
    Bopanna

    Hi,
    There are couple of links already available for this. Just for info see the below details,
    The Output file name could be used from the field value of payload. For this you need to use the UDF DynamicFile name with below code,
    //       Description: Function to create dynamic Filename
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File" , "FileName");
    conf.put(key,a);
    return "";
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File" , "FileName");
    conf.put(key,a);
    return "";
    With this udf map it with the MessageType as
    (File Name field from Payload) > DynamicFileConfiguration>MTReceiver
    Thanks
    Swarup

  • How to delete the values from TKOMV at runtime after creating PO

    Hi,
      How to delete the values from TKOMV at runtime after creating PO from IDOC. I am creating PO through IDOC, subsequently need to create Sales order and again need to create 2nd PO with reference of Purchase Requestion(created with sales order). At the time creation of 2nd PO the Header conditions are appearing twice and net price value is appearing wrong.
    Thanks in advance.

    Hi Padma
    Can you do this activity once the company code is in to production. I guess you can not do this activity, if the company code is already in to live. Setting or resetting of the recon accounts will hinder the previous actitivity. Infact resetting of the company code is also not a good option.
    Any how, thanks for the inputs. Please let me know whether i can do this activity only at the subledger level which will not impact other modules. The one solution i can figured out is , reverse all the transactions for the corresponding asset in the year of takeover and pass the entries again in the same year correctly which will have effect in Subledger and also in general ledger. But the business people will not allow this, since for a big client it will require lot of authorizations and approvals. Infact the vendor also, is cleared. So we have to reverse the cleared documents as well which is again a task and require approvals as well.
    Thanks and regards
    Seshu.

  • Is it still possible to upgrade from CS4 to CS6 after the upgrade offer ended in 2012?

    Is it still possible to upgrade from CS4 to CS6 after the upgrade offer ended in 2012?  I have not found the option to do so.

    My family owns and operates a non-franchise entertainment facility (miniature golf, laser tag, arcade, pizza, parties...).  I have a design background, so among the many things I do here I'm also able to create marketing materials and an online presence in-house which would be too expensive for us to outsource.  Over a five year period, that's given us a software cost of right at $1 per day since our CS3 license ran around $1800.  Our customers are the public, and the package we try to push for walk-in traffic costs $50 for four people.  In exchange, they get unlimited mini golf, a game of laser tag, and a large pizza.  Not a bad deal.  If we were to earn $1800 from that group of four every five years, assuming they spent $50 each visit, that'd bring them here close to two times every three months.  For our type of business in a city of 118,000 tight-fisted Germans, that's about right.
    What, are you trying make me feel GUILTY about being upset that Adobe's new strategy negatively affects my livelihood?
    As far as Adobe's policy change announcement goes, I have no idea how it was announced.  I DO know I was not sent an email notification, though they have my email address and record that I'm a CS3 owner.  Presumably it was announced somewhere on Adobe's website, and further disseminated through various digital and print trade publications.  I respect Adobe's right to not reverse its decision.  If our business decided to put a sign on the front doors (since we don't have contact info for all of our past customers) saying we'd closed that night at 5 PM instead of 11 PM as usual, we aren't obligated to let in latecomers.  But I'd also recognize their right to be mad at us for wasting their travel time.  What I WOULDN'T do is tell them it's THEIR fault for not being proactive and calling ahead to confirm the expectation that our hours are still the same as they've been for the last decade.  NOR would I be surprised if we didn't get their $50 that month.  These Germans tend to hold grudges.

  • I install latest update from my ipad 2, after the upgrade tablet running slowly. Probably the system requirements too high for my device. I think that users with older models should be able to install IOS 6.x.x on their devices or consider buying devices

    I install latest update from my ipad 2, after the upgrade tablet running slowly. Probably the system requirements too high for my device. I think that users with older models should be able to install IOS 6.x.x on their devices or consider buying devices from other manufacturers ...
    People are dissatisfied with the new update a lot, including some of my friends and acquaintances. Is it reasonable to wait until Apple implements the possibility to return to Ios Ios 6 to 7? And how soon it can be done?
    Sorry for my english, i am from Russia.

    I have a similar issue. I recently purchased an iPad Mini, and I started off by backing it up from the apps I had on my iPhone. Now, I have a number of apps that never downloaded and that I don't want on the iPad. Some of these are apps that I don't need, while others are the iPhone versions of apps. There are something like 23 apps that I have no use for, but iTunes tries to install every time I connect. I've also tried clicking the 'Will Install' buttons. There's no way to delete these apps from the iPad without first installing them, as far as I can see, and there's no way to NOT install them, in iTunes.
    It''s not just annoying, it's causing problems with installation of larger files and movies. Now, every time I sync to the computer, I get a warning that I'm over capacity by 580 MB, and larger apps will not install! Clicking Revert and a bunch of other things doesn't work, either. And I can't just delete some of the apps, because I or my wife use them on our phones!

  • All of my photos have disappeared from PSE Organizer 13 (after I upgraded it).

    All of my photos have disappeared from PSE Organizer 13 (after I upgraded it).  The files are all on the HD.  When I try and reimport them, Organizer says they are already in there and will not allow me to proceed.  When I highlight a keyword, Get the message  "NO MEDIA TO BE DISPLAYED".  Perhaps I am dense, but I find the Search function of the Forum to be near useless, unless I just happen to type the Exact name of a topic.
    I now have no access to perhaps 35,000 files from 12 years of using PSE!
    GFrey

    Which operating system are you running on?   Windows 7 Professional 64 bit
    Which version did you upgrade from?  updated from PSE 13 to PSE 13.1
    In the organizer, which view are you using - in the View menu is Details checked or unchecked - does it make any difference?  was unchecked now checked.  Now can see the other files, but the Keyword tags that I had attached in the past does not bring up the selected frames.
    In the View menu, select Media types - are all checked?  At this point I have only Ohotos and videos checked
    In View menu, select Hidden Files - is Show All Files checked?  yes
    I'm assuming that you are in Media view, what happens if you select People Places or Events?  get groupings of files with those keywords.
    Brian
    Thanks Brian, at least some of my problems are gone, just can't get the keyword sorting to work correctly

  • Overwrite Value from Payload for RCVPOR, Receiver Port

    Dear All,
    Can we overwrite value of receiver port (RCVPOR) from Payload?
    The actual port value (For example SAP<SID>) will be specified in IDOC Receiver adapter.
    If I want to replace this value with say ABC can I do it through mapping?
    I tried using "apply control record from Payload"  for IDOC Receiver communication channel but still the actual port value (SAP<SID>) is going to SAPR3 and not ABC.
    I checked the help.sap.com link as well.
    http://help.sap.com/saphelp_nw04/helpdata/en/13/95244269625633e10000000a155106/frameset.htm
    As per my understandings, RCVPOR value will be picked up only from IDOC Receiver communication channel.
    Can you please suggest?
    Warm Regards,
    Gouri

    Thanks Prateek for replying.
    Even my understanding is same that this value will not be overwritten. But I am not able to find any help.sap.com link or valid SAP Document which will clearly specify this.
    I need to pass this ABC value into IDOC header Record. This value will be required by User as selection criteria while executing WE05 and WE09 reports on SAPR3.
    This ABC value is nothing but the Application name and while executing above standard reports user will be able to differentiate application specific IDOCs if i provide this information in IDOC header .
    Now I spoke to ABAP Team and he suggested to use RCVPOR filed for thsi purpose as it is present in selection screen of both WE05 and WE09 report.
    So I wanted a confirmation through official document that we wont be able to use this field.

  • Unable to get the values from PAYLOAD

    Hi,
    i'm unable to get the values of payload. When i use
    currentTask = client.getTaskQueryService().getTaskDetailsById(workflowContext, taskID);
    Element payload = (Element)currentTask.getPayloadAsElement();
    node = (Element)payload.getFirstChild();
    System.out.println(node.getElementsByTagName("documentName").item(0).getNodeValue());
    I get null but i instantiate the bpel process with a value and i have
    - <payload>
    - <ns1:DocumentReviewProcessRequest xmlns:ns1="http://xmlns.oracle.com/bpel/Review">
    <ns1:documentTitle>vbvnmbvn</ns1:documentTitle>
    <ns1:documentName>bvnbvnvn</ns1:documentName>
    <ns1:URI>http://www.first.pt</ns1:URI>
    <ns1:assignees>gestdoc</ns1:assignees>
    <ns1:groups />
    </ns1:DocumentReviewProcessRequest>
    </payload>
    if i use System.out.println(node.getElementsByTagName("HELLO").item(0).getNodeValue());
    I get a normal erro 'cause this variable don't exist...
    Can someone please help me?
    Thanks!!

    I think the problem is UME related. I had the same problem once. Try using a system user for searching, instead of the logged on user.
    Like this:
    com.sapportals.portal.security.usermanagement.IUser user = WPUMFactory.getUserFactory().getUser("cmadmin_service");
    Please reward the points if this helps.

  • VS2008 C# cannot get return/export values from SAP (one way connection yet)

    Hello Experts,
    I have successfully established connection to SAP by using Visual Studio 2008 (C#) and web services:
    -     I am able to login into the SAP-System with my C#-Application
    -     I am able to call and run functions with my C#-Application
    -     I am able to passing over vales from my C#-Application to the function module (importing variables = ok)
    The problem I face now is getting return values from the function module (getting values of the exporting variables). I just have no idea how to call the u201CResponse-methodu201D correctly in C#.
    I think the problem is hided in the wsdl-xml-file.
    Here are my codes (only C# codes are really relevant) I post them step by step:
    ABAP CODE OF FUNCTION MODULE:
    FUNCTION Z_GET_BP_DATA.
    TABLES: but000.
    Data: ls_test type but000,
          lv_bpid type BU_PARTNER.
    u201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201D
    u201D importing parameter BPID = type string   u201D
    u201D exporting parameter BPNAME = type string u201D
    u201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201D
    lv_bpid = BPID.
    SELECT SINGLE *  from but000 into ls_test
      where PARTNER = lv_bpid.
    BPNAME = ls_test-NAME_LAST.
    ENDFUNCTION.
    [Here|http://ng-webservice.com/myxml.xml] is code of my wsdl-xml-file:

    C
    APPLICATION MAIN CODE:
    using System;
    using System.Net;
    using System.Collections.Generic;
    using System.Text;
    using System.Web.Services.Protocols;
    using System.Web.Services;
    namespace test
        class Program
            static void Main(string[] args)
                try
                    //Sample Project for calling WS in SAP and writing data
                    string var_bpid = "0000000082";
                    string var_bpname;
                    CookieContainer cookie = new CookieContainer();
                    webref_get_bp_data.service _proxy1 = new test.webref_get_bp_data.service();
                    webref_get_bp_data.ZGetBpDataResponse _proxy3 = new test.webref_get_bp_data.ZGetBpDataResponse();
                    test.webref_get_bp_data.ZGetBpData myref = new test.webref_get_bp_data.ZGetBpData();
                    test.webref_get_bp_data.ZGetBpDataResponse myresponse = new test.webref_get_bp_data.ZGetBpDataResponse();
                    _proxy1.Credentials = new NetworkCredential("MYUSER", "MYPASSWORD");
                    _proxy1.CookieContainer = cookie;
                    myref.Bpid = var_bpid; // myref gets an id for passing over to the function module
                    _proxy1.ZGetBpData(myref); // call/run function module with given bpid
                    var_bpname = _proxy1.ZGetBpData(myref);
                    var_bpname = myresponse.Bpname; // HOW TO GET EXPORTING VALUE???
                    Console.WriteLine(myref.Bpid);
                    Console.WriteLine(var_bpname);
                    cookie = _proxy1.CookieContainer;
                    Console.WriteLine("Finish proxy1");
                    string response = Console.ReadLine();
                catch (SoapException exc)
                    Console.WriteLine("Exception thrown");
                    throw exc;
                    string response = Console.ReadLine();

  • Prob in accessing DataSourece value from netui-data:repeater after submit

    HI all,
              I am new to this WLWS. PLease guide me in the following scenario:
              I am retrieving an array of records (activityDetails[]) from a Db control and setting this to the datasource property of a netui-data:repeater. Basically I am populating a list of records in my jsp page which works fine.
              But When a submit the page, I am not able to access that array of records from the action method difined in my controller.jpf file, even though I have declared the array in the Form bean.
              And I am not sure if have set the proper datasource for the checkBox defined within the records. The purpose of this checkbox is to select the records form the list to be saved in the database. Is there any better way of achieving the same.
              It's throwing Null pointer exception in the method called
              doProcess.
              Here is the related code:
              activities.jsp
              <netui:button type="submit" tagId="btnSave" value="Save" styleClass="btn" action="doProcess"/>
              <netui:button tagId="btnPrint" value="Print" styleClass="btn" onClick="doPrint()"/>
                                       </td>
                                  </tr>
              <netui-data:repeater dataSource="{actionForm.activityDetails}" >
              <netui-data:getData resultId="pkg" value="{container.item.pkg_header_id}" />
              <tr bordercolor="#A8A8A8" >
              <%
              if (pageContext.getAttribute("pkg") == null)
              %>
              <td><netui:content value=" "/></td>
              <%
              else
              %>
              <td><netui:checkBox dataSource="{container.item.activity_id}"/>
              <%
              %>
              <td><netui:content value="{container.item.prt_no}"/> </td>
              <td><netui:content value="{container.item.activity_num}"/> </td>
              <td><netui:content value="{container.item.frc_acct_code}"/> </td>
              <td><netui:content value="{container.item.frc_acct_code}"/> </td>
              <td><netui:content value="{container.item.status_code}"/> </td>
              <td><netui:content value="{container.item.location_code}"/> </td>
              <td><netui:content value="{container.item.task_code}"/> </td>
              <td><netui:content value=" "/> </td>
              <td><netui:content value="{container.item.wpid}"/> </td>
              <td><netui:content value="{container.item.original_qty}"/> </td>
              <td><netui:content value="{container.item.act_obj_hrs}"/> </td>
              <td><netui:content value="{container.item.act_actual_hrs}"/> </td>
              <td><netui:content value="{container.item.act_rmng_hrs}"/> </td>
              <td><netui:content value="{container.item.act_rmrk}"/> </td>
              </tr>
              </netui-data:repeater>
              </table>
              </netui:form>
              </netui-template:section>
              </netui-template:template>
              Here is the .jpf file
              public class VSchedController extends PageFlowController
              * @common:control
              private custom.ConstSched constSched;
              private ActivityDetails[] activityDetails;
              * @jpf:action
              * @jpf:forward name="index" path="index.jsp"
              * @jpf:forward name = "success" path = "packageActivities.jsp"
              protected Forward begin(PackageSchedForm form) throws SQLException
              HttpSession s = getRequest().getSession(false);
              int jobID = (s.getAttribute("JOB_ID") != null) ? Integer.parseInt(s.getAttribute("JOB_ID").toString()) : 0;
              if (jobID == 0) jobID = 6;
              setActivityDetails(constSched.getAllActivities(jobID));
              form.setActivityDetails(activityDetails);
              return new Forward("success");
              * @jpf:action
              * @jpf:forward name="success" path="packageActivities.jsp"
              protected Forward doProcess(PackageSchedForm form) throws SQLException
              System.out.println("----------------------------------------");
              System.out.println("ActivityDetails is null ? " + (form.activityDetails == null));
              for(int i=0; i < 6; i++)
              try
              System.out.println("Checked -> " + form.activityDetails.activity_id);
              catch(Exception e)
              System.out.println(i);
              System.out.println("----------------------------------------");
              return new Forward("success");
              public ActivityDetails[] getActivityDetails()
              return this.activityDetails;
              public void setActivityDetails(ActivityDetails[] activityDetails)
              this.activityDetails = activityDetails;
              * FormData get and set methods may be overwritten by the Form Bean editor.
              public static class PackageSchedForm extends FormData
              private ActivityDetails[] activityDetails;
              public ActivityDetails[] getActivityDetails()
              return this.activityDetails;
              public void setActivityDetails(ActivityDetails[] activityDetails)
              this.activityDetails = activityDetails;

    Personally, I have had a hard time doing what you are asking for using netui tags. I have had the same case, and asked the person in my team to just return a collection of value objects and then iterate through it without the repeater tag. To use the checkbox, I have had to use a String[].
              Kunal

  • Re-recording all of the eCATT scripts after system upgrade

    Hi,
    I’ve heard something today that got my attention: some people say that you have to re-record all of your scripts after an upgrade. In other words, upgrade from, for example, 5.0 to 6.0 makes eCATT scripts unusable and worthless.  It is not just some screens or screen sequences have changed, and must be re-recorded. It's a total change and <b>everything, all scripts</b>, have to be re-done.
    I would like to get some clarification on this.
    Thank you in advance, Alexei Merkoulov

    Yes, I've also heard about this before. We do not use a lot of CATT (it's been turned into the data loading tool), so it is not an issue for us.
    Here is my concern - we are on ECC 5.0 (WAS 6.40) and using eCATT to create and maintain scripts for automated functional testing. Let's say, we upgrade our system to 6.0 or 7.0, and want to use existing scripts for regression testing. I do not want to discover unexpectedly that our entire (all of it) existing body of automated scripts cannot function with the new version of the software.
    Please let me know if you have similar experience with managing eCATT scripts upgrade in the past (say 6.20 to 6.40).
    Thanks, AM

  • You Cannot select assembly order for deletion error with BAPI_SALESORDER_CAHNGE after EHP6 upgrade

    Hi All,
    We are using Z transaction to update Wbs element data to sales order line item through BAPI_SALESORDER_CHANGE. After EHP6 upgrade while updating Wbs element data to old sales orders(Created before EHP6 upgrade)  we are getting  You cannot select assembly order < order number> for deletion (V1 748) error in BAPI return table, For multiple Sales order run.
    But if  we run the same order individually it is getting processed successfully. W e are passing the same values in individual and multiple case.
    We debugged the BAPI and found one more error related to Authorization, But BAPI return table is giving different error (V1 748)message. Please help us in finding the issue.

    Hi Sujay..
    Please check.
    http://help.sap.com/saphelp_47x200/helpdata/en/b7/58c4c87e0811d2b66a0000e82d8bd1/frameset.htm

  • Time Machine backup to my NAS drive (MyBookLive from WD) stopped working after Lion Upgrade

    After my upgrade to Lion OS, I noticed that Time Machine backup failed to connect to my MyBookLive WD NAS drive. It was perfectly working while the machine was still on Snow Leopard. This is the error I am getting.
    "The network backup disk does not support the required AFP features.
    Open Time Machine preferences to select a different backup disk."
    Any help with workaround would be greatly aprreciated. Thx for your help and support.

    OK I ran into issues.  I'm doing the play by play on Q18 for copying a locally connected backup to a network connected backup - so I start the backup with the backup disk connected to the TC and then stop it when the XXX of YYY copied shows up.  I disconnect and connect the disk directly.  The problem is I don't seem to have permission to mount the sparsebundle:
    So I get info and click the lock and enter my admin password and change the everyone from no access to read and write.  Then I try to open the sparsebundle and I get:
    So I did that twice with the same effect.  Then I noticed I can mount the sparsebundle if I leave it connected to the time capsule.  So its mounted - good.  Then I go into disk utility and try to erase the mounted "time machine backups" drive and it didn't like that much - I wish I took a screenshot but I didn't.  It basically said I can't do that.
    So now I don't know what to do.  I'm currently starting a backup set fresh and this time letting it run to completion however I excluded my entire user account so the backup size is only 25 GB.  When it finishes then maybe I can move the disk local and go in and see if I can mount the partition and erase the contents and copy over my backup file into the sparsebundle.
    So does anyone know why I can't access that sparsebundle the way Pondini says I should be able to?  Any suggestions?  If my latest attempt doesn't work then I'll just do a full backup and say to heck with my history although that would be unfortunate.

  • Cannot create controls/constants/indicators from XML parser

    Is there any reason I cannot create (by right clicking) a control/constant/indicator of a XML ref from the XML parser function? I need to make subvi's to build/read xml files, and that is really impossible without that ability.
    Labview 2012 f3
    Solved!
    Go to Solution.

    This bug has already been reported (CAR 357092), and is scheduled to be fixed in the next service pack release. For now, here's a workaround:
    1. Create a reference indicator from Functions » Programming » File I/O » XML » XML Parser » New.vi.
    2. Right click on the new "DOM Document Out" indicator terminal and select Create > Control (or Indicator).
    3. Right click on the new control/indicator and choose Select XML Parser Class. Then, you can select whatever class you need.
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

Maybe you are looking for