Thursday, February 10, 2011

Difference Between Smart Forms and SAPscripts



The advantages of SAP Smart Forms as compared to SAPscript are:
  • • Minimum time required for form customizing
  • • Consistent use of graphical tools
  • • Separation of data retrieval and form logic
  • • No special scripting language
  • • Integration in Internet applications
  • • Migration of SAPscript forms and styles is supported
  • • SAPscript texts can be inserted into SAP Smart Forms

Tuesday, February 8, 2011

BDC Message Type Error

I suggest that you press F1 on MESSAGE. Btw, you already covered most of the message types.

To help you out a bit:
A(bort)
E(rror)
W(arning)
S(tatus)
I(nfo)
(e)X(it) (guess the E was already taken)

Indeed, MESSTAB is filled in the same order as a user would see them.

Since this is a BDC program I asume there is no user present to read your messages. Neither does he have the means to influence the program. So I guess you want to write the messages to a log. And I think you want to have plian text, not something like E123(AB). Fortunately SAP has provided us with some useful function modules like BAPI_MESSAGE_GET_DETAIL (set textformat to 'NON')
But there are tons of FM's that deal with messages. Also take a look at table T100; that is where all messages are stored.

If you want to write your messages to an application log, take a look at function group SLG0

source :