Few more basic doubts in ABAP

Hi Floks,
I have few doubts in ABAP programming could please clarify that ..
1. how to handle error messages in Call transaction and Call Session method .
2. which logic can be used to handle the table control in BDC method . when table control required ? let me give few transction related to table control of BDC.
3. what is structure of BDC DATA ? what is diffrence between BDC Session and Call Transaction method in programming steps ?
4.how many message types available ? what are they ?
5.when call transction or Call session  can be used ? how to decide which method is best for requirement ?
could you please help me out . if u have any material or links forward to [email protected]
Good Rewards for best answers
Thanks ,
Sunitha

Here are the answers to your questions.
1. how to handle error messages in Call transaction and Call Session method .
--> In Call transaction, if you see the command, messages are populated into an internal table. You need to read last record of this table. Using Function module FORMAT_MESSAGE, you can get details of the message. For session method, session gets created and status of session can be seen in transaction SM35. You can process erroneous sessions from here.
2. which logic can be used to handle the table control in BDC method . when table control required ? let me give few transction related to table control of BDC.
--> Check these links which explain in detail with examples.
BDC - TABLE CONTROL
In BDC table control
3. what is structure of BDC DATA ? what is diffrence between BDC Session and Call Transaction method in programming steps ?
-->PROGRAM - Program Name
DYNPRO - BDC Screen number
DYNBEGIN - BDC screen start (Flag)
FNAM - BDC Field name
FVAL - BDC Field value
4.how many message types available ? what are they
-->
A (Abend) Termination
E (Error) Error
I (Info) Information
S (Status) Status message
W (Warning) Warning
X (Exit) Termination with short dump
5.when call transction or Call session can be used ? how to decide which method is best for requirement ?\
--> These threads discuss the same
Session Method
Difference between Session method and Call transaction method

