Tuesday, June 28, 2011

Tricky steploop in screen painter (SE51)

Recently, we have a problem in our standard transaction regarding the pop up dialog being shown. The dialog is originally created by SAP called POPUP_TO_DECIDE_LIST. The dialog shows only 25 radio buttons that when displayed, it is exactly as tall as the monitor screen.

One of the business requirements is to enhance the dialog to be able to show at least 200 rows or all the records in the master table of credit cards as this is related to a credit card transactions. We have contacted SAP and they tell us that this was already addressed by OSS note 1108382. Meaning, there is no need for us to do coding anymore as we just only need to apply the OSS note. But, there is a problem as we've

Maintaining a table hastle free

Maintaining your customized table with your own tcode and program did ever cross your mind?

There's a very easy way to address your problem by creating a TCODE in se93 and choosing the parameter type tcode. By calling SM30, skipping initial screen then at the bottom part, you may include the table name (add VIEWNAME under name of screen field) and assign whether it can be updated (X) or not (blank) (add UPDATE under name of screen field).

To start with, in SE11 after creating your table, tech settings, etc. go to  Utilities->table maintenance generator. Save your changes.

Prerequisite: Make sure that the below where assigned to table:



If you want to add new fields, you may go to se11--> change--> utilities--> table maintenance generator-->generated objects--change-->new fields table and press enter and generate (click key or normal fields as well as click the screens to regenerate new)

Note: Put &NC& in Authorization Group and the table name in function group field if you don't assign any authorization..

Don't forget to adjust and activate your db in se14. then generate again.You may want also to modify your generated function group codes i.e changing screen layout, column names, etc.

Hope you find this useful. If you have questions or comments, please don't forget to put. Thanks!

Thursday, June 23, 2011

Transferring/receiving data from SAP r/3 to other box or third party software

Many existing organizations run their business from a different systems or platforms. This may include SAP R/3, JAVA J2EE, .NET or legacy systems such as Mainframe/COBOL.

In legacy systems, transferring data is usually done through a dump file or a txt file which has been formatted according to agreed format with the handler system.

In SAP, transferring data is done through IDOC using ALE and EDI technology.

IDOC stands for intermediate document comprises of a segment and fields that forms a certain file layout. In non-SAP system, their IDOC is commonly referred as the input and output dump file or simply text file. In SAP, it is quite more sophisticated and intact. IDOC in SAP world is used as a medium of transferring data to one box or to a third party software.


IDOC will work only by configuring it with ALE and EDI technologies. ALE stands for Application Link Enabling or a technology incorporated by SAP to synchronize and to manage the changes done between data of separate  boxes within SAP only.


EDI stands for Electronic Data Interchange. This serves as the medium to transfer or to communicates the IDOC to other system outside SAP in order for them to be transferred and delivered successfully.

Tuesday, June 21, 2011

How to apply OSS NOTES

OSS NOTES are sap fixes or patches programs or configurations to your SAP system in order to fix or to update something relevant to your specific problem or application functions.

Today we will walk through you to tcode snote to apply the oss note.  SNOTE tcode is used to apply oss notes as well as viewing the status of the OSS notes if has already been applied or not or any status determination.

Tuesday, June 14, 2011

BINARY SEARCH with disadvantage!

In whatever means possible, always use binary search in your ABAP program as what SAP AG suggests. But, there is one thing that you need to look at.

Function Exit in SAP DMEE

Introduction:


Data Medium Exchange Engine (DMEE) is where you define the fields of your FTE or IDOC.


It is defined also by SAP AG as:
    The Data Medium Exchange Engine (DMEE) enables you to define file formats that meet the requirements   of your financial institution. This is particularly important as there is no worldwide or regional standard. In some cases, no country standard exists and the file must comply with bank-specific standards. With no ABAP programming knowledge required, this tool enables you to flexibly define new formats and to efficiently modify existing ones. In addition, DMEE can be used by calling applications to generate a DME file.

Objective:


In this topic, I will show you how to use the function exit in DMEE of a certain bank of a country.