Monday, May 7, 2012

Useful Links

Dynamic Internal Table

http://wiki.sdn.sap.com/wiki/display/ABAP/Dynamic+Internal+table

 Convert smartform to PDF document.
http://wiki.sdn.sap.com/wiki/display/Snippets/Convert+Smartform+to+PDF+format

 Converts spool request into PDF document and emails it to recipicant.
http://wiki.sdn.sap.com/wiki/display/Snippets/Sending++attachment+using+cl_bcs+classes
 http://www.sapdev.co.uk/reporting/rep_spooltopdf.htm

Area Menu
http://scn.sap.com/thread/1522768

How to change the SAP Script Package..when i use option copy from client option, it ask for a package but after copied it shows in the $TMP package...



 Goto the Tcode SE03 and select the option "change object directory entry" and execute. You will get a list of standard ABAP objects. Now select an empty row and give "R3TR" and "FORM" and give your SAP script name in the text box and execute. Here you can change the Package or Development class.

Best for SAP Script
http://www.saptraininghub.com/sap-script/
in SE12 dictionary for TSTC, double click on field type of tcode to switch to the data element. In data element, double-click on domain name. In the domain definition, there is a check-box 'lower case'. If this is checked, lower case values are allowed in input fields. You may check that in SE93 you can enter a transaction name in lower case letters and it is converted to upper case as soon as you press enter.
If you don't have the lower case checked for a domain, you can almost be sure that you won't find lower case in the table. But tables still may have been filled programmatically with lower case entries. This is usually not the case with SAP programs but customers Z programs do it from time to time.

Q. Find purchase order of a material batch added in a delivery for a report re



I create purchase orders in ME21N and do the inbound delivery in VL31N referring the purchase order. Sales order entry is done in VA01 and once goods is in-house allocation is done in J3AB. Outbound delivery is created in VL01N. For a report requirement I need to find the purchase order of the outbound delivery material batches. We donu2019t maintain the purchase order number any ware in the material batch. Please advice me on how to find the purchase order of a material batch added in a delivery.
Ans: use Mb51, enter material number and batch number and movement type 101, then execute. You get the receipt, go into the detail and you will see the PO number. Technically spoken, material movements are stored in MKPF and MSEG table. You can configure the settings in standard SAP by T-code OMBG. Over here you can define your own version which will have only those columns that you want to see in MMBE report.
How to transport ABAP report selection variants



The steps described below are used to transport a report variant. They can be initiated from transaction SE38 (\Tools\ABAP/4 workbench\Development\ABAP/4editor) or transaction SA38 (\System\Services\Reporting).

1. Enter the name of the program the variant is to be transported for.

2. Select menu path \Goto\Variants.

3. Select menu path \Variants\Transport request.

4. Click on the Excecute button (or PF8).

5. You will be prompted with a list and a request to select the variant to be transported. Select the variant(s) to be transported and click on the
'Continue' button.

6. You will be presented with the 'Change Request Query' screen. If a Change Request has already been created for the variant transport skip to Step 8.

7. If a Change Request must be created, select menu path \Request/task\Create. You will be prompted to select a "category" ---> click on the 'Customizing' button. You will be prompted for a description. Enter a description and click on the yellow folder or press 'Enter'.

8. Click on the folder icon to the left of the Change Request to display the related "Tasks". Double click on the "Task" to be used for the variant transport. You will receive the message "The desired entries have been included in D20K90xxxx". Press 'Enter' once you have read the message.

9. When you are ready to release the variant, go to transaction SE10 and release the Change Request following the same steps as for any other Change Request.

No comments:

Post a Comment