Error in uploading TEXT master data
I got the following error while Creating Infopackage for uploading TEXT Master data:
Error 8 when compiling the upload program:row 431, message: A newer version of data type
/BIC/B0000102000 was
Can anyone let me know how to solve this issue?
Thanks,
Soujanya.
Hi Soujanya,
Check whether the row 431 is having proper data that i matching in Data type with the IO.
Also activate the transfer rule/ Transformations if any. Then try loading the data.
If you are trying to load the Data through the Flat File, close the *.CSV file before actually loading the data & dont open it till it is successfully loaded.
Hope it helps!
Regards,
Pavan
Similar Messages
-
Error While Uploading GL Master Data in LSMW
Hello Experts,
I am running into error while uploading GL master data in LSMW, I created recording through FS00, then I mapped the fields, it all went good till 13th step, but last step got stuck(Run Batch Input Session), when I am running batch input session, system is showing this message "Function Code cannot be selected"
Your help would be highly appreciated.
Regards
Muhammad Yousuf Ali
SAP FI ConsultantHi,
first can you pls check your Hierarchy mode setting in FS00 - before executing Batch input session -
Open FS00 - go to settings - and Do not display navigation tree select radio button and save it
then Now Run fresh LSMW - your issue will resolve
Mahesh -
How can I upload text master data for attribute-only Charactertic?
I can't create infosource for attribute-only Charactertic via direct update from Infoobject, because attribute-only Charactertics you can't choose from available infoobject.
How can I upload text master data for attribute-only Charactertic?
Thanks!Hi roberto,
I soloved the problem. I can input the attribute-only char directly in the text box instead of choosing from list of infoobjects, but I still can't find the char in infoobject selection dialog even using search. -
Error while uploading HR master data from inQuality server
Hi, Expert. While uploading of MAster data from Developement to Quality by BDC. When program starts for Tcode PA40, selecting Hiring Action, it is goining to the Action Screen. Here while taking the position from HR template, it gives error as Position is not in Table T428B. Payroll area on the date (Date of original hiring, of the person) it is taking DM as defalt in place of our created Area and terminating. When i am trying entering the data manually, it is giving same error for Position. I am not able to upload the data. Kindly help me by suggesting me the correct sequence and steps for uploading the data. Correct answer will be provided with STARSSSSSS **. Regds Punit.
Have all your configurations been transported to Quality?
Have you created the positions before initiating BDC for Hiring?
Check Feature ABKRS in Quality. Is this same as in Development?
Is your BDC running OK in Development?
Regards, -
Error in Uploading BP Master Data in DTW
Hi there.
I'm now updating our business partner master data using DTW and i encountered an error "No matching records found (ODBC-2028) Application-defined or object-defined error 65171".
Pls help me. Thanks
des'Hi
Some of the helpful tips :
1- Create the data import file as usual in Excel
2- Save the file as .txt (tab delimited)
3- Select all columns and rows from the Excel file (including the headings)
4- Copy the data into the clipboard
5- Open a new text file in Notepad
6- Paste the data and save the file
7- Import this file with DTW
Also check this notes :
How to import BP addresses and set the default
Note 979116
Hope this helps
Bishal -
Getting error while uploading gl master data using LSMW batch input data
Hi Experts,
I am getting error while uploading the GL master data through lsmw using batch input recording.
After completion of all steps at the time of running batch input session error i am getting is "maintain EN language discription"
and Pls tell me is it possible to upload transactional data using lsmw? if yes pls explaing briefly.Hello,
Kindly post in the FI forum to get a better response.
Regarding the issue you might check whether the correct column is being picked up where you have maintained the description.
Kind Regards // Shaubhik -
Load customer text master data error
Hi Experts:
When load customer text master data ,system show the following error message ,could you please
help me to solve the problem , thanks a lot
Error message from the source system
Diagnosis
An error occurred in the source system.
System Response
Caller 09 contains an error message.
Further analysis:
The error occurred in Extractor .
Refer to the error message.
Procedure
How you remove the error depends on the error message.
Note
If the source system is a Client Workstation, then it is possible that the file that you wanted to load was being edited at the time of the data request. Make sure that the file is in the specified directory, that it is not being processed at the moment, and restart the request.Delete PSA request from Datasource -> manage
Do a fresh load and Goto to infopackage monitor
Environment --> Short Dump --> in Source System...... Click 'TODAY'
Next screen would show u all Runtime Error... Double click on the first one
from the next screen, u can do analysis by double clicking 'What Happend ?', What can u do? Error Analysis..
By doing this U can find out what exactly is the problem -
Upload HR master data - Infotype 0005 error!
Hi all,
I want to upload HR master data with FM HR_MAINTAIN_MASTERDATA. I pass the right values and several infotypes are processed correctly.
the only infotype which is giving me problems is infotype 0005.
Every field in this infotype is filled except P0005-UANSP (leave entitlement value).
I tried passing the fieldname as Q0005-UAN01 with value and also P0005-UAN01 with value, but neither work!
It is a table type on the screen that's why we have to use 01 at the end of fieldname. the other data on the line of the table is filled correctly.
Does anyone have any idea on how to solve this?
Thanks in advance.
MarcelI found during debugging that formroutine CLEAR_P0005 is called in programm MP000500 which clears the fields ending on 01, 02, 03, 04, 05 and 06.
I don't want this clear to be done, so the only option i have is making a modification i guess to avoid this routine to be called in my specific situation.
Problem solved. -
Outbond interface programme to upload customer master data.
Hi experts,
i need to develop an outbound interface programme to upload customer
master data,which will be received from sap and posted to web methods using
standard function mudule.can any one help me?Hi,
Hi,
Primary you should have Message type, Idoc type and Function module or Report to process Outbound interface.
If your's is an Customized Process, then follow this.
1. Create Message type in we81.
2. Create segments in We31
3. Create Idoc Type in WE30.
4. Assign Message type to idoc type in WE82.
5.Create an Partner profile in WE20.
6.If you are creating an function Module create it in SE37.
7. Assign it to process code in WE41.
8. Charactersitics of FM in BD51.
9. Assign FM and IDoc And Message type in WE57.
<b>ALE IDOC</b>
Sending System(Outbound ALE Process)
Tcode SALE ? for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 ? Create Model View
Tcode BD82 ? Generate partner Profiles & Create Ports
Tcode BD64 ? Distribute the Model view
Message Type MATMAS
Tcode BD10 ? Send Material Data
Tcode WE05 ? Idoc List for watching any Errors
Receiving System(Inbound ALE )
Tcode SALE ? for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 ? Check for Model view whether it has distributed or not
Tcode BD82 -- Generate partner Profiles & Create Ports
Tcode BD11 Getting Material Data
Tcode WE05 ? Idoc List for inbound status codes
ALE IDOC Steps
Sending System(Outbound ALE Process)
Tcode SALE ?3 for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 !V Create Model View
Tcode BD82 !V Generate partner Profiles & Create Ports
Tcode BD64 !V Distribute the Model view
This is Receiving system Settings
Receiving System(Inbound ALE )
Tcode SALE ?3 for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 !V Check for Model view whether it has distributed or not
Tcode BD82 -- Generate partner Profiles & Create Ports
Tcode BD11 Getting Material Data
Tcode WE05 !V Idoc List for inbound status codes
Message Type MATMAS
Tcode BD10 !V Send Material Data
Tcode WE05 !V Idoc List for watching any Errors
1)a Goto Tcode SALE
Click on Sending & Receiving Systems-->Select Logical Systems
Here Define Logical Systems---> Click on Execute Button
go for new entries
1) System Name : ERP000
Description : Sending System
2) System Name : ERP800
Description : Receiving System
press Enter & Save
it will ask Request
if you want new request create new Request orpress continue for transfering the objects
B) goto Tcode SALE
Select Assign Client to Logical Systems-->Execute
000--> Double click on this
Give the following Information
Client : ERP 000
City :
Logical System
Currency
Client role
Save this Data
Step 2) For RFC Creation
Goto Tcode SM59-->Select R/3 Connects
Click on Create Button
RFC Destination Name should be same as partner's logical system name and case sensitive to create the ports automatically while generating the partner profiles
give the information for required fields
RFC Destination : ERP800
Connection type: 3
Description
Target Host : ERP000
System No:000
lan : EN
Client : 800
User : Login User Name
Password:
save this & Test it & RemortLogin
3)
Goto Tcode BD64 -- click on Change mode button
click on create moduleview
short text : xxxxxxxxxxxxxx
Technical Neme : MODEL_ALV
save this & Press ok
select your just created modelview Name :'MODEL_ALV'.
goto add message type
Model Name : MODEL_ALV
sender : ERP000
Receiver : ERP800
Message type :MATMAS
save & Press Enter
4) Goto Tcode BD82
Give Model View : MODEL_ALV
Partner system : ERP800
execute this by press F8 Button
it will gives you sending system port No :A000000015(Like)
5) Goto Tcode BD64
seelct the modelview
goto >edit>modelview-->distribute
press ok & Press enter
6)goto Tcode : BD10 for Material sending
Material : mat_001
Message Type : MATMAS
Logical System : ERP800
and Execute
7)goto Tcode : BD11 for Material Receiving
Material : mat_001
Message Type : MATMAS
and Execute --> 1 request idoc created for message type Matmas
press enter
Here Master Idoc set for Messge type MATMAS-->press Enter
1 Communication Idoc generated for Message Type
this is your IDOC
Change Pointers
I know how to change the description of a material using ALE Change Pointers.
I will give the following few steps
1) Tcode BD61---> check the change pointers activated check box
save and goback.
2) Tcode BD50---> check the MATMAS check box save and comeback.
3) Tcode BD51---> goto IDOC_INPUT_MATMAS01 select the checkbox save and comeback.
4) Tcode BD52---> give message type : matmas press ok button.
select all what ever you want and delete remaining fields.
save & come back.
5) 5) go to Tcode MM02 select one material and try to change the description and save it
it will effects the target systems material desciption will also changes
6) goto Tcode SE38 give program Name is : RBDMIDOC and Execute
give Message type : MATMAS and Executte
ALE/IDOC Status Codes/Messages
01 Error --> Idoc Added
30 Error --> Idoc ready for dispatch(ALE Service)
then goto SE38 --> Execute the Program RBDMIDOC
29 Error --> ALE Service Layer
then goto SE38 --> Execute the Program RSEOUT00
03 Error --> Data Passed to Port ok
then goto SE38 --> Execute the Program RBDMOIND
12 Error --> Dispatch ok
Inbound Status Codes
50 Error --> It will go for ALE Service Layer
56 Error --> Idoc with Errors added
51 Error --> Application Document not posted
65 Error --> Error in ALE Service Layer
for 51 or 56 Errors do the following steps
goto WE19 > give the IDOC Number and Execute>
Press on Inbound function Module
for 65 Error --> goto SE38 --> Execute the Program RBDAPP01 then your getting 51 Error
Regards -
LSMW Upload vendor master data
I am uploading vendor master data via a batch input in LSMW (program RFBIKR00).
I uploaded all the vendors for 1 company code.
When I try to upload the vendors for another company code, in the step Create Batch Input Session I get the error: Trans. 1 XK01 : Acct already exists; general area not being processed, ... Data in table BLFA1 cannot be processed.
When I try to manually create a vendor for another company code via tcode XK01, I have no problems. But when I create an existing vendor manually for another company code I dont have to add the information which is contained in table lfa1.
Therefore I tried to upload the vendor, which has to be created for the company code, with a / in the data for table lfa1. But this doesnt work.
Has somebody a suggestion to solve this problem?
ThanksIn the similar thread you said:
"If the vendor exists in LFA1 but not LFB1, use XK02 with the structures for LFA1. Then use XK01 with the structures for LFB1."
It is not possible to use XK02 in order to create the vendor for another company code if the vendor already exists with a certain company code. You will get the error "Vendor xxx has not been created for company code yyy".
The problem is that LSMW requires a mapping onto structure LFA1, but when the vendor already exists for a certain company code, LSMW returns in the step "Create Batch Input Session" the error: "Trans. 1 XK01 : Acct already exists; general area not being processed, ... Data in table BLFA1 cannot be processed". -
LSMW Upload vendor master data problem
Hello,
I have to upload vendor master data with LSMW.
I'm using a batch input with the program RFBIKR00.
In the step "Create batch input session", I get the following error:
FB012 Session 1 : Special character for 'empty field' is /
FB007 Session 1 session name VENDOR was opened
FB112 Trans. 1 : No transaction code was transferred
FB016 ... Last header record ...
FB014 ... BLF00-STYPE 1
FB014 ... BLF00-TCODE /
FB014 ... BLF00-LIFNR DETES998
FB014 ... BLF00-BUKRS /
FB014 ... BLF00-EKORG /
FB014 ... BLF00-KTOKK 0001
FB013 ....Editing was terminated
Does anyone know how to solve this error?
Kind regards,
FrankHi ,
first up all u r not mentioning the tcode and other mandatory field values...just in the field mapping and conversion step...
click -->Extras -->Layout and select all fields
and give default values to field TCODE,and other fields also and also check whether mapping conversion with regard to source is correct or not...
If still any doubts i can clarify
Regards,
Sridhar Reddy
Message was edited by: sridhar reddy kondam
Message was edited by: sridhar reddy kondam -
Problem in uploading HR master Data from excel
Hello
When I am uploading HR master data using excel , I get the error
"Error in info type 0006 and emp no 00000016 with msg id 00 no. 055 msg Fill in all required entry fields "
I have filled in the following fields for infotype 0006:-
SUBTY ='1'
ANSSA = '1'
STRAS , LOCAT ,ORT01, STATE , PSTLZ , LAND1, TELNR.'
But I am getting the error for filling the required entry fields.
I am using The function module HR_MAINTAIN_MASTERDATA.
If anyone has an idea...about the problem, please writeNo work schedule rule for key 1 0501NORM 20090101 ###
This type of error is a functional one . It simply means you are trying to feed the field with value which is not acceptable (here work schedule does not exist for specific key). Either contatct your functional collegue to check the configuration or change the provided data.
Also as Bala noticed you should always check if relevant record is allowed to be entered directly in PA30. Make sure all required fields are provided too.The best is to either enter it manually or use SHDB to record this entry and get technical field names. You then know which fields you need to provide in order to create a correct entry.
Regards
Marcin -
Upload HR master data Parmanent Address & home address by a BDC Program.
Hi exparts,
I writte a BDC program to upload HR master data for tcode PA30.
But I can upload parmanet address with this program.
I want to upload parmanent address then home address .
Can anybody help , how can I upload Parmanent Address & home address by a single BDC program.
Thanks
Edited by: Abu Rayhan on Jun 2, 2011 1:01 PMreport ZHR_SMP
no standard page heading line-size 255.
Internal Table TYPE Declaration for keeping Legacy Data
TYPES: BEGIN OF TW_MAIN,
PERNR LIKE RP50G-PERNR,
BEGDA LIKE P0006-BEGDA,
ANSSA LIKE P0006-ANSSA,
STRAS LIKE P0006-STRAS,
ORT01 LIKE P0006-ORT01,
STATE LIKE P0006-STATE,
PSTLZ LIKE P0006-PSTLZ,
LAND1 LIKE P0006-LAND1,
END OF TW_MAIN,
TT_MAIN TYPE STANDARD TABLE OF TW_MAIN.
DATA : WA_MAIN TYPE TW_MAIN,
IT_MAIN TYPE TT_MAIN,
WA_ITEM TYPE TW_MAIN,
IT_ITEM TYPE TT_MAIN,
WA_BDCDATA TYPE BDCDATA,
IT_BDCDATA TYPE STANDARD TABLE OF BDCDATA,
WA_BDCMSGCOLL TYPE BDCMSGCOLL,
IT_BDCMSGCOLL TYPE STANDARD TABLE OF BDCMSGCOLL.
Internal table for enable Required options using Call transaction & Session Method.
DATA: it_intern TYPE alsmex_tabline OCCURS 0 WITH HEADER LINE.
DATA ls_ctu_params TYPE ctu_params.
DATA : U_MODE(1),
U_UPDT(1),
FNAM(30),
STR TYPE STRING.
SELECTION-SCREEN BEGIN OF BLOCK bk1 WITH FRAME TITLE text-001.
PARAMETERS p_fname TYPE localfile OBLIGATORY.
PARAMETERS: p_begcol TYPE i DEFAULT 1,
p_begrow TYPE i DEFAULT 2,
p_endcol TYPE i DEFAULT 20,
p_endrow TYPE i DEFAULT 1600.
SELECTION-SCREEN END OF BLOCK bk1.
SELECTION-SCREEN : BEGIN OF BLOCK B4 WITH FRAME TITLE TEXT-004.
SELECTION-SCREEN : BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.
PARAMETERS : P_FIRST RADIOBUTTON GROUP RB DEFAULT 'X',
P_SECOND RADIOBUTTON GROUP RB,
P_THIRD RADIOBUTTON GROUP RB.
SELECTION-SCREEN : END OF BLOCK B2.
SELECTION-SCREEN : BEGIN OF BLOCK B3 WITH FRAME TITLE TEXT-003.
PARAMETERS : P_SYN RADIOBUTTON GROUP RB1,
P_ASYN RADIOBUTTON GROUP RB1 DEFAULT 'X'.
SELECTION-SCREEN : END OF BLOCK B3.
SELECTION-SCREEN : END OF BLOCK B4.
Initialize the work are and internal table body
INITIALIZATION.
PERFORM INTIALIZE_ITAB.
*Get F4 help based on which file need to selected
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fname.
PERFORM GETFILENAME.
START-OF-SELECTION.
Upload the file from Excel to Internal Table
PERFORM FILE_UPLOAD.
Selection Method for Foreground or background or call transactio or session method.
PERFORM SCREEN_FLAG.
Uploading the data from Legacy Sytem to SAP.
PERFORM BDC_TRANSACTION.
END-OF-SELECTION.
*& Form BDC_TRANSACTION
text
--> p1 text
<-- p2 text
FORM BDC_TRANSACTION.
IT_ITEM = IT_MAIN.
PERFORM CALL_TRANSACTION.
ENDFORM. " BDC_TRANSACTION
*& Form CALL_TRANSACTION
text
--> p1 text
<-- p2 text
FORM CALL_TRANSACTION .
LOOP AT IT_MAIN INTO WA_MAIN.
CLEAR WA_BDCDATA.
REFRESH IT_BDCDATA.
perform bdc_dynpro using 'SAPMP50A' '1300'.
perform bdc_field using 'BDC_OKCODE' '/00'.
perform bdc_field using 'RP50G-PERNR' WA_MAIN-PERNR.
perform bdc_field using 'RP50G-TIMR6' 'X'.
perform bdc_field using 'BDC_CURSOR' 'RP50G-CHOIC'.
perform bdc_field using 'RP50G-CHOIC' '0006'.
perform bdc_dynpro using 'SAPMP50A' '1300'.
perform bdc_field using 'BDC_OKCODE' '=INS'.
perform bdc_field using 'BDC_CURSOR' 'RP50G-PERNR'.
perform bdc_field using 'RP50G-PERNR' WA_MAIN-PERNR.
perform bdc_field using 'RP50G-TIMR6' 'X'.
perform bdc_field using 'RP50G-CHOIC' 'Addresses'.
perform bdc_dynpro using 'SAPMSSY0' '0120'.
perform bdc_field using 'BDC_CURSOR' '04/03'.
perform bdc_field using 'BDC_OKCODE' '=ENTR'.
perform bdc_dynpro using 'MP000600_CE' '2010'.
perform bdc_field using 'BDC_CURSOR' 'P0006-PSTLZ'.
perform bdc_field using 'BDC_OKCODE' '/00'.
perform bdc_field using 'P0006-BEGDA' WA_MAIN-BEGDA.
perform bdc_field using 'P0006-ENDDA' '12-31-9999'.
perform bdc_field using 'P0006-ANSSA' WA_MAIN-ANSSA.
perform bdc_field using 'P0006-STRAS' WA_MAIN-STRAS.
perform bdc_field using 'P0006-ORT01' WA_MAIN-ORT01.
perform bdc_field using 'P0006-STATE' WA_MAIN-STATE.
perform bdc_field using 'P0006-PSTLZ' WA_MAIN-PSTLZ.
perform bdc_field using 'P0006-LAND1' WA_MAIN-LAND1.
perform bdc_dynpro using 'SAPLSBAL_DISPLAY' '0200'.
perform bdc_field using 'BDC_OKCODE' '=&ONT'.
perform bdc_dynpro using 'MP000600_CE' '2010'.
perform bdc_field using 'BDC_CURSOR' 'P0006-STATE'.
perform bdc_field using 'BDC_OKCODE' '/00'.
perform bdc_field using 'P0006-BEGDA' WA_MAIN-BEGDA.
perform bdc_field using 'P0006-ENDDA' '12-31-9999'.
perform bdc_field using 'P0006-ANSSA' WA_MAIN-ANSSA.
perform bdc_field using 'P0006-STRAS' WA_MAIN-STRAS.
perform bdc_field using 'P0006-ORT01' WA_MAIN-ORT01.
perform bdc_field using 'P0006-STATE' WA_MAIN-STATE.
perform bdc_field using 'P0006-PSTLZ' WA_MAIN-PSTLZ.
perform bdc_field using 'P0006-LAND1' WA_MAIN-LAND1.
perform bdc_dynpro using 'MP000600_CE' '2010'.
perform bdc_field using 'BDC_OKCODE' '/EBCK'.
perform bdc_field using 'BDC_CURSOR' 'P0006-BEGDA'.
perform bdc_dynpro using 'SAPLSPO1' '0200'.
perform bdc_field using 'BDC_OKCODE' '=YES'.
perform bdc_dynpro using 'MP000600_CE' '2010'.
perform bdc_field using 'BDC_CURSOR' 'P0006-PSTLZ'.
perform bdc_field using 'BDC_OKCODE' '/00'.
perform bdc_field using 'P0006-BEGDA' WA_MAIN-BEGDA.
perform bdc_field using 'P0006-ENDDA' '12-31-9999'.
perform bdc_field using 'P0006-ANSSA' WA_MAIN-ANSSA.
perform bdc_field using 'P0006-STRAS' WA_MAIN-STRAS.
perform bdc_field using 'P0006-ORT01' WA_MAIN-ORT01.
perform bdc_field using 'P0006-STATE' WA_MAIN-STATE.
perform bdc_field using 'P0006-PSTLZ' WA_MAIN-PSTLZ.
perform bdc_field using 'P0006-LAND1' WA_MAIN-LAND1.
perform bdc_dynpro using 'SAPLSBAL_DISPLAY' '0200'.
perform bdc_field using 'BDC_OKCODE' '=&ONT'.
perform bdc_dynpro using 'MP000600_CE' '2010'.
perform bdc_field using 'BDC_CURSOR' 'P0006-PSTLZ'.
perform bdc_field using 'BDC_OKCODE' '/00'.
perform bdc_field using 'P0006-BEGDA' WA_MAIN-BEGDA.
perform bdc_field using 'P0006-ENDDA' '12-31-9999'.
perform bdc_field using 'P0006-ANSSA' WA_MAIN-ANSSA.
perform bdc_field using 'P0006-STRAS' WA_MAIN-STRAS.
perform bdc_field using 'P0006-ORT01' WA_MAIN-ORT01.
perform bdc_field using 'P0006-STATE' WA_MAIN-STATE.
perform bdc_field using 'P0006-PSTLZ' WA_MAIN-PSTLZ.
perform bdc_field using 'P0006-LAND1' WA_MAIN-LAND1.
perform bdc_dynpro using 'MP000600_CE' '2010'.
perform bdc_field using 'BDC_CURSOR' 'P0006-BEGDA'.
perform bdc_field using 'BDC_OKCODE' '=UPD'.
perform bdc_field using 'P0006-BEGDA' WA_MAIN-BEGDA.
perform bdc_field using 'P0006-ENDDA' '12-31-9999'.
perform bdc_field using 'P0006-ANSSA' WA_MAIN-ANSSA.
perform bdc_field using 'P0006-STRAS' WA_MAIN-STRAS.
perform bdc_field using 'P0006-ORT01' WA_MAIN-ORT01.
perform bdc_field using 'P0006-STATE' WA_MAIN-STATE.
perform bdc_field using 'P0006-PSTLZ' WA_MAIN-PSTLZ.
perform bdc_field using 'P0006-LAND1' WA_MAIN-LAND1.
ls_ctu_params-dismode = U_MODE.
ls_ctu_params-updmode = U_UPDT.
ls_ctu_params-NOBINPT = 'X'.
CALL TRANSACTION 'PA30' USING it_bdcdata
OPTIONS FROM ls_ctu_params MESSAGES INTO IT_BDCMSGCOLL.
PERFORM message.
CLEAR: WA_MAIN, WA_ITEM.
ENDLOOP.
ENDFORM. " CALL_TRANSACTION
*& Form INTIALIZE_ITAB
text
--> p1 text
<-- p2 text
FORM INTIALIZE_ITAB .
CLEAR: WA_MAIN,
WA_ITEM,
WA_BDCDATA,
WA_BDCMSGCOLL,
LS_CTU_PARAMS.
REFRESH: IT_MAIN,
IT_ITEM,
IT_INTERN,
IT_BDCDATA,
IT_BDCMSGCOLL.
ENDFORM. " INTIALIZE_ITAB
*& Form GETFILENAME
text
--> p1 text
<-- p2 text
FORM GETFILENAME .
CALL FUNCTION 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = ' '
IMPORTING
FILE_NAME = p_fname.
ENDFORM. " GETFILENAME
*& Form FILE_UPLOAD
text
--> p1 text
<-- p2 text
FORM FILE_UPLOAD .
CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
EXPORTING
filename = p_fname
i_begin_col = p_begcol
i_begin_row = p_begrow
i_end_col = p_endcol
i_end_row = p_endrow
TABLES
intern = it_intern.
Moving the data to internal table.
PERFORM MOVE_DATA.
ENDFORM. " FILE_UPLOAD
*& Form MOVE_DATA
text
--> p1 text
<-- p2 text
FORM MOVE_DATA .
DATA : lv_index TYPE i.
FIELD-SYMBOLS <fs>.
*--- Sorting the internal table
SORT it_intern BY row col.
CLEAR it_intern.
LOOP AT it_intern.
MOVE it_intern-col TO lv_index.
*--- Assigning the each WA_DATA to an internal table row
ASSIGN COMPONENT lv_index OF STRUCTURE wa_main TO <fs>.
*--- Asigning the field value to a field symbol
MOVE it_intern-value TO <fs>.
AT END OF row.
APPEND wa_main to it_main.
CLEAR wa_main.
ENDAT.
ENDLOOP.
ENDFORM. " MOVE_DATA
*& Form SCREEN_FLAG
text
--> p1 text
<-- p2 text
FORM SCREEN_FLAG .
IF P_FIRST = 'X'.
U_MODE = 'A'.
ENDIF.
IF P_SECOND = 'X'.
U_MODE = 'N'.
ENDIF.
IF P_THIRD = 'X'.
U_MODE = 'E'.
ENDIF.
IF P_SYN = 'X'.
U_UPDT = 'S'.
ENDIF.
IF P_ASYN = 'X'.
U_UPDT = 'A'.
ENDIF.
ENDFORM. " SCREEN_FLAG
*& Form BDC_DYNPRO
text
-->P_0161 text
-->P_0162 text
FORM BDC_DYNPRO USING program dynpro.
CLEAR WA_BDCDATA.
wa_bdcdata-program = program.
wa_bdcdata-dynpro = dynpro.
wa_bdcdata-dynbegin = 'X'.
APPEND WA_BDCDATA TO IT_BDCDATA.
ENDFORM. " BDC_DYNPRO
*& Form BDC_FIELD
text
-->P_0211 text
-->P_LW_MAIN_TEXT1 text
FORM BDC_FIELD USING FNAM FVAL.
CLEAR WA_BDCDATA.
WA_BDCDATA-FNAM = FNAM.
WA_BDCDATA-FVAL = FVAL.
APPEND WA_BDCDATA TO IT_BDCDATA.
ENDFORM. " BDC_FIELD
*& Form MESSAGE
text
--> p1 text
<-- p2 text
FORM MESSAGE .
DATA: MSG TYPE STRING.
LOOP AT IT_BDCMSGCOLL INTO WA_BDCMSGCOLL.
CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
ID = SY-MSGID
LANG = SY-LANGU
IMPORTING
MSG = MSG.
IF WA_BDCMSGCOLL-MSGTYP = 'S'.
WRITE:/ MSG,'For',WA_MAIN-PERNR.
ENDIF.
ENDLOOP.
ENDFORM. " MESSAGE
FILE FORMAT:
PERNR BEGDA ANSSA STRAS ORT01 STATE PSTLZ LAND1
10270 8/2/2011 1(Permanent) SSS ban 01 578987 IN
10270 8/2/2011 3(Home) SSS ban 01 578987 IN -
'Error occurred when deleting master data (RSDMD118)'
Helo Gurus,
When I tried to delete master data prior to the reload, its giving an error message 'Error occurred when deleting master data'. RSDMD 118.
We are currently working in BW 3.1. We checked for SAP notes for the same. But not Able to find any. So please help me to sort it out the problem as early as possible.Hi Mathew,
Are you sure that those master data are not used in any infoproviders? As far as I know you cannot delete master data if that is used in infocubes or DSOs.
You can also try transaction SLG1 with:
Object = RSDMD
Subobject = MD_DEL
and click on "Execute", this might give you the reason why data cannot be deleted.
Regards,
Csaba -
Error when activating the master data
Hi
I am getting the following error when activating the master data. when using IDOC as transfer method in transfer rules
<b>Error while creating table 'EDISEGMENT' entry '/BIC/CIRB0CLASS_NUM_TEXT'</b>
If anyone came across this kind of problem plz share the solution.
Regards
AnnieHi
I solved the problem. AFter changing from PSA to IDOC, i just saved first and activated. it got activated. But thanks for the response.
There are no short dumps in ST22
Regards
Annie
Maybe you are looking for
-
Iphone 4s unable to send mms over gprs, is there a fix for this?
OK so after much hunting around the net and many calls to both my network provider and apple i found this link myself http://www.nowsms.com/iphone-mms-message-send-failure-on-gprs-and-edge that answered my problem. The answer being there is no soluti
-
Different parts for the same ID
Hi, TABLE1 contains informations about programs, these include: PROGRAM_ID (fk of program table), PART_NO, MEDIA_ID A program can be made of different parts (PART_NO i.e., part 1, 2, 3, 4, or 5). The media_id is the unique identifier or a VHS tape wh
-
Hi frnds... Can we do word processing in reports as we do in scripts like characters bold,italic,style,font ? If yes...can you explain me how..? Thanks
-
When i hold down a key instead of repeating it displays special characters
When i hold down a key instead of repeating it displays special characters, can anyone helpma resolve this issue, or is it something i cannot change?
-
Error on transaction SFP: FPUIFB043
Hello masters: I have a problem when I try to show the layout tab in transaction SFP. The error message is the next: "Error occurred in communication with layout editor", Message number FPUIFB043. Does anybody know what I need to do? thank you.