Synchronization failed using sample function group SDOE_SAMPLE_BAPIWRAPPERS

Hi all,
I'm using SAP Netweaver Mobile 7.1.
I've created an application using a BAPI wrapper with the BAPI of the sample function group 'SDOE_SAMPLE_BAPIWRAPPERS'.
Everithing works fine. I'm able to create locally a new contact with its related address . I can see them in my local database and in the search screen.
But when I synchronize I have this error in the trace file:
"Error processing inbound message --> java.lang.IllegalArgumentException: serverNode must not be null"
and some others in the queue monitoring on the DOE for the services:
KEYMAP_SERVICE_BV, VALIDATION_SERVICE, always with FBP MMW_FLOW_INBOUND_CLIENT_BV.
Does anyone have any suggestions?
Thanks and regards,
Laura

Hi Beatrice,
2 scenarios when this error is raised.
When the task of the message that is sent from client is 'I' , but the same instance is already present in CDS . Another case where the task is other than 'I' , but the instance is not present in CDS.
Since you are trying to create a new instance.,may be you can check  one table called synckey lookup table and incase the backend key of the instance that you are creating is already present in this table, then you might get this error.
Navigate to dataobject from sdoe_wb transcation.
When you double click on the dataobject nodes(root and child), you will see one table name against it.
Suffix 'SL' to the same table name and this will be synckey look up table for that node.
This table will contain the synckey for the backend keys specified for that data object node.
Give the key you are trying to create from client and check if a row already exists in this.
You need to check for root node as well as both the child nodes.
If its present there already even for one of the nodes, then this might be reason you are getting this error.
You can try doing  a clean up of the SWCV using SDOE_CLEANUP , this will do cleanup of all objects for all dataobjects under this SWCV and then try upload of a new instance from the client.
Disclaimer : This is not recommended to be executed in productive systems.
Regards,
Liji