Similar Messages

  • Very basic doubt regarding transporting abap developments

    Hi All,
    It may be very basic doubt, But I need an answer.
    If we develop some objects in the development and transported them to quality and for some reason some errors occured and the for correction of the errors we created some more requests and ported them to Quality.
    the number of requests are say more than 15. and if we lost track of sequece of the requests to be ported to production.
    How can we overcome this problem?
    Can we create a new transport request by right clicking the package (of course all the objects are in only one package) , this will solve the purpose. I mean to say if we transport this single request to quality then to production, all the things will get transported?
    Please give your valuable inputs..
    Thanks and Regards
    KK

    Hi All,
    I really appreciate all your quick replys.
    My question is if we create a new request from the package in SE80, can we leave the old requests,
    That is if I transport a request say req 2 of domain for solving the dependency error of the previous request say req1 ( of data element ). and again transport req 1 after transporting req 2, this will solve the dependency problem. Like this if some dependency related issues are there and we lose track of sequence of request which needs to be transported, what could be the ideal solution?
    So I mean to ask that if I create a new request for the package in SE80, will all the developments will be included in the request or do we need to follow the sequence only?
    Thanks and regards
    KK

  • Few basic doubts

    Dear All,
                 Does RFC adapter use Logical system in any way?
    Is there Adapter Monitoring in PI 7.0 or is it called Communication Channel Monitoring?
                  Can we see the response message of RFC synchronous communication in SXMB_MONI?
               Can you please list a few transactions which execute on ABAP stack and Java Stack respectively?
    Regards,
    Ashish

    Ashish,
    >>Does RFC adapter use Logical system in any way?
    Logical Sysytems are required only for IDOC transfer scenarios.
    >>Is there Adapter Monitoring in PI 7.0 or is it called Communication Channel Monitoring?
    Adapter monitoring is a part of Communication channel monitoring from SP17 (regardless of XI 3.0, PI 7.0)
    >>Can we see the response message of RFC synchronous communication in SXMB_MONI?
    Yes. But you have to enable logging for synch msg in SXMB_ADM--> Integration Engine Configuration -->Specific Information.
    Add the parameter. LOGGING_SYNCH value 1.
    >>Can you please list a few transactions which execute on ABAP stack and Java Stack respectively?
    All transactions execute in ABAP to my knowledge.
    Regards,
    Jai Shankar
    Message was edited by:
            Jai Shankar

  • Basic Doubts

    Hello Experts,
    Please any one of them clarify my some of the Basic doubts
    1.Reg ODS activation failure in Process chain,I know how to correct incase if ods activation failed.I want to know,What could be the reason for failure and in background whats happening(Techincally)
    2.Reg Attribute change run failure in process chain,what could be the reason.(technically)
    3.Whats is the purpose of trfc and what we have to check in SM58.
    4.What is the diff between the IDOC(transfer method) and Idoc which is used to transfer the data in PSA transfer method..(For ex - If i am using the PSA transfer method,even there to transfer the datapackets,we are using Idoc)
    5.Some of the time,I am getting the error like this"Non updated idoc in source system and error mesg from the source system/Business warehouse.
    This mean,what could be the reason.(Frequently i am getting the above errors and If i used the repeat option,It has been corrected and loaded succesfully)
    6.How many datasources can be assigned to one Infosource(Is any limit is there)
    I request you to advise on the above doubts and I will assign the points.
    Thanks in advance
    Regards
    Kumar

    Hi,
    1. During the month end procedures and week ends the number of records will be more rather than the week days, so the data packages defined will run for long time, so we will be getting Time out error, we have to manually activate the data packages.
    2. if you r not using Attribute change run, then your Master data(text, attribute, hierarchy wont get activated when you run a process chain)
    .so it is mandatory that once you fill the master data u have to activate those, for that we need Attribute change run.
    3. tRFC calls which transfer IDocs use the function module IDOC_INBOUND_ASYNCHRONOUS at reception If an IDoc in the sending system has been passed to tRFC (IDoc status "03"), but has not yet been input in the receiving system, this means that the tRFC call has not yet been executed.
    In the standard SAP system, if tRFC errors occur, a background job is generated to re-establish the connection. In certain circumstances this could result in a large number of background jobs being started that completely block background processing. To cancel a background job if tRFC errors occur use program RSARFCEX to restart tRFC.we go for SM59 transaction for this.
    Choose Destination ® tRFC Options and select the option Suppress Background Job at Comm. Error. 
    4. PSA :
    The data is sent directly from the source system to the BW and it  is stored in the PSA (Persistent Staging Area), we can update  automatically/manually to corresponding Info providers .The transfer type here is called the TRF (Transactional Remote Function).
    IDOC :
    The data is packed into IDocs by the source system and sent to the Business Information Warehouse. In BW the data is saved persistently and intransparently in the IDoc store. we have some prerequisite here to use this method ,Transfer  transfer structure must not have more than 1000 Bytes in the character format.
    6. One datasource can be assigned to one info source.

  • Oracle Apps - 9iAS : Basic doubts

    Hello,
    I am new to Oracle Apps and 9iAS
    I have few basic doubts regarding the integration of these
    Can anybody please clarify...
    The middle tier of Orcale Apps is the 9iAS Application Server.
    Read that Oracle9i AS Components are :
    - J2EE and Internet Applications (sub-components are Oracle HTTP Server, OC4J, Web services etc)
    - Portals
    - Wireless
    - Web cache
    - Business Intelligence
    - E-Business Integration
    Read that middle tier of Oracle Apps has following servers
    - Web server
    - Forms server
    - Concurrent Processing server
    - Reports server
    - Discoverer server (optional)
    - Admin server
    So, all the components of 9iAS are installed with Oracle Apps ?
    If only some, then which are those ?
    Where do Concurrent Processing server, Reports server etc come from as these are not the components of 9iAS ?
    Are these very specific to Oracle Apps only ?
    As the core database administration knowledge is required for Apps administration (for managing database tier), isn't the 9iAS knowledge required (for managing the middle tier) ?
    If yes, then upto what level ?
    Knowing about Oracle HTTP Server, Apache server, Web cache, OC4J etc etc is required ?
    Please suggest some links / documents related to all these ?
    I found a couple of them on metalink & OTN, but not very useful !
    Thanks

    9iAS consist of Apache and an Oracle database on the middle tier.
    The other components come from the developer suite.
    http://otn.oracle.com/software/products/forms/index.html

  • Safari and firefox stop working after a few minutes of browsing, regardless of what site I'm on. I have to restart my computer to get internet access again but it only works for a few more minutes, then I have to restart again. Please help!

    Safari and firefox stop working after a few minutes of browsing, regardless of what site I'm on. I have to restart my computer to get internet access again but it only works for a few more minutes, then I have to restart again. I don't get a spinning ball, it just stops working at whatever page it's on. I can close the program just fine but when I re-open it, either safari or firefox, it freezes trying to load the hompage. This started a few days ago after trying to stream a movie on my computer. I'm on a Mac Air OS X Version 10.6.8 and have downloaded all updates. When I go into finder, it says I have over 80 gigs available. Is there some other memory cache that I need to check? Thanks so much for your help.

    ejwoodall wrote:
    It's not a router problem as I explained in my post. If it was a router problem then I wouldn't have the problem everywhere I go. It is an issue with the software.
    Then I guess the millions of people running 10.5.7 with no issues are just hallucinating that their machines are working fine?
    I'm not trying to belittle your issues; you're certainly having them and I know first hand how annoying an intermittent AirPort issue can be. (In fact, mine was due to an AirPort driver bug that no one else seemed to suffer from.)
    The single best diagnostic you could do is take your system running 10.5.7 to an Apple Store, and try using their in-store network.
    If your machine performs flawlessly, it may be a router issue.
    If your machine has connectivity issues there, it may be a hardware problem with your machine.
    There have been numerous people in multiple threads over the years who swore that an update was buggy because things used to work, but returned later to sheepishly admit that they took their machine in, a problem was found and fixed, and now their Mac works flawlessly with the newer software.
    But simply reinstalling 10.5.5 in no way means the explanation of how firmware bugs may be at play here is incorrect.
    In the context of that explanation, all you've done is possibly reinstall software that asks to add "2 + 3."

  • HT1414 IPHONE 3GS Problems. Updated to IOS6 then says There are just a few more steps to take. Press Continue. Once pressed it says connect to itunes. So plugged the cable in and it does nothing and stays on that screen. How can he fix it?

    Hi, My friend has just updated there 3GS to IOS6 and once it's done, 2 screens appear. first one says, Update complete, there are just a few more steps to take. Press continue and another screen comes up with the itunes symbol and the cable and says connect to itunes. Once plugged in, on itunes it reconises the phone and has the loading symbol up, but it doesn't loads anything and can't press anything. Anyone know why and how to resolve this?

    The terms of service of the Apple Support Communities prevent us from helping anyone with a jailbroken phone.
    You're on your own.  Good luck.

  • Hyperlink on field in Basic list of ABAP Query

    Dear All,
    Could somebody tell me, if its possible to have a hyperlink on a field in the Basic list of ABAP Query (SQ01,SQ02).
    Example :- There is a basic list which has the field MARA-MATNR displayed.There should be a hyperlink on this field, such that when the user clicks on it , the transaction MM03 is called.
    Thanking You.
    Ranu

    Hi,
    Loop at itab.
    write:/ itab-matnr hotspot,
              itab-maktx.
    hide: itab-matnr.
    endloop.
    data: c_field(16).
    at line-selection.
      get cursor field c_field.
      if c_field  = 'ITAB-MATNR'.
        check not itab-matnr is initial.
        set parameter id 'MAT' field itab-matnr.
        call transaction 'MM03' and skip first screen.
      endif.
    This is one example to call the transaction.
    If this helps you award points.
    Thanks,
    Deepak.

  • I started making a movie and all was well. I added a few more pictures and some sound and played it back. It plays so far and then the pictures break up into colors and then the screen turns green.  The sound continues.

    I am making a movie from still pictures. I used no theme and then started adding pictues. When I played it back, all was well. Then I added a few more pictures and some sound. When I play iot back it plays just so far and then the sound continues, but the screen turns green or the pictures break up into colors.

    Sorry, everyone.  I think I may have figured out what it was all down to...........
    I had left the IDE ribbon cable plugged into my third HDD, with the power cable unplugged.  I did this so as not to endanger my years of work on the third drive, until Windows had setup.  I have in the past, accidentally chosen the wrong partiton to format, so this seemed a good way to avoid it from then on.
    This was not a problem on my old system, but it seems this system doesn't like it.
    I must have left the drive completely unplugged, the times Windows did setup.  Amazing really.  I couldn't see the woods for the trees.
    Anyway, I'm sorry to have bothered everyone with my problem.
    Cheers
    Marcus
    edit :   Sorry Syar2003, I didn't see your reply until I had posted mine.  Many thanks for taking the time to try and help me, it seems as though I may have sorted it now.  I am using IDE drives until I can afford SATA.  But many thanks for the heads-up on the NF4-SATA compliance, I'll be sure to bare that in mind.
    I didn't actually check the NVRAID/IDE ROM version before updating the bios, so I have no idea if the revision was changed when Liveupdate flashed the Bios, I'm afraid.  I didn't know they would be updated at the same time.
    Again, cheers
    Marcus

  • Setting up a few more things 100%

    Im stuck at 100% everytime I update and I have to roll back previous version of windows every single time, how can I stop this from happening again?

    Hi RocketSashimi,
    What is the current situation?
    If the new build still could not be installed, please uninstall any 3rd-party Antivirus software if installed, after that, check if we could install the new build again. A similar thread for reference:
    Stuck at "Setting up a few more things
    100%" when upgrading to build 9860
    Or
    We may consider to do a clean install with the newly Windows 10 9879 ISO, which is download available from the following link:
    Download Windows Technical Preview November Update
    http://windows.microsoft.com/en-us/windows/preview-iso-update?os=win10
    Enterprise version:
    http://www.microsoft.com/en-us/evalcenter/evaluate-windows-technical-preview-for-enterprise
    Best regards
    Michael Shao
    TechNet Community Support

  • Hi. Does anyone know what video editing software is compatible with my MacBook - version 10.6.3? I am looking to edit films and already have Final Cut Pro, but am looking for something a little more basic and easier to use. Thanks. Vicki

    Hi. Does anyone know what video editing software is compatible with my MacBook - version 10.6.3? I am looking to edit films and already have Final Cut Pro, but am looking for something a little more basic and easier to use. Thanks. Vicki

    Hi Cereskit
    Thanks again for the message. I've done the updates and have the App Store on my desktop. I went into it and searched for imovie but couldn't find the basic imovie, which I presume is what I'd need for editing?, rather than imovie 11 for £10.49, which is for making trailers, it seems. Also, were you saying that imovie would be free?
    Vicki

  • HT201407 iphone 4 update complete asking me to follow few more steps and connect to wifi. Now my wifi is not working how to resolve this problem

    iphone 4 update complete asking me to follow few more steps and connect to wifi. Now my wifi is not working how to resolve this problem

    what happens when yu try to connect to wifi?

  • How to add few more columns in UWL screen

    Hi all
    Currently by default we are able to see the columns in UWL header as "Subject", "From", "Sent Date" , "Due Date" , "Status" .
    now i want to add few more columns  apart from standard columns.
    can you please let me know how to add our own columns in UWL header ??  if it is XML changes then pls let me know which xml file exactly we need to change??
    Thanks
    Sunil

    Hi Harini
    actually Standard XML file is not necessary for changing the column names in the UWL .
    we can use otherway as follows.
    go to system admin->UWL administration->click to configure item types and custom views using a wizard then it will take you to another screen -> select the radio button "Customize the look of the UWL main page" click on next then you can select what ever task item you want to change and click on the button respective button at the right end then it will take you to new screen there i added new columns  what ever required and saved also but the same one is not reflecting in UWL....
    can you please check the same in ur machine and let me know if any other things are required to be done and why this not been done our requirement??
    Regards
    Sunil

  • [svn:bz-4.x] 16147: Fix a few more regression tests on the 4. x branch that were failing when using Spring integration.

    Revision: 16147
    Revision: 16147
    Author:   [email protected]
    Date:     2010-05-17 06:18:38 -0700 (Mon, 17 May 2010)
    Log Message:
    Fix a few more regression tests on the 4.x branch that were failing when using Spring integration.
    Modified Paths:
        blazeds/branches/4.x/qa/apps/qa-regress/WEB-INF/src/runtimeconfig/remoteobjects/ROMessage Destination.java
        blazeds/branches/4.x/qa/apps/qa-regress/WEB-INF/src/runtimeconfig/remoteobjects/RuntimeCo nfigurator.java
        blazeds/branches/4.x/qa/resources/webtier/flex_sdk_4/flex-config.xml

    Well heres my story. I tried kde4 from extra the last 3 weeks and I like it. I have used xfce for the past 3 years, previous to that gnome. Tried kde but never really liked it. Now I am only using workspace, base, mutimedia and graphics.
    Here is what I like.
    1- Dolphin, awesome I have used thunar a while and it is great but I love splitview, and fish for ssh (which has been around a while I know), and the ability to mount other partitions on my hdd with a click no fstab entry or nothin'.
    2-Pretty, I've used xfce with built in compositor an love the snappiness. But I like desktop grid with kde4 and flipswitch. Compiz-fusion is cool but I prefer not to use I'll take what the DE gives. Plasmoid are cool too.
    3- Gwenview is nice too. Use to use gqview, but thumnails are nice.
    Looking forward to or lacking
    1- Keyboard shortcuts, Yes xbindkeys is there but if I have a DE I want it to do it. They just don't work now.
    2- kde4 has windows specific settings, but I can't set the opacity for particular windows , doesn't work.
    3- Ram of course is much higher in kde4, but maybe I'm getting old I just don't care as much.

  • [svn:fx-4.x] 15178: A few more corrections/ additions to the layoutDirection style ASDoc.

    Revision: 15178
    Revision: 15178
    Author:   [email protected]
    Date:     2010-03-31 12:49:26 -0700 (Wed, 31 Mar 2010)
    Log Message:
    A few more corrections/additions to the layoutDirection style ASDoc.
    QE notes:
    Doc notes: None
    Bugs:
    Reviewed By: Hans
    Tests run: checkintests
    Is noteworthy for integration: No
    Modified Paths:
        flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/core/UIComponent.as

    This is a duplicate post.  This should be locked to avoid further confusion.
    My CSS wont change
    Nancy O.

Maybe you are looking for