Adobe form to print sale order details

 

                                                                  Introduction to adobe

                                                                     Types of interfaces


1. Goto T-code SFP.

2. Select interface and give interface name click on create button.

3. Give description and click on save.

4. In this scenario sale order as input and display sale order header details and sale order item details.

5. Double click on import and click on create button.


6.
Give parameter name(p_vbeln) type and type name(vbeln_va).


7. Goto SE11 create two structures and table types for header and item details.

                                                    Structure for header


Table type for header
Structure for item

Table type for item 





8. Double click on global data and click on creates and add work areas and table types.





9. Double click on code initialization write queries.

    * Add input parameters and output parameters.



10. Check and activate.

11. Goto T-code SFP.

12. Select form and give name click on create.

13. Give description and interface name and save.
14.

    * Select import folder from interface and move to context (adobe form).

    * Select Global data from interface and move to context (adobe form).
    * Click on save.

14. Click on layout.

        * Right Click on untitled sub form and change name (sale order page) as per better understanding.

        * Right click on saleorderpage and click on insert sub form.

        * We can resize as per our requirement and better to rename(saleorderdeatilstitle).

        * Select saleorderdeatilstitle and click on insert top menu Standard -> text.

        * Double clicks on and change text (Sale Order Details).

        * Right click on saleorderpage and click on insert sub form.

        * We can resize as per our requirement and better to rename(saleorderinput).

        * Select saleorderinput and click on insert top menu Standard -> text field.

        *  Double clicks on and change text (Sale Order Number).

            - Goto pallets --> workspace--> reset pallete locations.

            - Click on field and click on binding take F4 and choose adobe form select input field(p_vbeln).


       
* Right click on saleorderpage and click on insert sub form.

        * We can resize as per our requirement and better to rename(headertitle).

        * Select headertitle and click on insert top menu Standard -> text.

        * Double clicks on and change text (Header Details).

        * Right click on saleorderpage and click on insert sub form.

        * We can resize as per our requirement and better to rename(headerdata).

            - Select headerdata and click on insert top menu Standard -> text field.

            - Double clicks on and change text (Sale order number).

            - generate binding for sale order.

            - Likewise adding 4 text fields in sub form.

        

        * Right click on saleorderpage and click on insert sub form.

        * We can resize as per our requirement and better to rename(itemtitle).

        * Select itemtitle and click on insert top menu Standard -> text.

        * Double clicks on and change text (Item Details).

        * Right click on saleorderpage and click on insert sub form.

        * Rename as per our understanding (Itemdata).

        * Goto Data view in left select lt_vbap and drop to sub form.

        * Click on save.

        



15. Click on save and execute.

Input



Output


2 Screenshots


*******************************Thank You****************************

Comments

Popular posts from this blog

New syntax for append- VALUE (new syntax 7.4+) in ABAP

Read statement new syntax in ABAP. (7.4+).

Add custom tab to me51n at item level in ABAP