Max Titov IV @ TechSplice

The most beautiful music of all is the music of what happens.
  • Home
  • About

Posts Tagged ‘SAP/ABAP’

8 Jul 2011

SAP: substitution/validation transactions

A quick and simple way to locate a validation/substitution rules can be achieved through the utilization of two transactions GGB0/GGB1 respectfully.

Within the transaction if accessed the menu panel Environment – Directory one can select the level of detail and display an entire collection of all the rules that exist in the system.

8 July, 2011 at 10:25 by maxtmax

Tags: configuration, SAP/ABAP, substitution, validation
Posted in Everyday stuff | Comments Off

6 Jul 2011

SAP: Payment Run: err – “overlap with payment run” – DB fix

I faced a problem while automating a payment run process, the log from the run spit out the following error message:

”

Log for payment run for payment on [Date], identification [PR#]
Overlap with payment run [Date] [PR#A]
... the execution of the payment program is terminated

”

Some online digging has resulted in an identification of two different tables:

T042X: Company Codes Blocked by the Payment Program – this table contained an entry for the company code with which I was working.

REGUV: Control records for the payment program – this table contained records for each of the payment runs and specifically tracks the status of each in the field XECHT.  The failed records that I’ve encountered has a value S where a blank would identify that a production run has not been carried out yet.

Fixing these two tables will set the runs in to the original state.

6 July, 2011 at 11:27 by maxtmax

Tags: payment run, SAP/ABAP
Posted in SAP/ABAP | Comments Off

27 Jan 2011

SAP: prompt user for a job-name when scheduling program in the background using SE38

When you want to execute a standard program and run it in the background typically SAP will name the job with the same identification as the program name.

To compensate for this behaviour you can implement a badi [JOB_NAME_SELF] .  Import parameters will include program name and export parameters will contain jobname.

To make the process more flexible you can enhance the functionality by prompting the user to populate the actual program name, here’s how you can accomplish that:

call function ‘POPUP_TO_GET_VALUE’
exporting
fieldname           = ‘JOBNAME’
tabname             = ‘RSJOBINFO’
titel               = ‘Enter the job name’
valuein             = program
importing
valueout            = jobname
exceptions
fieldname_not_found = 1
others              = 2.
27 January, 2011 at 12:04 by maxtmax

Tags: SAP/ABAP
Posted in SAP/ABAP | No Comments »

23 Jan 2011

SAP: substitution rule exclude fields

Changing a value in a substitution rule might be perhibited based on the configurations in the GB01 table.

23 January, 2011 at 21:43 by maxtmax

Tags: SAP/ABAP
Posted in SAP/ABAP | No Comments »

14 Dec 2010

ABAP: link company code and controlling area

Quick way to find a controlling area derived from the company code is to use the following BAPI_CONTROLLINGAREA_FIND.  Examining further you will see that there is a reference to table TKA02 with parameters of company code and business area.

14 December, 2010 at 13:54 by maxtmax

Tags: programming, SAP/ABAP
Posted in SAP/ABAP | No Comments »

28 Nov 2010

SAP: Enable substitution rule changes

If your substitute changes are not taking effect make sure that you have an entry in the GB01 table.  Once you mark down the column you want to change be sure to re-generate the programs. Here’s how you can do that.

28 November, 2010 at 14:50 by maxtmax

Tags: configuration, SAP/ABAP, tables
Posted in SAP/ABAP | No Comments »

24 Nov 2010

SAP: Send an Email with executable SAP command

If you want to send an email with an attachment that can link you directly to an SAP transaction here’s how you do it:

  1. Create an attachment.sap file in your ABAP application
  2. Populate the file with the following information
[System]
Name=<sysid>
Description=Short Description
Client=<clientid>
[User]
Name=<userid>
Language=EN
[Function]
Title=Display PO information
Command=ME23 RM06E-BSTNR = <PO Number>; BDC_OKCODE=/00

When you double click on the file you’ll be redirected to the ME23 screen.

24 November, 2010 at 19:39 by maxtmax

Tags: configuration, SAP/ABAP, trick
Posted in SAP/ABAP | No Comments »

24 Nov 2010

SAP: FM READ_TEXT – where to look

Reading text string can be tricky to debugg but a good start is to look at tables STXH & STXL.

24 November, 2010 at 19:09 by maxtmax

Tags: SAP/ABAP
Posted in SAP/ABAP | No Comments »

22 Nov 2010

SAP: ABAP: ALV grid color scheme

Here’s a list of colors that you can use to color your ALV grid.

To actually use create a field of 4 characters and use ‘CX00′ where X is the number specified above.

22 November, 2010 at 21:23 by maxtmax

Tags: programming, SAP/ABAP
Posted in SAP/ABAP | No Comments »

22 Nov 2010

SAP: transport classes

If you know how to transport copies of objects then you are half way there.  So a quick and easy way to figure out what to put in to your transport [Change Object List] perform the following steps:

  • go to SE24
  • type in your class name
  • click Goto – Object Directory Entry

At this point you should see your object definition entries: R3TR – CLAS – <CLASS NAME>. Grab that and move your transport.

22 November, 2010 at 16:21 by maxtmax

Tags: abap, programming, SAP/ABAP
Posted in Everyday stuff | No Comments »

« Older Entries
  • Subscribe using FeedBurner
  • Cloud Data

    abap adobe animation basic beautiful builder camera code configuration contribution design development digital engineering fix flash Flex function images interesting lesson new paypal Photography php problem problems program programmer programming review sap SAP/ABAP sdk setup soap software solution story system tables transaction transports user video

    WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.

  • My Links

    • Cooking
    • Gallery
    • Resume
  • Online Tools

    • Airline Ticket Search
    • Estimate Shipping Cost [from US]
    • Link your Blog
  • Software Engineering Blogs

    • Adam Goucher
    • Joel on Software
    • The Third Bit
    • Wide Awake Developers
  • Categories

    • Everyday stuff
    • Flex
    • Photography
    • SAP/ABAP
    • Short Stories
    • Software Engineering
    • Web Development
  • Gallery

    Roy Tanck's Flickr Widget requires Flash Player 9 or better.

Max Titov IV @ TechSplice is proudly powered by WordPress
Design & code by Jonk
Entries (RSS) and Comments (RSS).
Podcast powered by podPress v8.8.10.13