Archive for the ‘ABAP’ Category

The transport target specifies where a transport request is imported.

clip_image002

There are three ways to define transport targets. They differ in syntax and function.

Syntax Example Explanation

1. <SYS> C11 Target system

2. <SYS>.<CLI> C11.021 Target system and client

3. /<Group name>/ /EUROPE/ Target group

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Blogplay
  • LinkedIn
  • Live
  • MySpace
  • Twitter
  • email
  • Identi.ca
  • Print
  • Yahoo! Bookmarks
Wednesday, May 5th, 2010 at 13:18 | 0 comments
Categories: ABAP, CTS
Tags:

Many customers need a function that allows them to transfer values from an Excel table to the SAP system. Up to now there has been no formally released interface for this.

For the Asset Accounting legacy data transfer, a module was written to transfer the Excel data using the clipboard of the Windows system by OLE (Object Linking and Embedding. This module is called ALSM_EXCEL_TO_INTERNAL_TABLE. The module was only designed for the requirements of the Asset Accounting legacy data transfer. This leads to some restrictions, including the following:

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Blogplay
  • LinkedIn
  • Live
  • MySpace
  • Twitter
  • email
  • Identi.ca
  • Print
  • Yahoo! Bookmarks
Thursday, April 29th, 2010 at 22:03 | 1 comment
Categories: ABAP, API
Tags: , ,

Carriage return and line feed combination separates lines in the ABAP text editor control and some other custom controls. In some other programming language like Java, these special characters are represented by escape characters.

Escape characters are part of the syntax for many programming languages, data formats and communication protocols. For a given alphabet an escape character’s purpose is to start character sequences (so named escape sequences) which have to be interpreted differently from the same characters occurring alone. An escape character may not have its own meaning, so all escape sequences are of 2 or more characters.

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Blogplay
  • LinkedIn
  • Live
  • MySpace
  • Twitter
  • email
  • Identi.ca
  • Print
  • Yahoo! Bookmarks
Tuesday, April 20th, 2010 at 22:10 | 1 comment
Categories: ABAP
Tags:

I found some great posts about BADIs in SD module and summarized them in this post. Hope this can help you.

HU_BADI Business Add-Ins for Handling Units
LE_SHP_BADI Business Add-Ins in Shipping
LE_TRA_BADI Business Add-Ins in Transportation

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Blogplay
  • LinkedIn
  • Live
  • MySpace
  • Twitter
  • email
  • Identi.ca
  • Print
  • Yahoo! Bookmarks
Sunday, April 18th, 2010 at 22:53 | 0 comments
Categories: ABAP, Enhancement
Tags: ,

1. Go to function module ‘TR_EDIT_CHECK_OBJECTS_KEYS’ and search string ‘CHECK_ACCESS_KEYS’ to find below piece of code:

CALL FUNCTION 'CHECK_ACCESS_KEYS'
  EXPORTING
    i_adir_obj      = ls_tadirkey
    i_e071_obj      = ls_e071
    suppress_dialog = lv_suppress_dialog
    developer_only  = lv_only_user_license
  EXCEPTIONS
    access_denied   = 1
    display_only    = 2
    OTHERS          = 1.
CASE sy-subrc.
Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Blogplay
  • LinkedIn
  • Live
  • MySpace
  • Twitter
  • email
  • Identi.ca
  • Print
  • Yahoo! Bookmarks
Sunday, April 18th, 2010 at 19:45 | 0 comments
Categories: ABAP

SAP Note 520813 – FAQ: BAPIs for goods movements contains frequently asked questions/answers regarding ‘BAPIs for goods movements’. I just picked out some questions for your reference. For detail information, please visit SAP service marketplace.

Question:
Which function modules must be called after the BAPI is called to complete the posting once the material document has been created successfully? What should I do if there is an error?

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Blogplay
  • LinkedIn
  • Live
  • MySpace
  • Twitter
  • email
  • Identi.ca
  • Print
  • Yahoo! Bookmarks
Saturday, April 17th, 2010 at 23:31 | 0 comments
Categories: ABAP, API
Tags: ,

In ABAP programming, we need to create some custom tables to store extended business data or some execution logs. The text in these custom tables is always saved/displayed in upper and lower case. If the user enters some search criteria which ignores the case sensitive, he cannot get the expected result. The business wants the report to provide the capability to match the inputs with database fields case-insensitively.

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Blogplay
  • LinkedIn
  • Live
  • MySpace
  • Twitter
  • email
  • Identi.ca
  • Print
  • Yahoo! Bookmarks
Friday, April 16th, 2010 at 01:04 | 0 comments
Categories: ABAP
Tags:

BDC is abbreviation for Batch Data Communication. It is a common data transportation method and is especially useful in large data communication scenario. There are two methods to run BDC program. One is using statement ‘Call Transaction’ directly. In this method, the screen is simulated directly but difficult for error processing. The other method is to create a BDC session. Actual data transportation is executed when running this BDC session. I will explain the two methods further.

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Blogplay
  • LinkedIn
  • Live
  • MySpace
  • Twitter
  • email
  • Identi.ca
  • Print
  • Yahoo! Bookmarks
Wednesday, April 14th, 2010 at 00:15 | 0 comments
Categories: ABAP, Interface
Tags: ,

Function module CS_BOM_EXPL_MAT_V2 is used for BOM explosion for a given material. It belongs to function group CSS4 – BOM explosions. This function module can explose multi-level BOM with a given validation date.

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Blogplay
  • LinkedIn
  • Live
  • MySpace
  • Twitter
  • email
  • Identi.ca
  • Print
  • Yahoo! Bookmarks
Saturday, April 10th, 2010 at 17:18 | 0 comments
Categories: ABAP, API
Tags: ,

Function module CRM_ORDER_MAINTAIN is one of the most important function modules in SAP CRM and SAP Solution Manager business transactions processing. Other useful function modules are CRM_ORDER_READ and CRM_ORDER_SAVE.

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Blogplay
  • LinkedIn
  • Live
  • MySpace
  • Twitter
  • email
  • Identi.ca
  • Print
  • Yahoo! Bookmarks
Friday, April 9th, 2010 at 23:50 | 0 comments
Categories: ABAP, API
Tags: ,