RCPTRA02 - Direct Input Error logs
Hi All,
We are using LSMW - RCPTRA02 direct input approach to load Routing's in ECC 6.0 as a part of data migration. We are facing issue while reviewing logs displayed after completion of LSMW execution. This direct input program does not display record number which have been failed or successfully updated. So we could not able to tie back which all records have been failed and due to what reason at what level. This is potentially will delay our data load verification process in production. We cannot change our approach at this moment.
So is there any better way to understand logs displayed by RCPTRA02 direct input program?
Your help is appreciated. Thanks in advance.
Regards,
Amey
Do recording again...
Be carefule while recording, sometimes you see some pop up screens which you need to press "Enter" or "ESC".
I am not familiar with your transaction code but I can tell what the problem is,
There is screen coming up when you are loading and it is expecting input from you, it can be either data or just an ENTER / ESC.
Execute your program in foreground and see what you have to enter.
I advise you to do a recording again but be careful with pop up screens.
There can be another problem, may be configuration might have changed after you create your program.
Execute it in foreground and you will see if order of screen has been changed or not.
Let me know if this does not solve your problem.
Mubeen
Similar Messages
-
Create Inspection Plan -LSMW -Direct Input -Error with Control Indicators
Hi,
I am creating Inspection Plans using LSMW-DIRECT INPUT Method.
Although MIC's control indicator parameters are correct while creating a plan it is changing the control indicator parameters.
how can we suppress this?
I want to use MIC's default parameters.
Regards
Praveenhave Lost Previous File
what does that mean? did they lose the source that should be used to load the data from?
without source you cannot load data.
Had you ever got this source file? how? by mail, then check your old mails and take it from there, ask the sender to he/she checks the SENT folder in his mail system. Maybe someone has a local copy of this fille. -
Hi gurus,
Help me out. When I reach the 'specify files' step of the LSMW, I encounter an error saying No logical path has been specified. This keeps popping out eventhough I have inputted the file's path. What's the problem?
Tnx in advanceHi Obie,
In the "Specify files" step, you see following 3 nodes: Legacy Data, Read Data & Concerted data.
Double click on Converted data where you get a popup & you need to mention the logical path & Logical file name. Normally LSMW will be the logical path & specify the same path as presentation server path / File.
If you do not have a logical path - LSMW, create one with T. Code FILE.
Please check this also.
[Link|Re: LSMW 6.0 ECC and Logical Path and Logical File]
Hope it will work for you.
Regards.
R.Brahmankar -
Error log table for LSMW-Direct input
Can any one tell me , What is the table for storing the error messages in LSMW-Direct input?
Regards,
Nageshfor LSMW-Direct input method you can use EXCUTE IN BACK GROUND. the job is running and see the job name in SM37 . after completion of your job , select you job name and press the SPOOL button there you can find the you job error log.
-
Error Log in Direct Input Method of LSMW
Hello!
We are developing an upload through LSMW using its direct input method for material master. This method is better than the Recording method but the only problem we are having is maintaining the error log. Unlike the recording method, in direct input the system gives an error log but it cant me maintained in a permanent file i.e when we go back to the upload for specifying a new file, the error log of the previous file is gone.
Is there any way that we can maintain the error log in a permanent file? Help needed ASAP!
Thank You!
Regards
SaharWhen i enter %PC in the command field the system gives following information
Function code cannot be selected
Message no. 00255
Diagnosis
You entered an inactive function code.
You can trigger this by:
o inputting directly in the OK code field,
o inputting the fastpath of an inactive menu function,
o choosing an inactive function key, or even by
o choosing ENTER, if ENTER has an inactive function.
In batch input, a function code is included in field BDC_OKCODE of the
session, if this function code is not assigned to ENTER. -
Error in uploading the PO while running Direct Input porgram RM06EEI0
Hi all
i have written one conversion program to upload PO. Here in the program i am populating the batch input structures MBEPOH and MBEPOI and finally writing it to the unix file.
Finally when i execute the direct input program RM06EEI0
using the logical filename , it gives the error as 'Net price should be greater than 0' .
i have also checked the file in the unix directory , there the net price is getting populated correctly. Also i debugged the direct input program and found out that net price is getting passed correctly to FM ME_CREATE_PO_ITEM but somewhere the KOMP structure is not getting populated ,that is why net price becomes 0.
Can anybody please tell whether there is some issue in writing the conversion program or i am missing some parameters to be passed in MBEPOH or MBEPOI, or what has to be done.
Please help me , it is urgent .
Thanks and Regards,
SyedI have the same problem, could somebody help?
Thanx, Marian -
Creation of error log on input data and stat report
I am doing call transaction on <b>C202</b> transaction.my client asked me before uploading the file he needs some validations on input file and he is asking me to create a log for all the validations.i have to place error lof for all the input data.
An error log will record all errors occurring during upload. For each error the list should
contain the data (line) going in error and an error text in a subsequent column (subsequent to data). The change number used to perform the upload will be stated in the header of the error list.A txt-file containing the error log will get the same name as the input file, but with an ending err.xls.
Therefore no Batch-Input-Session is needed.
After execution of the batch input program, the following analysis regarding execution will be shown:
o Number of records in input file (including title, first line)
o Number of records successfully updated
o Number of records in error
Example:
Number of records in input file (incl. first line) 4
Number of records successfully updated: 3
Number of records in error: 0
How to do this according to client requirements.can u help me to get a statastical way to represent errors. Send me some smpale code for number of errors and no records gets success and no of failed.
Thanks
chandrasekharHai Chandrasekhar
Go through the following Code
report Z_CALLTRANS_VENDOR_01
no standard page heading line-size 255.
Generated data section with specific formatting - DO NOT CHANGE ***
data: begin of it_lfa1 occurs 0,
KTOKK like lfa1-ktokk,
NAME1 like lfa1-name1,
SORTL like lfa1-sortl,
LAND1 like lfa1-land1,
end of it_lfa1.
End generated data section ***
data : it_bdc like bdcdata occurs 0 with header line.
*DATA: IT_MESSAGES TYPE TABLE OF BDCMSGCOLL WITH HEADER LINE.
*DATA: LV_MESSAGE(255).
data : it_messages like bdcmsgcoll occurs 0 with header line.
data : V_message(255).
data : V_flag.
data : V_datum1 type sy-datum.
data : begin of it_mesg occurs 0,
message(100),
end of it_mesg.
*V_datum1 = sy-datum-1.
parameters : P_Sess like APQI-GROUPID.
start-of-selection.
perform Get_data.
*perform open_group.
loop at it_lfa1.
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-KTOKK'
it_lfa1-KTOKK.
perform bdc_dynpro using 'SAPMF02K' '0110'.
perform bdc_field using 'BDC_CURSOR'
'LFA1-LAND1'.
perform bdc_field using 'BDC_OKCODE'
'=UPDA'.
perform bdc_field using 'LFA1-NAME1'
it_lfa1-name1.
perform bdc_field using 'LFA1-SORTL'
it_lfa1-sortl.
perform bdc_field using 'LFA1-LAND1'
it_lfa1-land1.
call transaction 'XK01' using it_bdc
mode 'N'
update 'S'
messages into it_messages.
if sy-subrc <> 0.
if V_flag <> 'X'.
perform open_group.
V_flag = 'X'.
endif.
perform bdc_transaction. "using 'XK01'.
endif.
perform format_messages.
refresh : it_bdc,it_messages.
endloop.
if V_flag = 'X'.
perform close_group.
endif.
*& Form Get_data
text
--> p1 text
<-- p2 text
FORM Get_data .
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = 'C:\srinu_vendor.txt'
FILETYPE = 'ASC'
TABLES
DATA_TAB = it_lfa1
EXCEPTIONS
CONVERSION_ERROR = 1
INVALID_TABLE_WIDTH = 2
INVALID_TYPE = 3
NO_BATCH = 4
UNKNOWN_ERROR = 5
GUI_REFUSE_FILETRANSFER = 6
OTHERS = 7
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " Get_data
*& Form bdc_dynpro
text
-->P_0061 text
-->P_0062 text
FORM BDC_DYNPRO USING PROGRAM DYNPRO.
CLEAR it_BDC.
it_BDC-PROGRAM = PROGRAM.
it_BDC-DYNPRO = DYNPRO.
it_BDC-DYNBEGIN = 'X'.
APPEND it_BDC.
ENDFORM.
Insert field *
FORM BDC_FIELD USING FNAM FVAL.
CLEAR it_BDC.
it_BDC-FNAM = FNAM.
it_BDC-FVAL = FVAL.
APPEND it_BDC.
ENDFORM.
*& Form format_messages
text
--> p1 text
<-- p2 text
FORM format_messages .
loop at it_messages.
CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
ID = it_messages-MSGID
LANG = 'EN'
NO = it_messages-MSGNR
V1 = it_messages-MSGV1
V2 = it_messages-MSGV2
V3 = it_messages-MSGV3
V4 = it_messages-MSGV4
IMPORTING
MSG = V_message
EXCEPTIONS
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.
write : / V_message.
clear : V_message.
endloop.
ENDFORM. " format_messages
*& Form open_group
text
--> p1 text
<-- p2 text
FORM open_group .
CALL FUNCTION 'BDC_OPEN_GROUP'
EXPORTING
CLIENT = SY-MANDT
GROUP = P_Sess
HOLDDATE = V_datum1
KEEP = 'X'
USER = SY-UNAME
IF SY-SUBRC = 0.
write : / 'Session Creating wit Name : ',P_Sess.
ENDIF.
ENDFORM. " open_group
*& Form close_group
text
--> p1 text
<-- p2 text
FORM close_group .
CALL FUNCTION 'BDC_CLOSE_GROUP'.
ENDFORM. " close_group
*& Form bdc_transaction
text
-->P_0132 text
FORM bdc_transaction. "USING VALUE(P_0132).
CALL FUNCTION 'BDC_INSERT'
EXPORTING
TCODE = 'XK01'
POST_LOCAL = NOVBLOCAL
PRINTING = NOPRINT
SIMUBATCH = ' '
CTUPARAMS = ' '
TABLES
DYNPROTAB = it_bdc
EXCEPTIONS
INTERNAL_ERROR = 1
NOT_OPEN = 2
QUEUE_ERROR = 3
TCODE_INVALID = 4
PRINTING_INVALID = 5
POSTING_INVALID = 6
OTHERS = 7
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " bdc_transaction
Regards
Sreeni
Message was edited by: Sreenivasulu Ponnadi -
LSMW Direct input method error
Hi experts,
I created the LSMW using direct input method (PR Creation).
In the create batch input session step (executed) i am getting below
message and follwed bt processing terminated message and going out
Transaction 0: transaction code / not supported
what could be the problem ? any problem in specifying logical path .
pls let me know the solution.
Thanks
saiHi chenna,
Thanks for reply, I added the tcode and now getting the message like the session was created
but when i see in sm35 there is no seesion created and there is no log also.
what could be the reason? pls explain
thanks
sai -
Lsmw : Direct Input : 0020 Material Master :Error
hi all !
I'm onto making a lsmw for material master direct input.i'm facing the following error :
1.The field Marc-LADGR is defined as a required field : it doesnt contain an entry
2.You have not fully maintained the tax classifications.
in my flat file i have duly filled in the field MARC-LADGR
need help ,plz see if you can track wats the problem.
thanks and regards,
sachinya sachin ... as u r telling .. download from the std program... & continue the process....
my suggestion ... cross check again with ur fields of the source structure ....i mean decalre only fields .. which are required .. then do the field mapping again for the all the fields...
i believe there will be documentation for the std program .... check it & go thru with that ..map it ... wherever needed ....
try & let me know...
thanks,
manjunath ms -
Unit Conversion Error in Direct Input
Hi Experts,
I am getting a error "E MG 427: Conversion error: field BMMH6-MEINH; content PAK" When I am uploading Alt. UoM using BMHH6 structure in Direct Input. I checked value for UoM in converted data it is "PAC". I think system is internally converting it to PAK so the error is coming.
Please let me know what need to be done to avoid this error.
Thanks in Advance..
<i>-Harkamal</i>HI
If u r giving alternate UOM in Material Master.
first u need difine the conversion factor.
in basic data view u will have addtional data tab.
in that u need to define conversion factors first.
regards,
raghu -
Unit Conversion Error in Direct Input method for data transfer
Hi Experts,
I am getting a error "E MG 427: Conversion error: field BMMH6-MEINH; content PAK" When I am uploading Alt. UoM using BMHH6 structure in Direct Input. I checked value for UoM in converted data it is "PAC". I think system is internally converting it to PAK so the error is coming.
Please let me know what need to be done to avoid this error.
Thanks in Advance..
-HarkamalHi
Before passing this unit to the program
check the conversion Exit in the Domain of the Field
and use the fun module
CONVERSION_EXIT_ALPHA_INPUT and pass that value and see how it takes
otherwise use the fun module UNIT_CONVERSION_SIMPLE and pass the value to program
Regards
Anji -
In which tables are batch input error messages logged?
does anybody know in which table are the batch input error messages logged?
I have to display the error messages which have occured during the transaction
I tried to find out, but i could see only the table BDCMSGCOLL, this table has only the Batch input message number and not the message itself?
does anybody know about the batch input error messages?hi,
check the sample code below.
messtab is of type BDCMSGCOLL.
Call the transaction and then use T100 to get the message.
DATA: l_mstring(480).
call transaction using
REFRESH messtab.
CALL TRANSACTION tcode USING bdcdata
MODE ctumode
UPDATE cupdate
MESSAGES INTO messtab.
l_subrc = sy-subrc.
SKIP.
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: /4 messtab-msgtyp, l_mstring(250).
ELSE.
WRITE: /4 messtab.
ENDIF.
ENDLOOP. -
Net Price Calculation Error in LSMW(Direct Input)
Hi,
i am using LSMW-Direct Input method for Creating Purchase Order .i am facing Problem like Quantity Conversion error in Net Price Calculation.
Any one please help me out.
Regards,
Shobha HenryBest practice would be to use BAPI/ALE method instead of direct input but if you've already done with the mapping etc. try putting a break point in the generated LSMW program where the net price is calculated and transferred to SAP field and then run it to see in the debugger what's going on. I reckon its possibly a type compatibility error.
Hope this helps,
Cheers,
Sougata. -
Reg: Error in BMEIN field while doing BOM master upload in direct input met
Hi ABAPERs,
I am doing BOM master upload using direct input method of LSMW.
It is showing one error while the time of execution that 'The BMEIN field is not an input field'.
But in my input file they have given the data for BMEIN field so I can not remove that field.
I am not able to ressolve that issue. Can any one please help me regarding this.
Thanks and Regards
Deepagoto transaction code and check the BMEIN field in the screen level. if it is disable mode it will not accept and get the error.
for this ask to functional people to chnage the customization for this filed.
currently the field is disable mode in screen level ,so chage the BMEIN field is optional through custmozation.... -
How do i check the log for LSMW direct Input
Also When i run the LSMW program the LAST STEP has Start Direct Input
What all step do i need to select to make the program run Automatically
Now i tried doing that but had to press Enter key until the load was Over
Thankyou
Shhi,
use option extended log (e.g. in rfbibl00) and after run goto sm37 - Job-log
A.
Maybe you are looking for
-
Shuffle 1stGen + Vista = :(
I just got a new Dell w/ *Windows Vista*, and I'm having major technical issues connecting my 1st Gen ipod Shuffle with Windows Vista. I used the 'itunes + ipod' compact disk included with the Shuffle, installation was fine except for 1 error message
-
Qosmio G30-E10: Display resolution switches from 1920x1200 to 1024x768
Hello, Qosmio G30-E10 Display resolution switches sometimes from 1920x1200 (my default) to 1024x768 after returning from Standby or Hibernation i run Vista Ultimate, newest Display Driver from Toshiba Download Area. This doesn't happened any time, bu
-
PO number and Finance doc number connection
Hi Experts, In our project we got a requirement like we need to show fields from fs10n, fields are, GL account number, FI document number, PO number, Amount in local currency and PO description. I didnt see any datasource which bring PO number, FI GL
-
Post payroll to FI server in another sap system.
Hi Experts, In order to post Payroll result to SAP FI system which is distributed, i doing the following, 1, I have done ALE setting and BAPI setting by t-code BD64, generate parnter profiles. 2, I have configured like "define symbolic account" and
-
Problems playing movies from Time Capsule
I am having a problem playing movies from my Time Capsule to my Apple TV. I can make them work but have to go through the following process: I have to play the movie through iTunes and then stop it, and then go play the movie on apple TV. I have to d