Data Upload Using BDC
Hi Friends,
While creating the task list user defined field is in input mode, but when i do data uploading thru BDC program it's always coming in display mode, so system is not taking the data input for that field.
Field Name : User Defined Field ( PLPOD-USR00 )
Kindly suggest the solution.
Regards
Pankaj
Hi ~
1. Are you trying bothn online and BDC with the same user id? Please check that if there is any authorization issue.
2. Some times in BDC the screen flow is different. Check whether there is any difference in the sequence of the screens in between the BDC and online for creating task list.
Similar Messages
-
Data upload using BDC/LSMW (SAP-ABAP)
Hi Friends,
Is there any option available to delete no.of records from sap-database which are uploaded(Only transactional data) in test or production system by using BDCs and Lsmw ?
Pls treat it as urgent.
I 'll reward for best solution.
Thx in Adv.
BapiHi,
Thq for ur response.
I am explaining u in more details:
Suppose I uploaded *G/L Account balance(it is having thousands of records) * using existing Z_prog...successfully to quality system.
Afterwards I came to know some wrong data has been uploaded along with .Now I want to delete those records from quality system which is got corrupted.
Is the any tool available to do this ?
Pls treat it as urgent .
Thx and Regds,
Bapi -
How many numbers of records can be uploaded using BDC at a time
dear friends,
i want to know that how many numbers of records can be uploaded using BDC at a time from legacy system(database).no resticsation.
large value of data upload. -
Tables used in MM Master Data Upload using LSMW or BDC?
Hi,
Can anyone provide me with the following information about uploading MM Master Data using LSMW or BDC :-
1. What and all tables are used for uploading Material Master, Vendor Master, Info Record, Open PO, Open PR, RFQ, Open Contracts/Agreements ?
2. What problems are faced during Data Upload ?
3. What error appears/encouontered during upload ?
4. What is the diffrence b/w LSMW and BDC ? Both can be used for Data upload so, what differences are b/w them ?
5. Any other thing to remember/know during Data Upload ?
Thanks,
LuckyHi Lucky,
Dont get angry by seeing my response.
See each and every question posted by u is available , in this forum,
u need to do just a search on individual post.
see what ever ur posted, u r definetly got the solutions through others,
remember most of these answers are fetching by this threads itself (60-70%)
a few solutions are there that are given by own,
so better to search first, in the forum , if not satisfied with the solutions then .........
Just its an friendly talk
and Reward points for helpful answers
Thanks
Naveen khan -
Reg Vendor master upload using BDC Call Transaction Method
Hi All,
Thanks in advance.
I am uploading vendor master data using bdc call transaction method for XK01. In that i am getting an error message that the fields " smtp_addr" ( for email) and "time_zone" (for time zone) doesnot exist on the screen '0110' ( this is the second screen) . the field timezone will be displayed on the screen only when we go for communications button and select the URL field .
Do anybody have the solution for this problem. if possible can you give me the code for that screen.Create a recording via SM35 (menu go to=>recording), this will generate automatically the code for filling your bdcdata-table...
-
While uploading bom using bdc method how to upload item details into subscreen table.explain table control in bdc
hi,
When you try to create, you would find a pushbutton 'INSERT NEW LINES' or something simialr to enter your data in the next line. Say you're entering the Material inthe first row, its field position would be MARA-MATNR(01). Now when you click the Insert Pushbitton the cursor always is at positon 2. so you have to loop the remaining data to enter in MARA-MATNR(02). Yougenereally set a counter and pass that counter value (in this case the counter value is 2 always)
The other case when you don't have a push button to Insert. Enter all the rows and then do a Page down. Now your cursor would sit back at position 2 again. Say if there are 20 rows in the first screen. You would keep incrementing the counter and then when it is 21 you do a pagedown and then reset the counter to 2. You loop the pagedown and in it you loop the counter.
I have attached a BDC where I use the second case (no push button). Do a recording and then you would know all the answers by yourself.
*& REPORT ZPP0122 *
*& Module : PP |
*& Application : The program loads the Material Assignment of Routings |
*& |
REPORT zpp0122 NO STANDARD PAGE HEADING
MESSAGE-ID z0
LINE-SIZE 132
LINE-COUNT 65(2).
Internal Tables *
*Internal table for the Routing fields.
DATA: BEGIN OF i_rout OCCURS 0,
plnnr(8),
plnal(2),
matnr(18),
werks(4),
END OF i_rout.
DATA:
g_my_rec_in LIKE i_rout.
Declare internal table for Call Transaction and BDC Session
DATA: i_bdc_table LIKE bdcdata OCCURS 0 WITH HEADER LINE.
Global Variables *
DATA: g_counter(2) TYPE n,
g_field_name(18) TYPE c,
zc_yes TYPE syftype VALUE 'X'.
Selection Screen *
SELECTION-SCREEN BEGIN OF BLOCK a WITH FRAME TITLE text-001.
PARAMETERS: p_fname1 TYPE localfile .
SELECTION-SCREEN SKIP 1.
SELECTION-SCREEN BEGIN OF BLOCK b WITH FRAME TITLE text-002.
PARAMETERS: p_rloc1 AS CHECKBOX DEFAULT 'X'.
SELECTION-SCREEN BEGIN OF BLOCK c WITH FRAME TITLE text-005.
PARAMETERS p_group(12) OBLIGATORY DEFAULT 'ZROUTING'.
SELECTION-SCREEN END OF BLOCK c.
SELECTION-SCREEN END OF BLOCK b.
SELECTION-SCREEN END OF BLOCK a.
**WRITE the report header
TOP-OF-PAGE.
INCLUDE zheading.
Start of selection *
START-OF-SELECTION.
Load Input file
PERFORM f_load_input_file.
Create BDC records.
PERFORM create_bdc_records .
*& Form Create_BDC_records
perform the BDC for the records in the internal table
FORM create_bdc_records .
IF NOT i_rout[] IS INITIAL.
Open BDC session
PERFORM open_bdc_session.
LOOP AT i_rout.
g_my_rec_in = i_rout.
AT NEW plnnr.
CLEAR i_bdc_table[].
PERFORM insert_screen_header.
ENDAT.
CONCATENATE 'MAPL-PLNAL(' g_counter ')' INTO g_field_name.
PERFORM bdc_field USING g_field_name i_rout-plnal.
CONCATENATE 'MAPL-MATNR(' g_counter ')' INTO g_field_name.
PERFORM bdc_field USING g_field_name i_rout-matnr.
CONCATENATE 'MAPL-WERKS(' g_counter ')' INTO g_field_name.
PERFORM bdc_field USING g_field_name i_rout-werks.
PERFORM bdc_field USING 'BDC_OKCODE' '/00'.
g_counter = g_counter + 1.
Page Down for further entries
IF g_counter = 19.
PERFORM bdc_field USING 'BDC_OKCODE' '=P+'.
PERFORM bdc_dynpro USING 'SAPLCZDI' '1010'.
g_counter = 2.
ENDIF.
AT END OF plnnr.
PERFORM bdc_field USING 'BDC_OKCODE' '=BACK'.
PERFORM bdc_dynpro USING 'SAPLCPDI' '1200'.
PERFORM bdc_field USING 'BDC_OKCODE' '=BU'.
PERFORM insert_bdc_new.
ENDAT.
ENDLOOP.
CLEAR i_rout[].
PERFORM close_bdc_session.
Release the BDC sessions created
PERFORM release_bdc.
ENDIF.
ENDFORM. " open_group
*& Form bdc_dynpro_start
Call the screen for the input of fields
-->P_G_PROGRAM_1
-->P_G_SCREEN
FORM bdc_dynpro USING p_g_program_1
p_g_screen.
CLEAR i_bdc_table.
i_bdc_table-program = p_g_program_1.
i_bdc_table-dynpro = p_g_screen.
i_bdc_table-dynbegin = 'X'.
APPEND i_bdc_table.
ENDFORM. " bdc_dynpro_start
*& Form bdc_field
Insert field *
FORM bdc_field USING f_name f_value.
IF f_value <> space.
CLEAR i_bdc_table.
i_bdc_table-fnam = f_name.
i_bdc_table-fval = f_value.
APPEND i_bdc_table.
ENDIF.
ENDFORM. "bdc_insert_field
*& Form open_bdc_session
Create the BDC session
FORM open_bdc_session .
Open BDC session and creat and update condition records
CALL FUNCTION 'BDC_OPEN_GROUP'
EXPORTING
client = sy-mandt
DEST = FILLER8
group = p_group
HOLDDATE = FILLER8
keep = 'X'
user = sy-uname
RECORD = FILLER1
PROG = SY-CPROG
IMPORTING
QID =
EXCEPTIONS
client_invalid = 1
destination_invalid = 2
group_invalid = 3
group_is_locked = 4
holddate_invalid = 5
internal_error = 6
queue_error = 7
running = 8
system_lock_error = 9
user_invalid = 10
OTHERS = 11
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. " create_bdc_session
*& Form insert_screen_header
Header Data inserted
FORM insert_screen_header .
g_counter = 1.
First screen
PERFORM bdc_dynpro USING 'SAPLCPDI' '1010'.
PERFORM bdc_field USING 'BDC_CURSOR' 'RC271-PLNNR'.
PERFORM bdc_field USING 'BDC_OKCODE' '=ALUE'.
PERFORM bdc_field USING 'RC271-PLNNR' g_my_rec_in-plnnr.
PERFORM bdc_field USING 'RC27M-MATNR' ' '.
PERFORM bdc_field USING 'RC27M-WERKS' ' '.
PERFORM bdc_field USING 'RC271-PLNAL' ' '.
*next screen
PERFORM bdc_dynpro USING 'SAPLCPDI' '1200'.
PERFORM bdc_field USING 'BDC_OKCODE' '=MTUE'.
*next screen
PERFORM bdc_dynpro USING 'SAPLCZDI' '1010'.
ENDFORM. " insert_screen_header
*& Form insert_bdc
Insert the BDC for the transaction
FORM insert_bdc_new .
CALL FUNCTION 'BDC_INSERT'
EXPORTING
tcode = 'CA02'
POST_LOCAL = NOVBLOCAL
PRINTING = NOPRINT
SIMUBATCH = ' '
CTUPARAMS = ' '
TABLES
dynprotab = i_bdc_table
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.
CLEAR i_bdc_table[].
ENDFORM. " insert_bdc
*& Form close_bdc_session
Close the session
FORM close_bdc_session .
CALL FUNCTION 'BDC_CLOSE_GROUP'
EXCEPTIONS
not_open = 1
queue_error = 2
OTHERS = 3.
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. " close_bdc_session
*& Form f_load_input_file
Load the data file
FORM f_load_input_file.
The data file is from Presentation server
IF p_rloc1 = zc_yes.
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
filename = p_fname1
filetype = 'DAT'
TABLES
data_tab = i_rout
EXCEPTIONS
conversion_error = 1
file_open_error = 2
file_read_error = 3
invalid_type = 4
no_batch = 5
unknown_error = 6
invalid_table_width = 7
gui_refuse_filetransfer = 8
customer_error = 9
OTHERS = 10.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
EXIT.
ENDIF.
ENDIF.
ENDFORM. " f_load_input_file
*& Form release_bdc
Release BDC session
FORM release_bdc.
SUBMIT rsbdcsub WITH mappe EQ p_group
WITH von EQ sy-datum
WITH bis EQ sy-datum
WITH fehler EQ '.'
EXPORTING LIST TO MEMORY
AND RETURN.
ENDFORM.
Regards
Sudheer -
Hi regarding material master and vendor master (mm01,xk01) upload using BDC
hi can any one tell me how to upload material maste and vendor master using BDC.
will the views capture by shdb when i use recording.Hey i suggest you to go to LSMW direct input program method. That's the best option.
Material Master:
Object 0020 Material master
Method 0000
Program Name RMDATIND
Program Type D Direct Input
Vendor Master:
Object 0040 Vendor master
Method 0001 Standard
Program Name RFBIKR00
Program Type B Batch Input -
Posting More than 900 lines not allowing uploading using BDC for FB60
Hi,
When i am upload vendor invoices with More than 900 lineitems using BDC program it is giving the fallowing error .
1 You are entering line item 900 , a maximum of 999 line items are defined
As per i know it will allow 999 line items for one document posting . But i am getting error when i am posting more than 900.
If any body know the solution please share with me .
Thanks
SriHariI vaguely remember that SAP reserves lines for automatically created items e.g. for taxes, you might have run into that limit. Check in that direction with a functional expert, the limit might be configurable.
Thomas
Edit: now I did what you could have done and checked the where-used-list for message F5 138, the 900 is hard coded, and it is just a warning, seemingly to alert the user of the brick wall he is about to hit very soon. -
Hi,
We are using TDMS for transferring the data and for scrambling as well and we need to explore if TDMS can be used for Data upload from SAP to SAP. If yes, how this can be acheived using which TDMS functionality.
Also, how can TDMS be integrated with SAP BODS tool?
Thanks and best regards,Hello Amr,
TDMS can't be used for data upload.
Thanks
Anita -
Data Upload Using CATT for transaction CT04
Hi,
I am doing a data upload for the transaction ct04.I have uploaded the characteristics and characteristics value and description.Now i need to add the documentation for each and every characteristics values.
I created a recording using CATT and when i try to execute it ,the editor screen does not get displayed when i execute in foreground mode and it goes for a short dump.
Any help in this regard is highly appreciated.
Thanks and regards,
VenkatalakshmiHi,
Got this material from a group
check it out
http://www.sapsuperusers.com/ABAPKC/TESTINGTOOLS/ECATT.pdf
Thanks & Regards,
Judith. -
Master data Uploading using QTP
Can any one explain detail about QTP master data uploading.If possible send me the materials abt QTP uploding.
Hi
You won't get ready made template.
You have to prepare the layout according to your requirements.
First check it with the business requirements, and make note of the details and find the relevant fields in the relevant tables of the master data.
Prepare the layout as below:
Say your doing for the Chart of accounts load - Table is SKA1 - take the important fields technical name, character type and length of the field. Enter the data and save it in the desired format.
VVR -
Problem during Rate Routing Upload using BDC.
Dear Sir/Madam,
I am uploading Rate Routings using a BDC program which is working perfectly but having a single problem.
In the initial screen of the transaction CA21(Create Rate Routing), I need to enter only the Material Number and its Plant and all the other fields should be left blank.
But, here the group number field is automatically getting filled with the previous value and it is incrementing the group counter number.
I want the system to allocate different group number for each Routing. I want the group number to be unique.
Thanks,
Ranjan.Dear Ranjan,
While doing recording CA21. you would pass only the material number and plant (i mean you did recording of CA21 based on material number as well as plant not for routing number (group counter))
Routing number (group counter) dynamic (In your case Internal number rage has assigned).
So the Problem is:
1st record of you internal table update smoothly because you program will pass only material and plant
group counter (RC271-PLNNR) field is blank, after update 1st record system will regenerates the
group counter number.
ones the system updates the data it will generates Group counter number and assign to filed :(RC271-PLNNR).
after saving the record system will go loop statement of you program. again program will call the call transaction statement with 2nd record of the internal table. call transaction statement pass the material number and plant field at ca21. but group counter number automatically poulated in the screen field because that time system can't be refresh the initial screen of CA21,
so system will shows previous updated screen ( 1st routing record will show)
Remove your bdc perform and add this code in your BDC perform.
* Start new screen *
FORM BDC_DYNPRO USING PROGRAM DYNPRO.
CLEAR BDCDATA.
BDCDATA-PROGRAM = PROGRAM.
BDCDATA-DYNPRO = DYNPRO.
BDCDATA-DYNBEGIN = 'X'.
APPEND BDCDATA.
ENDFORM.
* Insert field *
FORM BDC_FIELD USING FNAM FVAL.
IF FVAL <> SPACE.
CLEAR BDCDATA.
BDCDATA-FNAM = FNAM.
BDCDATA-FVAL = FVAL.
APPEND BDCDATA.
ENDIF.
* Clearing the Group Counter *
IF FVAL = SPACE.
CLEAR BDCDATA.
BDCDATA-FNAM = FNAM.
BDCDATA-FVAL = FVAL.
APPEND BDCDATA.
ENDIF.
above code: 1st time of call transaction FVAL = space means ( group counter field is blank)
2nd and rest of the time FVAL <> space. means (previous record group number exists for new call transaction ) so system will be by pass with new record.
Check with debugging mode. you will come to whats going in you code.
Even i have go same problem while uploading routing data. i have find out solution after doing my RND.
Regards,
Akshath -
Problem in data upload using pricing conditions with sales deal
hi...
i have to upload following fields -
Condition Type
Condition Table
Valid from
Valid to
Sales deal
Amount/Rate
Currency / %
Pricing Unit
Pricing UoM
Sales organization
Distribution channel
Sold to Party
Material Number
Material Pricing Grp
Batch number
Buying Group of Sold-to
Customer
Customer Group
CustomerHierarchy 01
CustomerHierarchy 02
CustomerHierarchy 03
CustomerHierarchy 04
CustomerHierarchy 05
Division
Sales Order Type
Sales Document Type
End user
Material Group
Tax Classification Material
Payer
Plant
Price Group
Price list type
Pricing reference material
Prod. Hier -1
Prod. Hier -2
Prod. Hier -3
Prod. Hier -4
Prod. Hier -5
Product hierarchy
Region of Dly Plant
Sales district
Sales group
Sales office
Sales unit
Ship-To
Shipping point
Buying Group of end user
Tax classification for customer
Type of Transaction
Scale Basis1
Scale Rate1
Scale Basis2
Scale Rate2
Scale Basis3
Scale Rate3
Scale Basis4
Scale Rate4
using XK15 t-code and SALES DEAL is the major concern.
1) First i used RV14 BTCI , that is a standard report for uploading the pricing conditions. But by using this all fields are updating except SALES DEAL becoz this is not present in the structures (like- BKOND-1, BKOND-2, BKOND-3 etc) that is used in RV14BTCI program. I searched other structures also but SALES DEAL is not present there.
2) Second i tried to find out some Function module that is containg SALES DEAL and i found two FMs - IDOC_INPUT_COND_A and BAPI_PRICES_CONDITIONS.....but
a) the FM - IDOC_INPUT_COND_A is used with ALE and where third party is involved, so we require control data and status data for this I dont have this. so we cant use it.
b) and the FM BAPI_PRICES_CONDITIONS is also not working for SALES DEAL....by using this it is also not uploaded becoz some mandatory information related to sales deal like- sales organisation, distribution channel are not present in this FM.
3) to upload this we can use the BDC recording method.....but the problem is - there are almost 15 condition types and based on these conditions almost 20 - 25 condition tables are there for every condition and based on the every table different screen sequence are there.....so if we go for BDC recording...than we have to make 325 recordings.....also not feasible solution.
so plz give the suggestions for this problem and check my efforts also may be i missed something that can be a solution.
Thanx in advance for all.......plz help.....Hi Jitendra,
Goto RSA3 trans in the source system. Check if are able to extract the data.
If so then replicate the DS once in BW system. Activate all the DS, transfer rules etc & try to load it again.
Hope this will solve your problem!
Regards,
Pavan -
Getting an error while using BAPI for data upload using FB50
Hi,
Can someone please help with the error below :
To Upload Data Using FB50 , am using 'BAPI_ACC_DOCUMENT_POST' FM
and passing values as
obj_type = REACI
obj_KEY = '$'
obj_sys = t000-logsys
getting errors errors in return as
'Error in document: REACI $ R3_AFRICA
G/L account 2511510 is not defined in chart of accounts CSGP(though the account exists in the COA)
Control indicators for controlling area EU01 do not exist'.(we have not input any indicators)
ThanksControl indicators for controlling area (t-code OKKP ) is a primary configuration before the company is set to production. Here we maintain which sub areas of controlling are activated. Have a look at those settings.
Check the validity of the accounts/cost element in the KA03 to ensure the cost element is valid on the date of transaction.
What is the error message number? -
Hi All
I am using LSMW to upload the HR master data. The infotype data that is loaded include the basic infotypes like 0000, 0001, 0002, 0007, 0014 and 0019 (monitoring of tasks). I am using recording method. I can record all infotypes till 0014 in single shot and the recording gets saved at the end of 0014 and gets back to LSMW step. I need 0019 infotype recording also. For this what should I do? How should I record it? Can I record this individually and attach to the above recording? Please help.
Thanks
ShakirHi,
What we do during data convertion is creating each recording separately. I don't think the customer will provide you one data file with all ITs information. Providing he/she has to extract data from his/her system it is likely that you get separeted files. Pelase ensure it won't be this way.
Moreover this approach is less error-prone. Image that you are missing some configuration for one of the infotype, which is in the middle (lets say 4th in the row out of 10). Everything would load correctly till it reaches this "unlucky" infotype. Then the record has status of not loaded. The rest would be skipped and you have missing data. Now you need to start reloading from this wrong infotype to the end. But how about these already loaded? Would you delete the records to avoid duplicating?
That's why I am really encouraging you to take each IT separately approach. It is better to spend some time preparing data files then loosing your nerves when investingating what's in and what's not yet in the system, in case an error occurs.
Regards
Marcin
Maybe you are looking for
-
hi ALL: who can help me? oracle listener can't start now. when run lsnrctl start,the error list: oracle@sun1 admin]$ lsnrctl start LSNRCTL for Linux: Version 9.2.0.1.0 - Production on 18-JUN-2003 16:40:15 Copyright (c) 1991, 2002, Oracle Corporation.
-
Computer Broken Down Due to Skype?
So I've been having problems with my internet and computer for some time now, and I believe it was ever since the beginning of the year. I heard there was some sort of virus at that time. Recently, our computer had suddenly broken down and wouldn't a
-
I created a Java3D java file. I compiled it in a .class file, and I added it in a .htm page (http://www.exacodes.be/BouncingBall.htm) and it doesn't work by my friends computers. At school I was able to see in the console that the Geometry class wass
-
I have a report that is using 3 group totals and the area_count, category_count, and port_count columns are defined to SUM the findings column which is in the table. The output for category count is returning the same data as the Port count but each
-
IPhone 4 videos uploaded to desktop iPhoto have no sound.
I took uploaded several videos from my iPhone 4 to my desktop mac with Yosemite. The video plays but there is no sound. I deleted them from my phone and now I'm close to tears because I seem to have lost my son's performance at school. There was so