on 07-24-2006 8:31 PM
Hi,
I have a RFC Function Module, which exchanges Data in Webdynpro with R3.
And I call a Non RFc function Module inside my RFC Function Module. Non RFC Function Module has to insert
data in my z-table. I also set Commit Work after insert.
But anyway there is no data in my Z-table!!!
Is something wrong? If I debug my Web Dynpro, I can insert all into z table. But without debugging No data
is filled in my Table. Please Take care, that Function is not a Bapi, just only RFC Function Module.
Thanks a lot for your Replies!!!
With my Best Regards
Beserithan Malabakan
Hi Beserithan,
In case you use Web Dynpro ABAP, then there is no difference between working with function modules, classes or Web Dynpro. It's all ABAP. This means that you need to perform a commit if you would like to save your data to the database.
Best regards,
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is this Java or ABAP web dynpro?
It should be irrelevant whether your function module is a BAPI, RFC enabled or not and it shouldn't matter if you are calling it from Web Dynpro or a portal app or just an ABAP program - if your function module has the correct logic to commit it's data then you should be able to prove it from SE37 with a single test.
My first guess is you may need to do a commit work and wait - if you are using BAPI_TRANSACTION_COMMIT then simply set the WAIT parameter; if you are just doing a straight forward COMMIT WORK then add the AND WAIT addtion.
I'm guessing its ABAP as you talk about debugging the Web Dynpro and it posts to your table - don't forget that the ABAP debugger creates implicit commit work steps whilst you are stepping through which is why you are probably seeing data saved.
If you do a single test from SE37 of your RFC does it post data?
Hope this helps,
Gareth.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.