Sunday, February 06, 2005

Selection options in output

Sometimes we need to print selection screen values in the output. Use these Functions for that:
  • PRINT_SELECTIONS
  • RS_REPORTSELECTIONS_INFO
  • RS_REFRESH_FROM_SELECTOPTIONS
  • RS_LIST_SELECTION_TABLE

Wednesday, January 26, 2005

Billing Output Type for ALE

Config can be accessed via (V/40):
  • Sales & Dist->Basic Func->Output Control->Output Determination->Determination Using Condition technique->Maintain Output for Billing Documents-Maintain Output type
  • In the processing routines choose Program: RSNASTED and FORM routine: ALE_PROCESSING
In Partner profile (WE20):
  • Choose message type DESADV and process code SD09

Shipping/Deliver Output Type for ALE

Output Type config can be accessed via (V/34):
  • Logistic Executions->Shipping->Basic Functions->Output Control->Output Determination->Maintain Output for Outbound Deliveries->Maintain Output Types
  • In the processing routines choose Program: RSNASTED and FORM routine: ALE_PROCESSING

In Partner profile (WE20):
  • Choose message type DESADV and process code SD05

Sunday, January 23, 2005

ALV list

To create a list using ALV can be done using methods of the class under the package SALV_OBJECT

Tuesday, January 11, 2005

Dynamic modification of Application toolbar area

Sometimes you need to remove a functionality from a screen. For example you want to remove function code LIST from the status CREATE, the code to do this would be:.

SET PF-STATUS 'CREATE' EXCLUDING 'LIST'.

Wednesday, January 05, 2005

Convert CSV to SAP using

To convert CSV text to SAP format use the function module TEXT_CONVERT_TEX_TO_SAP

Wednesday, December 22, 2004

SAPGUI interaction with PC

The class CL_GUI_FRONTEND_SERVICE supports a lot of features for interacting with the local PC e.g. upload/download file, directory, etc

Tuesday, December 14, 2004

Reuse Library

SAP provides demos and list of classes/function modules that can be used to do some of the common things. These are:
  • Controls
  • ABAP
  • Standard Dialogs
  • Application Tools
Within Applications tools
  • InfoSet Query / SAP Query
  • Extended Table Maintenance
  • ALE/IDoc
  • Change Documents
  • Units of measurement

The transaction for starting Reuse Library is SE83.

Client copy in SAP

To copy client dependent transports accross clients use the transaction SCC1.

Sunday, December 12, 2004

Add new language in SAP

SAP report RSCP0034 will add a new language in SAP (OSS Note: 579937)

Wednesday, December 01, 2004

Logging transaction

Use the transaction SLG0 to create object/subobjects for your own use. Then transaction SLG1 can be called to display log for the these objects once the logs are written. Database में डालने के लिए SBAL_DEMO_०५ नमूना देखे.

Sunday, November 28, 2004

Demos on Logging

Package SZAL has a lot of demo programs that show how to create log messages. The program SBAL_DEMO_04 has links to most cases.

Monday, November 15, 2004

Date calculation

Use Function module CALCULATE_DATE to get past/future from a given date

Saturday, November 13, 2004

Useful tables in CFM

Tables:
  • TZPA Product type
  • AT10 Transaction type
  • AT01 Transaction Category
  • VTBFHA Transactions

Substitution Rule

Substitution rule setup:

Go to FI->GL->Business Transaction->GL A/c posting->Carry out and Check Document settings->Substitution in A/c documents

Payment File setup

Payment file setup (MT100 and MT210)

Go to FI->AR and AP->Business Transaction->Outgoing Payments->Automatic outgoing payments->Payment media->Make settings for payment medium formats for Payment medium workbench->Create Payment medium formats

Sunday, November 07, 2004

Currency Conversion in SAP

CONVERT_TO_FOREIGN_CURRENCY Translate local currency amount into foreign currency
CONVERT_TO_LOCAL_CURRENCY Translate foreign currency amount to local currency

Wednesday, November 03, 2004

Reading/Saving text elements in a program

Use these function modules on text elements
READ_TEXT Read text in the form of SAP Script/Memo
SAVE_TEXT Save text in the form of SAP Script/Memo