Looping and Grouping at segment level

Hi Friends,
Scenario: JDBC to IDOC
PRODID     ORDERNUM                          TRUCKNO     DISTANCE               BANS         ABANS     BBANS         CRMSID
100001     230001          4578     540          10     00     10     IC1201
100001     230001          4578     500          20     00     30     IC1201
100001     230001          4578     520          20     00     40     IC1201
100001     230001          4578     510          30     00     50     IC1201
100001     230001          4578     570          40     00     60     IC1201
100001     230001          4578     560          50     00     10     IC1201     
100001     230001          4578     440          10     00     10     IC1203
100001     230001          4578     540          60     00     80     IC1203
100001     230001          4578     640          70     00     10     IC1203
100001     230001          4578     940          40     00     10     IC1208
100001     230001          4578     640          80     00     40     IC1208
100001     230001          4578     840          00     00     10     IC1208
100001     230001          4578     740          10     00     40     IC1205
100001     230001          4578     540          70     00     10     IC1205
Requirement:
I want to create an IDOC basing upon CRMSID. So, am able to create it using this below logic.
CRMSID --> RemoveContext --> SORT --> SplitByValue(ValueChange) --> CollapseContext --> IDOC
So, there are 4 IDOC's to be generated. But, each IDoc will have multiple segments to be generated since the other fields (DISTANCE     BANS     ABANS     BBANS) data is changing.
Can some one provide exact grouping and looping for this as got stuck with this.
Thanks.
Swarna.

Hi Swarna,
For individual fields   use the below logic... for example field BANS,
formatByExample-splitByEachValue--TargetBANS
FormatByExample:
input1:resultOfSortByKey
input2:CRMSIDremovecontext-sort--splitByValueChange
SortByKey:
input1:CRMSID--removecontext
input2:SourceBANS--remove context
Please try this logic and let me know on further clarification.
Thanks
Priyanka

