Max Titov IV @ TechSplice

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

Archive for the ‘SAP/ABAP’ Category

You are currently browsing the archives for the SAP/ABAP category.

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 »

20 Nov 2010

SAP: Generating a Class Actor – CREATE_PERSISTENT

Been playing with the persistent objects and finally figured a part that involves generating a CREATE_PERSISTENT method in the Base agent class.

To do this

  1. Go to Persistence Representation
  2. Select Utilities – Generate – Class Agent – Class
  3. Click the Yes button

That’s all.

20 November, 2010 at 11:29 by maxtmax

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

17 Nov 2010

SAP: BeX Exception Broadcasting

Interesting article summarizing the process of sending out email messages based on exception filters in a query.

PDF Link

17 November, 2010 at 13:16 by maxtmax

Tags: BeX, configuration, exception, sap
Posted in SAP/ABAP | No Comments »

17 Nov 2010

SAP: logging table changes

When a table is configured there is an option to log the changes that are done to the information.

You can then check who mad the changes and when the change took place by running report RSVTPROT.

17 November, 2010 at 8:40 by maxtmax

Tags: abap, changes, configuration, loging, program, sap
Posted in SAP/ABAP | No Comments »

4 May 2010

ABAP: check if a function module exists programmatically

If you need to check if a function module within your program try running the following function: RH_FUNCTION_EXIST.

4 May, 2010 at 0:27 by maxtmax

Tags: abap, function, tips
Posted in SAP/ABAP | No Comments »

23 Apr 2010

SAP: WE20 partner set up “Please enter a permitted partner number”

A new inbound IDOC failed to process with a “EDI: Partner profile not available” error.

I’ve attempted to set up a new partner but failed to do so due to the “Please enter a permitted partner number” error when using WE20 transaction and setting up a new LS partner.

A quick debugging session revealed that the program was checking a TBDLS table [Logical Systems].

After this I’ve simply used SPRO transaction to update the:

Spro – IMG – Basis Components – Application Link Enabling (ALE) -  Sending and Receiving Systems – Logical Systems – Define Logical System

Add the new logical system and you will be able to set up the new partner now.

23 April, 2010 at 12:41 by maxtmax

Tags: configuration, partner, sap, spro
Posted in SAP/ABAP | No Comments »

23 Dec 2009

SAP: STMS transport stuck

When coming across a situation where thetransprts are stalling/hanging in the STMS queue there are a few things that you can do:

The fist and most obvious course of action is to contact your Basis support team.

Given that you are reading this article you probably wanted or were forced to figure this one out on your own so here are a few helpful actions that you can take to narrow down the problem:

TP processes:
Go to the SM51 and check if any of the TP processes are still running, you might be required to kill these before proceeding haulted imports.

Check the TP System Log:
You can do this by STMS – Overview – Imports – Select Queue System – Goto – tp system log – F5
This will show you a step by step log of what has occured in the system, you would be able to see which transports are being processed and what has completed.

Check the Import Monitor:
You can do this by STMS – Overview – Imports – Select Queue System – Goto – Import Monitor
This will show you the queue of active transports [if any], if you see that there is a collection of unprocessed imports then you need to flush the queue.

Check TMS background job:
You can also check if the background job RDDIMPDP is running.

From tim to time it happens that the import queue becomes inconsistent and the system stalls, as a result you can be stranded without any of your transports moving ot he next system.

Tables:
TMSTLOCKR: will unlock a given transport from the transport queue [the transport truck will dissapear after deleting of the entry int he table]
TRBAT: will contain values correspondign to active imports, if you have a stuck transport that is haulting a collection of other transports a simple delete from this table will re-initialize the queue and push the backed up imports forward.
TRJOB: should also be cleared in order to continue the regular flow of backe up transports

For any additonal information please refer to the following notes:
818065, 302859, 556941, 556946, 71353, 49242, 323726, 56311, 24800, 486991, 506771, 138200

23 December, 2009 at 8:51 by maxtmax

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

25 Nov 2009

SAP: deleted users [when/who]?

Actions that are done to a user profile, be that creation, modification or deletion are tracked in a table USH04.

The field PROFS will reflect each of the actions referencing the following characters:

A: add

M: modify

D: delete

Simply enter the user you are interested in and see what has occured over the year.

25 November, 2009 at 13:08 by maxtmax

Tags: administration, configuration, sap, security, user
Posted in SAP/ABAP | No Comments »

19 Nov 2009

SAP GUI: enable/disable input field history on text fields

This is sort of a usless but still somewhat interesting fact: I ran in to a problem where a user wasn’t able to see his history when he entered data in to his sap gui.  It didn’t matter which field it was every time he would re-login he would not see the data he entered just minutes ago.

I did some reasearch and seen a lot of posts about SAPHistory*.mdb file in the SapWorkDir directory. The user’s history was was being generated so the problem was being caused by something else.

Then I came across a post talking about Low Speed Connection [Reduced Network Traffic] setting which can be found by going through your login pad, clicking on the system and displaying the properties window – followed by going to the Network tab.  From what I’ve read it seems that having the setting set to Low Speed Connection could cause the problem of missing input field history.  Even though this seemed promissing after getting the user to try a different machine with the High Speed enabled he was still showing the problem.

The final peace of information that I’ve aquired from the web was a little neat SAP feature: if you get to an input field and hold down your Ctrl button you can right click on your  mouse and get a pop-up window that would allow you to Disable/Enable History functionality.  Typically the field is set to Defaut Settings, so the only thing left to do was to figure out if the user’s default settings were set to Disable History for his SAP system.

to be continued…

PS: another interesting fact that I picked up somewhere: if you scroll up/down using your keyboard in the history field you can delete entries by pushing the delete key.  I know, it’s neat.

19 November, 2009 at 13:43 by maxtmax

Tags: change, configuration, controls, field, gui, sap, setting, setup, text
Posted in SAP/ABAP | No Comments »

« Older Entries
Newer 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