cancel
Showing results for 
Search instead for 
Did you mean: 

Populating a table in a function module through java

Former Member
0 Kudos

Hi,

We have the following requirement....

1.we have an RFC "z_hr_mantain_masterdata" which is used generically for updating different infotypes.

2.In this RFC we have a table "proposed_values" which expects fval, fname, infotype.

3.we have an iview which takes input for begda, infotype and event.

4.we have to populate the above table with the following values (1st row)

i) infotype - infotype

ii) fname - "po378-fname" (hard coded)

iii)fval - begda

(2nd row)

i)infotype - infotype

ii) fname - "po378-event" (hard coded)

iii)fval - event

So how can we create a table with the same structure and values in JAVA and send it to R3 function module.

Any help will be appreciated....

Thanks,

Madhuri

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Guess U can use a Model and call BAPI then export the values and execute to update it.

This is possible with JCA..

Let me know if u need more.

Former Member
0 Kudos

Can we do it through visual composer?

Is it better to update the table in R3 by sending the values through import parameters (var1, var2 etc) or to create the table structure in JAVA, populate it and send it back.

Which one will be more generic...

Thanks,

Madhuri