Similar Messages

  • No Ranges at Segment Level

    Hi All,
    Client got one company code and 4 segment. Branches are treated as segment in SAP for drawing P&L and BS at segment level. Now client is insisting on different no. ranges for each segment. No. ranges always at company code level. Is there any work around solution to provide no. ranges at segment level.
    Please advice.
    Regards,
    Harish

    Hi,
    May I know What type of Budgetory control mechnism is used? Non Integrated , Integrated top down or Bottom UP?
    Thanks

  • Importing user and group database from 2.6 to 4.0

    Hi,
    I need to import the user and groups from version 2.6 ACS to version 4.0. The 2.6 online documentation talks of using the CSUtils to create a .txt back up of the users and group. But I cannot see how to import that into 4.0. Has anyone done this. Any info would be appreciated,
    cheers,

    Hi Darran,
    I looked at what I had imported using the instructions you had supplied me and it looked fine, all users and group, tacacs privelege levels had been imported. I modified a router on our network to point at the ACS 4.0. on testing it looks like the passwords hadn't been copied across successfully. Logins are failing with 'invalid CS password' in the failed authentication log. If I changed the password manually it was fine.
    Have you seen that before?
    Thanks for your help on this.
    Rgds,
    Russell.

  • Change description of value fields and segment level chars in prod system

    Hi
    1 . We would like to change the description of some value fields.... We would like to know whether the change has to be carried out directly in the production client by opening the client using SCC4 or we should change the description in development client and transport it to production...
    We are afraid that if we transport the operating concern again from dev to production system using KE3I, it may affect the transaction data which is already lying in the production system
    2. We would also like to create and include some new fields as Segment level characteristics in COPA... What is the proces for the same and whether the same has to be done directly in production or transported from dev client
    3. Some value fields which were copied in our operating concern from a template of Air line Industry, are not suitable to oour business. So we are trying to change their description.. But SAP does not allow to change the description of thes value fields..
    Only those value fields which were created by us starting from VV***, can be changed.. Description of those delivered from the template, cant be changed. What is the process of doing the same
    Regards
    Ajay Maheshwari

    Hi
    When the Operating concern was copied from Airline Industry, many standard chars which are not applicable to Airline Industry were not copied.... For eg: Material group 1 to 5... These are std fields of Mat master which normally exist in Operating concern when I used to create it manually.... Many other chars reqd by the business are not available
    Someone else copied it using Airline template and many reqd chars are not available at all... I have the option of creating User defined chars for it and write a derivation rule to populate it... 
    Though COPA is active, my client does not use it as of now in ECC 5.0.. They would like to use it post ECC 6.0.. So, I thought its better to start afresh than carrying forward the mistakes done by someone else.. They are OK with this model, but I wanted to be sure what all issues can be faced due to this
    Regards
    Ajay Maheshwari

  • Simulair report for FBL5N and FBL1N for new general ledger on segment level

    We are working with segments in new G/L ledger. We want to run a open item report where we can combine customers and vendors by segment. The vendors and customers are linked in the master data. In the "old"  reports FBL5N and FBL1N you can do this but not by segment.I found the following report on segment level:
    - S_PCO_36000218 - Receivables: Segment
    - S_PCO_36000219 - Payables: Segment
    What I'm missing is to run 1 report for Customers and vendors. What I'm missing to is that there are only some fields available on line item level. (I like to have invoice number, documentype,.......)
    Is there a standard report for this in new genaral leger?
    Is it possible to ad additional field to th list viewer.

    What is this user license type?  All financial transactions need professional license.
    Thanks,
    Gordon

  • How do we fetch the top-level users and groups for a particular resource

    Hi Experts,
    I need to fetch the top level users and groups (permissions) for a particular resource, Currently i am able to fetch the effective users list.
    Thanks.

    To elaborate...
    Here we need the users and groups who have direct access to the resource. We dont want to resolve groups.
    Please help us with the apis to use in our java code to fetch the users and groups.

  • How to create & Assign unique Qualification level and Groups(Each trans.)

    Hi,
    While working on CRM_LEAD i have observed that i cannot create unique Qualification level or Groups/origins for each transactions, if i add one more Qualification level or Groups/origins in existing table it is reflecting in all corroseponding Leads.
    Please tell me how to create seperate Qualification level and Groups/origins for each Transaction, else we can use Authorisation Object for this.
    Please resolve.
    Regurds,
    Dipesh.

    Hi Chirag,
    I've read the following link, but the question is....
    - Where is the link to create transport groups? That is my only question It's as easy as that
    Found it...sorry I knew it was easy
    Edited by: Gonçalo Mouro Vaz on Dec 20, 2007 5:13 PM

  • Reporting level Currency translation and group level Currency translation

    Hi All,
    Could any body explain me reporting level Currency translation and group level Currency translation.Please expalin me step by step scenario.
    Thanks in advance.
    Setty.

    Hi Jian,
    In my recent implementation completed, business only had one currency to deal with i.e. USD. Data was coming from ECC and we loaded all the data in LC instead of USD using transformation *NEWCOL(LC). Next, you can maintain a rate of 1 in the rate model and run the currency conversion.
    This will generate the same data values against USD. So, your statement " if we load LC and than convert it into USD, the data vulu will de double." is incorrect. In the system, you will have same set of values against LC as well as USD.
    I suggest that you configure Currency Conversion for future reqmts if any.
    Regarding BCF, balances from previous year (Balance Sheet Accounts) will need to be carried forward as opening balances to next year else your BS won't give true picture.
    Regards,
    Ashish

  • Switching user and group IDs at OS level when starting WLS 5.1

    Hello, Is it possible to switch the user ID and group ID at OS level when WLS 5.1
    is started?, this is because WLS is currently started with a priviledged account
    and I need to run WLS with a restricted user's environment, for securing purpouses.
    Please, any comments ares appreciated, thanks in advanced.
    Miguel Angel Avila Vqz.

    Thank you very much Michael, I am now able to accomplish this task, best regards,
    "Michael Young" <[email protected]> wrote:
    Hi Miguel.
    Check out the properties documented at
    http://www.weblogic.com/docs51/admindocs/properties.html#setuid in order
    to
    accomplish this.
    Regards,
    Michael
    "Miguel Angel Avila Vázquez" <[email protected]> wrote in message
    news:3e6bdeac$[email protected]..
    Hello, Is it possible to switch the user ID and group ID at OS levelwhen
    WLS 5.1
    is started?, this is because WLS is currently started with a priviledgedaccount
    and I need to run WLS with a restricted user's environment, for securingpurpouses.
    Please, any comments ares appreciated, thanks in advanced.
    Miguel Angel Avila Vqz.

  • How to check the number of contacts with segment level 'food and beverage' in the segment builder?

    How to check the number of contacts with segment level 'food and beverage' in the segment builder?
    Do we have any table to check this.

    How to check the number of contacts with segment level 'food and beverage' in the segment builder?
    Do we have any table to check this.

  • Significance of ESB Systems and Groups

    Hi,
    Other than organizing things better what are the true functionalities of ESB Systems and Groups? Having services in seperate systems/groups enables me to deploy them on seperate ESB Instances? Are there any performance benefits by limiting number of services in a System/Group?
    Thanks in advance.
    Regards,
    Rajesh

    ESB systems are the lowest level unit of scalability (just made that up). You can apply services in a group to different clusters/rt servers and define different async jms topics to route the message through. So anything in an ESB can be segmented to scale up as needed.

  • GL segment level security

    Hi,
    How can we simulate the GL segment level security in OBIEE GL and Profitability Module of OBI Apps Pre build application ..? Any docs available, Please let me know

    You define profitability segment structure with KEQ3. 
    Define Profitability Segment Characteristics (Segment-Lvl Characteristics)
    In this step, you specify whether a characteristic in CO-PA is used to create profitability segments.
    Characteristics that are used to create profitability segments are available for the information system and in planning, for example.
    Characteristics that are not involved in the creation of profitability segments remain in their line item in CO-PA.
    Frequently occurring characteristics that rarely bear the same value (such as the sales order number for a repetitive manufacturer) can thus be excluded from the creation of your profitability segment. In this way, you can improve the performance of your profitability analysis considerably.
    Furthermore, you can perform profitability analysis at the customer group level or at the product group level by ceasing to use customers or products in that analysis.
    Regards,
    Rebe. Z

  • Views Status at MARA general info segment level

    Hi all,
    Please guide me how to maintain Views Status at MARA general info segment level.I am extending standard MATMAS IDOC for my own fields.
    Thank you.

    You actually need to run it with "check -access"; memuse and leaks won't help with the crash, which happens because of illegal memory access. Hopefully, "check -access" will help you to locate the bad guy, but that's not panacea either.
    To be precise:
    - start dbx
    $ dbx <your app>
    - issue
    (dbx) check -access
    (dbx) run
    and wait for dbx to stop and report suspicious memory access.

  • Assigning Roles to Users and Groups

    Hi,
    We have installed EP 5.0 SP4...with Content Management...we configured the LDAP to Portal......all the users are maintained through LDAP only...the problem is assigning the Role's to user..here in portal how to assign the roles to the users...we are not getting the Role assignment option under Portal Admin TAB..is there any way to configure the roles to User's are Group's.....
    it is an urgent assignment for me..help can be appreciated...
    sudhir

    Sudhir,
    You can assign the roles to users and groups as below.
    1. Select the System Administration in the top level navigtion
    2. Select user administration
    3. You can search for a specific user or a group from this iView.
    4. Use the edit button to edit the profie of the user or group.
    5. Search for the role in the search iView.
    6. Add the role to the user of group and save.

  • How to Create and External Hierarchy and group values of IO in node

    Good morning
    BI 7:
    Please give me guidance on the following?
    I need to either to restrict a characteristic in a query to more than 800 values OR exclude values where it contains the pattern 'Z7' and 'Z8'. There are thousands of values which contains the pattern and they are not listed in such a way that I can exclude them as a value range, thus I would have to include all the values I want into the restriction, which is more than 800. An error displays when I check the query:
    ""In the structural component Warranty Damage Code, characteristic ZWR_DMGC is restricted to 838 values. This number is very large and will probably meet with technical limitations""
    The proposed solution is:
    ""Create an external hierarchy for characteristic ZWR_DMGC and group the 838 values in a hierarchy node. You can then work with the node instead of the 838 individual values.
    Alternatively, you can define a corresponding navigation attribute for ZWR_DMGC""
    I know where to create the hierarchy, but I am confused how to only include the values of the applicable IO where pattern contains 'Z7' and 'Z8'.......??
    The following are some of the steps proposed in a related thread, but I am loosing it at step 7.
    5. Confirm your entries. The Maintain Hierarchy screen appears. You can define the structure of a hierarchy here. ok
    6. To create a hierarchy node, you first need to choose an insertion mode: Insert as First Child or Insert As Next Neighbor (see Hierarchy Editing Functions). I selected first child
    7. Choose the type of node you want to create: Text Node, Characteristic Node, <Hierarchy Basic Characteristic Node> or Interval (see Hierarchy Nodes) *this is where I am lost, which should I select to list values with pattern ' *Z7' and ' Z8' in a node or two
    8. Repeat this procedure until the hierarchy structure has been set. For more information, see Modeling Nodes and Leaves.
    A hierarchy can contain 50,000-100,000 leaves at most. If your hierarchy is larger, you should insert a level that is used as a navigation attribute or preferably as a separate characteristic in the dimension table.
    9. You can use Level Maintenance and Hierarchy Attributes to set how the hierarchy is to be displayed and processed in reporting (see Level Maintenance and Hierarchy Attributes).
    10. Save the hierarchy.
    Your assistance will be appreciated.

    Hierarchy not used in this case. Could not fnd an answer.

