cancel
Showing results for 
Search instead for 
Did you mean: 

BOGenerator mapping.xml

Former Member
0 Kudos

1.the purpose of BOGenerator mapping.xml

2.how to established relationship between parent and child in syncBO

3. From the print screen below

http://i192.photobucket.com/albums/z231/yzme/page2.jpg

the sync_key is primary key...

how do i change this to other column ?

Message was edited by:

yzme yzme

Accepted Solutions (1)

Accepted Solutions (1)

raghavendra_sn
Explorer
0 Kudos

1. the purpose of BO generator xml is to generate an XML file for an application. prior to this the user has to go MI_MCD transaction and bind the syncbos in to application name. there after he can use BO generator xml in MEREP_SBUILDRE to download XML file. This XML file(also called metadata) will be used by Netweaver developer studio to develop an application.

2. We establish the relationship between child and parent in MEREP_SBUILDER in the column related syncbo. Go to child syncbo and click on header or item where you want to establish a relationship and select the parent syncbo.

3. sorry could the eloborate the third query ?

Former Member
0 Kudos

1. what is the different btw meRepMeta.xml and mapping.xml ?

3. From the print screen below

http://i192.photobucket.com/albums/z231/yzme/page2.jpg

the sync_key is primary key...which i click in which will link to another page

http://i192.photobucket.com/albums/z231/yzme/page3.jpg

if i want to hide all the field in the page2 except

<u>MATNR</u>, DESC and set the link in <u>MATNR </u>

and link to page3 to show the detail,

how i able to do that, the problem now is SYNC_KEY in page2 is the primary key to link to ,

page 2

<u>MATNR</u> , DESC

page 3

MATNR , DESC, LGORT, LGOBE, LABST

4. when desigining the syncbo , i will retrieve all the field such as desc, lgort, lgobe, labst...

when i have requirement like just showing 2 field in page2 and show all the field in the page3 (detail page)

how do i customized it in jsp ??

pls advice........

Message was edited by:

yzme yzme

Message was edited by:

yzme yzme

Message was edited by:

yzme yzme

raghavendra_sn
Explorer
0 Kudos

Hi,

1. Metarep.xml is the metadata file which will be used by the application. This is what we download from MEREP_SBUILDER.

But where did you find this mapping.xml , i mean which tool did you see this?

are you speaking of mapping of fields in MEREP_SBUILDER ?

4. Instead of hiding fields in JSP, you can simply unmap the not required fields in MEREP_SBUILDER fot that syncbo so that they will be not be part of METAREP.XML and hence the application will not display this.

Former Member
0 Kudos

4. your are right, unmap the field. Can we have multiple syncBO and generate into the meRepMeta.xml ??

actually, all the field is required, it's just that the page2 will show 2 fields and page3 show all fields, and please tell me how i hide the primary key of SYNC_KEY that show in the print screen.

Message was edited by:

yzme yzme

raghavendra_sn
Explorer
0 Kudos

when you unmap the field , that field will not be listed in METAREP.XML.

yes, you can have multiple syncbos in METAREP.XML. you can use MI_MCD transaction to bind multiple syncbos in to this XML file.

Former Member
0 Kudos

can you answer question about primary key

from the print screen you see...

the SYNC_KEY is the primary key...synckey will be generated automatically,

how do i changed ??

from this

<u>SYNC KEY</u> MATDT DESC

to this

SYNC KEY <u>MATDT </u> DESC

IS THERE ANY SMART SYNC APPLICATION TUTORIAL??

how to manipulate the syncBO , insert records, update records, search , delete ,filter

Message was edited by:

yzme yzme

Former Member
0 Kudos

Hi Yzme,

The synckey will always be the primary key in the client. This cannot be changed.

To get more information on Smart Sync APIs you can refer to the MDK which is part of the NW Developer Studio. Here you will find SmartSync Tutorials.

You will get this information in the Help menu.

Best Regards,

Karthik

Former Member
0 Kudos

thanks for your info,

yet would it be a little weird to show in jsp

SYNC_KEY as primary key to the user and click on it to view the details of the records,

like this

http://i192.photobucket.com/albums/z231/yzme/page2.jpg

what is the workaround to show user for instance orderid as a link and hide the sync_key from user

i have come across this

http://i192.photobucket.com/albums/z231/yzme/MI4.gif

Message was edited by:

yzme yzme

Message was edited by:

yzme yzme

Former Member
0 Kudos

Hi Yzme,

You are right, it would be weird to show the syncKey as the primary key.

So what you have to do is this, For the link the name to be displayed can be the MATNR but the value being passed can be the syncKey. This can be coded in the jsp.

This is what is done in MAM.

Please let me know if this is understood.

Thanks,

Karthik

Former Member
0 Kudos

i have to hide the sync_key column ??

Former Member
0 Kudos

Hi Yzme,

Yes you can also hide the sync_key column and provide a link to any other column you seem fit.

Best Regards,

Karthik

Answers (0)