Can't concatonate more than three items in a portal select statement ?

I'm running a Report from SQL query
as Far as I can tell you can't do;
select 'blah1'||name||'blah3'||'blah3'
from scott.emp
as soon as you put in a 4th item it fails.
It also fails using select concat (,)
I'm trying to run a report which selects a web address stored in a database table ie. http://www.yahoo.com and wrap it in html tags so it will appear as a link.
I've got to do it with more than three items because the only way to display the < in <ahref is to quote it seperately.
ie
'< '||'ahref='||ADDRESS FROM DATABASE||etc.etc.
anyone any ideas?
should i do it another way?

Let me explain a bit further.
If I want to display;
www.yahoo.com as a link I need add the html tags
Yahoo
www.yahoo.com is an entry in a database.
I want to select the entry www.yahoo.com from the database and concatonate it with the html tags.
ideally;
select 'Visit
This does not work
To concatonate characters like > in a select statement within portal you need to concat. seperately;
select '< '||'a href="'||ADDRESS FROM DATABASE||'"> '||'Visit< '||'/a> '
This does not work as you can't concat more than three items.
Could I write a trigger to add in the html tags to the data stored in the database, when data is entered via a portal form?
Again my problem is In need to add text to the start and end of the data being stored ie.
user enters www.yahoo.com in a form
a trigger or two converts that into;
Visit

