Friday, 4 July 2014

Dynamic Internal Table with Data Reference & Field Symbol



Step1. Create the below program  and call a screen to dynamically put the table records on the alv.






















Step2. Implement the PBO module.















Step3. Provide a table name and if it is incorrect we received a validation error.














Step4. Provider a correct table name and F8.










Step5. The alv screen appears.






















Step6.  Run -3 with table name - VBAK.









Step7.  The alv screen appears.















Step8. Run -3 with table name - VBRK.











Step9.  The alv screen appears.















----------------------------------------------------------------------xxxxx--------------------------------------------------------

Data Reference & Field Symbols


Declaring any Data Object Referring to DATA is a generic type declaration . This Data Reference variable can hold the address of any DATA Object may be Character, Integer, packed Number., String , Structure by using the keyword Get Reference of . Then the Value at this address can be assigned to the Field Symbol by de-referencing the referencing variable (Operator: ->* ).

Step1. Create a Program and execute it.

























Step2. The O/P is as shown below:


















-------------------------------------------------------------------xxxxxx--------------------------------------------------------

Wednesday, 2 July 2014

XSLT Pgm of Transforming a XML tree into int table using Tx- XSLT_TOOL / STRANS ( XML -> ABAP )

Link : XSLT Trans from Internal table to XML Tree Conversion

Step1. Create an XSLT Transformation in Tx: XSLT_TOOL  / STRANS.





















Step2. A comparison between (INTERNAL TABLE TO XML TREE) AND (XML TREE TO ABAP INTERNAL TABLE).

Step3. Create the below program to call the Transformation and execute it.






















Step4. The O/P is shown as :

























-----------------------------------------------------------xxxxx---------------------------------------------------------------


Comments system

Disqus Shortname