Show TOC

 Adapting The Internal Order Form Locate this document in the navigation structure

Use

You can use this function to adapt the internal order form delivered by SAP to meet your requirements.

Activities

You create the form of the internal order form in the Web Application Builder in the ABAP Workbench. This processing replaces the traditional Customizing.

You can use the CO_ORDER_EDIT and CO_ORDER_CRT services provided by SAP as templates for your layouts. They can be used respectively to edit and enter the order master data in the KAUF development class.

Copy the required service in the ABAP workbench to a development class in the customer namespace, then create a theme .

To create an HTML template for the theme, enter the following screen number in the initial screen:

  • 0115 to display the master data

  • 0116 to create the master data

Enter screen no. 0695 from the SAPMKAUF program for the detail screen.

The CO_ORDER_EDT_E and CO_ORDER_CRT_E services provided by SAP contain a predefined possible layout for the templates.

Note Note

The Internet Transaction Server[ITS] displays changed and published HTML templates without the F4 help.

However, templates that were generated dynamically from a transaction screen do have F4 help.

If you require F4 help on the initial screen, then do not change or publish screens 115 and 116. Instead, change and publish only detail screen no. 695. Alternatively, you can create initial screen templates in which you then call up an existing worklist from the IST using the HTML business function.

In the web application builder in the ABAP workbench, you can make simple changes to the template source text, then save and publish it.

End of the note.

The template created in the ABAP workbench consists of the descriptions for the screen elements in business HTML.

Links

On a changed and published service, you can create a link to provide access to it (for example, to the work place). The query string for the link must contain the CO_ORDER_EDIT and CO_ORDER_CRT forms.

You can now use a link to refer to interfaces with different layouts in the same transaction, which have different themes.

To skip the initial screen, you need to provide the link with the necessary parameters for the initial screen.

Example Example

You can use the query link http:// < enter your IST Server here > / scripts/wgate/co_order_crt/!?~okcode=mast&order_master-order_type=0100 to go to another link on the detail screen to create an order for order type 0100.

End of the example.

Result

You created an internal order according to your requirements without using Customizing.