Skip to Content
author's profile photo Former Member
Former Member

Problem creating related sync bo's

Hi,

I'm trying to create two related syncbo's for example customer and order. I've got the syncbos related in the merep_sbuilder, and I code like this:

ZcustomerManagerImpl cli = new ZcustomerManagerImpl();

Zcustomer c = cli.createZclientes();

c.setName1("My name");

cli.insertZcustomer(c);

ZorderManagerImpl ped = new ZorderManagerImpl();

Zpedidos p = ped.createZorder();

p.setKunnr(c.getKey());

ped.insertZorder(p);

I think I soulld put the sync key of the customer to the filed kunnr (which is related with object customer).

When I create the items after syncronize I've got the next error:

"Sync key 0000000056 for related sync bo ZCUSTOMER missing"

But I can see the data an all seems to be correct.

Sould I do something else to create related objects ?

Is there any trick ?

I'm using ME 2.1 SP03

Thanks in advance and best regards.

Xavi.

Message was edited by: Xavier Tor

Message was edited by: Xavier Tor

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on May 26, 2005 at 03:11 PM

    Hi Xavier,

    Have you found the solution for your problem?

    If you are using SAP 620, see this note 764351.

    Otherwise, I'm trying to find the solution for the same problem as you can see here:

    Would you help me if you've found the solution?

    Regards,

    Rogério

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 01, 2005 at 06:34 AM

    Hello Xavier,

    Has this problem been solved?

    The referenced SyncBo delta should be uploaded prior to the SyncBo which is referencing the other one. The order of the SyncBo delta upload is according to the order of the SyncBo defined in the metadata i.e. meRepMeta.xml. The referenced SyncBo should be on the top of the list than that of the referencing SyncBo.

    Regards

    Jo

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.