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

Explain pai and pbo.

1169


How will you define posting procedures?

1320


What is structure?

1003


How to create report in SD open sales order which covers all Organization, delivery status, shipping details and partner function details. plz mention the detail coding Tahnks, Rahul

2546


What are the events used for logical database?

1024


what is 3 tire architecture and how does SAP utilizes this architecture. and how do netweaver came into picture?

2235


Explain how to Handle the internal tables in ABAP?

1054


Explain the difference between get and get late?

1038


How to split one Invoice into Multiple ( Step by Step)?

2144


What are the functional areas, user groups? How does abap query work in relation to these?

1015


In se11 -->Tech. settings --> Data class. If I save table as Mater data OR Transaction data, what effect will it has for 'Storage' in Database after activation. or In Database how it will store in both the cases.

2546


What does the insert statement in extract datasets do?

1032


Explain the advantages and disadvantages of different types of bdc's?

1043


What is transparent table?

1033


Name the abap/4 modularization techniques?

1044