How to call workflow from abap program sap
![how to call workflow from abap program sap how to call workflow from abap program sap](https://images.squarespace-cdn.com/content/v1/55cdcc72e4b0ff38cd56a751/1453726958603-1GV7Y26I0K57QVJRK6RZ/image-asset.png)
Step 22: Save and activate the Smartform. Do the same step for the other 4 columns. Step 21: Enter the Work area and field as given below.
![how to call workflow from abap program sap how to call workflow from abap program sap](https://www.kodyaz.com/images/sap-abap/abap-program-output-listing-container-data.png)
Click on Insert Field button to enter the variable in the page. Change the name and description of the Text. Step 20: Now Right-click on Template: Create -> Text. Step 19: Click on Details and set the height and width of the columns. Step 18: Select Pencil icon and create 5 columns as before for displaying the data here. Change the name and description of the template as before. Step 17: Now right-click on Loop: Create -> Template. Double click on Loop and change the name and description of it and Loop the internal table: IT_VBAP into work area: WA_VBAP. Step 16: Right-click on Main Window: Create -> Flow Logic ->Loop.
#How to call workflow from abap program sap code
Now double click on Program Lines and change the name and description of program linesĪnd enter the SQL code to fetch the data. Step 15: Right click on Main Window: Create -> Flow Logic -> Program Lines. Step 14: Now click on the Output Options tab and set the position of the text by allotting column number and row number under Output Structure. Step 13: Double click on Text and change its name and description and write the text in the Editor.ĭo the same thing and create four more texts under the same template. Step 12: Right click on Template: Create -> Text(As created below). Step 11: A pop-up will display and select a pattern of the template without the border if you want to select a pattern with border click on Display Framed Pattern. Now click on the button “Select Pattern.”. Step 10: After adjusting columns click on Table Painter button to come back. Step 9: Now here adjust the height and width of the column according to your convenience. Step 8: After creating a number of columns, click on the Details button. Click on Pencil icon and draw a number of columns in %C1. Change the name of the template and description. Right-click on Main Window: Create -> Template. Step 6: Click on the down arrow besides Page folder, Main Window will show. Step 5: Now double click on Page and change the Page name and description. Step 4: Now click on the Types tab and create a user-defined structure as below. Step 3: Now double click on Global Definitions on the left panel, click on Global Data Tab and enter the internals tables & required variable names with their respective types (All declared objects will be global here).