Maybe you are looking for

  • Web-Based Setup, not working

    Hello... When I go to the Web-based setup...wireless/security.. nothing is available. I can't change the keyphrase, or security type WEP WPA andy such darned thing. It's just not there 90% of the time. Then once in a blue moon it shows up. Upgraded a

  • G4 400 - USB 2.0?

    I'd like to get an ipod, but, it requires that my Mac have a USB 2.0 port. All my manual says is that I have 2 USB ports, not whether or not they're version 2.0. Anyone know if I can use an ipod with this machine? Thanks.

  • PRE 12 + Phantom Burner

    I am attempting to create a Blu-Ray ISO file of a Premiere Elements 12 project.  PRE12 is installed on a Dell XPS 420 with Windows Vista SP2. I have completed the project and installed Phantom Burner 2.0.  I have created the Phantom Burner file by ri

  • Exchange (Outlook) meeting acceptances/declines don't sync

    I have an iPhone4 and I sync to my office Outlook OTA. When I receive a calendar invite on my desktop and then accept it, the iPhone does not know that the meeting was accepted. I have to accept it a 2nd time on the iPhone. The same issue works the s

  • Need help troubleshooting a crashing iMac

    [yay! my own new thread!] About my iMac: Intel Core 2 Duo, 3.06 GHz, 4 GB What I've done so far: 1. Run disk utility - checked permissions, verified disk; nothing 2. Opened activity monitor - nothing out of the ordinary:  1.6 GB memory free, etc. 3.