on 10-24-2007 11:37 AM
Hi,
I am doing some stuff with adobe interactive forms . I am using bapi
' BAPI_REQUISITION_GETDETAIL' . If possible please send me code for that .
Regards,
Gurprit Bhatia
Hi,
if you want work with BAPI, you first must import it.
Go to Java perspective, Package Explorer and press right mouse click
Import... -> Import RFC Modules from R/3
Start with that. After, make you own class and call methods from imported.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Are you doing to display the FNM output in PDF?
Then you need to do the following steps.
this is the automatic way to call the FNM and execute in WD side.following this link
Or manually u need to do means do the following
1) import the model
2) add the model in UsedModel in comp
3) Goto compcontroller create the model node bnding with the model class.
4) go to the init method of the componentcontroller add the following code.
BAPI_REQUISITION_GETDETAIL in = new BAPI_REQUISITION_GETDETAIL ();
wdContext.nodeBAPI_REQUISITION_GETDETAIL().bind(in);
// pass the input params
in.setCustomerNo("102");
//
try{
wdcontext.currentBAPI_REQUISITION_GETDETAILElement().modelObject().execute();
wdContext.nodeOutput().invalidate();
}
catch(Exp e)
{
e.PST();
}
Get the node BAPI_REQUISITION_GETDETAIL from Comp controller to View controller thru context mapping.
After this u can goto ur first view create a ele Interactiveform and add the datasource with node BAPI_REQUISITION_GETDETAIL.
and define a var of type binary in view context and bind with the PDFsource property of the UI Interactive form.
And Open in EDIT mode of the UI Interactive form Element then it opens PDF designer there u can design ur pdf screen and bind with FNM Output values.
This is way u are going to do u require to display ur output in table that require some other procedure.
Thanks,
Lohi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.