cancel
Showing results for 
Search instead for 
Did you mean: 

Java mapping

former_member240483
Contributor
0 Kudos

Hi All,

From my source structure I receives data into Mapping and it mapes to the target.

in the maping program i call function module to get some more details ..

now we added one extra field in the FM.

this new field and one of the field in the source fetches the same data...( some time source not sending the data because of that why we want to fetch the same data through FM)

my concern is i dont want to change the target structure just i want map these two fields in the mapping program and send data to target structure..

how can i achieve this in Java mapping ..

Hope i am clear..

Thanks for your time.

Regards

PT

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi ,

Can u brief about ur Question .

I think u have to go for Arraylist or Hashmap u can map ur filed u will get it .

can u brief about ur question .

Regards ,

venkat

former_member240483
Contributor
0 Kudos

Hi,

Thanks for your responce..

I have two source systems..

lets say A(R3) and B(Oracle).

A (R3) sends data through proxy to Java maping and from there it is send to target.

B(Oracle) JDBC fetches some data into Java maping in maping we call FM to get some more data from A(R3) to Target.

for both A and B we using same maping and same target structure .and included in one interface.

in present interface when B trigers the interface and Maping fetches the data through FM from A but it is missing one filed.

we added that field in FM ,what ever data it gets from A system is similar to one of the field that is used in A system to send data from A system through proxy.

means the field in A is maped to the target and wokring fine.

now i want map this newly added field in Fm is mapped in field in A in java maping or to the respective target field ..

Hope ia m clear..

Regards

PT

Former Member
0 Kudos

Hi ,

Wht im understood is .

u created one bapi and imported into NWDS . and u papped UI element to R/3 . After wards u have added one more field in BAPI that u have to map right . is it ur requirement Right .

Regards ,

venkat

Former Member
0 Kudos

Hi ,

Wht im understood is .

u created one bapi and imported into NWDS . and u papped UI element to R/3 . After wards u have added one more field in BAPI that u have to map right . is it ur requirement Right .

Regards ,

venkat

Former Member
0 Kudos

Hi ,

Wht im understood is .

u created one bapi and imported into NWDS . and u papped UI element to R/3 . After wards u have added one more field in BAPI that u have to map right . is it ur requirement Right .

Regards ,

venkat

former_member240483
Contributor
0 Kudos

ya sort of ..

for new field is we can map..

problem is there is similar field in the initial interface that used in R3 to send data...

we added in BAPI this field to fetch similar data when the interface is triggerd by oracle system..

in the initial interface the field from R3 isa maped to target and working fine..

but now i want to add this new field also to the same target field.

how can i achieve this.

i am noty much aware of Java .

Regards

PT

Former Member
0 Kudos

Hi ,

i understood is u have Two Input fileds one is mapped to R/3 and one newly added From NWDS Right.

1) But here u have to map Two input fileds to same R/3 Table Filed Right .

Ans:

1) Just Reimport ur BAPI in to NWDS And Design ur UI . map the Two input fields In Controller Mapping to Target R/3 Field .

i think it works fine just check it ,

Regards,

venkat

former_member240483
Contributor
0 Kudos

Hi ,

as i told u i am not aware of java ,

what i did i added the newly created filed to BAPi structuire in NWDS.

i dont know how to use next funtionality...

could you help me how can i change the maping ..

one more concern : when message triggered from R3 it comes to Java mapping there it calls again BAPI and it get the data ...in this two cases we have field with same data ..i want R3 data to be sent and BAPI data to be ignored..

Regards

PT

Former Member
0 Kudos

Hi,

is it useful for you ?

i think even we taken that filed in to Hashmap or Arraylist . we cannot bind these Filed to Model Right . thats why u can reimport ur model do the mapping for Two input fileds to Same Target Map from Controller in NWDS .

Send me ur mail id I will send pdf >>

Bye ,

venkat

Former Member
0 Kudos

Hi ,

ur working in NWDS Right . just Release ur Bapi from R/3 System to Portal Right .

i think as u know how to import BAPI in to NWDS Right .

1) first create new project for Web Dyn pro .

2) Create Application .

3) go to Model Right Click and Create New Model .there u have to give two JCO Destination And R/3 Config Details.

4) Search for ur Latest Bapi to import .

5) click on finsih it will import in to the portal .

Now ur model part is Finished Right ,

Then expan Project Hierarchy u will seee Component Controller doucle click on that Create Context By Giveing Value Node And Value Attribute . then Map ur R/3 Details to Compornent Controller .

Here Now our Fileds in Controller .

Then Go View Context map those Fileds to View i mean UI .

thats it .

Regards ,

venkat

former_member240483
Contributor
0 Kudos

Could you forward to me at id used in my profile

Thanks

PT

former_member240483
Contributor
0 Kudos

Thanks for your help and time i will make a try and get back to u..

Thanks again

Regards

PT