Home > Ask the SAP Experts > Application development Questions & Answers > Is it "calling" or "inserting" includes?
Ask The SAP Expert: Questions & Answers
EMAIL THIS

Is it "calling" or "inserting" includes?

Matthew Billingham EXPERT RESPONSE FROM: Matthew Billingham

Pose a Question
Other SAP Categories
Meet all SAP Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 02 June 2005
I need to clone a function group SAPLBG00 and use it to validate equipment (EQUI-EQUNR) data. However, in doing so, I have to call a custom include and comment out a standard SAP include which is called by other programs -- that can fail as a result. Please let me know if there's an approach to tackle this problem.

>
EXPERT RESPONSE
Includes are not called. They are simply inserted "as is" within ABAP code, at the point where they are referenced. Commenting out a SAP include means that that program no longer uses that particular ABAP fragment. Any other programs using the SAP include are unaffected.

I've seen coding like this:

IF cond.
   INCLUDE includea.
ELSE.
   INCLUDE includeb.
ENDIF.

This is ambiguous coding, so is usually a bad thing to do. Includea and includeb are always included. It isn't conditional.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
Application development
How to create Include programs in the ABAP editor
Is there a 'load of program' option in report generation?
Deleting entries from a dynamic table
Defining a structure in a report
Validating table fields
The difference between field groups and internal tables
Unicode check error fix
Creating a screen for grid display
Migrating test programs from ECC 4.6 to 6.0
Creating a field exit for a data element

SAP development
Fixing a common OPEN_FORM and START_FORM error in SAPscript
SAP TechEd 2007 Las Vegas: SearchSAP.com Special Report
Doing Objects in Visual Basic 2005
Book excerpt: Essential ASP.NET 2.0
.NET Internationalization: The Developer's Guide to Building Global Windows and Web Applications
Sending sales orders in R/3 via ALE
Splitting the string to fit in standard text
BAPI ignoring segment and third-party invoice cannot post
Using the catch exceptions method
Uploading data for testing purposes
SAP development Research

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice

HomeNewsTopicsBlogsTipsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2000 - 2008, TechTarget | Read our Privacy Policy
SearchSAP.com is a search service provided by TechTarget and is completely
independent of and not affiliated with SAP AG.
  TechTarget - The IT Media ROI Experts