Similar Messages

  • How can I buy more than one item at a time?

    How can I buy more than one item at a time i iPhote fx a book and a calander? It would be nice to place one order and only pay for the shipping once!

    You can't.
    Regards
    TD

  • How can i put more than one item in a same row of a form?

    guys!
    it seems item is positioned in a single row one by one each time item is appened to a form. i can't append more than one item in same row.
    i'm using sun wtk and default colored phone emulator.
    xxxx

    Hi,
    It is not possible to have more than one combo in the source frame. This is because frame drivers can take only
    two columns in the sql query, one is the display value and the other the return value.
    Thanks,
    Sharmila

  • I can't restore more than three closed wndows.

    I can't restore more than three closed windows. After I right click on the Firefox icon on the toolbar at the bottom of my screen and select close all windows, the next time that I restart Firefox, I can only restore three windows, instead of all of them. This happens whether it is set to automatically restore the previous session on startup or I do so manually. I have read that the browser.sessionstore.max_windows_undo is set to three by default, but don't see anywhere to change that. This problem has only been since the most recent automatic update of Firefox. I would tell you what version, but I can't even find that. I think it may be 29. I have also read that if you close the windows by clicking on the Firefox icon in the upper left corner of the page and select exit that this problem does not occur, but that option doesn't exist in the current version. I am using Firefox browser on Windows 7 Professional operating system. If you need more information or I am missing something, please let me know. If this is a bug, then please let me know when a fix is expected or provide a link to instructions on how to return to the previous version of Firefox that I was happy with.

    Hey, in order to change your Firefox Configuration please do the following steps :
    # In the [[Location bar autocomplete|Location bar]], type '''about:config''' and press '''Enter'''. The about:config "''This might void your warranty!''" warning page may appear.
    # Click '''I'll be careful, I promise!''' to continue to the about:config page.
    # Then you can change or add browser.sessionstore.max_windows_undo and set the value.

  • Drill down using more than three items

    Is it possible to supply more than three parameters to the column link?
    I am making a drill down from summary report to the detail report, and I need to pass five parameters to the detail report. The list of items under
    Application Builder > Application X > Page Y > Report Attributes > Column Attributes > Link
    is limited to three items. Is there a way around this limitation?
    Thanks,
    Tim

    You need to change you link type from <b>Page In This Application</b> to <b>URL</b>. You'll then need to encode each parameter name and it's value into the last two elements of the f?p format. You can use a two or three parameter URL as an example and just modify from there. <br>
    <br>
    For example (from one of my applications):<br>
    <br>
    f?p=101:13:::NO::P13_NAME,P13_SEQ_ID:Lee%2C396<br>
    <br>
    The relevant part is the last colon (or the fields on either side of it more specifically). The first set of fields <b>P13_NAME,P13_SEQ_ID</b> are my page item names on the destination page (where we're going) and the last two <b>Lee%2C396</b> are their values from the source page (where we're coming from). The %2C is an encoded comma. In order to get this in your output, you want to set your URL to something like:<br>
    <br>
    f?p=101:13:::NO::P13_ITEM1,P13_ITEM2:&P12_ITEM1.,&P12_ITEM2.<br>
    <br>
    I'm doing this from memory since I can't find a good example for you, but I think I'm pretty close in the syntax.<br>
    <br>
    Hope it helps.<br>
    <br>

  • How can i get more than 1000 items in Custom List Displaying Items?

    http://.....sites/_vti_bin/listdata.svc/AddressBook(List) allows 1000 items Only my AddressBook List, but i have more than 1000 items in my AddressBook list. I want to get items
    from AddressBook list and bind in another place using Autocomplete method like this.
    =======>>>>listurl=http://.....sites/_vti_bin/listdata.svc/AddressBook.
    and my coding in camel like below
    protected void btnpopulatedetails_Click(object sender, EventArgs e)
    SPSite objSite = SPContext.Current.Site;
    SPWeb objWeb = objSite.OpenWeb();
    objWeb.AllowUnsafeUpdates = true;
    SPList list = objWeb.Lists["Address Book"];
    SPQuery query = new SPQuery();
    query.QueryThrottleMode = SPQueryThrottleOption.Override;
    query.Query = "<Where><Eq><FieldRef Name='Title'/><Value Type='Text'>" + txtcustomer.Value + "</Value></Eq></Where>";
    query.RowLimit = 500;
    SPListItemCollection items = list.GetItems(query);
    function fnCustomerSearchBind() {
    if ($("input[id$='txtcustomer']").length != 0) {
    var collcustomer = searchCustomers('', urlTo, fieldto);
    $("input[id$='txtcustomer']").autocomplete({
    source: collcustomer,
    //maxLength:10,
    select: function (event, ui) {
    //debugger;
    event.preventDefault();
    $("input[id$='txtcustomer']").val(ui.item.value);
    $("input[id$='btnpopulatedetails']").click();
    return false;
    minLength: 0,
    function searchCustomers(value, listurl, fieldto) {
    var collcus = new Array();
    var custresults;
    var url =listurl + "?$filter=startswith('" + fieldto + "','" + value + "')";
    //debugger;
    $.ajax({
    cache: true,
    type: "GET",
    async:false,
    dataType: "json",
    url: url,
    success: function (data) {
    custresults = data.d.results;
    //alert(listurl);
    // alert(data.d.results);
    for (var x = 0; x < custresults.length; x++) {
    //alert(custresults[x]['To']);
    collcustList.push(custresults[x]['To']);
    //debugger;
    //debugger;
    return collcustList;
    In my research listurl=http://.....sites/_vti_bin/listdata.svc/AddressBook has 1000 items in 1st Page by default, So how to change 1st Page by default to All Pages through
    code. I think you understand my environment by look above coding, if you don't I am using office 365 sandbox solution. One more thing i know through my research Pages can be change by using Ado.Net Data Service, i tried this one but this one support windows
    server 2008 r2 only but i am using Windows Server 2012 r2. Please help me if you know the answer.

    Hi,
    Here is a blog would be helpful:
    ADO.NET Data Services returns 1000 items
    https://gilleslauwers.wordpress.com/2010/12/08/ado-net-data-services-returns-1000-items/
    Best Regards,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Can you have more than three ipods registered to a itunes account?

    Everyone in our family has a ipod video. so we have a total of 5 in the house. The question I am wondering about is.. can more than 3 ipods be registered to an itunes account? and if not..can we make a new account for the other two? when my son is at college would he be able to log on to the itunes or would he only be able to do it when he came home to visit? Since we would be loading the songs and videos on this end?
    Thanks.. we are all new to this..

    can more than 3 ipods be registered to an itunes account?
    You don't register iPods to an iTunes account.
    You simply have an iTunes account at the iTunes store.
    You can use this on any computer in the world with internet access. You can use this one iTunes account to purchase and play music on up to 5 computers at a time.
    when my son is at college would he be able to log on to the itunes
    He can use iTunes whenever he wants.
    You don't need to log on to run iTunes.

  • Can't have more than one item on at the same time

    Hello,
    I have a WRT110. I have two wireless notebooks and a wireless printer on a network. Everytime I turn more than one thing on, it makes my connection drop. Example, I will have my notebook on and if I want to print something out, I turn on the printer and bam, I've lost my wireless connection. What am I doing wrong? Its to the point where if my husband is online and I turn on my Ipod it connect to the internet and my husbands connect ends. We keep having to reset router and modem. Any help would be greatly appreciated!
    Solved!
    Go to Solution.

    1. Goto Control Panel > Network and Internet > Network Connections.
    2. Right click on ‘Local Area Connection’ & click ‘properties’ option.
    3. Uncheck ‘Internet Protocol Version 6 (TCP/IPv6)
    The Search Function is your friend.... and Google too.
    How to Secure your Network
    How to Upgrade Routers Firmware
    Setting-Up a Router with DSL Internet Service
    Setting-Up a Router with Cable Internet Service
    How to Hard Reset or 30/30/30 your Router

  • How can I get more than 5 items in my Recent Projects list?

    After a rather horrendous incident with trying to do a series of videos all in one project using bins and shared media and a savefile that got *WAYYY* out of hand (20 minutes to load the file)- which I believe was tied to importing media from another .proj file, I have switched to a more modular approach with anywhere from 2-5 projects in each project and now a collection of around 15-25 projects on the go. Most of these are "work on a chapter, then change to another project while waiting for footage for another project" and several of them share pieces including multicam segments and sync'd audio.
    Rather than importing from another project, I am using Control-C, switch to a different project file, then paste in. This isn't the most "Adobe Professional" style way of doing things, but considering that I lost several hours to trying to recover from the last project, even when I only needed to spend 20 minutes pumping out a rough cut, I'm not going back to that method until my next computer upgrade and until I begrudgingly switch to CC in around 1-1.5 year's time.
    So the issue that I'm faced with is that I'm often using the Open Recent Project flyout and having 5 projects on that list is just not enough to be remotely useful.
    In MS Office, the list is quite long and even in photoshop, I can get 10. That's enough for my Photoshop, but I switch projects using the Recent Projects list in Premiere a LOT more often. I could just use my explorer windows to jump around, but given that I have 5-6 explorer windows open per project most of which are folders crammed with footage, PSD stills and peak files, plus other non-video things I'm working on right now, that's really not the simplest way to navigate at a glance.
    How can I get 10, 20 or 25 items in that flyout list instead of mucking about with 5?
    I run Adobe Production Premium CS6.

    I see a lot of people not reading the circumstances of what I said.
    I did mention that currently I use the "explorer" method and it's kind of clumsy. Although I liked the idea of using shortcuts. I had thought about moving the files, but didn't think about shortcuts... considering everything on my desktop is a shortcut, I'm really not sure why I didn't think of that.
    But I did mention that I almost always have anywhere from 12-15 windows open at any given time in my explorer. I am involved with management of 4 different companies right now, two of which are in startup mode. Videos are important for me, but not my only duty. These windows only go down when I shut down my computer, which happens on average once every 4 months. It is not a problem on a reasonably capable system.
    Still, for a project of currently 23 files (just got increased to 28 and expected to rise to 32-35), and because I have had project files go sour on me, I keep some hierarchy and because I don't have 100% creative control over all my projects, I also occasionally have to do re-overs ie when a specific style of writ is nixed by a boss or customer. Those 23 project files also have version iterations.
    So navigating 'at a glance' through a file explorer isn't always the most practical.
    In the end, I'll probably try to find some time to re-organize my file structure using shortcuts.
    Still, given the number of 'recent files' can be modified or is larger than 5 in: Windows Start Menu, Recent documents, Adobe PDF recent documents, Adobe Photoshop, All Office suite programs...
    It's just weird that there's only 5 for a program intended for the kind of people that work on projects somewhat larger in scope than "hey, we took the dog to the park the other day".
    @Jerry Klaimon - not sure what version of Premiere you're using, I'm using CS6 with Production Premium CS6. Recent files only shows 5. Photoshop shows 9. For my current workload, I'd probably want 10-12 and it would be nice if they could go to 20 or more IMHO. Look at History states. History states default to 20. I usually set this to 35 whenever I set up any user's computer. It's easy to choose what suits me from the preferences menu. I don't see why they wouldn't have the same idea for 'recent files'
    @anyone who thinks I'm stupid - please feel free to insult me. A forum scuffle is often a great way to get the attention of moderators who might be in a position to pass this idea on to someone who could do something about it. I'm also anal, stubborn, holier-than-thou and not-as-smart-as-i-think-i-am if you want some ideas to get started .
    @Steven Gotz - you are quite correct that asking is important. Probably a smarter thing to do before pestering the devs with feature requests is to thoroughly check to see if it is in fact already existing. Adobe products are famous for having features that nobody knows about. Most of the questions I have that Google or Lynda.com didn't answer have been answered here in the forums. Then once I've seen that a few hundred pairs of eyes sharper than mine have also come up with nothing, then perhaps it might be worthwhile sending in a feature request. In this case, I will probably toss a feature request in later, but I'll probably just use your idea of keeping a master project folder with shortcuts.
    @MarkMapes - I do not have a problem loading files. Project files load just fine for me. But I have one project file that has a problem that loads a HUGE amount of RAM and takes nearly 20 minutes to open. It even takes almost 8 minutes to close it. It was acting as my master file with everything nested in sequences and I needed to spend a whole afternoon to pull those sequences out using copy-paste because bringing them in via Import Sequence brought the problem into the new file. I would file that under "glitched save files" rather than "slow loading".
    @Jon-M-Spear - good idea too - although I did cringe a bit at the suggestion of putting things on the desktop. I have bad habits and I work very hard to try to make other people who have worse habits in this company to try to get them to not keep anything on the desktop. In fact, it's probably my favorite thing about Windows 7 that you can have a clear or nearly totally clear desktop.
    Thanks for your comments folks.

  • Working on a logo. Converted type to outlines. Can I paste more than one item into the outlines?

    I'm working on a logo. Text converted to outlines. I pasted one element into the outlines and when I went to past a 2nd item into it, it replaced the original. How can I go about doing this?
    CS3

    >No..the objects you want to paste into it.
    AHHHHHH... cool. Thanks.

  • Can we query more than 5000 library items in Sharepoint online library using CSOM?

    I am writing a console application to fetch all documents from the SharePoint Online Site. I am worrying what happens if library items grow beyond 5000 items. In my earlier experience from SP2010, I will raise the threshold limit from Central Admin Site
    and then perform my CAML query operation. In SharePoint Online Site, is this possible ? If not, is there any alternative to get all the documents above 5000 limit ?

    At the moment I wouldn't advise it without using folders.
    You can, definitely, add more than 5k items in Office 365 lists. If you design them well and add indexes before you go over the threshold then it should be fine.
    HOWEVER, once you go over the 5k threshold you lose the ability to change all the items in the list at once. Which means you can't add indexes to columns, can't add new columns, can't remove columns or perform any large admin task.
    Incidentally CAML queries and upping the threshold are either/or options in on-premises installs. CAML is the way forward and can be used without increasing the threshold in the vast majority of cases.
    In terms of support the MS documentation is unhelpful:
    http://office.microsoft.com/en-gb/office365-sharepoint-online-enterprise-help/sharepoint-online-software-boundaries-and-limits-HA102694293.aspx
    There it states that MS only support 5k items in a site list/library.

  • Is it possible to place more than one Item on same line on the FORM

    Can we placed more than one Item on the form?
    for ex: I want to use TextFields to input the Date of birth in form of DD/MM/YY
    I want to put on the form like
    Enter DOB :- DD MM YYYY
    Please suggest if it is possible any way in J2ME

    It will depend on the phone. There is no way of knowing if the items actually will be on the same line or not. On a phone with a small screen, the items are likely to end up on two lines.
    You can however make sure that the lines will occupy two lines by using the setLayout(int layout) method which belongs to the Item class.

  • More than 100 items in Form or Page

    Can Apex allow more than 100 items in a page? I am getting message like
    'Item count exceeds maximum of 100'.
    Even data entered in the form for extra items over 100 is not posted to database.
    Pl help or suggest any workaround.
    I am using HTMLDB 2.0

    Example:
    1. Create the test data
    CREATE TABLE "TEST_TABLE1"
    ("KEY1" NUMBER(10) NOT NULL ,
    "DESC" VARCHAR2(24) ,
    "OPTION1" VARCHAR2(10) ,
    "OPTION2" VARCHAR2(10) ,
    "OPTION3" VARCHAR2(10) ,
    "OPTION4" VARCHAR2(10) ,
    "OPTION5" VARCHAR2(10) ,
    "OPTION6" VARCHAR2(10) ,
    "OPTION7" VARCHAR2(10) ,
    "OPTION8" VARCHAR2(10) ,
    "OPTION9" VARCHAR2(10) ,
    "OPTION10" VARCHAR2(10) ,
    "OPTION11" VARCHAR2(10) ) ;
    INSERT INTO"TEST_TABLE1"
    VALUES (1,'Row 1','Red','Blue','Green','Yellow','Orange','Black','Ivory','Purple','White','Lime','Gray');
    INSERT INTO"TEST_TABLE1"
    VALUES (2,'Row 2','Blue','Green','Yellow','Orange','Black','Ivory','Purple','White','Lime','Gray','Red');
    INSERT INTO"TEST_TABLE1"
    VALUES (3,'Row 3','Green','Yellow','Orange','Black','Ivory','Purple','White','Lime','Gray','Red','Blue');
    INSERT INTO"TEST_TABLE1"
    VALUES (4,'Row 4','Yellow','Orange','Black','Ivory','Purple','White','Lime','Gray','Red','Blue','Green');
    INSERT INTO"TEST_TABLE1"
    VALUES (5,'Row 5','Orange','Black','Ivory','Purple','White','Lime','Gray','Red','Blue','Green','Yellow');
    INSERT INTO"TEST_TABLE1"
    VALUES (6,'Row 6','Black','Ivory','Purple','White','Lime','Gray','Red','Blue','Green','Yellow','Orange');
    INSERT INTO"TEST_TABLE1"
    VALUES (7,'Row 7','Ivory','Purple','White','Lime','Gray','Red','Blue','Green','Yellow','Orange','Black');
    INSERT INTO"TEST_TABLE1"
    VALUES (8,'Row 8','Purple','White','Lime','Gray','Red','Blue','Green','Yellow','Orange','Black','Ivory');
    INSERT INTO"TEST_TABLE1"
    VALUES (9,'Row 9','White','Lime','Gray','Red','Blue','Green','Yellow','Orange','Black','Ivory','Purple');
    INSERT INTO"TEST_TABLE1"
    VALUES (10,'Row 10','Lime','Gray','Red','Blue','Green','Yellow','Orange','Black','Ivory','Purple','White');
    2. Create a blank page.
    3. Create a report region with the following query.
    select
    "DESC",
    htmldb_item.hidden(1,KEY1) Key1,
    htmldb_item.text(2,OPTION1,10,10) OPTION1,
    htmldb_item.text(3,OPTION2,10,10) OPTION2,
    htmldb_item.text(4,OPTION3,10,10) OPTION3,
    htmldb_item.text(5,OPTION4,10,10) OPTION4,
    htmldb_item.text(6,OPTION5,10,10) OPTION5,
    htmldb_item.text(7,OPTION6,10,10) OPTION6,
    htmldb_item.text(8,OPTION7,10,10) OPTION7,
    htmldb_item.text(9,OPTION8,10,10) OPTION8,
    htmldb_item.text(10,OPTION9,10,10) OPTION9,
    htmldb_item.text(11,OPTION10,10,10) OPTION10,
    htmldb_item.text(12,OPTION11,10,10) OPTION11
    from test_table1
    4. create a save button which branches to the same page
    5. Create a page process that executes the following SQL when the button is pressed:
    -- update Record
    for i in 1..htmldb_application.g_f01.count
    loop
    update test_table1
    set option1 = replace(htmldb_application.g_f02(i),'%'||'null%',NULL),
    option2 = replace(htmldb_application.g_f03(i),'%'||'null%',NULL),
    option3 = replace(htmldb_application.g_f04(i),'%'||'null%',NULL),
    option4 = replace(htmldb_application.g_f05(i),'%'||'null%',NULL),
    option5 = replace(htmldb_application.g_f06(i),'%'||'null%',NULL),
    option6 = replace(htmldb_application.g_f07(i),'%'||'null%',NULL),
    option7 = replace(htmldb_application.g_f08(i),'%'||'null%',NULL),
    option8 = replace(htmldb_application.g_f09(i),'%'||'null%',NULL),
    option9 = replace(htmldb_application.g_f10(i),'%'||'null%',NULL),
    option10 = replace(htmldb_application.g_f11(i),'%'||'null%',NULL)
    option11 = replace(htmldb_application.g_f12(i),'%'||'null%',NULL)
    where key1 = htmldb_application.g_f01(i);
    end loop;
    6. Run the page (This page has 110 items)
    If you have a table with more than 100 fields, you can try something like this:
    Select 1, apex_item.text(1,field1,10,10),
    apex_item.text(2,field2,10,10),
    union all
    Select 2, apex_item.text(1,field11,10,10),
    apex_item.text(2,field12,10,10),
    , field2, field3, field4, field5

  • More than 100 items gives "/apex/www_flow.accept was not found" error

    Hi,
    If I have more than 100 items on a page, it is giving me "Requested URL /apex/www_flow.accept was not found on this server" while creating or saving the record.
    The moment I delete the extra items it starts working fine.
    Is there any limitation that we can't have more than 100 items on one page ?
    Any pointers will be appreciated.
    Thanks,
    Ashish
    http://www.dbcon.com.sg

    Well I just answered my own question.
    I got the error (it says that the maximum of 100 has been reached at the bottom of the items list).
    So I removed the two new regions that put me over the top of the 100, and it worked again.
    I also have numerous Buttons on this page but they were not in the equation above.
    So Buttons are not counted in the 100 item max.
    Thanks,

  • Cannot get more than 8 item in list component

    Hi,
    I can't get more than 8 items in list component using getItemAt(), it returns null. I will search more for this but no result.
    Please Help me here to move to next step.
    Thanks
    Sureshkumar G

    If you're asking if you can overall, yes you can:
    http://help.adobe.com/en_US/as3/components/WS5b3ccc516d4fbf351e63e3d118a9c65b32-7f41.html
    If you're asking if you can do this in the same context, off-screen, no you still get the same error as the .enabled property.
    I hate to throw a hunch but I feel as though Adobe is employing something I'm used to in native iOS programming (Apple Devices). In lists they have something called "dequeue". It's the reason an extremely long list scrolls smoothly. What it does is render ONLY the rows that are in view. When a row is about to scroll off view it deallocates it from memory and then recreates the next row. They do this so you only ever have the current amount of viewable rows in memory and it speeds up scrolling. Although, I can make property changes to items in an iOS list that's off-screen so they don't have this issue ;(.  Just food for thought.
    I'd submit it to the bugbase and see what Adobe states. They may say they intend you to get the item in view, alter it and then go back to your previous position. That would be silly but at most I can tell you I definitely get errors trying to access an element outside my view. They're probably not used to items needing visual toggles when you can't even see them.
    edit:
    On a further note I tried the scrollToIndex() method, tried to disable, that much worked fine. The second I then scrolled back to the previously selected index the list screwed up.
    I even daisy chained functions a second apart (30 frames worth of wait). I scrolled down and that worked so I waited 1 second. I disabled the visible item I wanted to and that worked so I waited another second. I scrollToIndex(0) to get back to the top of the list, the list blew up. Random items (several items) were disabled and the one that I explicitly disabled was enabled.

Maybe you are looking for

  • HP Laserjet 2055D and Windows 8.1 - 49 ERR 3D90A44

    Hello I have a brand new Laserjet Printer, the installed driver is a PCL6 - and when I want to print via USB, a blank paper is coming out and then I see this error message on the display: 49 ERR 3D90A44 I have already tried to install the newest firm

  • When will windows 8.1 be available for nokia phones

    when will windows 8.1 be available for nokia phones?

  • Best Practice - WAP connecting switchport configuration.

    Is there a best practice for deploying the WAP's in a WAP/WLC infrastructure?  Should the connecting switchport be an Access port or a Trunk port?  I've seen this implemented in both fashions and wasn't sure if one was a better choice than the order.

  • Depreciation report needed

    I need help with writing a sql script for a report in FA. I need a depreciation schedule of all assets by book and company. This is what I have so far, but it's taking to long to run. Does anyone have a report like this already that might be able to

  • PIR consumption at different plant

    Hello dear gurus, Here's a tough one; I have a situation (quite common) where there's a supply chain with one manufacturing plant and a number (like 4) of distribution plants. (CPG) Normaly in SAP in such a situation you need to maintain PIRs for eac