Archive for March, 2008

ABAP Macros [SAP]

Monday, March 17th, 2008

ABAP programmers, do you use macros? Create macros, and use them? Macros make the program more readable, organizable, so on.

If you want to reuse the same set of statements more than once in a program, you can include them in a macro. For example, this can be useful for long calculations or complex WRITE statements. You can only use a macro within the program in which it is defined, and it can only be called in lines of the program following its definition.

The following statement block defines a macro macro:

DEFINE makro.

statements

END-OF-DEFINITION.

(more…)

Missing XDSREGAgent for Service Object [iWay]

Friday, March 14th, 2008

I am working on a new iWay project and I had a problem yesterday. The problem was

We used XDSReg service object in our processes. It basically allows you to register a special register while in the middle of process. All processes are working in production.

The problem is I wanted to create a new process and use XDSReg in a new configuration. But when I open service object’s Type combo button, I cannot see XDSReg in available list. Interestingly I looked my old processes in both DEV and PRD, and the same thing there too. It seems weird! Because it’s already used, but if we want to create new one, we can’t!

(more…)

Program RSTXTRAN - Transfer of SAPscript / Standard Texts

Wednesday, March 12th, 2008

[SAP R/3 4.6C] Standard texts are not automatically transportable. When you create a standard text - trn SO10 -, SAP does not ask a transport request. But if you need to transport standard texts, you can use use RSTXTRAN program.

(more…)

Program RSTXPDFT4 - Read Spool Job Contents and Convert to PDF & Download PDF

Thursday, March 6th, 2008

[SAP R/3 4.6C] RSTXPDFT4 simply converts a spool request to PDF and downloads into a client folder.

(more…)