Similar Messages

  • Port, Message type and Function Group

    Hai,
      Iam working on an inbound process for four different Partners.
    Is there any need of Port for Inbound?
    Shall i use the same message type and Idoc type?
    And what about the function Group?
    Thanks
    Avi

    Hello,
    <b> If the functionality is same , you can use the same function Group.
    If functionality is different , you want to use different Function Group.
    Obvisouly, it is suggested to use different Message types .
    If you are using same fields ,you can use the same idoc type.
    depends on the scenior , the process code is needed. Generally no need.</b>
    Thanks
    Manju

  • Problem using jolt function checkAuthentication. chkauth:J_CHECKAUTH FAILED

    Hi, I'm using jolt 8.1.
    When I attemp to chek security requirements using the function checkAuthenticationLevel() of the class JoltSessionAttributes it gives an error.
    I have previously setted the address:
    JoltSessionAttributes = new JoltSessionAttributes();
    sattr.setString(JoltSessionAttributes.APPADDRESS, "//50.88.43.237:6005");
    sattr.checkAuthenticationLevel();
    Then it fails:
    bea.jolt.SessionException: Cannot connect to any //50.88.43.237:6005.
    Reason:NwHdlr: Network Error: chkauth: J_CHECKAUTH FAILED
    Any idea? thx.

    Hi,
    I was facing a similiar problem but when i changed the port number it didnot give me this error but now its giving me bea.jolt.ServiceException:Service is not available:GETKEYS.
    Can you help me solve this

  • Using the same top include of a function group inside a report

    I have a function group .
    I want my report to use the top include of the function group.
    Is this possible.How?
    I tried the use the include statement inside report it didnt work...

    TOP INCLUDE of FG starts with FUNCTION-POOL statement, hence you ge the error.
    Solution: create new include to encapsulate your definitions there, then include it in TOP INCLUDE of FG + your program.
    Regards
    Marcin

  • How to get al object's type used inside a function group

    Hello There,
    I want to create a program to get all the objects used inside a Function group, for example all the data structure type (not the field name of fieds ortable name used in import/export but their data types) used in import/export/table parameters of Function group or Function module inside that FG. I also want to know all the field types/function module/class/method etc used inside a FG.
    The main purpose is to create a program to know if a function group uses a object from a particular software component. we have a requirement in our project for example all the standard objects used in a program should belong to only sap_basis /sap_abap/sap_appl software component.
    I realy appreciate any help on the same.
    Mani

    Goto se80, provide the function group, double click on the object name, click on the main program button and get the function pool name. Now place this function pool name in se38 , go to menu utilities->environment analysis. You will get the list. If you would like to do this via custom program then see through debugging mode and check what is coded.
    Kesav

  • How to filter group using in function

    Hey
    i am trying to do a group filter in the data model using IN function
    g.segment3 in ('401000', '401010', '401020', '409100')
    how can i configure the filter is in one of these values ?
    i tried the
    g.segment3 in ('401000', '401010', '401020', '409100') but its showing me an error
    any reason why ?
    thanks

    Hey
    i am trying to do a group filter in the data model using IN function
    g.segment3 in ('401000', '401010', '401020', '409100')
    how can i configure the filter is in one of these values ?
    i tried the
    g.segment3 in ('401000', '401010', '401020', '409100') but its showing me an error
    any reason why ?
    thanks

  • Failed using exec and wait_for_file functions in Unix for DS X3.1

    Hi,
    Unix version --> 11.23 running of HP-UXIA64
    DS version   --> Data Services X3.1
    I able to run exec and wait_for_file fuctions in my local Windows environment using cmd.exe to move files or copy files around folders.
    A) However, I failed to run Unix command using exec function to get any similar results, the test script that i wrote in DS is like this:
    (1) DS Scripts:
    ==========
    $G_Var1 = exec('/usr/bin/sh', 'pwd', 8);
    Print('**** Unix result: \[$G_Var1\] ****');
    log returns as such:
    ==================
    PRINTFN     5/12/2008 11:56:35 AM     **** Unix result:       1: pwd: invalid multibyte character ****
    (2) DS Scripts:
    ==========
    $G_Var1 = exec('', '/usr/bin/sh pwd', 8);
    Print('**** Unix result: \[$G_Var1\] ****');
    log returns as such:
    ==================
    PRINTFN     5/12/2008 11:59:10 AM     **** Unix result:       0:  ****   (--> although 0 but can't see any return pwd result)
    I have tried several versions such as using just sh instead of full path /usr/bin/sh, but also can't work.
    B) For the wait_for_file function, the script is:
    wait_for_file('/source/data/dummy.txt', 0, 0, 1, $G_Path_Filename);
    print('**** Source file and path is = \[$G_Path_Filename\] ****');
    (--> nothing return for the global variable)
    Please advice and thank you.

    Hi,
    I found out one peculiar behavior regarding to Unix delete command of 'rm'.
    My goal is to delete some files using '*.txt' wildcard in Unix command.
    I could perform all following shell scripts at Unix level successfully, but just can't find a way to use the method inside exec function.
    The differrent ways that I had tried out:
    1) exec('rm', '-f *.txt', 0);                -
    > no effect, doesn't work.
    2) exec('rm', '-f `ls *.txt`', 0);          -
    > no effect, doesn't work.
    3) exec('rm', '-f data.txt', 0);          -
    > It worked, but I want to delete few files of type txt, not just one specific file.
    Please advice is it a bug some where?
    Edited by: Chow Ming Darren Cheeng on Dec 9, 2008 3:10 AM

  • Wich transaction I use to create a functions group? Diferent to SE80

    Hi,
    I need to create a functions group and one autorizations group, but I don't want to use the transaction SE80. Someone help me? What transaction I can use?
    Thanks,
    Maria C.

    Hi Maria,
    just out of curiosity: Why not SE80 (i use it for everything including dictionary or transports)?
    Regards,
    Clemens

  • Use of sql group function in orcl:query-database - urgent

    All,
    Version: 10.1.3.4
    Two requirements for me:
    1. I want to use sum function in orcl:query-database. How to use it?
    For ex: I tried the following
    <xsl:value-of select='orcl:query-database("select sum(salary) from emp",false(),false(),"jdbc/DB1")'/>
    I got the following error
    oracle.xml.sql.OracleXMLSQLException: Character ')' is not allowed in an XML tag name.
    When I tried without sum function, it works fine
    2. I used the same table, but without the sum function as below
    <xsl:value-of select='orcl:query-database("select salary from emp",false(),false(),"jdbc/DB1")'/>
    This time, it returns the first employees salary!! I dont understand this logic. I expected either the query returns all the rows else it throws error, but none of them were true!
    Can anyone pls explain what is the behavior? I want your reply for both the queries!
    Currently I'm in a project where I'm working in the similar scenario, so please guru's let me know ASAP.
    Thanks,
    Sen

    Hi Sen,
    Create a normal variable variable in XSLT.
    Then use that variable.
    I mean variable name='Var_1' select='Your Query'
    Now use Var_1/yourcollection/...
    I am giving some example
    <xsl:variable name="Stopdetails" select="/ns0:MyEBM/ns0:DataArea/ns0:MyEBO/ns0:Stops/ns0:Stop[ns0:StopID=$TempStopId]"/>
                <xsl:variable name="AccStopTypeVar">
                        <xsl:value-of select="$Stopdetails/ns0:StopType"/>
    </xsl:variable>If you want you can loop on the created variable.
    You can do these in XSL.
    But DB calls those things ...it would be better , if u take them out. Spme debugging problems are there with XSL.
    Regards
    PavanKumar.M

  • Global data declaration in a function group..

    hi,
    i have created a function group and created 2 FM in that. Both use some common data declarations so i declared those variables in the top include of the function group named LZFGXXXTOP.
    is this include automatically recognized in my FM or do i have to include it ? sample statements please ..
    thks

    Sorry Rich, I fail to understand what you are saying.
    in simple terms, i need to have some common data declarations for 2 function modules in a function group. Can u pl outline the steps I need to follow ? also i need to have a common set of form routines (FORM ENDFORM) to be used in these 2 function modules, where do i create these ?
    thks a lot

  • How to use "Rank" function  in Oracle?

    I need to display Top 15 records by using rank function.
    Here is my query...I need to pull top 15 FAQ's using the below query.. How can I use RANK function to display the Top 15 FAQ"s in the list.
    Select  distinct SUb1.FAQ,Sub1.FAQ_Hits,GU.display_Name_FMLS as displayname,ev.ParentLinkrecordid,ev.userid from User GU
    Join Event ev
    ON LOWER (ev.userid) IN (LOWER (GU.lanid), LOWER (Gu.racfid))
    Join (Select distinct sm.stem as FAQ,Sum(ev.Eventresults) as FAQ_Hits,ev.ParentLinkrecordid as Topic_ID from Event ev
    Join SubjectMatter sm
    ON (TO_CHAR (sm.smrecordid) = ev.eventdetail1) AND ev.eventdetail1 IS NOT NULL AND sm.smtype = 1
    Where (Upper(ev.eventsubtype) in (Upper('FAQ'),Upper('OPENFAQ')))
    AND TO_DATE (eventdatetime, 'yyyy-mm-dd hh24:mi:ss') >= TO_DATE ('20100601', 'yyyymmdd')
    and TO_DATE (eventdatetime, 'yyyy-mm-dd hh24:mi:ss') <= TO_DATE ('20100831', 'yyyymmdd')
    Group by sm.stem,ev.Parentlinkrecordid
    order by FAQ )sub1
    ON Sub1.Topic_ID = ev.ParentLinkrecordid)

    A few bits that I noticed in the query ...
    in (Upper('FAQ'),Upper('OPENFAQ'))1) Do you really a upper for a string which is already in upper case.
    Select distinct sm.stem as FAQ,Sum(ev.Eventresults) as FAQ_Hits,ev.ParentLinkrecordid as Topic_ID2) Do you need a distinct when you are using a GROUP function viz. SUM ?
    You rank query is as follows, I am not very good at the ANSI style JOIN so changed it slightly ... :-)
    Also notice the usage rank function in the "sub1" query.
    select distinct sub1.faq,
                    sub1.faq_hits,
                    gu.display_name_fmls as displayname,
                    ev.parentlinkrecordid,
                    ev.userid
    from user gu, event ev,
      (select rank() over (order by sum(ev.eventresults) desc) rnk,
              sum(ev.eventresults) as faq_hits,
              sm.stem as faq,         
              ev.parentlinkrecordid as topic_id
         from event ev, subjectmatter sm
        where (to_char(sm.smrecordid) = ev.eventdetail1)
          and ev.eventdetail1 is not null
          and sm.smtype = 1
          AND upper(ev.eventsubtype) in ('FAQ', 'OPENFAQ')
          and to_date(eventdatetime, 'yyyy-mm-dd hh24:mi:ss') >= to_date('20100601', 'yyyymmdd')
          and to_date(eventdatetime, 'yyyy-mm-dd hh24:mi:ss') <= to_date('20100831', 'yyyymmdd')
        group by sm.stem, ev.parentlinkrecordid
        order by faq) sub1
    where lower(ev.userid) in (lower(gu.lanid), lower(gu.racfid))
      and sub1.topic_id = ev.parentlinkrecordid)
      and sub1.rnk <= 15;Like mentioned above, some sample data would have helped.

  • Using Aggregate function in queries

    Hi all,
              Please take a look on this query and suggest me why i'm getting the error..
    This is my simple query using aggregate function in it..
    SELECT T1.NAME, T1.DESCRIPTION, SUM(T2.QUANTITY)
    FROM TABLE1 T1, TABLE2 T2
    WHERE T1.ID=T2.ID
    GROUP BY T1.NAME, T1.DESCRIPTION
    Above query added with a sub-query in the select segment..
    SELECT T1.NAME, T1.DESCRIPTION, SUM(T2.QUANTITY), (SELECT AVG(T3.PRICE) FROM TABLE1 TT1, TABLE3 T3 WHERE TT1.ID=T3.ID AND TT1.ID=T1.ID) AV_PRICE
    FROM TABLE1 T1, TABLE2 T2
    WHERE T1.ID=T2.ID
    GROUP BY T1.NAME, T1.DESCRIPTION
    When i add a sub-query which has aggregate function in it, i'm getting the 'ORA-00979: not a GROUP BY expression' error.

    What is your DB Version. Your query works without any issue in my DB. I used WITH clause to create the sample data. The query highlighted in BLUE is the actual query.
    SQL> select * from v$version where rownum = 1;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
    SQL> with table1
      2  as
      3  (
      4    select 1 id, 'karthick' name, 'user name' description from dual
      5  ),
      6  table2
      7  as
      8  (
      9    select 1 id, 100 quantity from dual
    10  ),
    11  table3
    12  as
    13  (
    14    select 1 id, 10 price from dual
    15  )
    16  select t1.name
    17       , t1.description
    18       , sum(t2.quantity)
    19       , (
    20           select avg(t3.price)
    21             from table1 tt1
    22                , table3 t3
    23            where tt1.id = t3.id
    24              and tt1.id = t1.id
    25         ) av_price
    26    from table1 t1
    27       , table2 t2
    28   where t1.id = t2.id
    29   group
    30      by t1.name
    31       , t1.description;
    NAME     DESCRIPTI SUM(T2.QUANTITY)   AV_PRICE
    karthick user name              100         10
    SQL>

  • How to use BAPI_MATERIAL_AVAILABILITY Function Module at batch level?

    How to use BAPI_MATERIAL_AVAILABILITY FM to check material available at batch level?
    And another question is what's the meaning of 'CHECK_RULE' in this FM. Thanks!

    Field name : PRREG
    fcheck more details on  f1 help...
    check_group defines the checking procedure to be used for  availability check in individual applications.
    along with the checkg group, checking rule  specifies the final procedure for chkg..
    eg:
    ST  for  stock transport order
    AQ for SD order project srock
    also chk this help doc.
    http://help.sap.com/saphelp_470/helpdata/en/cf/70124adf2d11d1b55e0000e82de178/content.htm
    search the forum for sample code..
    How to use BAPI_MATERIAL_AVAILABILITY Function Module....

  • Using analytic function to get the right output.

    Dear all;
    I have the following sample date below
    create table temp_one
           id number(30),  
          placeid varchar2(400),
          issuedate  date,
          person varchar2(400),
          failures number(30),
          primary key(id)
    insert into temp_one values (1, 'NY', to_date('03/04/2011', 'MM/DD/YYYY'), 'John', 3);
    insert into temp_one values (2, 'NY', to_date('03/03/2011', 'MM/DD/YYYY'), 'Adam', 7);
    insert into temp_one values (3, 'Mexico', to_date('03/04/2011', 'MM/DD/YYYY'), 'Wendy', 3);
    insert into temp_one values (4, 'Mexico', to_date('03/14/2011', 'MM/DD/YYYY'), 'Gerry', 3);
    insert into temp_one values (5, 'Mexico', to_date('03/15/2011', 'MM/DD/YYYY'), 'Zick', 9);
    insert into temp_one values (6, 'London', to_date('03/16/2011', 'MM/DD/YYYY'), 'Mike', 8);this is output I desire
    placeid       issueperiod                               failures
    NY              02/28/2011 - 03/06/2011          10
    Mexico       02/28/2011 - 03/06/2011           3
    Mexico        03/14/2011 - 03/20/2011          12
    London        03/14/2011 - 03/20/2011          8All help is appreciated. I will post my query as soon as I am able to think of a good logic for this...

    hI,
    user13328581 wrote:
    ... Kindly note, I am still learning how to use analytic functions.That doesn't matter; analytic functions won't help in this problem. The aggregate SUM function is all you need.
    But what do you need to GROUP BY? What is each row of the result set going to represent? A placeid? Yes, each row will represent only one placedid, but it's going to be divided further. You want a separate row of output for every placeid and week, so you'll want to GROUP BY placeid and week. You don't want to GROUP BY the raw issuedate; that would put March 3 and March 4 into separate groups. And you don't want to GROUP BY failures; that would mean a row with 3 failures could never be in the same group as a row with 9 failures.
    This gets the output you posted from the sample data you posted:
    SELECT       placeid
    ,             TO_CHAR ( TRUNC (issuedate, 'IW')
                  , 'MM/DD/YYYY'
                ) || ' - '|| TO_CHAR ( TRUNC (issuedate, 'IW') + 6
                                             , 'MM/DD/YYY'
                               )     AS issueperiod
    ,       SUM (failures)                  AS sumfailures
    FROM        temp_one
    GROUP BY  placeid
    ,            TRUNC (issuedate, 'IW')
    ;You could use a sub-query to compute TRUNC (issuedate, 'IW') once. The code would be about as complicated, efficiency probably won't improve noticeably, and the the results would be the same.

  • One of the functional groups of the Logical Database "SDF" does not appear.

    Hello,
    I have a problem with the logical database "SDF". It has already defined 3 functional groups. When I select the buttom "display the contents" I can see all these groups with their owns fields.
    The problem is that when I use a transaction which contains this logical database, in the dynamic selections I can only see two of the functional groups. The last one doesn't appear there and I don't know why.
    How can I resolve my problem?
    Thank you very much in advance.
    Best Regards.

    1 hour is the default timeout for "ExternalCommandTimeout". So, it could be that this one measure group's fact query is taking longer than 1 hour for the first record.  You can see the query in the error messages and might like to try it out
    manually.  Note, a common issue is with referenced dimensions or Distinct Count when an inner join or Order By are added to the fact queries.
    A simple solution might be to simply increase the ExternalCommandTimeout in the SSAS properties page.  Try 7200, and if it completes in less than 2 hours, or fails after exactly 2 hours, you know this is the issue.
    Richard

