Where can we see error records in session and calltransaction?tcodes
hi
experts
can u help me plzzzzzzzzzzzzzzzzzzzzzz
for this
HI Raviteja,
Error Records in session, go to SM35, select session name and click on log button, we can see there error records,
In Call Transaction We have function module "Format_Message" to see error records and successful record.
Thanks
saradhi
Helpful reward points.
Similar Messages
-
Where can i find the theory for session and call transaction method
hi
where can i find the theory for session and call transaction method
byecheck this link
http://www.sap-img.com/abap/learning-bdc-programming.htm
http://www.planetsap.com/bdc_main_page.htm
lsmw, bapi, bdc- session, bdc-calltransaction
u can get it in help.sap.com also -
OID: Where can I see audit records?
I just enabled some custom logging through Enterprise Manager for OID 11g, but I can't figure out where I can view the audit records. The documentation says the audit records are viewable through EM... Anyone know?
petrib wrote:
The developer site that phonehacker pointed you to has an "expert" search page (ugly and almost incomprehensible web form) that allows you to specify exact features, and then get a list of only devices that match those features.
http://www.developer.nokia.com/search/?view=ds
We've gone from one extreme to another
I'm not a developer and I have no clue what any of those terms mean. All I am looking for is a layman's comparison search and nothing to technical.
- Bluetooth Yes/No
- Email Yes/No
- WiFi Yes/No
- Quadband Yes/No
etc... -
Where can I see the condition record change value -?
Hi friends
Please let me know this
Ex: if I change my condition record for $10 to $12 to day.
where can I see both the prices ?
In vk 13 if i go to environment ->changes , it is only showing new value not showing old value -?
Please help me with this.
thanks
KrisHi Kris,
Go to [VK13]. Enter the condition type and select the access sequence. Enter the necessary values in the selection fields and click on the condition info option in the application toolbar. Now ensure the selection values are still present and remove the validity date. Press F8 and you would get the history of the condition record.
Regards
Nadarajah Pratheb -
Where can I see the error msg in the below code.
Hi Gurus,
Please have a look at the code.
if abc is initial.
return-message = cl_bsp_runtime=>get_otr_text( 'ZXYZ/ERR_EMPID' ).
append test to test_tab.
endif.
In the above code, Emp id input field is being checked as its mandatory. I would like to know where can I see the error message per the above code. what is get_otr_test??go to SE63 and see it from there..
SE63-> Translation->OTR Objects->Short Text
in field <b>Package</b> key in 'ZXYZ'
and in field <b>Text from OTR</b> key in 'ERR_EMPID'
and go forward.
I hope this helps.
For more info see the link below
http://help.sap.com/saphelp_nw2004s/helpdata/en/2a/6ad43aa654be55e10000000a11402f/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/93/bccd3a00746f4ae10000000a11402f/frameset.htm
<i>If useful answer..reward points and close the thread.</i>
A.<b></b> -
In call transaction how can we handle error records.
hai..tellme how can we handle error records in call transaction..we can get error records into one flatfile ok...then we have to execute the same bdc program with dat flat file (error records) once again...is it wright ..
Hi,
check this program u will get idea
seee this prog. its will help u .
copy and run this prog.
TYPES : BEGIN OF t_disp ,
vendorno(9),
compcc(13),
purchorg(14),
accgroup(15),
title(7),
name(5),
country(8),
ordcurr(14),
END OF t_disp.
TYPES : BEGIN OF t_err,
msgtyp LIKE bdcmsgcoll-msgtyp,
l_mstring(250),
END OF t_err.
DATA: i_disp TYPE STANDARD TABLE OF t_disp,
wa_disp TYPE t_disp,
i_err TYPE STANDARD TABLE OF t_err,
wa_err TYPE t_err.
data definition
Batchinputdata of single transaction
DATA: bdcdata LIKE bdcdata OCCURS 0 WITH HEADER LINE.
messages of call transaction
DATA: messtab LIKE bdcmsgcoll OCCURS 0 WITH HEADER LINE.
error session opened (' ' or 'X')
DATA: e_group_opened.
message texts
TABLES: t100.
PARAMETER : p_file1 LIKE ibipparms-path,
p_cmode LIKE ctu_params-dismode DEFAULT 'N'.
"A: show all dynpros
"E: show dynpro on error only
"N: do not display dynpro
*selction screen.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file1.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = syst-cprog
dynpro_number = syst-dynnr
IMPORTING
file_name = p_file1.
AT SELECTION-SCREEN ON p_file1.
IF p_file1 IS INITIAL.
MESSAGE 'FILE IS NOT FOUND' TYPE 'E'.
ENDIF.
START-OF-SELECTION.
PERFORM f_disp_file1.
END-OF-SELECTION.
PERFORM f_disp_errs.
*& Form F_DISP_FILE1
text
--> p1 text
<-- p2 text
FORM f_disp_file1 .
DATA: l_filename1 TYPE string.
MOVE p_file1 TO l_filename1.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = l_filename1
filetype = 'ASC'
has_field_separator = 'X'
HEADER_LENGTH = 0
READ_BY_LINE = 'X'
DAT_MODE = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
CHECK_BOM = ' '
IMPORTING
FILELENGTH =
HEADER =
TABLES
data_tab = i_disp
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17
IF sy-subrc 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
*? prepare BDC data
DELETE i_disp INDEX 1.
LOOP AT i_disp INTO wa_disp .
PERFORM bdc_dynpro USING 'SAPMF02K' '0100'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RF02K-KTOKK'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'RF02K-LIFNR'
wa_disp-vendorno.
'ztest_1'.
PERFORM bdc_field USING 'RF02K-BUKRS'
wa_disp-compcc.
'0001'.
PERFORM bdc_field USING 'RF02K-EKORG'
wa_disp-purchorg.
'0001'.
PERFORM bdc_field USING 'RF02K-KTOKK'
wa_disp-accgroup.
'0001'.
PERFORM bdc_dynpro USING 'SAPMF02K' '0110'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFA1-SPRAS'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=VW'.
PERFORM bdc_field USING 'LFA1-ANRED'
wa_disp-title.
'Mr.'.
PERFORM bdc_field USING 'LFA1-NAME1'
wa_disp-name.
'test name'.
PERFORM bdc_field USING 'LFA1-SORTL'
'TEST NAME'.
PERFORM bdc_field USING 'LFA1-LAND1'
wa_disp-country.
'in'.
PERFORM bdc_field USING 'LFA1-SPRAS'
'en'.
PERFORM bdc_dynpro USING 'SAPMF02K' '0120'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFA1-KUNNR'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=VW'.
PERFORM bdc_dynpro USING 'SAPMF02K' '0130'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFBK-BANKS(01)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=VW'.
PERFORM bdc_dynpro USING 'SAPMF02K' '0210'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFB1-AKONT'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=VW'.
PERFORM bdc_dynpro USING 'SAPMF02K' '0215'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFB1-ZTERM'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=VW'.
PERFORM bdc_dynpro USING 'SAPMF02K' '0220'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFB5-MAHNA'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=VW'.
PERFORM bdc_dynpro USING 'SAPMF02K' '0310'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFM1-WAERS'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=UPDA'.
PERFORM bdc_field USING 'LFM1-WAERS'
wa_disp-ordcurr.
'inr'.
PERFORM bdc_transaction USING 'XK01'.
WRITE:/ WA_DISP-VendorNo,
WA_DISP-COMPCC,
WA_DISP-PURCHORG,
WA_DISP-ACCGROUP,
WA_DISP-title,
WA_DISP-name,
WA_DISP-country,
WA_DISP-ORDCURR.
CLEAR: wa_disp.
REFRESH bdcdata.
ENDLOOP.
ENDFORM. " F_DISP_FILE1
Start new screen *
FORM bdc_dynpro USING program dynpro.
CLEAR bdcdata.
bdcdata-program = program.
bdcdata-dynpro = dynpro.
bdcdata-dynbegin = 'X'.
APPEND bdcdata.
ENDFORM. "BDC_DYNPRO
Insert field *
FORM bdc_field USING fnam fval.
IF FVAL NODATA.
CLEAR bdcdata.
bdcdata-fnam = fnam.
bdcdata-fval = fval.
APPEND bdcdata.
ENDIF.
ENDFORM. "BDC_FIELD
*& Form bdc_transaction
text
-->P_0322 text
FORM bdc_transaction USING tcode.
DATA: l_mstring(480),
l_subrc LIKE sy-subrc.
REFRESH messtab.
CALL TRANSACTION tcode USING bdcdata
MODE p_cmode
UPDATE 'L'
MESSAGES INTO messtab.
l_subrc = sy-subrc.
IF SMALLLOG 'X'.
WRITE: / 'CALL_TRANSACTION',
TCODE,
'returncode:'(I05),
L_SUBRC,
'RECORD:',
SY-INDEX.
LOOP AT messtab.
SELECT SINGLE * FROM t100 WHERE sprsl = messtab-msgspra
AND arbgb = messtab-msgid
AND msgnr = messtab-msgnr.
IF sy-subrc = 0.
l_mstring = t100-text.
IF l_mstring CS '&1'.
REPLACE '&1' WITH messtab-msgv1 INTO l_mstring.
REPLACE '&2' WITH messtab-msgv2 INTO l_mstring.
REPLACE '&3' WITH messtab-msgv3 INTO l_mstring.
REPLACE '&4' WITH messtab-msgv4 INTO l_mstring.
ELSE.
REPLACE '&' WITH messtab-msgv1 INTO l_mstring.
REPLACE '&' WITH messtab-msgv2 INTO l_mstring.
REPLACE '&' WITH messtab-msgv3 INTO l_mstring.
REPLACE '&' WITH messtab-msgv4 INTO l_mstring.
ENDIF.
CONDENSE l_mstring.
WRITE: / messtab-msgtyp, l_mstring(250).
*? Send this errors to err internal table
wa_err-msgtyp = messtab-msgtyp.
wa_err-l_mstring = l_mstring.
APPEND wa_err TO i_err.
ELSE.
WRITE: / messtab.
ENDIF.
CLEAR: messtab, wa_err.
ENDLOOP.
SKIP.
ENDIF.
ENDFORM. " bdc_transaction
*& Form f_disp_errs
text
--> p1 text
<-- p2 text
FORM f_disp_errs .
SORT i_err BY msgtyp.
LOOP AT i_err INTO wa_err.
AT FIRST.
WRITE : / text-002.
ULINE.
ENDAT.
AT NEW msgtyp.
IF wa_err-msgtyp = 'S'.
WRITE : / text-003.
ULINE.
ELSEIF wa_err-msgtyp = 'E'.
WRITE : / text-001.
ULINE.
ENDIF.
ENDAT.
WRITE : / wa_err-msgtyp, wa_err-l_mstring.
CLEAR wa_err.
ENDLOOP.
ENDFORM. " f_disp_errs
Regards -
Hi to all,
When i am doing the member load through EIS, i got the error like the load terminated with errors. where can i see these error logs in detail. Thanks for your help in advance.If the load is terminated with errors, you won't get any rejected records' file
To check what went wrong, you can still go to: *<HYPERION_HOME>\AnalyticIntegrationServices\log\olapisvr.log*
If the load is completed successfully, but with rejections, you can see them in *<HYPERION_HOME>\AnalyticIntegrationServices\LoadInfo\ +<Appropriate text file>*+
If you're using v11, search for loadinfo & log folders under: *<HYPERION_HOME>\products\Essbase\eis\server*
- Natesh -
BDC question - Where can I see the results of a SUCCESSFUL BDC?
Hello friend,
Where can I see the results of a SUCCESSFUL BDC?
I've tried SM35 but I beleive it'll show results if and when there are errors. otherwise, if the batch input is successful nothing is kept. So where do I see the results of a error free batch job please?
Many thanks.hi,,,,,
Logically Logs are maintained for those details which are not processed Succesfully,
But still if you want to see the succesfull logs then you have to do coding in your BDC report, there is a function module that stores the sttus message for each record you pass in the BDC,
CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
id = it_messtab-msgid
lang = 'EN'
no = it_messtab-msgnr
IMPORTING
msg = vl_mstring.
it_ini_con-status = 'S'.
it_ini_con-mssg = vl_mstring. "'valid Employee Number'.
Thanks
Saurabh -
How to send error record to session in call transaction method
Hi experts,
I want to send only the error record to session while executing the program in call transaction method. please give me example on this
regards,
siva kumarOne logiv that I can suggest is that after you have got the details of the record in error, you write another perform build_Session and put the below logic in that.
Logic:
1. Build a internal table for the error records similar to the internal table you used for looping for the call transaction. In short this internal table will have only the records that have an error in call transaction.
2. Copy the recordign that you have done before and put it in the perform inside the loop and build the BDC table.
3. Then .using this BDC table you can build the BDC session.
- Guru
Reward points for helpful answers
3. -
Where can I see the downloads LIST when downloading podcasts,
like in the older version of iTunes? I find it frustrating that I see only one
download at a time now ! Any suggestions please?Thanks for taking a stab at it: that didn't prove to be the problem. That option in the settings for tabbed browsing was not checked.
I may be a bit behind the times: I am used to tabbed browsing showing all the tabs it possibly can, instead of just the last one. Sometimes it won't even show the last tab: I can have 15 tabs open, and not see a single tab. I've been confused by this into closing a window with lots of tabs open, because it looks like a single page-window.
My main problem with the tab-bar flashing to the end of the row is that it means a great deal more mouse-clicking around to browse.
I haven't tried installing the latest beta. Maybe that would fix the problem.
Toddo -
Where can I see output from ClassInitialize and ClassCleanup
Hi,
If I write
TestContext.WriteLine("Some output")
or
Console.WriteLine("Some output")
inside a test method, i see an "output" link in the Test Explorer and when I click it I can see the output "Some output". This is also true when I do it from a [TestInialize], [TestCleanup] and even [AssemblyInitiailize] or [AssemblyCleanup]
methods. However, if I do that from a [ClassInitialize] or [ClassCleanup] methods - I can't see the output.
Is there any reason for that? How/where can I see any output that I write inside ClassInitialize?
AFAIR, in VS2010 I was able to see that from a link on the Test Results pane, but I currently don't have VS2010 installed to verify it.
Thanks,
Arnon.
Arnon AxelrodHi Arnon,
>>I checked it again, and I realize that it works OK for regular MSTest classes (with [TestClass] attribute), but not for Coded UI (with [CodedUITest] attribute).
I think I could repro this issue in my side, I get the same issue as yours using the VS2013 with the latest update package, it doesn't support it in Coded UI tests even if I enable the detailed coded UI test log:
https://msdn.microsoft.com/en-us/library/jj159363.aspx
To get the issue confirmed and diagnose by product team, would you please create connect report for it? You will get email notification for update.
http://connect.microsoft.com/VisualStudio/feedback/CreateFeedback.aspx
If you submit the report, please share us the link here, I will help you vote it.
Best Regards,
Jack
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
I just bought the Pages App for my iPhone and iPad, I clicked on buy now and it started to download and it seems that I have purchased the App, but I think I do not have any credit on my balance, so my question is where can I see how I paid for the App without paying anything. Or do I need to pay for the app on a later date?
In iTunes on the top right part of the screen, sign in to your account (if you haven't done that yet). You can see your past purchase from the screen after you signed in.
-
Where can I see API for ADF Internal Class for a Specific JDev Version
Hi,
I wanted to check the API for certain ADF internal classes. Is this possible and where can I see it?
I know also for a fact that its not good practice to make use of the internal class but my case is a little different
so I would like to extend how the internal class is working.
I use JDev 11G PS3 (11.1.1.4)
ThanksHi,
Hope following will useful
http://download.oracle.com/docs/cd/B14099_19/web.1012/b14022/overview-summary.html
http://download.oracle.com/docs/cd/B14099_19/web.1012/b14022/allclasses-noframe.html -
Where Can I see my Oracle ID on Oracle OTN website
Hi,
Long time ago I created oracle otn account, now I need the Oracle ID, where can I see it .
It will be the same as Oracle testing ID ?
thanks in advanceLaw wrote:
Hi, EdStevens
The Oracle Testing ID has to do with Certification number, when you apply for it (OCP, ODCA).
Then no, the testing ID has no relationship at all to either your OTN ID or your MOS (My Oracle Support) ID.
Now, I'm apply a new job, they ask me to go to otn and create an account and send them back the Oracle ID, and that's what I'm looking for.See Joel's comments. If it's the latter (they want to be able to monitor your activity on OTN ) I'd be very concerned. My OTN account is my account, not my employer's. And even if that is what they are after, there is nothing stopping you from having two accounts ... one with your employer's email as the account name, and one with your personal email as the account name. Then just ignore the one with the employer's email address. -
Factory Calender, Where Can I see it?
Hi Experts,
Pls. let me know that, Where Can I see the Factory Calender?
thanqHi srinivas,
You can use FM FACTORY_CALENDAR_GET to get factory calender.
<REMOVED BY MODERATOR>
Thanks,
Srikanth.A
Edited by: Alvaro Tejada Galindo on Apr 24, 2008 10:49 AM
Maybe you are looking for
-
Creating large scale secure document repository for remote access and a few other Azure questions
Hello Microsoft Community, Is there a way to put a bunch of documents in Azure storage and present them to an end user via an interface that is either web based or local that will provide security (log in control) to the folders and logging along wit
-
Score just simply won't print anything When I look at a preview, it's blank Everything else on my mac prints no problem What's going on? Bev
-
I loaded song files from CD. Was able to add Song titles for a few songs to blank fields, but when I got out and back in the same process would not let me update anything. Please help!
-
Since updating my Mac to 10.8.4 any external hard disk doesn't show on Finder sidebar (but shows on desktop). Anyone else have the same problem? It's annoying because now I can't use Finder sidebar for drag and drop to thumb drive etc. Thanks for you
-
Log in to my Verizon account. Try to access Backup Assistant contacts. The website is a loop......it behaves as if I'm not logged in. I have checked and DO have the services (provided for free with my plan). Phone is set up properly and just sync