What are the common errors we wil get in BDC?

what are the common errors we wil get in BDC?

hi sunil
BDC errors are similar to what you get in online transaction. Suppose you enter an invalid material number in online ME21N ( create Po ) system will throw an error and you have to correct it by chnaging a valid material number . Same error you can get in BDC as well. It is very difficult to generalize types of error as errors will depend on the transacation you are doing.
However some of the common BDC errors are ( Data for Screen Not Found, Field Not available in Screen ). These again are transaction specific and you have to analyze it by calling the transacion in display ALL mode.
The errors you get depends upon the transaction you are
running.
This is how you handle:
Let's consider you are recording for the transction CJ40
(Messages table declaration )
DATA :BEGIN of t_msg occurs 0.
include structure BDCMSGCOLL.
DATA END of t_msg.
Handling it :
CALL TRANSACTION 'CJ40' using T_BDCDATA MODE 'N' UPDATE 'S' MESSAGES INTO t_msg.
commit work.
If you want to display the errors in the screen you can use a function module named 'RPY_MESSAGE_COMPOSE'
This gives you the corresponding message for the message number that you input.
Below is the sample code
Loop at t_msg. " Messages internal table
w_msgid = t_msg-msgid.
w_msgno = t_msg-msgnr.
w_msgv1 = t_msg-msgv1.
w_msgv2 = t_msg-msgv2.
w_msgv3 = t_msg-msgv3.
w_msgv4 = t_msg-msgv4.
CALL FUNCTION 'RPY_MESSAGE_COMPOSE'
EXPORTING
LANGUAGE = SY-LANGU
MESSAGE_ID = w_msgid
MESSAGE_NUMBER = w_msgno
MESSAGE_VAR1 = w_msgv1
MESSAGE_VAR2 = w_msgv2
MESSAGE_VAR3 = w_msgv3
MESSAGE_VAR4 = w_msgv4
IMPORTING
MESSAGE_TEXT = t_text-text.
TABLES
LONGTEXT =
EXCEPTIONS
MESSAGE_NOT_FOUND = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
MESSAGE_TEXT contains the message.
Please reward points if this explanation useful.
Regards,
navjot
reward points

