Shared Top Border

Enterprise Resource
Planning Portal

 

Advertise | Founder BLOG

ERPGenie.COM ABAP Tips and Tricks Database

THE ultimate
ERP website

 

Forums | Vote for us |

Google    Other Search Options

Login

Login to view more content!!!





Lost Password?
No account yet? Register

Registered Access

Poll

What is your relationship with SAP?
 
Home
Application Log Creation PDF Print E-mail
User Rating: / 1
PoorBest 
Written by Pavan Rachamalla   
Saturday, 20 January 2007
LS_LOG-OBJECT = 'SALESORD'.
LS_LOG-SUBOBJECT = 'SALESITEM'.

CALL FUNCTION 'BAL_LOG_CREATE'
  EXPORTING
    I_S_LOG = LS_LOG
  IMPORTING
    E_LOG_HANDLE = L_LOGHAND
  EXCEPTIONS
    LOG_HEADER_INCONSISTENT = 1
    OTHERS = 2.

L_MSG-MSGTY = 'E'.
L_MSG-MSGID = 'B1'.
L_MSG-MSGNO = '999'.
L_MSG-MSGV1 = 'Update failed for'.
L_MSG-MSGV2 = LV_WI_ID.

CALL FUNCTION 'BAL_LOG_MSG_ADD'
  EXPORTING
    I_LOG_HANDLE = L_LOGHAND
    I_S_MSG = L_MSG
  IMPORTING
    E_MSG_WAS_LOGGED = B_LOG
    E_MSG_WAS_DISPLAYED = B_DISP
  EXCEPTIONS
    LOG_NOT_FOUND = 1
    MSG_INCONSISTENT = 2
    LOG_IS_FULL = 3
    OTHERS = 4.

* save logs
CALL FUNCTION 'BAL_DB_SAVE'
  EXPORTING
    I_SAVE_ALL = 'X'
  EXCEPTIONS
    OTHERS = 1.


 
< Prev   Next >

Google Search

Statistics

Contribution Activity
Utilities: 38
Tips and Tricks: 332
Sample Code: 164
Total Contributions: 549

Member Activity
Members: 6148 since 2/1/2007!
New: 12 since yesterday!
Visitors: 997049

Newest Members

Welcome our newest members:

Google Ads

Shared Bottom Border

Contact Us | Polls | Add URL | Contribute | Privacy | Terms | Feedback

Discussion Forum | BLOG | Consultants: Post your resume | Companies: Advertise on ERPGenie.COM | Post Job
Financials Consultant | Consultant Review | Gallia Consulting | Supply Chain Project | SAP Financials Forum
GenieHoldings.COM, Inc. | Genie Press | WorkflowGenie | ESAGenie | ERPTopSites | ABAP Tips and Tricks | SAP Solutions Database

EDIGenie | Searching Survivor