How to create File layout using Transaction PU12

...Previous  

Now in the above screen for field ‘IT0001-ENDDA ‘user exit is defined .example code is attached below.

*----------------------------------------------------------------------*
*  -->  p1        text
*  <--  p2        text
*----------------------------------------------------------------------*
FORM GET_DATUM using l_value
                                       l_value1
                                      $var03
                                      $var04
                                      $var05
                                     $var06
                                     $var07
                                     $var08
                                     $var09
                                     $var10
                                     $var11
                                     $var12
                                     $var13
                                     $var14
                                     $var15
                    
changing returning.

select * from t549q where permo = '01'.
MOVE-CORRESPONDING t549q to gt_t549q.
append gt_t549q.
endselect.
Loop at gt_t549q where pabrj = l_value1 and pabrp = l_value.
returning = gt_t549q-endda.
endloop.
ENDFORM.

Above form shows 15 formal import parameters, and one changing parameter.

Here returning value would be file output value .based on requirement we can import values and can change the changing parameter value.

Now the file layout would be like below.

How to execute/Run PU12 Interface.

TCODE: PU12

SAP Documentation will be available for ‘Export options ‘(Check with f1.)

5 Export files are available and while defining a node we can give the Export file name.

In below screen out put file is main export file.

‘Append to export files’ will you option to add the output of the multiple runs to same file .’Display log’ will display the History like below.

https://weblogs.sdn.sap.com/weblogs/images/251820818/image047.jpg

How to download Results into text file:  

Target system can be Application server also.

In TemSe Object, hit F4.and select Option shown below.

https://weblogs.sdn.sap.com/weblogs/images/251820818/image048.jpg

Select the latest TemSe file like below.

And execute it .This will create a text file on your system, which will contain all the results.

How to delete previous runs results:

We can select multiple rows and Click on Delete.

Please send us your feedback/suggestions at webmaster@SAPTechnical.COM 

HomeContribute About Us Privacy Terms Of Use • Disclaimer • SafeCompanies: Advertise on SAPTechnical.COM | Post JobContact Us  

Graphic Design by Round the Bend Wizards

footer image footer image