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 Kilari
At 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
Similar Messages
-
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. -
Mass upload for info records when price gets changes
Dear All,
How to do Mass upload for info records when price gets change.
Regards,
BhargavHi Bhargav,
Please upload the present price (Map) by LSMW . When you are doing the transactions then automatically by selecting option info update price will be updated the info record in Order Price history
Regards
M B Raju -
Mass download of condition records from ECC to CRM
Hi Team,
We need to download many condition records from ECC to CRM. We are doing a request download but it takes lot of time. Is there a way to do a mass download of condition records form ECC to CRM.
Regards,
Jan.Hi Robert,
We have all the articles in CRM but the prices are not matching for 2000 articles. Kindly suggest us in doing a mass download of the condition records for those 2000 articles.
Regards,
Jan -
Mass maintainance of condition records?
Hi
I want to know the concept of mass maintainance of condition records in SAP-SD-Pricing.
ThanksHi Subhash,
For Mass Maitenance or Loading of Pricing Condition records, you can use LSMW. Here you can choose either a Standard Batch Input or Recording, or BAPI
The easiest what I felt is Recording. here if you opted to change condition records (you can choose VK12 as the T code) else if you wished to mass load the condition records you can choose VK11 or VK15.
once the recording is complete, you need to give a name to your recording, and then assign a Data structure name to it. after which you can assign the source fields. for this first you will create a list of source fields which you can get by checking what you have recorded, and pick the fields. (as there is an option to see the object list of your recording thus you can identify the recorded fields).
once the source fields are created, you need to map the source field with the source Structure. you can select each field and click the assign button which will pop up a list of the recorded fileds, you can then assign each of them to the respective source fileds. (this is what we call source field mapping)
The Next task is to specify and assign an input file, for LSMW script to read and convert. This input file should have all the records that you wish to add or change as per the source field record structure. You can create the input file as an XL file with all the data, and then save it as a .CSV file. and then specify during the assign file as it is a comma seperated delimiter.
then Choose the convert option to do a data conversion, and then finally process the Batch session, to check your results.
LSMW will successfully change or create Mass data (whether master records for pricing codition or whether mass sales /purchase Transaction data )
Hope this may be what you are expecting.
cheers
Prasad
Singapore. -
Mass delete of condition records
Hi All,
Please advise if there is a mass delete function of condition records. I have uploaded prices for customer/material conbination for the month of novemver and i want to delete them all. I can do it one by one but it will take tooooo long. Also please advise that if a record is marked for delete indicator, then can it be used again ? or can i reomve it completely becasue i want to upload again with correct prices.
Appreciate your help
SAPXPTHi,
Let's get one by one.
> Please advise if there is a mass delete function of condition records. I have uploaded prices for customer/material conbination for the month of novemver and i want to delete them all. I can do it one by one but it will take tooooo long.
There is no such Transaction available to delete those like in MASS.
Best thing is to use a LSMW with VK12 transaction.
> Also please advise that if a record is marked for delete indicator, then can it be used again ?
Yes, You can.
Once marked for deletion they won't appear in the sales order automatically. Pricing Analysis will show you like this.
"Condition record has been deleted"
If you want to use it again go to VK12, and go in to your condition record.
Highlight the condition line item and press "Details" button (Magnifying Glass)
Un-tick the "Deletion lndicator" check box.
Save.
Then you can use it again as normal way.
> can i reomve it completely becasue i want to upload again with correct prices.
Yes, You can.
You can remove it completely from the data base. First you have to configuret your condition type in IMG to enable that function..
Go to V/06
Select you condition record & go in to details.
There you get a filed called "delete fr. DB" under "Master data" section.
Change it to "A with popup" or "B without popup".
Which means your going to delete it from the data base. (Where as you cannot use it again, like you do in Deletion indicator)
Save
Then come to VK12,
Go in to your condition record.
Highlight the condition line item and press Delete button from lower area.
If you set "A with pop up" in the condition record, you'll get a pop up saying,
"The condition type XXXX is set so that when the deletion indicator is set, the condition record can be physically deleted from the database.Do you want to delete the condition record physically?"
Once save system will delete it from the data base.
If you set "B without pop up", system will delete it without a pop up.
Hope this helps you !
Best regards,
Anupa -
Mass change for condition record
I try to change the condition record for material with validity period of one year starting next year Jan 1st. Since that material is already exists in the system with validity period of current date to 12/31/9999, it is not saving my changes. When increase price by 5%, it is not giving any problem but when I display to see the changes "Environment-Changes-Per condition record", it is giving an popup box saying "Change documents for conditions not yet save are not possible"
I try to delete material condition with longer period. It is deleting at that moment but when I come back and see still that material exists with longer period.
how do I deal with this problem to solve?
Fully rewarded for solution.
Thanks,
Manu.Hi Manu;
At any given point in time you can have only one valid condition record with a validity period.
1. Create a condition record with validity from today to 12/31/2007
2. Create a condition record with validity from 01/01/2008 to ....
You issue would be solved.
Regards. -
Mass updation of Condition Records.
Hi All,
I need to update Condition Exclusion Indicator in Condition Record for 3 Z Conditions. I have checked it is not possible using Mass Maintenance. Could you suggest either I should use LSMW or Scat to update all the records.
Thanks & Regards,
Sam Rock.Hi Sam,
I suggest LSMW.
Regards,
MT -
Mass change of condition record
Hi friends,
One of my client has created a condition record for a pricing condition type long back by mistake. So lot of sale orders have been generated which included that condition record. Now he wants to delete that condition record for all that sale orders. Is there any chance of deleting that condition record for all the sale orders at once in mass level?
Rama raoDear Rama
Go to VK12, change the pricing date to old date (From and To Date may be same) and save.
Now go to MASS, give Object Type "BUS2032" and execute. Here under the Tab, select the Table "Sales Order Item Data" and go to "Fields" tab. Here select the field "Pricing date (MASSSD)" and execute. Now change the date what you have maintained in VK12.
thanks
G. Lakshmipathi -
Mass Uploading of Result Recording + Usage Decision.
Dear Gurus,
Are there any BAPI or BADI to Mass upload RESULT RECORDING(t code QE23) + USAGE DECISION(QA11) through an excel in the fore ground mode and back ground mode
Regards
ShoibRESULT RECORDING : BAPI_INSPCHAR_SETRESULT
UD: BAPI_INSPLOT_SETUSAGEDECISION -
MASS CHANGE OG CONDITION RECORD CST CONDITION TYPE
Dear SD experts,
Could anyone plzz suggest me how to change the condition type for CST from 3% to 2% .
There rae some 2500 records how to change it.
I had taken the key combination as
Country/Plant Region/Region.TAXC11Cust/tax mat
RegardsJAYANTHHi Manu;
At any given point in time you can have only one valid condition record with a validity period.
1. Create a condition record with validity from today to 12/31/2007
2. Create a condition record with validity from 01/01/2008 to ....
You issue would be solved.
Regards. -
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 -
Mass Deletion of Condition Records
Hi
I have created tax condn. records for various combination of plant regions and customer regoins. Can you pls. tell me how can I delete all of them without going to VK12 for each separately? Is there any mass deletion facility. LSMW does not work here since it is not defaulting the region fields.
Thanksanswered
Solution - the values would be replaced once i upload new values th. LSMW
Thanks -
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 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,
Maybe you are looking for
-
I have lost my apple ID for my ipod, now ive got a new iphone and i want to use the same ID for both, can anyone one tell me how to do this? ( i no my ID for the iphone)
-
Hi! I have changed my Apple-ID to a new mailadress. But I have not been able to change the iCloud-adress in my iPhone. The iPhone just asks for my password to the old Apple-ID. Can anyone help?
-
Can't get rid of the unlisted points
I set up the #mainnav ul selector and tried to get rid of the points but I can't.I just don't really understand what's going wrong
-
Connecting Netweaver gateway with SUP 2.1 for oData channel
Hi, we are using Generic Channel to deploy the oData service, what we would like to do is, we want to connect NWGW with SUP 2.1 so for that I have created an RFC connection in sm59 in NWGW under HTTP Connections to External Server and I have named it
-
I am new to Aperture and have a question about photo resizing. Many of you have heard of content aware resizing, does Aperture have something like that? I have to crop some pics and the object needs to be the same size as the original and not distort