GP - consolidating structured parameters problem

Hi,
I have a problem when consolidating parameters of the same structure type.
I want to consolidate parameters between two Web Service CO. The output parameter of the first has the same type as the input parameter of the second. They are structures (the parameters are lists of java objects, which themself contain lists of objects and other string objects. That means
List1
   List2
   String).
So, when I consolidate them (I group the List2 structures), as an input to the second CO I get the Strings matched but only the last list element of List2, the others are overwritten maybe.
I have read in the SAP Help Pages in the consolidating parameter page that :
The Group option is enabled only for:
○       Standard parameters of the same type (for example, String, Integer, Time)
○       Structure (and Structure Template) parameters, regardless of their internal hierarchy
So, I thought that I can consolidate parameters with arbitrary hierarchy.
Do I understand that wrongly or is there any way to make such thing?
Thanks in advance
Best regards,
Vera

I don't think GP forgot your changes here.
I assume you don't have any problems with defining the GP interfaces for your 3 actions (implementing GetDescription).
Now when you implement the Execute or Complete method to set or get the GP List structure or array you've defined, you need to:
- make sure that in the A1 callable object, you're passing correctly the content of the Webdynpro array to the GP interface structure.
- make sure that in the A2 callable object, you're passing correctly the content of the GP interface structure to the Webdynpro array.
Your problem is a Webdynpro problem not GP. You can use the mechanism of looping through the first array and add element or row to the second array.
That's a good webdynpro exercise and enjoy it!

