on 11-11-2006 6:13 AM
HI all,
I hav a bapi say Zone. which has tables,import,export param. The tables are tab1, tab2, tab3 and in import parameter i hav empid. When i execute the bapi in r/3 side and i give input for empid i am getting output records for all the tables tab1, tab2, and tab3. i created model in webdynpro for the bapi. i binded input and executed the model object. everything is fine. i gave same input values which i tested in r/3. after execution of model object i am able to retrieve all data which i mapped the context node to the table ui element datasource. it is displaying all values except the values of tab1 is not displayed. i checked the size of nodetab1 model its zero. the rest of the modelsnodes size its giving correct. but for my tab1 i am not getting data. but it is retrieving in the r/3 end for the same input data which i gave in webdynpro input. in r/3 side i could fine the data for tab1 for the same input value.
any suggestion please. what will be the problem.
awaiting for your reply.
regards,
Ganesh.D
Hi,
All table nodes are under one outputnode or seperate.
If all nodes are under one node.Find the size for each output table.
Otherwise check once for your ourputnode invalidate method for this table.
it might helps you.
Thanks,
Lohi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Ganesh,
It seems that there is some problem with the mapping of the node which gives you the output for tab1. Please check whether the mappings are done correctly for that particular node which retrieves the output for the tab1.
Can you send me the code what you are using and also the node names, I mean the complete structure for that node which gives you the output.
Thanks,
kris
When i Tried to import new bapi and make use of it the project restructured and the issue was solved without any additional effort/work. But when i reimported existing model before it does't worked.
Thanks for all.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ganesh,
This could be a leading zero issue as well. when you execute a function in R/3, conversion exits could automatically put leading zeroes in, but you will have to do it manually when you execute it using web dynpro.
Just check if thats the issue by passing leading zeroes from web dynpro for the input.
Regards,
LM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
Ganesh try to debug the Abap code from the Webdynpro.Put a break point in the Abap code .goto utilities in the Menu->settings->Debugging,check the Active checkbox and select the Classic debugger mode.Now Deploy your application and give import parameter ,like this you will come to know what data are passing and what data are you getting from the Backend.
Regards
Nidhideep
Hi Ganesh,
Check whether the output node is inside the input rfc node.
If it is inside, have you selected these tables under the output node?
Then check whether you are calling the nodeOutput().invalidate method?
Once these are done, I think it should be ok,
cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ganesh,
I hope your checking correct response nodetab1 model size. ideally you should get the get model size same as r/3 end result.
try reimporting the model again and test it.
Regards, Suresh KB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
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.