Similar Messages

  • What are the common errors we get in supporting project

    can any body reply what are the common errors we get in supporting project
    for abapers tickets will get or not.
    what type of tickets generally get regarding reports.

    <b>SAP Tickets</b> are nothing but problems or issues raised by the end
    customer in a company where end users are running SAP project.
    Once the SAP project is implemented, support phase begins. Support
    team is responsible for solving the tickets/issues in day-to-day
    business.
    For any support project, customer will set up Help Desk. If any
    problem occurs customer will call Help Desk and register the
    issue/Ticket.
    Different companies use different software products to manage SAP
    Tickets. Remember this software is not provided by SAP. It is third
    party software. There are many software products in the market like
    Manage Now et c. You can call these software products as tools.
    All tools will provide the common attributes which are listed below-
    1) Every user will be provided with user name and password to enter
    into the tool
    2) We can see the tickets assigned for a particular user name.
    3) You can list all open tickets by giving the Date Range
    4) You can list all closed tickets by giving the Date Range
    5) You can list out all the open tickets assigned for an User
    6) You can list out all the closed tickets assigned for an User
    7) You can see the description of the Ticket, by entering the Ticket
    Number. You can see who had raised the Ticket, what is the problem.
    What is the severity of the Ticket?
    There are lot many other attributes like you can transfer the Ticket
    to another user etc.
    <b>What is the severity of the problem Ticket?</b>
    When a Ticket is raised, it will be given severity. There are
    following severities. It may vary from company to company.
    Severity 1
    Severity 2
    Severity 3
    Severity 4
    The severity will be decided based on the business critical impacts.
    If there is large impact on the business it
    will be given 1 severity, if it is having least impact then it will be given 4.
    Severity 1 problem tickets should be solved in 8 hours.
    Severity 2 problem ticket should be solved in 16 hours.
    Severity 3 problem ticket should be solved in 15 working days.
    Severity 4 problem ticket should be solved in 30 working days.
    Again the no of days may vary from one company to another.
    All these things will be decided when giving the contract to the IT
    company. The agreement is called as "SLA".
    SLA stands for Service Level Agreement.
    What happens if a particular ticket is not solved by the IT company
    according to the SLA/Contract?
    The Customer imposes fine on IT company as per the contract/SLA.
    <b>Errors in Extraction</b>
    1) RFC connection lost.
    2) Invalid characters while loading.
    3) ALEREMOTE user is locked.
    4) Lower case letters not allowed.
    5) While loading the data i am getting messeage that 'Record
    the field mentioned in the errror message is not mapped to any
    infoboject in the transfer rule.
    6) object locked.
    7) "Non-updated Idocs found in Source System".
    8) While loading master data, one of the datapackage has a red light
    error message:
    Master data/text of characteristic ZCUSTSAL already deleted
    1)extraction job aborted in r3
    2) request couldnt be activated because theres another request in the
    psa with a smaller sid
    3) repeat of last delta not possible
    4) datasource not replicated
    5) datasource/transfer structure not active
    <b>Issues faced during the implementation :</b>
    1. Slippage of milestones
    2. Incorrect or wrong design
    3. Reporting format problems
    4. Data not matching or reconciling problems
    5. Issues discovered during testing leading to redesign
    6. Performance issues
    7. Requirements misinterpretation
    9)check the data same in source system and target system ( i mean
    suppose u are extarcting from r/3 after loading check ur data r/3 and
    bw same or not.
    10)that is abap code, i didnt understand ur question properly.
    11)
    12) generic extarction, if ur businees contect satisfy ur requirement
    u go for generic, suppose u need data from different tables go generic
    with view with 1:1 relation 1:M relation for function module.
    13)v3 update back groud job is in lo
    14)its superior info object, u can find this in master data tab .
    15)
    16)tuning we will go for improve query performance (compression,
    aggregates, partation, index, rollup, precalculated web tneplates.)
    17) rsa7(check with some one)
    18)bw statics for find data base time and olap time and frontend
    time(based on u can improve query performance create like aggra comp ,
    indices etc..)
    19) direct chain only one chain , meta chain if u have more than one chains
    load errors u can solve manually, other than load errors u can wait
    right click and repeat.
    20)
    21) u cn cteate other cube and traansfer, but data space waste.(bec
    structures will be deffi)
    22) u mean data source enhancement.or not(let me know)
    23)rsap0001( for customer exit variables) 001 for transaction data 001
    attributes, 003 text 004 hierchies.
    24)web application design , its like same bex, but report will execute
    in browser.
    25)
    26) arrangement of process are called process type and we can use
    varient and start process for back ground jobs.
    <b>Don't forget to asign points</b>
    regards
    ravish

  • What are the common error while EBS installation in Unix /windows

    what are the common error while EBS R12 installation with os unix and windows.
    oracle have any any check after installation all installation are correct according to no of directory, files and file size ?
    regards

    Hi user;
    what are the common error while EBS R12 installation with os unix and windows.AFAIK there is no document which show common error.There are some common error for installation like:
    RW-5004- RW-50010 etc.
    For error we have to check instalaltion log files for can get more details about it
    oracle have any any check after installation all installation are correct according to no of directory, files and file size ?Oracle has 2 checking mechanisim during installation.
    1. Before start installation, rapidwiz makes Validate system Configuration check which is checking port avaliability,file system check etc.
    2. End of the installation,rapidwiz makes Validate system Configuration again to check jsp,dbc file, db avaliablity etc..
    For more details Please check:
    For r12.1.1:
    http://download.oracle.com/docs/cd/B53825_01/current/html/docset.html
    For r12:
    http://download.oracle.com/docs/cd/B40089_10/current/html/docset.html
    Hope it helps
    Regard
    Helios

  • What are the common errors in reporting and extraction.

    hi friends,
    what are the common errors in reporting and extraction for implementation and support projects.
    thanking u
    suneel.

    Hi Suneel,
    Errors in reporting are like incorrect query creation, errors in creating RKF, CKF and variables, misunderstanding the data, or errors with other tools like broadcasting. Errors in extraction relate to source system connectivity, field-infoobject mapping, incorrect code etc. Also, please search the forums and you will find many real time examples.
    Hope this helps...

  • What are the common errors that occur while extraction is carried out?

    Hi all,
    What are all the errors that occurs while extraction for fico, sd and mm?
    Can anyone list me the errors along with the solution.
    regds
    hari

    Hi hari shankar 
    It depends
    Like the data level errors ,Short DUmps
    USER EXIT ERRORS
    some time source system code errors.
    Hope itz clear a little atleast...!
    Thanks & Regards
    R M K
    ***Assigning pointz is the only way of saying thanx in SDN ***
    **Winners dont do different things,they do things differently**
    > Hi all,
    >
    > What are all the errors that occurs while extraction
    > for fico, sd and mm?
    >
    > Can anyone list me the errors along with the
    > solution.
    >
    > regds
    > hari

  • What are the possible errors that can happen in data loads(rsmo monitor)?

    hi all,
    what could be the error that could result in red color in the RSMO  monitor of data load transaction?
    1. request everything ok
    (what are the possible error type which make here red)
    2. extraction everything ok
    (what are the possible error type which make here red)
    3. transfer (idocs and trfc) error occured?
    (what are the possible error type which make here red)
    4. processing
        - data package
    5. process chain
    (what are the possible error type which make here red)
    6 other messages.
    (what are the possible error type which make here red)
    thanks
    pooja

    Hi,
    I can tell you the most common reasons of these failures.
    1. request everything ok
    Here it will be telling you if the request was properly send to source system and got triggered there.
    2. extraction everything ok
    In this step the actual extraction of data happens, issue slike sysfail or CPIC error may cause this to fail.
    3. transfer (idocs and trfc) error occured?
    When extraction is complete and data is being send to BW. But if dur to some reason it fails, error may come here.
    4. processing
    Processing in BW fails for each data packet is displayed here.
    This can also happen when you have sysfail in source.
    5. process chain
    This can show the logs of the chain here and also status of subsequent process.
    6 other messages.
    Any other error message.
    Refer
    What is the information we can get the through details tab in RSMO
    working with RSMO errors
    http://help.sap.com/saphelp_nw70/helpdata/en/12/43074208ae2a38e10000000a1550b0/frameset.htm
    Also
    Data Load Errors
    /people/siegfried.szameitat/blog/2005/07/28/data-load-errors--basic-checks
    Data Load issues
    Errors in loading
    data loading errors
    load Errors
    Process Chain Errors
    /people/mona.kapur/blog/2008/01/14/process-chain-errors
    Common Process chain errors
    process chain issues or errors
    Hope this helps.
    Thanks,
    JituK

  • What are the common APIs we use in oracle interface

    What are the common APIs we use in oracle interface,and any APIs are there for validation Of data During Tranfer to interface table.
    How to find Api s in oracle applications in Individual modules

    For 11i, all public APIS are listed at http://irep.oracle.com
    For R12, use the "Integration Repository" responsibility in your R12 instance to list the APIs available in that instance
    HTH
    Srini

  • What are the general errors will come in data uploading

    Hi Friends,
    What are the general errors will come in data uploading
    Thanks in Advance

    Paul
    It all depends on how we configure the system. Errors may be different for different scenerios like
    User ALEROMOTE Loacked for master data's
    Data Sourcs has to be replicated
    Activation Failures
    Error occures in data Selection Etc.
    Do you have any specific error so that we can work on that.
    Thanks
    Sat

  • What are the commonly used customer exits ?

    what are the commonly used customer exits  in realtime with regard to the modules MM, SD, PP?

    SD - MV45AFZZ

  • What are the common fields in table KONV = J_1IEXCHDR,EKKO,EKPO,MSEG

    Helo everyone,
    I need wht are the common fields between table of KONV and J_1IEXCHDR,EKKO,EKPO,MSEG. Pls give me details
    thanks in advance
    suresh

    check out LIFNR,KUNNR ETC

  • What are the artifacts that need to get into Metadat store?

    Hi
    Can some one let me know what are the artifacts (WSDL, XSD...) that need to be stored in MDS? I was of the impression that only the artifacts of the re-used services or the design time artifacts of a service that need to be used by another service (again at design level) can be stored in MDS for further reference. I have come across a project where all the artifacts of all the services are loaded to MDS. Is this process correct? Please let me know
    Regards
    Ranjani

    No, it is not necessary to have XSD's, WSDL's or any other artifact in MDS, other than XREF and DVM, because there is no other way to access those.
    Also, as it is known that shared artifacts such as XSD are stored in MDS, because it is easier to maintain and deploy.
    But, it is a good practice to have reference wsdl's in MDS.. Read this link for better understanding..
    https://blogs.oracle.com/aia/entry/aia_11g_best_practices_for_dec

  • What are the commonly encountered issue in Go-Live for GATP implementation?

    Dear All,
    I am currently involved in a GATP implementation project.
    I would like know that -
    1. What are commonly encountered GATP related problems during Go-Live?
        [I have already prepared a list for the same. Some of the root causes are like -
        1. Incorrect strategy group maintained in the material master.
        2. During CIF model creation 'Availability Check' check box not activated.
        3. Availability check and allocation should be activated for the schedule line.
        4. Incorrect rule maintenace for RBA. (RBA04)
        5. Incorrect rule assignment for RBA. (AO11)
        6. Incorrect Check instruction.
        7. Incorrect Check control
        and so on.....]
    2. Is there any check list available in the forum for the same?
    Thanks & Regards
    Piyush Ranpura

    Hi Piyush,
    1) You definitely need to ensure that your OVZJ settings are as expected in the production system after go-live as it can lead to zero confirmations or incorrect confirmations if is is missed.
    2) Coming to Product allocation, hope you know that system cannot read "0" allocation figure and to counter the same, perhaps you may need to build a solution to make it as "-1" so that system understands it better
    3) In the area of ODLs, you will face issues with incorrect data being available in ODLs, this is caused because of some inconsistencies ( I am sure ODLs as a concept is not fully fool proof ). You need to schedule the program /SAPAPO/ODLR in the production system weekly or if the data is less schedule it daily
    4) It may also happen that the logistics team had introduced some new calendars and APO team is unaware of it and you may encounter issues in Scheduling. Try to make sure that the time streams are created correctly and at the same all the relevant route scheduling condition records are correctly maintained w.r.t the data in the source system.
    5) Do a test run on Availability check immediately after system goes-live. this will tell you if there is any problem with the RFC connection, Live cache errors etc.,
    There could be many more apart from this.
    Hope this helps
    Babu Kilari

  • What are the query errors can be rectified using trns code rsrt?

    Hi all,
    Can anyone let me know the sigifiance of trns code rsrt? with examples. Nor can anyone send me a documentation about rsrt describing its functions and significance.
    What are all the errors will be rectified using rsrt ?
    regds
    hari

    hi,
    RSRT : Query monitor to debug and test the queries. U can test IGS(internet Graphical Service) also.RSRT is to scan the query as to how the query gets executed, whether it uses aggregates or cubes, full table scan or uses index, etc.
    You can also change the performance of a query under the 'Properties' tab.
    If you switch the Read Mode to 'A' - 'Query to Read All Data at Once', it can really kill the query performance. Instead of reading data with each navigation, it reads it all before it loads. It will speed up navigation after the report has rendered, but kill the load time.
    The 'Generate Report' button can be used with the report has become corrupt. It will regenerate the report. It hasn't happened many times, but I've had reports that just failed to run when no change has been made. Regenerating the report fixed it.
    Execute + Debug is a lifesaver when you need to trace user exits in your report. It has a lot of neat options
    chk this link..
    http://help.sap.com/saphelp_nw04/helpdata/en/a0/2a183d30805c59e10000000a114084/content.htm
    hope it helps..

  • What are the commonly used conversion routines apart from alpha conversion?

    hi all,
    Can any one let me know the commonly used conversion routines apart from alpha conversion routines ?
    thanxs ina dvance
    hari

    Hari
    There are lot of conversion routines, like
    BUCAT Conversion Routine. eg. The BUCAT conversion routine converts the internal presentation of the budget type
    (0BUD_CAT) into the external presentation (0BUD_CAT_EX), using the active entries in the
    master data table for the budget type InfoObject (0BUD_CAT).
    see the link below for all the routines.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b9119290-0201-0010-69af-96fe3bf00243
    assign points if helpful
    Kalyan

  • What are the common methods in the WD Application?

    Hi
    Please let me know the common methods in the Web Dynpor application
    regards
    mmukesh

    If you create a Application with many DCs, you may have a DC , called common ,DC that makes all common tasks, that every DC needs to do such  calling back end for obtaining a list of available Unit of Measure, Currencies, etc.,
    a logger can also be in the common DC since most of the DC will use a logger.

