List-mapping scenarios

This question was posted in response to the following article: http://help.adobe.com/en_US/robohelp/robohtml/WS0E9B86BF-4AAA-44ea-925E-1490091FB5A2.html

RE: FrameMaker numbered list mapped to RoboHelp numbered list
These instructions fail to account for pages that have more than one number list in RH projects linked to a FM file. There is no mechanism to properly restart list numbering. You end up with something like this no matter what you do:
Heading 1
1.
2.
3.
Heading 2
4.
5.
6.
You can edit the Paragraph Style and use the Autonumber, Create/Edit Custom Sequence to start the first list item at number one if it has been done in the traditional way in FM (ex. FM paragraph style "Step1" numbering <n=1>. But you run into the same original problem when you try to achieve the same effect by similarly creating an Autonumber Sequence that starts at two. The effect is:
Heading 1
1.
2.
3.
Heading 2
1.
4.
5.
So, the only way to get it to work when linking from FM is to choose the Convert to Text Option in the mapping, which looks terrible and offers no control.

Similar Messages

  • Issue with java mapping in a multi-mapping scenario

    Hi
        We have  a 1:n multiple mapping scenario in XI and the source is R3 proxy and target side is files. So, creating multiple file from a single message from R3 .
    R3 --> XI --> Multiple files
    Structure of the output of the multi-mapping is
    - <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
    - <ns0:Message1>
    <Transaction>
    </Transaction>
    <Transaction>
    </Transaction></ns0:Message1>
    </ns0:Messages>
    wherein each Transaction node represents a file.
    Now, we need to introduce a constant /string like
    <!DOCTYPE Transaction PUBLIC \"-//XXXXXX//DTD BatchReceiptAuthorization//EN\" \"http://dtd.XXXXXXX.com/dtds/ReceiptAuthorization.dtd\">
    on each of the files at the very beginning - i.e within each transaction node , in the above structure, we need the above DTD string to be written.  To do this, we added a java mapping as the second mapping after the message mapping that creates this string. Is this the right approach and would it produce what we are expecting ?
    import java.io.BufferedReader;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.io.OutputStream;
    import java.util.Map;
    import com.sap.aii.mapping.api.StreamTransformation;
    import com.sap.aii.mapping.api.StreamTransformationException;
    import com.sap.aii.mapping.api.StreamTransformationConstants;
    import com.sap.aii.mapping.api.DynamicConfiguration;
    import com.sap.aii.mapping.api.AbstractTrace;
    public class ModifyRootAndDelay implements StreamTransformation {
         AbstractTrace myTrace;
    public void execute(InputStream input, OutputStream output) throws StreamTransformationException {
              try{
                   BufferedReader reader = new BufferedReader(new InputStreamReader(input));
                   String NameSpacePrefix = "<!DOCTYPE Transaction PUBLIC \"-//innotrac//DTD BatchReceiptAuthorization//EN\" \"http://dtd.innotrac.com/dtds/ReceiptAuthorization.dtd\">";
                   String sLine = null;
                   StringBuffer XmlMsg= new StringBuffer();
                   String Result,PayloadBody;
                   int indexOfFirst;
                   while ((sLine = reader.readLine()) != null) {
                        XmlMsg.append(sLine);
                   String StartingTag = XmlMsg.toString();
                   indexOfFirst = StartingTag.indexOf("<MerchantID>") ;
                   PayloadBody=new String(XmlMsg.substring(indexOfFirst));
                   Result=NameSpacePrefix.concat(PayloadBody);
                   output.write(Result.getBytes());
              /*     Thread.sleep(200000); */
              }catch(Exception e){
                   myTrace.addWarning("Exception raised in the JavaMapping:modifyNamespace.java""\n The Exception Message: " e.getMessage());
                   throw new RuntimeException(e.getMessage()) ;
            }     public void setParameter(Map param) {
              myTrace = (AbstractTrace) param
                        .get(StreamTransformationConstants.MAPPING_TRACE);

    Hi XI Gurus
                       In my scenario, I sent the inputstream that is being passed to the Java execute method - to trace and I see that the whole of the xml file - as shown below  - which is the output of message mapping ( from the first mapping step ) in sent to the execute method of the java mapping a single call
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
    <ns0:Message1>
    <Transaction> </Transaction>
    <Transaction> </Transaction>
    </ns0:Message1>
    <ns0:Messages>
    So, I modified Java mapping program to look for multiple occurences of <Transaction> tag and prefix them with my constant DTD Literal - which is the primary reason , why I had to use Java mappings after the message mapping.
    Now, I get an error is XI- SXMB_MONI
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="MAPPING" />
      <SAP:P1>unexpected symbol; expected '<', '</', entity refe</SAP:P1>
      <SAP:P2>rence, character data, CDATA section, processing i</SAP:P2>
      <SAP:P3>0</SAP:P3>
      <SAP:P4>113</SAP:P4>
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>The exception occurred (program: CL_XMS_MAIN===================CP, include CL_XMS_MAIN===================CM00A, line: 609)</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Should I create multiple outputs - as many as the numberof target split files ( of type outputstream ) from the execute method in the java program ?

  • Help me please : Serious problems with collection-mapping, list-mapping and map-mappi

    Hi everybody;
    I have serious problems with list-mapping, collection-mapping and map-mapping.
    Acording to specifications and requirements in a system I am working on it is needed to
    get a "list" of values or an indivudual value.I am working with ORACLE 9i Database,
    ORACLE 9i AS and ORACLE 9i JDEVELOPER.
    I tried to map a master-detail relationship in an entity-bean, using list-mapping.
    And this was very useful in order to get a "list" of details, ...but, when I wanted
    to get a single value I have some problems with persistence, something about "saving a state"
    despite I just want to get the value of a single detail.
    I decided to change it to map-mapping and the problem related with a single detail
    worked successfully, but I can get access to the whole bunch of details.
    May anyone of you help me with that?
    I am very confused I do not know what to do.
    Have any of you a solution for that problem?
    Thank you very much.

    Have you tried a restore in iTunes?

  • SAP Cloud for Customer : Code list mapping question

    Hi All.
    I have a basic question. When we do code list mapping for our own defined mapping group and have to choose Data Type name what should be used as Namespace. I usually see two entries but not sure of their purposes. What is the difference between the two ? Which one should be used when we are trying to map custom CRM/ERP OnPremise values with new ones i cloud.
    Please see attached snapshot.
    Regards
    Apoorva

    Hello Apoorva,
    If you want to be compatible with CRM / ERP OnPremise I suggest to use "http://sap.com/xi/AP/Common/GDT".
    HTH,
        Horst

  • SAP Cloud For Customer : Code List Mapping For Material or Product

    Hi Experts,
    I wnat some information about the SAP cloud code list mapping.
    If i want to replicate Material / Product from SAP ECC / SAP CRM to SAP cloud for customer then any code list mapping entry we need to maintain in cloud side?
    Or
    Any Code list mapping for Material or Product in Cloud?
    If yes anyone have list with SAP ECC / SAP CRM table details?
    Many Thanks
    Mithun

    Hi Mithun,
    Code list data type is available in SAP Cloud. As of my knowledge I trying to find is code list mapping is available or not.
    Yes we can replicate exactly the same values in SAP Cloud that we see in the SAP ECC / SAP CRM. For this, We need to create custom 'Code list' for the required one you want and assign that code list data type name which you created in the previous step to the required element in the BO.
    For creating the code list data type: Go the Solution Explorer, Right Click on the Solution name, Click on 'Add' and Click on "New Item', then Add new item window will open with Installed templates, you will see the list of templates select the code list data type. Give the name as per your requirement starting with Z, max length is 27 only. click next, in 2/3 step, here you can add the list of values you want, add description to them. after clicking on the finish. activate the solution. Go to the BO and for the required element add the name you provided in creating the Custom code list ( ZXxxxxCode ) . Save and activate the BO as well as the solution then update the metadata in the designer part and in date model also, In data model, bind the required root element which is on the left pane to the required BO element which are in the right pane. Click Save and activate here also after the changes are made. finally activate the solution. In the solution explorer Right click on the OIF ui component and click on preview, it will open in the browser, here you will find the custom list you created, for the required one which you added code list date type name for the element in the BO.
    Mithun.. Sorry if I"m confusing you more on this. let me know is this solution enough for the requirement you are searching.
    Best Regards
    Bandhav

  • JPA:How to map List Map Enumerated,EntityType database?

    as we know that we can map collections to database with ElementCollection annotation; how to map a collection of collection of entity?
    for example:
    List<Map<Enumerated,EntityType>>
    thanks

    you have to do customization to acheive this.
    Check this Link
    Re: OIM: Manager Request access for subordinate

  • Simple value mapping scenario

    Hi,
    I have a simple mapping scenario but cant find the right functoids to use.  I have a simple "if else" functoid
    If sender has the value 10 then the equal functoid is true and maps the value Yes. If sender is anything else but true then value mapping is No.
    But now I want to add a extra value. So if sender is 10 or 20 then its Yes.
    How can I achieve this?

    If you want to use functiod to have If-then-else, then this can be archived using the comboination of Equal, Logical Or and Value Mapping fucntiod.
    Following article explains this in detail with an example.
    http://blogs.msdn.com/b/chrisromp/archive/2007/05/29/to-be-or-logical-not-to-be.aspx
    Otherwise a scripting functiod can do this with custom script with if-then-else in it.
    You can choose any of these options.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • How to create table with list/map value binding

    I need to display few values in a tabular format. Is it possible to create adf table without having value binding to a VO object. Can I make a table with some list/map combination.
    I want to change the display format with minimum change in the application. Hence I am looking for a change to define a list/map and map it with the table.
    Following is the structure I need to display in.
    |     |Header1|Header2 |     
    |_______|_______|_______|
    |Txt R1 |value 1 |Value 2 |     
    |_______|_______|_______|
    |Txt R2 |Value 3 |value 4 |     
    |_______|_______|_______|
    All the views does not have any relation. Hence I should not create a VO and adding rows of the VO object.
    Edited by: Jaykishan on Jun 10, 2011 11:34 AM

    Yes, you can do it. Create a pojo with the properties(column) you want to display in the table and create a list with the instances of pojos and then you can populate your table using the list.
    Sample:
    //POJO
    public class SamplePojo {
    private String col1;
    private String col2;
    public SamplePojo(String col1, String col2){
      this.col1 = col1;
      this.col2 = col2;
    //add setter and getter methods
    //Inside bean, prepare a list with pojo instances (Assume a getter exists for pojoList)
    pojoList = new ArrayList();
    pojoList .add(new SamplePojo("Value1", "Value2");
    pojoList .add(new SamplePojo("Value3", "Value4");
    etc.
    //Inside jspx
    <af:table value="#{<Bean>.pojoList}" var="pojo" ...>
       <af:column headerText="Header1" ..>
         <af:outputText value="#{pojo.col1}"/>
       <af:column>
       <af:column headerText="Header2" ..>
         <af:outputText value="#{pojo.col2}"/>
       <af:column>
    </af:table>HTH
    Sireesha

  • Regarding Month sorting in List Map String, Object

    Dear All,
    i have a list which is- List<Map<String, Object>> results . What i need is i want to sort the 'results ' .The values in results, when i tried to print it are
    RESULTS :{Apr 2009}
    RESULTS :{August 2008}
    RESULTS :{December 2008}
    RESULTS :{Feb 2009}
    RESULTS :{Jan 2009}
    RESULTS :{Jun 2009}
    RESULTS :{Mar 2009}
    RESULTS :{May 2009}
    RESULTS :{Nov 2008}
    RESULTS :{October 2008}
    RESULTS :{Sep 2008}
    i want to sort the values according to the month. like jan 2008,feb 2008 etc .
    Somebody please help .
    Thanks in advanced .

    sha_2008 wrote:
    The output sholud be june 2008,Dec 2008, Mar 2009. ie according to the increase order of monthsThat doesn't make it any clearer, in the example "June 2008" and "Mar 2009" are in the same map. Do you want that map to appear both before and after "Dec 2008" which doesn't make sense or are you expecting to restructure the data. If so, I would suggest you use a SortedMap like;
    List<Map<String,Object>> maps = ...
    SortedMap<String, Object> results = new TreeMap<String, Object>(dateComparator);
    for(Map<String, Object> map: maps)
       results.putAll(map);BTW: is there any good reason your dates are Strings instead of Date objects which are much easier to sort?

  • Mapping Scenario for Retail Industry

    Hi,
    I  want to know how to implement the following scenario for Sales Process
    My customer is into retail industry. They have franchisee all over india. They buy material and supply material to all the location. (Which I mapped through Document Series and Sequence).
    For Sales these people only know the closing stock from the respective franchisee i.e balance of the stock. right now they follow (Opening Stk - Closing stock = Sale Quantity) to get the sales.
    How can we map the above mentioned scenario in SAP B1.
    We are using SAP B12005B PL 40
    Regards
    Shashi

    Hi,
    Thanks for the reply. But actually what I am looking at the creation of A/R invoice, as it is not possible to enter item codes and select warehouses for branch for each row. I need some automised solution. so that when user from specific branch logsin that should show only the warehouse for that location. and items list should show which are there in the that particular warehouse.
    Regard
    Shashi

  • Multi-mapping scenario with multiple receivers

    Hello all,
    I have an interface using multi-mapping to generate to different files types from one source; works great.
    JDBC --> XI --> (1) XML (2) CSV
    I now need to have the XML file go to one receiver and the CSV file needs to go to a second receiver.  I've looked at the blog:
    /people/venkataramanan.parameswaran/blog/2006/03/17/illustration-of-enhanced-receiver-determination--sp16
    This blog shows how to configure dynamic receiver determination based on the source data.  In my case the output files are identical (as far as mapping), the only difference is the output format.  Has any one seen a "How to" document or blog more in line to my scenario?
    Regards,
    Jose

    Hi,
    You can also do this way
    You can define as many number of Business system you need. Say for eg you need to send XML to one BS and CSV to another BS.
    Instead of doing Extended interface determination... Goto to Receiver Determination and when you are adding the Receiver service you have the option to add one more Service... There you give both the Business Service and hence you will have two inbound interface and you can different interface mapping and so on..
    Regards,
    Prakash

  • 1:N mapping Scenario, BPM errors

    Hi,
    I am following this scenario  1: N multi mapping
    Various multi-mappings and Optimizing their Implementation in Integration Processes (BPM) in XI.
    I need your help to fix my errors for Container1, container 2, and Send step in BPM
    In BPM,
    1. I have got Receive Properties without errors
    2. Transformation Properties without errors
    3. container 1 : can you please let me know container Properties are correctly given i.e Operation and Expression are correct ?
    Please check the snap shot:
    http://www.flickr.com/photos/33169400@N05/3132774664/
    4. Loop is correct
    5. Container 2
    As per the blog: Container operation2: It increments index by 1.
    While checking My Target value has Errors. For my Target I have given index(container variable) as value. Operation and Expression are correct ?
    Please check the snap shot:
    http://www.flickr.com/photos/33169400@N05/3132774670/
    6. Send Properties:
    As per the blog: Send step: It sends the current line of the multiline interface element out_msg1 whose index is given by the
    container variable index i.e out_msg1[index].
    Please check the snap shot:
    http://www.flickr.com/photos/33169400@N05/3132774672/
    But I am not getting the Message Value output [ index ]. i.e. i am not getting [ index ].
    Please do help me to fix this to get the index in Message Value
    Thanks
    manian

    Thanks Sekhar for the help, I have used Assign value, now the container 2 has no errors.
    Bu still I am unable to solve the Send Properties
    Various multi-mappings and Optimizing their Implementation in Integration Processes (BPM) in XI. -
    step 6
    Send Properties:
    As per the blog: Send step: It sends the current line of the multiline interface element out_msg1 whose index is given by the container variable index i.e out_msg1index.
    Please check the snap shot:
    http://www.flickr.com/photos/33169400@N05/3132774672/
    But I am not getting the Message Value output index . i.e. i am not getting index .
    Please do help me to fix this to get the index in Message Value
    manian

  • 1:n Transformation using JAVA Mapping Scenario

    Hi Frnds,
    I done a scenario using 1:n Transformation Scenario using XSLT,Graphical Mapping.
    But i want to develop scenario Using JAVA Mapping.
    Can anybody done the same scenario using JAVA Mapping share the links..
    Regards,
    Raj Sekhar

    You can use SAX parser for this
    firstly create a StringBuffer sb object which will store our target output
    when startDocument() gets called append the xml declaration in this method
    sb.append("<?xml version=\"1.0\" encoding=\"utf-8\" ?>");
    sb.append("<Root>");
    next for the Test element you have your startElement() method called which will contain the name of your source tag i.e Test
    for this , you will need to set a variable boolean isTest to true which was initialised as a false value.
    in the characters method you will get the value present in this tag.
    test the variable isTest for true value.
    if it is true then append the following
    sb.append("<Test1>"name"</Test1>"); //name is the buffer passed in characters method
    sb.append("<Test2>"name"</Test2>");
    sb.append("<Test3>"name"</Test3>");
    at the end your endelement() will be called
    here reset the value of isTest to false.
    in your endDocument()
    sb.append("</Root>");
    lastly convert to byte[] and then to outputStream format
    Edited by: Progirl Progirl on Jul 4, 2008 2:00 PM

  • Problem while using Parameters in Message Mapping in Multi Mapping Scenario

    Hi,
    I am working on a scenario in PI 7.1, in which I need to pass output of Message Mapping as an input to ABAP Mapping.
    In Message Mapping, I have used standard RFC Lookup function to call a Function Module from ERP system. For using RFC Lookup function, I have created a Import Parameter of Category "Adapter", and Type "RFC" in the Signature Tab of Message Mapping.
    In Operation Mapping, I have specified both the mappings (that is., Message Mapping and ABAP Mapping).
    In Interface Determination, I have also assigned a value to the Importing Parameter.
    But whenever I trigger a message, it fails and gives message "The input-parameter Rec_RFC_ERP does not exist." (Rec_RFC_ERP is my Input Parameter name).
    When I am using only Message Mapping in Operation Mapping; it's working absolutely fine that means something needs to be done with ABAP Mapping.
    Any help will be highly appreciated.
    Regards,
    Varun

    Rec_RFC_ERP is this the name of your RFC lookup adapter?? Did you test your mapping in Design time using the RFCAdapter dropdown???
    Mapping Enhancement - RFC lookups in 7.1
    /people/jin.shin/blog/2008/02/15/sap-pi-71-mapping-enhancements-series-graphical-support-for-jdbc-and-rfc-lookups
    Regards,
    Siva Maranani

  • How to know the list of scenario that use a KM

    In ODI work repository, from which table I can know a list of interfaces that use one IKM and from which table I can can know a list of package that use that interface? The reason for this question is I want to regenerate all scenarios impacted by that KM.
    Thanks

    Hi,
    try this:
    SELECT snp_scen.scen_name
    ,snp_scen.scen_version
    ,snp_package.pack_name
    ,snp_step.step_name
    ,snp_pop.pop_name
    ,snp_trt.trt_name
    FROM snp_scen
    INNER JOIN snp_package on snp_scen.i_package = snp_package.i_package
    INNER JOIN snp_step on snp_package.i_package = snp_step.i_package
    INNER JOIN snp_pop on snp_step.i_pop = snp_pop.i_pop
    INNER JOIN snp_trt on snp_pop.i_trt_kim = snp_trt.i_trt -- integration
                             or snp_pop.i_trt_kcm = snp_trt.i_trt --check
                             -- more joins here !

Maybe you are looking for