Condition record upload
Hi SD gurus..
I need guidance for LSMW.
I am aware of the steps and the Recording method.
My only concern is that I have 3 condition type records to be uploaded...PMIN, PR02 and PR00. All of them have a field name as KSCHL..How to differentiate them...all belong to T685A..how will the system populate the records properly? If not then do I have to upload them separately one after another?
Which T code is better to use? VK11 or VK31?
Please guide me.
Hi..
Since there are 3 condition types that is anyway diffrentiated has an access seuqnce that that the table 685 linked to it.
I would suugest you to load the price one by one and best would be to load it thru BDC as this can accomodate huge volume of records and will not limint yourself compared to LSMW.
May be load rummer would also be agood option.
Thanks
Saurabh
Similar Messages
-
Bulk Pricing condition record upload
can any body help out for , Is there any transaction code for uploading the pricing condition record in BUlk.
Ex: 1000 condition records upload for condition type PR00..
RagardsDear Ramesh,
This you can do by creating an LSMW,one of the mass upload tool.
Regards,
AKD
Edited by: Ashish Dikshit on Sep 19, 2009 9:31 AM -
Conversion problem in condition records upload program (BDC tcode: XK15)
Hello everyone,
I have downloaded few records from table A017 using key KUMNH (cond no), by the std program RVBTCI01 , i used three structures BRG00, BKOND1, BKOND2 and BKOND3 to download the records.
into a file (.txt) on the server.
now i uploaded the same file using the standard prg RV14BTCI (after recording the the transaction XK15 using BDC).
the amount field in bkond structure BKOND2-KEBTR is giving the conversion error while uploading ,
it is giving ERROR when the session is processed in sm35
it is not accepting the decimal places while uploading the amount field.
when amount field is made integer its working fine..
this is happening with fields MXWRT and GKWRT too .... (infact in all places where the decimals are used)
any pointers to solve this ???hi avinash,
the data elt used for KONP-KBETR in table is
KBETR_KOND ( which is of type CURR , length 11 and 2 decimal)
the data elt used for BKOND2-KBETR in structure is
BKBETR ( which is of type CHAR , length 15 and 0 decimal)
so dat i can download len(11)point(1)decimal(2) total 15 digits in the structure of 15 char
now the problem comes when i am uploading the same back into the table KONP-KEBTR
which is of type CURR as mentioned above
plz help to solve dis -
Mass Upload of condition records in APO system.
Hi All,
I wanted to mass upload condition records in to the APO system for the transaction /N/SAPCND/AO11 from an external file.
Is there any FM available?
If FM is not available...which one is the best way to do this?
LSMW?? or BDC???
Please guide me..
Thanks,
Babu KilariAt least the key fields of the conditiontable
(here 800) must be filled in structure ls_komg.
ls_komg-vbeln = '1234567890'. " document number
ls_komg-posnr = '000010'. " item number
clear wt_komv.
ls_komv-kappl = 'V '. " Application V = Sales
ls_komv-kschl = lc_kschl. " Condition type
ls_komv-waers = 'EUR'. " Currency
ls_komv-kmein = 'ST'. " Unit of measurement
ls_komv-kpein = '1'.
ls_komv-krech = 'M'. " calculation type;
"M = Quantity - monthy price
ls_komv-kbetr = '1234.56'. " new condition value
append ls_komv to lt_komv.
call function 'RV_CONDITION_COPY'
exporting
application = 'V'
condition_table = '800' " cond. table
condition_type = lc_kschl " cond. type
date_from = '20061101' " valid on
date_to = '20061130' " valid to
enqueue = 'X' " lock entry
i_komk = ls_komk
i_komp = ls_komp
key_fields = ls_komg " key fields
maintain_mode = 'A' " A= create
" B= change,
" C= display
" D= create
with reference
no_authority_check = 'X'
keep_old_records = 'X'
overlap_confirmed = 'X'
no_db_update = space
importing
e_komk = ls_komk
e_komp = ls_komp
new_record = lv_new_record
tables
copy_records = lt_komv
exceptions -
Upload condition records in SD
Hi,
How to upload more condition records in SD
kathir.Hi,
U can do it using VK11 itself. If u hv only 100 materials then it is beeter to do it manually. One condition record page itself will take around 10 materials. So just create excel sheet same as vk11 condition record format, copy & paste it.
otherwise u need to go with BDC or LSMW.
Regards, -
FM to upload condition records into inforecord (ME12).
Hai experts,
Can any one let me know if there is a FM or BAPI which can be used to update/upload condition records into inforecord (Transaction ME12). I need to know it to write a program for mass change/adding of conditions for huge number of inforecords.
A sample program would be more helpful for me.
Thanks in advance.
Matt.Hi,
Please try given below code.
CALL FUNCTION 'ME_INITIALIZE_INFORECORD'.
CALL FUNCTION 'ME_DIRECT_INPUT_INFORECORD'
EXPORTING
activity = 'V'
i_eina = ls_eina
i_eine = ls_eine
i_no_suppose = ' '
i_vorga = 'A'
IMPORTING
e_eina = ls_eina_new
e_eine = ls_eine_new
TABLES
t_head = lt_head
t_line = lt_line
EXCEPTIONS
textname_invalid = 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.
ELSE.
CALL FUNCTION 'ME_POST_INFORECORD'
EXPORTING
i_matnr = ls_eina-matnr
o_matnr = ls_eina-matnr
TABLES
t_eina_i = lt_eina.
IF sy-subrc IS INITIAL.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
Regards,
Narendra -
How to use upload condition record program RV14BTCI
Hi
how to use upload condition record program RV14BTCI.
kathir.Hi,
To run this program we have to maintain Upload file in Application Directory,
We have to maintain 3 levels of records in that file.. my feel you upload through BDC or LSMW.
For your information,
The batch input program RV14BTCI reads the parameters is necessary
Giving sequential file and creates (depending on the data
In the file seq) one or more batch input sessions.
The data are seq file in the following structure expected:
- The session a session intent (Table KOBTCI, Record 0)
All other records until the next session, the intent
Last session assigned to read
- The head condition Sentence (Table KOBTCI, record 1)
All other records until the next condition,
Last read head appropriate rate
This includes the corresponding condition
Condition table
- The key sentence of a Main (Table KOBTCI, record 2)
It must be directly on the head set to follow
It contains the key condition of the table
+ Detail fields
- The season record has a subordinate clause (Table KOBTCI, record 3)
The teams relate to the key sentence in the main
Best Regards,
KSK -
Error in BDOC while uploading the pricing condition record to ECC from CRM
Hi all,
I have created a condition record for ECC pricing condition type (I have maintained all settings required for maintaining ECC condition type in CRM 7.0) in CRM 7.0. But theis condition record is not uploaded to ECC. I have checked BDOC, it is showing with error status for BDOC type "CND_M_SUP". The errors are as below.
1. sBDoc CNBCCPSAP005 does not contain structure CDBD_CONDREF
Message no. CND_MAST064
2. sBDoc CNBCCPSAP005 does not contain structure CDBD_CONDREF
Message no. CND_MAST064
3. Service that caused the error: CND_MAST_INT_DEEP_MB_TO_SBDOC
Message no. SMO8047Diagnosis
A service caused/ reported an error.
Can some one help me in fixing this issue please.
Thanks in advance,
JM
Edited by: JM on Sep 7, 2010 4:46 PMHi,
sBDOCs are not used in ECC to CRM or CRM to ECC data replication scenario. You can either ignore the error or disable mobile bridge.
Regards
Prasenjit -
Error while uploading conditions records in MEK1
Hi All,
I have a code that updates condition records in MEK1 from an excel sheet. The no of records in an excel sheet can go up to 60 k records. If i try to upload 5000 records, the coditions records are saved successfully. But then, if I try to upload 10000 records i get a error saying " Condition blocked by user " . On debugging I found out that the user id is mine. That is, same id as the person who is trying to upload records. The transaction is not open in any window as well.
My question is, why do we encounter this error and is there any limit to number of records that can be uploaded at a time in MEK1?
Thanks in advance,
SapnaHi Rao,
For blocking you can commit in intevals or you can use wait command but it will take extra time but your records will update in one go,when a condition record is created,then after you try to update for same material or plant thats the reason its blocking,you can either use wait or adjust your excel files and avoid duplication of materials or whatever you are using in sequential manner. -
Pricing Condition Records initial upload - COND_A
Hi,
I have configured outbound COND_A pricing condition Idocs for Change documents. Whenever the pricing condition is changed IDoc will be generated.
Now my requirement is how can I do the initial upload of existing Pricing Condition records to legacy system? I mean how can I generate Outbound IDocs for existing pricing condition records to do initial upload.
Thanks in advance for your help.
Rgds,
AKHI,
way1:
if you are using Sretail (ARTMAS) then you can use BD10 tcode with the flag "send all data".
In that case the COND_A for every ARTMAS is send.
way2:
1. if you want to send a all condition, then go to MEK3 choose your conditiont ype and push "condition Info".
2. Make your selection and go ahead with F8
3. Push "Send condition" -
Upload Condition Records?
Hi MM Gurus,
I would like to upload the condition records. (not info records).
Are there any standard functionality available for this purpose? I had seen a Standard Direct Input Data Transfer Object in LSMW. But, I don't know how to use this, like for various Access sequences for a single condition type, even though I know LSMW upload method for Material, POs etc..
Please can anyone suggest me which will be the better way to upload the condition records?
Thanks & Regards,
RamkumarHi,
We use a BDC to load condition records (pricing) for both material and services.
Cheers ! -
How to mass upload shipment condition records
Hi buddy,
TK11 - shipment condition records
how can you mass upload shipment condition records, anyother bapi available for the mass upload for TK11.
thanks
pauldharmaHi ,
To creae the Target Group for that BPs . You need to make a selection with their common Attribute value .
For Example :
You have a requirement to Target the Indian Customers then you create a Target Group like this .
Attribute values :
BP Role : Customer
Country : India
Select Attribute List : GL-ORG Master and Relationship Data
Attributes : BP Role : Filter value 'Customer '
Country : Filter value 'India '.
Select : AND Across All Attribute as logical selection .
Press Cntrl Key and select both the Attribute Values and drag to the staging area then you get the Customers in India .
This way you find out the Common Attribute values to the BPs you need to Target and create a Target Group and Use the TG for the report .
Hope this helps .
Regards ,
Nagaraju D. -
Bapi or FM for uploading the condition records
HI,
i wanted know that is there any way to uplaod the condition records to sap by using any BAPI or FM or any standard program.
this is urgent.
thankx in advance
regards,
hppHi,
Use the BAPI BAPI_PRICES_CONDITIONS to load the pricing conditions..
Check this link for a sample code..
Re: Sample code for BAPI_PRICES_CONDITIONS
Thanks,
Naren -
Creating condition record by uploading
Hello all,
I am using FM BAPI_PRICES_CONDITIONS to create condition record.
But its creating the record even if i gave the invalid details ( like invalid material number,...).
Can you please tell me how can i handle the errors using this FM.
Thanks in advance.
regards,
Lokeshhi..
This code snippet inserts a condition record for Pricing condition type Z123 with key sales order
and line number.
CONSTANTS: lc_kschl_z123 TYPE kscha VALUE 'Z123'.
DATA: lv_datum TYPE sydatum,
lv_count TYPE kopos,
lv_unit TYPE kpein,
is_bapicondct TYPE bapicondct,
is_bapicondhd TYPE bapicondhd,
is_bapicondit TYPE bapicondit,
it_bapicondct TYPE STANDARD TABLE OF bapicondct,
it_bapicondhd TYPE STANDARD TABLE OF bapicondhd,
it_bapicondit TYPE STANDARD TABLE OF bapicondit,
it_bapicondqs TYPE STANDARD TABLE OF bapicondqs,
it_bapicondvs TYPE STANDARD TABLE OF bapicondvs,
it_bapiret2 TYPE STANDARD TABLE OF bapiret2,
is_bapiret2 TYPE bapiret2,
it_bapiknumhs TYPE STANDARD TABLE OF bapiknumhs,
it_mem_initial TYPE STANDARD TABLE OF cnd_mem_initial.
lv_datum = sy-datum.
lv_count = 1.
LOOP AT gt_vbap INTO wa_vbap.
* BAPI Structure for Condition Tables
is_bapicondct-operation = '009'.
is_bapicondct-table_no = '700'.
is_bapicondct-applicatio = 'V'.
is_bapicondct-cond_usage = 'A'.
is_bapicondct-cond_type = lc_kschl_z123.
"Set the varkey from A700 table key fields
CONCATENATE wa_vbap-vbeln wa_vbap-posnr
INTO is_bapicondct-varkey.
is_bapicondct-valid_to = '12/31/2009'.
is_bapicondct-valid_from = lv_datum.
is_bapicondct-cond_no = '$000000001'.
**** BAPI Structure of KONH with English Field Names
is_bapicondhd-operation = '009'.
is_bapicondhd-cond_no = '$000000001'.
is_bapicondhd-created_by = sy-uname.
is_bapicondhd-creat_date = sy-datum.
is_bapicondhd-cond_usage = 'A'.
is_bapicondhd-table_no = '700'.
is_bapicondhd-applicatio = 'V'.
is_bapicondhd-cond_type = lc_kschl_z123.
is_bapicondhd-varkey = is_bapicondct-varkey.
is_bapicondhd-valid_to = '12/31/2009'.
is_bapicondhd-valid_from = lv_datum.
*** BAPI Structure of KONP with English Field Names
CLEAR is_bapicondit.
is_bapicondit-operation = '009'.
is_bapicondit-cond_no = '$000000001'.
is_bapicondit-cond_count = lv_count.
is_bapicondit-applicatio = 'V'.
is_bapicondit-cond_type = lc_kschl_z123.
is_bapicondit-scaletype = 'A'.
is_bapicondit-scalebasin = 'B'.
ADD 1 TO is_bapicondit-scale_qty.
is_bapicondit-calctypcon = 'B'.
lv_unit = wa_vbap-kwmeng.
is_bapicondit-cond_p_unt = lv_unit.
is_bapicondit-cond_value = wa_vbap-value.
is_bapicondit-condcurr = wa_vbap-waerk.
APPEND: is_bapicondct TO it_bapicondct,
is_bapicondhd TO it_bapicondhd,
is_bapicondit TO it_bapicondit.
ENDLOOP.
*** BAPI for pricing Condition Records
CALL FUNCTION 'BAPI_PRICES_CONDITIONS'
TABLES
ti_bapicondct = it_bapicondct
ti_bapicondhd = it_bapicondhd
ti_bapicondit = it_bapicondit
ti_bapicondqs = it_bapicondqs
ti_bapicondvs = it_bapicondvs
to_bapiret2 = it_bapiret2
to_bapiknumhs = it_bapiknumhs
to_mem_initial = it_mem_initial
EXCEPTIONS
update_error = 1
OTHERS = 2.
IF sy-subrc EQ 0.
WRITE: /1 'Return Messages for Condition create'(t03).
LOOP AT it_bapiret2 INTO is_bapiret2.
WRITE: /1 is_bapiret2-message.
ENDLOOP.
ULINE.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'
IMPORTING
return = is_bapiret2.
ENDIF. -
How to update all condition records at a time with some percentage or some
Dear Sir,
In PRD system we have more than 600 condtion records.
Noe desiel hikes happend, due to that client want to update all condition records(600) at a time with required percentage or required value.
How to update all records at a time
With regards
LakshmikanthHi,
Through BDC or LSMW first you have to do the recording for particular transaction code and then base on that u have to prepare the flat file to upload the file for the same.
For BDC programing you have to take the help of ABAP progmer but LSMW you can also do.
For more information about LSMW plz go to following link :
[LSMW |http://www.slideshare.net/arun_bala1/sap-sd-lsmw-legacy-system-migration-workbench/]
[Step-by-Step Guide for using LSMW|www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc ]
BDC
[BDC Call Transaction|http://www.sapdevelopment.co.uk/bdc/bdc_ctcode.htm]
[BDC Recording|http://www.sapdevelopment.co.uk/bdc/bdc_recording.htm]
But it would be better for you to please contact to your ABAPer for BDC programming.
Cheers...
Maybe you are looking for
-
I signed up for Match but when I added new albums, they failed to appear. Ultimately I got a message to Sign Out and then Sign In to the Apple Store tab under iTunes. I then added the computer back to Match. It went through the process and uploade
-
How can i change unit of measurement in sales order on header
Dear all, I have material master with base unit of measurement " Ea ". I have to take unit Pc in sales order. how can i change unit on header in sales order. i changed unit on line item in sales order by setting in sales unit field in material master
-
My library wont show up in itunes goes to blank screen will play songs just cant see them
can't get my library to stay on itunes screen pops up for a minute then goes blank it will play my songs and tells me how many songs are in library but i can't see how to get it stay on screen
-
Printing: JDE BIP & Troy Font
Environment: JDE & BIP Printer Type: HP (PCL type printer) Troy Font: Troy E13B.ttf Why utilize the Troy font .... security. The Troy font is where it appears in reverse locally but the printer will convert it to the correct font. History: 1. After c
-
Transparency Flattener Settings
I have been getting conflicting information about the settings for the transparency flattener preset options when creating PDFs out of InDesign and I wanted to get things straight. From one side I was told to change the setting to read: Raster/Vector