Maybe you are looking for

  • How can I unlock an iPhone through a computer?

    So my phone got water damage, and the screen no longer works. It still functions but I have to use siri for everything. So i just decided to buy a new one. I wanted to back up my phone to itunes on my computer so I can put the new stuff on my compute

  • FCPX newest 10.0.6 update = NICE! ... Do I stay or do I go?!

    For all of my ranting and raving about certain issues with Premiere CS6, I have found it to be REALLY great in many ways. With a very helpful forum here its been a fairly easy transition coming from Final Cut Pro 7 last month. Since I edit full time

  • Daily Access Report

    We'd like a report of which portal groups had at least one member who logged in today. It'd also be nice to have subtotals by group. What's the best solution? Otherwise, what are the relevant tables, views, or prebuild modules to look at?

  • "distinct" and "group by"

    Hello, Here below a test case. I have a query which take more than 3 second. It base on a view statement which use a distinct. SQL> set autot traceonly explain stat SQL> SELECT FILL.USERID,FILL.WORKLISTNAME,FILL.WLRECNAME,FILL.DESCR      FROM PS_RB_W

  • Fixed Day in a week as Delivery date in Purchase Order.

    Dear All I have the below requirement For a material/ vendor combination users would like see  always a fixed day as delivery date in Purchase Order. For  example for a Material X and Vendor Y always Wednesday of the week should be delivery date. Whe