Maybe you are looking for

  • Dense Lookup Function in OBIEE

    Hi , Can someone please explain the syntax of Dense Lookup Function in OBIEE. The function in the built-in RPD is using too many arguments and I am not able to understand it. Thanks in Advance for the help. Akshatha

  • Can't edit HTML snippets

    Hello there, This is around the third time I ask about this issue. I installed Leopard with iLife '08, and later (after I started having the problem) installed iLife '09. What happens is, when I try to add an HTML snippet, I am presented with a blank

  • No entry in table T582A for 171

    Hi Friendz, When I executed Idoc, system is throwing message No entry in table T582A for 171. I checked in T582A and T777D (attribute/characteristics ) tables infotype is available. Please advice to rectify this issue asap. Thanks in advance, $Lakshm

  • Where to download WLI 7.0 for Linux s/390?

    I am looking at this page: http://commerce.bea.com/downloads/weblogic_mainframe.jsp and I can't find WLI 7.0 (SP1) for Linux s/390. Can someone please help? Thanks. Yongtao You

  • Prerequisite script for Exadata Discovery using wrong domainname command?

    Does the Prerequisite script for Exadata Discovery use the Wrong domainname command? It uses domainname, should it be using dnsdomainname? The script is found in this MOS note: Prerequisite script for Exadata Discovery in Oracle Enterprise Manager Cl