cancel
Showing results for 
Search instead for 
Did you mean: 

Re-import RFC - no errors, but no new data

Former Member
0 Kudos

We changed a structure used by an RFC in CRM for web dynpro report - added an addtional field (type char20) to be displayed in existing tableview.

This is what I did:

1) Re-imported the model. The new field showed up in the model.

2) In Component Controller used by the existing view I added a new model attrib, linked it to both the in and out structures.

3) Added column to tableview, created cell editor for the textview and mapped text to <controller>.<fld_name> as with the other existing columns.

Redeployed new build, the old columns still display the data but the new col is never populated. I can reference the new col with java code, everything looks correct, checked the actual records the RFC is grabbing and values are actually there for that attribute, still nothing but nulls in the new column.

Fairly new with dev studio and this is the first time we changed a structure on an RFC. Did I miss something? Or is there a way I can debug this?

Note: We did restart the J2EE after the re-import. I even tried checking activity in, wiped out my workspace directory and recreated the DC and project.

All the old data is there as before ... but the new col is blank on all rows.

Also, I see a lot of users were getting errors after a re-import, I never got any after the server as restarted so I am hoping I don't have to delete the model from the project and manually rebuild it. (the table in the view has a LOT of columns in it)

Any help is appreciated ...

Accepted Solutions (0)

Answers (7)

Answers (7)

Former Member
0 Kudos

No answer was needed

Former Member
0 Kudos

Never mind.

I am telling my boss to find some other poor **** to deal with this piece of sh*t application. Don't think I've ever come across such a resource pig that has so many problems and runs slower than hell, even on a fast machine w/2GB of ram.

Maybe I can talk them into porting this report to BSP ... I know that works ....

Former Member
0 Kudos

Tried repair but returned that repair was not needed on the component and the view.

Tried re-importing model again, re-imported the DC, retstarted the J2EE server again but still no change. The attrib is visible in the model, controller and view - everything LOOKS like it is setup correctly.. Did I miss a step???? Details:

Element added in RFC structure: tot_hrs

- In the 'Time_Conf' component controller I added new model node "Tot_Hrs"

- used controller edit to link the new attrib to the *_input structure in the model

- added col to tableview with text edit cell property: 'Time_Conf.Tot_Hrs'

Since the MVC configuration already existed I assume this was all I needed to do.

Question: Is there a way to 'test' an RFC connection where I can see the actual data? Would be nice to know if the problem is between the model and the controller or the controller and the view. Anyone know a good place to set a breakpoint?

Former Member
0 Kudos

Mike,

Something strange:

<i>- In the 'Time_Conf' component controller I added new <b>model node "Tot_Hrs"</b></i>

<i>- used controller edit to link <b>the new attrib</b> to the *_input structure in the model</i>

- added col to tableview with text edit cell property: <b>'Time_Conf.Tot_Hrs'</b>

So what is new? Node with model class? Model class attribute?

VS

Former Member
0 Kudos

Hi ,

After reimporting the Model it is asking to restart the server.

After restarting ur J2ee engine. once again ur new field is move from the model to Component controller and view controller.

Delete your exisiting binding to table value and rebinidng with new field.

Then it might helps you.

Thanks,

Lohi.

Former Member
0 Kudos

Hi ,

Strange ! If you print the attribute value, does it return a proper value.. If so , the only reason I can think of is , the column 's cell editor (TextView) might not be mapped to the attribute.. !

Regards

Bharathwaj.

abhijeet_mukkawar
Active Contributor
0 Kudos

Mike,

Try repairing your project, if it doesnt work, once again check out the mapping of model classes to component and then to view.

regards

former_member189631
Active Contributor
0 Kudos

Hi Mike,

Try this,

  • Right Click Your Project Component --> Repair and Give Repair Component Interface

  • Right Click Your View in Webdynpro Explorer --> Give Repair

  • Save,Rebuild,Deply and Run.

Regards,

<b>Ramganesan K</b>