on 08-06-2011 11:09 AM
Hi All,
I am creating webdynpro application. I am using ZBAPI which displays Purchase requision history details.My problem is I am not getting the output as displayed in R/3. I have date and quantity datatype fields in structure. In R/3 if i execute the rfc it gives correct output. In webdynpro it displays the first two column correctly and then randomly move to 5th column and picks the last two characters and combines to value of next column and display in 3 rd column where as proper value is there for the 3rd column. Also I have checked the mapping in the table.It is the same field mapped which i am displaying.
Can anyone solve my problem?
regards,
sheetal
Hi
Vijay has a valid point.
Try to debug your WD application to check how data is being received in your application.
In case you are not comfortable with debugging of WD java application, you may try to print data in model node by running a loop.
Regards
Vineet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sheetal
It seems that your invalidate () method is not getting called properly. You need to Invalidate () node executing the BAPI, then it will get refreshed after hitting the action button every time.
Please look at below code.
/** declared method */
public void executeYmm_Oapending_Details_Input( ) {
//@@begin executeYmm_Oapending_Details_Input()
try
{
// Calls remote function module Ymm_Oapending_Details
wdContext.currentYmm_Oapending_Details_InputElement().modelObject().execute();
//Synchronise the data in the context with the data in the model
wdContext.nodeOutput().invalidate(); Have u done this Invalidation Line code also.
}
catch (Exception ex)
{
// If an exception is thrown, then the stack trace will be printed
ex.printStackTrace();
}
//@@end
}
Hope this helps!!
Regards
Vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.