Similar Messages

  • Consolidation structure

    Hi All,
    What is Consolidation structure and where do we assign Partner Company to consolidation structure.
    Thanks in advance

    I guess you are referring to the Consolidation Group Hierarchy.
    The Consolidation Group Hierarchy lists the grouping of Consolidation Units for ECCS. You could get the list from CX1X.
    Thanks,
    Naveen

  • I have changed the Descriptions in Global structure u0085the problem is cha

    Hi All,
    I have <b>Restricted Key Figures and Calculated Key figures</b> more than 30 ….
    Based on this RKF and CAK I have Created reports…more than 20…
    Now my user has changed the Discretions of all the Restricted Key Figures and Calculated Key figures..
    <b>I have changed all the Descriptions in Global structure …the problem is changed description is not affecting in Local structure..</b>
    Is I have to drag and droop all the  Restricted Key Figures and Calculated Key figures.. in all the reports.. or is there any alternate   way is there to refresh the all the Queries..
    Regards,
    SHAIK

    Thanks Bhanu and Voodi,
    i am facing one more Issue....this qus i posted before...
    My User Requirement is he want to see the
    <b>Deliver Number , Billing Number Vs Delivery Quantity , Billing Quantity, Invoice Value</b> in One Line.
    I try to generate report in MultiProvider , but it is splitting in Two rows and it is showing Hash against Delivery.
    Need Help….It is my requirement ..
    In all the Sales reports they are seeing like this only….
    I will appreciate your Help…..
    Regards,
    Shaik.

  • RFC Lookup - BAPI-TABLE Parameters problem

    Hello All,
    I had a scenario where i need to export parameters and am supposed to get import parameters from BAPI between source and target structures.
    like -
    source --> BAPI execution = result --> target
    We had succeeded in getting those but the only problem is with TABLE parameters in that BAPI.
    How can we achieve it.
    Faster reply would be appreciated.
    Thanks & regards
    Reddy

    Hi VJ,
    Its not a simple source-target mapping .
    For Ex :
    Source-Bapi-Idoc
    Source will send some parameters to BAPI and bapi will execute it and respond with values in table parameter of the bapi and result would be assigned to idoc-field.
    For this i am using RFC Look up with sample code as :
    String rfcxml ="<ns0:Z_BAPI xmlns:ns0=\"urn:sap-com:document:sap:rfc:functions\">" +
    "     <A>" + A + "</A>" +       --- Export parameters
    "     <B>" + B + "</B>" +       --- Export parameters
    //"                       <TABLE><FIELD1>" + FIELD2 + "</FIELD1></TABLE>" +
    //"                       <TABLE><FIELD2>" + FIELD2 + "</FIELD2></TABLE>" +
    //"                       <TABLE><FIELD3>" + KDMAT+ "</FIELD3></TABLE>" +
    //          "<FIELD1>" + FIELD1 + "</FIELD1>" +
    "</ns0:Z_BAPI> "  ;
    Passing A & B as export parameters and getting TABLE-FIELD1&2&3 as response.
    I hope some problem in the syntax.
    Regards,
    HP

  • Navigation and Parameters problem

    Hey all,
    I'm very new to JSF and we are attempting a very basic test app to try and get our heads round things. The app is basically a list of people, with a link to edit them, and a page which lets you edit the person and a button to save the person, after which, you will go back to the list of people.
    I have a personlist.jsp page which obtains a (fixed) list of people from the PeopleDAO, using a h:dataTable to iterate and display each person. Each row has an edit link of the form "......editperson.jsp?PersonID=<number>" where number is the person ID for that person.
    In the edit person page, I have a PersonBean which is used to display the person details. The person bean is specified in faces-config.xml as a managed bean, and I hook the PersonID property of the PersonBean up using a managed property linked to the PersonID param.
    <managed-bean>
    <managed-bean-name>personbean</managed-bean-name>
    <managed-bean-class>mypackage.view.PersonBean</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    <managed-property>
    <property-name>personID</property-name>
    <value>#{param.personID}</value>
    </managed-property>
    </managed-bean>
    I have the navigation set up to go back to the personlist.jsp page once you click the save button :
    <navigation-rule>
    <from-view-id>/editperson.jsp</from-view-id>
    <navigation-case>
    <from-outcome>save</from-outcome>
    <to-view-id>/personlist.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    On editperson.jsp, I have a commandbutton that has an action="save" (this is for simple testing since we are having problems with it) :
    (in the form for editing the person)
    <h:commandButton value="Update" action="save"/>
    The problem is that when you click the button, it tries to reload editperson.jsp without the personID parameter, which causes an error because it is expecting a parameter as specified in the PersonBean managed bean declaration.
    If I set the property to a constant value in the managed bean declaration, everything works fine, but when bound to the parameter, it causes an error.
    I can see why it is an error, but I have no idea how to get around it. Am I passing parameters the wrong way, or is there some option to set a default value for the param, or am I navigating incorrectly?
    Any help is appreciated,
    Cheers,
    Andy

    Well, at last, it seems that after another day of testing, I have found the answer.
    I'm posting back here since I found a number of people who had this problem, and none of them received an answer. Hopefully this might help some poor soul in the future.
    The problem is data type conversion. When there is no person ID, the parameter is effectively a blank string, which of course cannot be converted to an integer. Even specifying the type in the managed property did not help the conversion process.
    I have a mini test app that has a bean with managed int and string properties. The page renders fine when the intValue param is there, but crashes if it is not. The page doesn't give a hoot about whether the textValue parameter is there or not and will always render by substituting a blank string as the value.
    I'm sure there must be some way to pass a parameter to a managed property as an integer without having the application crash if it is missing, especially considering most applications use integers for primary keys.
    I have seen samples that do this, alas, since many don't compile, deploy and run out of the box, I am unable to verify whether or not they break under the same conditions.
    The only thing I can think of is to have the backing bean act as a container for my real objects. I.e. PersonBean has a managed person ID string property which when set, converts the ID to an integer and loads up the person and assigns it to PersonBean.Person .
    This is probably actually a better structure all round, especially if the backing bean for a view needs to contain other objects, i.e. a list of orders for that person. By adding the extra layer in there, it will make it easier to add additional model objects to the backing bean.

  • Event parameters problem

    Hello,
    I've a probem in a binding between a BO->event and a WF.
    My event has two parameters one is a char1 and other is a structure. And my workflow has the same parameters one is a char and the other is a structure defined in the container.
    The problem is when I try to assign the event's structure with the workflow's structure. The binding doesn't work.
    But the other parameters works perfectly. I think that this is a problem with the structure parameter. Does anyone  know which could be the problem ?

    when I try to assign the event's structure with the workflow's structure
    This time you create one more time the binding between the Event and WF container , save and run the txn SWU_OBUF and click SHIFT + F1 once the time is updated close it and try to simulate the event from the txn SWUE.

  • Transfer structure Activation Problem

    hi guys...
    i've just installed new bw system and done all post processing steps correctly...
    while working in this bw...
    if i try to activate any Transfer structure, it is giving an error with the message...
    'no ddic tabel /bic/000004000... exists...'
    if i go to detailed message...
    it is saying that this table shud be created by the system automatically.. otherwise create one in the database utility(se14)...
    what does it mean... i'm not understanding what table is this and y i'm being asked for this...???
    pl tell me the solution how to rectify this problem...
    thank you all
    regards
    nithin

    hi...
    verson is 30B
    if i try to activate again the tabel number in the error message is changing...like /bic/00005000... some number...
    is it any problem of any number ranges or what...???
    regards..
    nithin

  • Z77A-GD65 mixing two DDRAM pack, same brand with same parameters problem

    Hello. I have question. My mobo is z77a-gd65. I have 16gb of ram. Is it pack of 4x4gb modules from corsair vengeance lp (CML16GX3M4A1600C9). Because one module is damaged (tested in memtest) i buy new pack. This new pack is absolutely the same as previous but only 8gb (2x4gb). Is it same brand and timings (CML8GX3M2A1600C9). My problem is.. i can not enable the xmp profile in bios. This option is not accesible if i use 2x2gb from first pack and 2x2gb from second pack. Next problem.. if i change the ddram frequency  manually to 1600mhz (from 1333 - detected whith bios) which is default fq after save settings and restart, bios automatically set frequency to 1333. I try use oc genie but the same and no luck.
    Is not possible use two different memory pack from one brand with absolutely same parameters? Why i cant use and is disabled xmp option? Why bios automatically changing ddram frequency?
    Thanks.

    Corsair warns of mixing RAM even with the same exact part numbers. Best thing to do would be to contact Corsair and ask them to replace what you have with a factory matched and tested RAM kit. I have heard they are very good about doing that for the end user.

  • Query Parameters Problem

    Please excuse the formatting as I am not sure why the forum is bunching everything together and not putting my query in code format.
    Hi All,
    We are using SAP B1 2007 A SP01 PL05
    I am having a problem with getting a query to run in SAP with parameter selections.  The query below runs fine as is however once I add date parameters which look like this
    AND T2.[DocDate] >= '[%0]' AND T2.[DocDate] <= '[%1]'
    I start getting errors.  The first error I got was RIGHT.CardCode could not be bound once I removed the parameter and added them again I got an error Conversion failed when converting datetime from character string.  I then removed the parameters again and added them once more and got another error An expression of non-boolean type specified in a context where a condition is expected.  I saved the query and logged out and logged back in and ran it again and now am getting the error RIGHT.CardCode could not be bound again.
    Could someone please have a look at this and try and help me get this running as I want to add more parameters where you can select the Customer Group and the Item Group as well.
    SELECT     T2.DocDate, T2.DocNum, T2.CardCode, T2.CardName, T5.GroupName, T1.ItemCode, T1.Dscription AS 'Description', T7.ItmsGrpNam, T1.Quantity, T0.Price AS 'Unit Price (List)', T0.Price * T1.Quantity AS 'Gross Total', T1.LineTotal / T1.Quantity AS 'Unit Price (Doc)', T1.LineTotal AS 'Nett Total'
    FROM         ITM1 AS T0 INNER JOIN
                          INV1 AS T1 ON T0.ItemCode = T1.ItemCode INNER JOIN
                          OINV AS T2 ON T1.DocEntry = T2.DocEntry INNER JOIN
                          OPLN AS T3 ON T0.PriceList = T3.ListNum INNER JOIN
                          OCRD AS T4 ON T2.CardCode = T4.CardCode INNER JOIN
                          OCRG AS T5 ON T4.GroupCode = T5.GroupCode INNER JOIN
                          OITM AS T6 ON T1.ItemCode = T6.ItemCode INNER JOIN
                          OITB AS T7 ON T6.ItmsGrpCod = T7.ItmsGrpCod
    WHERE     T0.PriceList = 1
    UNION ALL
    SELECT     T2.DocDate, T2.DocNum, T2.CardCode, T2.CardName, T5.GroupName, T1.ItemCode, T1.Dscription AS 'Description', T7.ItmsGrpNam, - (1 * T1.Quantity) AS Quantity, - (1 * T0.Price) AS 'Unit Price (List)', - (1 * (T0.Price * T1.Quantity)) AS 'Gross Total', - (1 * (T1.LineTotal / T1.Quantity)) AS 'Unit Price (Doc)', - (1 * T1.LineTotal) AS 'Nett Total'
    FROM         ITM1 AS T0 INNER JOIN
                          RIN1 AS T1 ON T0.ItemCode = T1.ItemCode INNER JOIN
                          ORIN AS T2 ON T1.DocEntry = T2.DocEntry INNER JOIN
                          OPLN AS T3 ON T0.PriceList = T3.ListNum INNER JOIN
                          OCRD AS T4 ON T2.CardCode = T4.CardCode INNER JOIN
                          OCRG AS T5 ON T4.GroupCode = T5.GroupCode INNER JOIN
                          OITM AS T6 ON T1.ItemCode = T6.ItemCode INNER JOIN
                          OITB AS T7 ON T6.ItmsGrpCod = T7.ItmsGrpCod
    WHERE     T0.PriceList = 1
    Any help will be greatly appreciated.

    Try this one:
    Declare @d1 datetime
    Declare @d2 datetime
    set @d2=/*Select T2.DocNum  from oinv T2
    where T2.Docdate between [%0] and */[%1]
    set @d1=[%0]
    SELECT T2.DocDate, T2.DocNum, T2.CardCode, T2.CardName,
    T5.GroupName, T1.ItemCode, T1.Dscription AS 'Description',
    T7.ItmsGrpNam, T1.Quantity, T0.Price AS 'Unit Price (List)',
    T0.Price * T1.Quantity AS 'Gross Total',
    T1.LineTotal / T1.Quantity AS 'Unit Price (Doc)', T1.LineTotal AS 'Nett Total'
    FROM ITM1 AS T0 INNER JOIN INV1 AS T1 ON T0.ItemCode = T1.ItemCode
    INNER JOIN OINV AS T2 ON T1.DocEntry = T2.DocEntry
    INNER JOIN OPLN AS T3 ON T0.PriceList = T3.ListNum
    INNER JOIN OCRD AS T4 ON T2.CardCode = T4.CardCode
    INNER JOIN OCRG AS T5 ON T4.GroupCode = T5.GroupCode
    INNER JOIN OITM AS T6 ON T1.ItemCode = T6.ItemCode
    INNER JOIN OITB AS T7 ON T6.ItmsGrpCod = T7.ItmsGrpCod
    WHERE T0.PriceList = 1
       and T2.Docdate between @d1 and @d2
    UNION ALL
    SELECT T2.DocDate, T2.DocNum, T2.CardCode, T2.CardName,
    T5.GroupName, T1.ItemCode, T1.Dscription AS 'Description',
    T7.ItmsGrpNam, - (1 * T1.Quantity) AS Quantity,
    - (1 * T0.Price) AS 'Unit Price (List)',
    - (1 * (T0.Price * T1.Quantity)) AS 'Gross Total',
    - (1 * (T1.LineTotal / T1.Quantity)) AS 'Unit Price (Doc)',
    - (1 * T1.LineTotal) AS 'Nett Total'
    FROM ITM1 AS T0 INNER JOIN RIN1 AS T1 ON T0.ItemCode = T1.ItemCode
    INNER JOIN ORIN AS T2 ON T1.DocEntry = T2.DocEntry
    INNER JOIN OPLN AS T3 ON T0.PriceList = T3.ListNum
    INNER JOIN OCRD AS T4 ON T2.CardCode = T4.CardCode
    INNER JOIN OCRG AS T5 ON T4.GroupCode = T5.GroupCode
    INNER JOIN OITM AS T6 ON T1.ItemCode = T6.ItemCode
    INNER JOIN OITB AS T7 ON T6.ItmsGrpCod = T7.ItmsGrpCod
    WHERE T0.PriceList = 1
       and T2.Docdate between @d1 and @d2
    Sometimes SBO does not manage correctly variables in complicated queries and there is a note about the workaround to solve the problem:[Note730960|https://websmp130.sap-ag.de/sap/bc/bsp/spn/sapnotes/index2.htm?numm=730960]

  • PL/SQL Procedure Parameters PROBLEM

    Here's my problem:
    When we describe the successfully compiled PL/SQL packaged procedures in SQL*Plus, the parameter order seems reversed. For instance, my PL/SQL source looks like this:
    Create Package pkg1...
    Procedure func1 (param1 in varchar2,
    param2 in number) is
    ...function body...
    end func1;
    end pkg1;
    After it is successfully compiled in SQL*Plus, when I describe it using the desc command, it shows:
    PROCEDURE FUNC1
    Argument Name Type ......
    PARAM2 VARCHAR2
    PARAM1 VARCHAF2
    This problem occurs occasionally, if we recompile the source, it goes away. We couldn't quite tell when and how this happens. When the problem occurs, we checked the ALL_SOURCE view and verified that the parameters are in the right order.
    We use the Merant Drivers for our client side interfaces and whenever we have this problem on the db server, we get the "wrong number of types or parameters" error.
    Any clues, hints, solutions are greatly appreciated.
    Thank you for your time.
    On a different note, I couldn't find the appropriate forum to post this PL/SQL specific message, wondering why there isn't a PL/SQL forum.
    Murthy.

    Hi Yegneshwar
    Can U tell me how to invoke the procedure ? If all it can be invoked the post it or mail me and then I might help U out.
    Thank U.
    edwin

  • Info structure activation problems in data archiving

    Error in info structure ARCH_IS_DSSCOPA analysis program in line                                                  412
    Message no. Q6227
    Diagnosis
    There is a syntax error in line                                                 412 of the generated reporting
    program for the archive information structure ARCH_IS_DSSCOPA.
    The error message is: Field "AINT01" already defined ...
    Field "AINT01" already defined
    Procedure
    It is probably caused by a system error. The following activities may
    solve the problem:
    Check the definition of the archive information structre and the underlying field catalog.
    You should contact the SAP Hotline if the problem appears for an SAP- standard info structure or an SAP-standard field catalog.
    Further notes
    Alternatively you can find a program whose name begins with "GP$ERR$" (search with "GP$ERR$*"). This program contains the incorrectly generated code.
    Kindly let me know , how to activate the same.
    Regards,
    BALAMURALI JAMPANI

    Hi,
    This forum is for SAP Business One users only. Please check the subject of the forum. Post it on a proper forum and close this one.
    Thanks,
    Gordon

  • Bad DimAs mapping for Structure Parameters, BAPI ActiveX

    I am using BAPI ActiveX from Visual Basic.  All is working well except a mapping issue.
    I am mapping a BAPI structure export parameter to an object using DimAs method.  I am getting raw byte lengths instead of character lengths.  Example if a parameter is 10 characters long it is actually unicode stored as 20 bytes.
    The result is that the object is misaligned when retrieving data.  So I have to play games to find ask for the right field that will line up.  I am getting the data ok, no extra bytes.  The object fields are defined improperly.
    If the export parameter is a table or a simple value, no problems.  It appears to be structures only.  Note:  I am going after cProjects BAPI's, I have not tested other BAPI areas to see if the same problem exists.
    Known issue?  Any kind of notes I should check out?  Workaround ideas other than the tedious one I have?
    Thanks

    Hi,
    Workout the below application u can get idea abt BAPI,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d352a790-0201-0010-5082-b1a608d22b6c
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/wd%20java/wd%20tutorials/creating%20a%20web%20dynpro%20application%20accessing%20abap%20functions.pdf
    1)Input parameter is Input node where we can give some input to access an BAPI.
    2)Output parameter is Output node wher we have all output datas...we import all datas from BAPI to WebDynpro by using Output node
    3)But all Input node have Output node..so we can access output node from Input node.
    Regards,
    Suresh T

  • Website structure causing problems when creating livecopy based on a blueprint

    Hi,
    Our website structure goes like this:
    company/
         products/
         services/
         contact us/
         etc...
    Our site is single language and hence the structure. Now we have a problem when creating a livecopy (for mobile site) based on a blueprint.
    It seems that for the livecopy (based on a blueprint) to work, the site structure needs to be like this:
    company/
         en/
              products/
              etc...
    It's too late for us to include another layer. What's the best way to create a livecopy based on a blueprint? Or should we just go with livecopy without the blueprint? But then are we missing out on the sync benefit from the blueprint?
    Thanks!!

    Hi Chaack,
    Thanks for this idea. I have tried this before but couldn't get the livecopy to sync.
    I tried to do it through the blueprint by right click and select 'rollout'. But nothing happens. The 'blueprint' tab on the page properties on the livecopy site is grayed out. I think the blueprint I created is not associated with the livecopy and that's why the rollout does not work. If the livecopy was created through 'Create site' then the blueprint is available to choose on step1. But not when you 'create live copy'. Is there anyway to link the blueprint to the livecopy if the livecopy was created through 'create live copy'?
    Thanks!!!

  • BAPI FM Parameters problem

    Hi,
    I have  created BAPI using the Zfunction Module. Now this is working fine.
    Now i have changed the parameteres in Z FM. When I executed the BAPI. It is giving error. So, i have re generated the BAPI. But new parameters are not coming in BAPI.
    My doubt is, after changes in FM, in BAPI What steps i have to do. is re generate enough? or any thing i have to do?
    Regards,
    Balu

    Hi,
    Check the source code of the BAPI if it matches with the changed parameters of the Z Function Module. If it was working fine  before, the problem must lie in the source code of the BAPI where the Z Function Module parameters are passed.
    Regards,
    Vik

  • Ajax jasf parameters problem

    I've set up a test application on very small scale so I won't need third party packages using ajax javascript to pass three parameters to JSF phase listener from pop-up menu created by mouseover event containg some links.
    Upon hitting one of these links we set ajax cycle in motion and getting into JSF phase event listener code(via POST). The problem is none of three parameters is being passed to it. Any idea why?
    It is fair amount of code that I need to cut and paste (javascript, jsf, phase listner) to supplement and I rather not though I realize it might be necessary.
    Thanks a lot for consideration.

    I have never worked with the AJAX + JSF combo before, but I know that you can invoke a managed bean action using javascript and the h:commandLink and h:commandButton elements.
    <h:form id="form1">
        <h:commandLink id="link1" action="#{MyBean.action1}"><h:outputText value="link" /></h:commandLink>
        <h:commandButton id="button1" action="#{MyBean.action2}" value="button" />
    </h:form>
    <f:verbatim><script>
        function myFunction() {
            document.getElementById('form1:link1').onclick(); // this invokes the #{MyBean.action1}
            document.getElementById('form1:button1').click(); // this invokes the #{MyBean.action2}
    </script></f:verbatim>I haven't tried other ways yet. But this might give you an idea.

Maybe you are looking for