This blog should give you a clear idea of how to pass parameters as a key in the front end and get the output in PDF of that smart form in the front end.(Note: $value used to get the raw value of a property. Select the entity set and fill URL as given below:.Register a service for that OData project using transaction code /IWFND/MAINT_SERVICE and navigate to GUI Gateway using transaction code /IWFND/GW_CLIENT.Convert the OTF file to a PDF file using the function module CONVERT_OTF.Call smart form ZDEMO_SFM_01 by using Function module SSF_FUNCTION_MODULE_NAME.ĬALL FUNCTION lv_fm_name "'/1BCDWB/SF00000080'.INTO TABLE belnr = lt_ztab IS NOT INITIAL.ĭATA(ls_header) = VALUE #( lt_ztab ). Using That, Fetch data from the Database table and move it to the Overall structure.ĭATA(lv_key_tab) = VALUE #( it_key_tab-value ). By using IT_KEY_TAB, Fetch the Invoice document number given by the user.Redefine the method named /IWBEP/IF_MGW_APPL_SRV_RUNTIME~GET_STREAM. Go to RUNTIME ARTIFACTS => ZCL_ZDEMO_ODATA_01_DPC_EXT.Generate the OData project and save it in a local object.Make sure the Media button in the entity type is enabled. The entity types and entity sets will be created.Select the required fields, set the primary key, and click Finish.
0 Comments
Leave a Reply. |