Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How you will catch errors in call transaction?

Answer Posted / p.lokesh

We will catch errors in the call transcation explicitly by
using Structure BDCMSGCOLL.
and FUNCITNO MODULE 'WRITE_FORMAT'.

Ex:
Data : bdc_msg type table of bdcmsgcoll with header line,
bdc_tab type table of bdcdata with header line.

CALL TRANSACTION 'MM01' using Bdc_tab mode N
updte S
messages into bdc_msg.
if sy-subrc = 0.
perform Error.
clear bdc_msg.
refresh bdc_msg.
endif.
Read table bdc_msg with key msgtype = 'E'.

if sy-subrc = 0.
call function 'FORMAT_MESSAGE'.
...
..
..

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of views and their definition?

1034


To how many tables can an append structure be assigned. : abap data dictionary

1025


What is the use of the statement leave to list-processing?

930


What is the use of at new statement ?

1736


Why is pretty printer user in abap?

1147


Use SET PF_STATUS which is in the FM reuse_alv_grid_display to set the button

2209


can anybody give me functional specification (or table name & field names) of stock analysis report, work in progress report,generating vendor detailed list

1907


What is the diffreence between bdc_close_group and bdc_close_dataset? : abap bdc

1110


can anyone please tell me, in orient paper mill project which fields exits for creating report.

1654


What are the different types of the sap abap data dictionary objects?

973


There is a situation where there is a field "MATERIAL DESCRIPTION" in say 20 display only transaction. You want that whenever user opens any of these transaction, this particular field is masked with ****. But table does not holds ****. It holds the actual value. What are different ways of doing it? Which is the best way.

1322


How to call other programs?

1018


Structures can contain data only during the runtime of a program (t/f) : abap data dictionary

1246


i want to add 2 records to a table but the last field in the table is 1000 char long.Is it possible?if yes how?

2173


​​Can multiple abap systems connect to abap database?

1062