LSMW with PIR line deletion of condition pricing .. possible ? how?

Hi,
May I ask your opinion of using LSMW to delete one PIR condition line item of one particular period? Is this possible via LSMW?
For example,
PB00--12.12.2001-to---12.12.2010-30--DKK
PB00--13.12.2010-to---12.12.2099-30--DKK
PB00--13.12.2099-to---12.12.3000-30--DKK (I want to delete this line)
if possible, may I know if the method is A) Standard Batch/Direct Input, OR, B) Batch Input Recording?
Personally, I think it should be A method, because I don't think LSMW is able to recognize which period line condition I want to delete during ME12 recording of deletion, am I right?
If method A is possible, is there a particular field that I can use to represent the deletion of the line?
Please share your experience.
thanks
Tuff

Hi Nijamu,
Do you mean I use the recording method (i.e. the B method I mentioned earlier), and do a recording by deleting the line condition I wanted to delete;
Next I put in all the pricing condition line item (ie. which consists of all the VALID-TO on year 3000) which I wanted to delete in excel and later tab limited file.
The above will work?
But may I ask, when LSMW look at my file, will it recognize the line base on my file and delete the correct pricing line item?? because it is important it does not delete all the pricing condition line item or delete the WRONG line item..
please double confirm, but I will try with few test. but please dobulec confirm to me .. thanks.
tuff

Similar Messages

  • Lsmw with multiple line

    Hi,
    I need to change/edit  payment transaction at vendor master data (FK02).
    The vendor already have 1st row with bank ctry, bank key, bank number, now i need to add another row but I am unable to do it.
    When we record via lsmw, the recording is okay but in the final output the 2nd line over write the 1st line item.
    Please advice how to create 2 or more line items at payment transaction via lsmw.

    Create the details in one line ie:
    Vendor #       Company code          Bank Country 1      Bank Country 2         Key1        Key2       bank A/C 1       bank A/C2
    If the country is always US create a constant rule while mapping
    To verify this, check the Field Mapping in LSMW
    Edited by: Vinod Martin on Apr 12, 2010 10:54 PM

  • When trying to edit or download a pdf document, it becomes too large or on screen or normal size with many lines of text blacked out. How do I get it to do the normal presentation of the document

    For years my pdf docs downloaded for viewing or editing as normally sized documents.
    Now when I pull up a pdf from file, it becomes too large or becomes normal page size but many of the lines of text are blacked out. How do I correct it to go back to the previous default page size?

    Hi wh4936,
    Are you opening those files in Acrobat or Reader? You can set the default page size in the Page Display preferences. Choose Acrobat/Reader > Preferences in Mac OS, or Edit > Preferences in Windows to access the preference settings. Do the black lines only appear when the PDF is zoomed in? Or are they there regardless of the page magnification?
    Best,
    Sara

  • While syncing iphone to itunes I get this warning- "Itunes cannot backup iphone because backup was corrupt or not compatible with iphone. Delete backup and retry. How do I do this?

    How do I delete the current backup file of iphone in itunes?

    (This is a really old thread, but I'm answering anyhow because I see 11 "I have this question too!" )
    If you go to the iTunes Preferences menu, there should be a "Devices" tab. In the Devices section, you'll see a list of all of your devices' backups and you can delete the problematic one.
    If you don't see the backup, see the section "Where Your Backups Are Stored" on this support page: Create and delete iPhone, iPad, and iPod touch backups in iTunes - Apple Support

  • PO to SO IDoc change (ORDCHG) - Extra condition pricing line generated. Why?

    Hi guys,
    My ECC6 system currently has an IDoc automation setup where creation/change of Purch Order will also trigger creation/change of Sales Order.
    By default, condition pricing type will be PB00 or PBXX. I have implemented some code in EXIT_SAPLVEDB_001 to modify PBXX to ZP10.
    This is done by modifying KSCHL in condition table DXKOMV in idoc segment E1EDP05.
    What i want to achieve is when any current value is changed in the PO for PBXX, this new value should also reflect in ZP10 in the corresponding SO.
    This is the problem i am currently facing:
    1. First time change PBXX value in PO, ZP10 value in SO is changed correctly.
    2. Second time changing the same PBXX line item value in the same PO, a brand new ZP10 line is generated in SO with the new value. The existing ZP10 line remains with old value and becomes inactive.
    Is this normal behaviour? How do i ensure that a new ZP10 line does not get generated in the SO but is only being updated when there is an update in the PO?
    Please help. Any input would be greatly appreciated.
    Thanks in advance!

    Hi Vioth,
          Did you got solution for thsi i am also facing the same problem.If you konw the solution kindly suggest the solution for this
    Thanks in Adavce,
    Regards...............Kishore

  • Deletion of bulk pricing condition records

    Hello thr,
    I have thousands of pricing condition records to be deleted. I use condition type ZP01 in VK12 and select the key combination customer/material and then enter the details and then mark the condition record for deletion. To delete the next condition record, I need to go back and do the entire process again. Could someone please let me know if there is a txn that can help me do this in one step.
    Thanks very much for your help.

    Hi Swetha,
    If you want to delete all conditions for ZP01 condition type, you need to create a LSMW batch input from LSMW t-code. you can check and try followings:
    [https://wiki.sdn.sap.com/wiki/display/ABAP/LSMW%20steps%20-Batch%20Input%20Recording]
    [http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc]
    You should go to in LSMW t-code, a recording should be created for one record from VK12 t-code and it can be run for all records like same from SM35 t-code.
    Please follow the links above for VK12 condition deletion.
    I hope these will meet your requirement fully.
    Regards,

  • LSMW program to upload the sales order with multiple line items.

    Dear SD and PP Gurus,
    I am new to creating LSMW Program.
    I want to create a LSMW program to upload the sales order with multiple line items. I have read on SDN that it can be done on two phases. First Create Header Data than line items. IS IT TRUE??, Or
    Is there any procedure by which we can load the sales orders with multiple line items in a single run (part).
    I want to use Batch process, not a BAPI or IDOC procedure.
    I have created a program with
    object 0090
    Method 0000
    Program Name RVINVB10
    Program Type D
    Source Structure 1 - For Header and Source Structure 2  for Line Items.
    Mapped Field INDET (With Fix Value 1), ORDERTYPE, SALESORG, DISTCHANNEL, DIVISION, CUSTOMER, PONUMBER , DELVDATE, PRCGDATE, PMTTERM
    INCOT1 INCOT2 with Source Structure - 1 and
    Field INDENT (With Fix Value 2),  ITEMNO, MATCODE, MATQTY, SUOM, PLANT, BATCH, AMOUNT with Structure-2
    than maintained Structure relation ship, field Mapping, Specified Files, Assigned files, Read Data and other process,
    At final stage (Start Direct Input program RVINVB10) it is giving a message - Table name not allowed.
    Please tell me where I am wrong.
    Thanks in advance.
    DSC

    Dear SD Gurus n Experts,
    I have solved the above problem. But there is another problem appearing regarding the date format. Now system generating a message: Date . . is not valid.
    While I am using Date: YYYYMMDD format in flat file, which is SAP's Standard Format.
    In SDN Link: LSMW upload Sales Order using VA01/VA02     I have found that there are some date fields which are mandatory to filled. Here I have mapped
    VDATU - Requested delivery date,  BSTDK - Customer purchase order date,  PRSDT - Date for pricing and exchange rate,  BSTDK_E - Ship-to party's PO date, FKDAT - Billing Date, KORDT - Delivery Date,
    and PRGRS - Date type is Constant = D
    Can any one tell me, where is the priblem.
    With thanks,
    DSC

  • Unable to create PO with multiple line items through LSMW-BAPI method

    Hi All,
    I have a requirement of creating PO through LSMW. I can't use LSMW standard batch input program since there are some fileds not available and also it has many limitations. I'm using LSMW-BAPI method ( Business object BUS2012) which create IDOC and uses BAPI_PO_CREATE1 to ultimately post the PO in the system. I am trying to create PO from a single file which contains both Header and Item data.
    Now my problem is that everytime PO is being created with Single line item only. Everytime I am giving multiple item data in the source file LSMW is preparing multiple IDOCs for multiple line items. As per my understanding this is happenng since header and item is in the same hierarchy level of IDOC type PORDCR102 and the control record is inserted for every line item in the source file.
    It seems that through LSMW-BAPI  it is not possible to create PO with multiple line items. Can anybody provide some input regarding this? Thanks in advance.
    BR,
    Atanu Mukherjee

    Solved by myself.
    Earlier the problem was that LSMW was not being able to recognize items under same header. It was creating new IDOCs every time it gets a new item. To enable this we need to create two structure HEADERDATA and ITEMDATA.  Two additional identifier fields with identifier value 'H' and 'I' should be added in these two structures respectively. Then we need one sequential file with the identifiers field followed by the header and Item data. Example:
    H~header data
    I~item data
    I~item data 
    This would help the standard program to understand what are the items under same header and ultimately create PO with multiple line items.
    BR,
    Atanu Mukherjee

  • Conversion - Doc with multiple line items - LSMW

    Hi Friends,
       I have got a flat file that holds all the open sales orders from a legacy system. I need to upload these data into R/3. If i use LSMW it creates a separate sales order for each line item of a single sales order. That is i am unable to get all the line items for a sales order.How to go about it?.
    Quick replies would be rewarded.
    Regards,
    Tamilarasan.

    Hi,
    of course. We were talking of two approaches, here is a simple one (with one input file):
    1) Source structure definition
    I define several structures (head level / line level)
    ART_HEAD                 Article E1BPE1MATHEAD                                                                               
    5  ART_SITE                 Logistic view source E1BPE1MARCRT 
                                                                              ART_MBEW                 Article Valuation E1BPE1MBEWRT
    (Sorry, can't see correctly the copy, but art_site is below art_head and can contain several sites for one article)
    2) Maintain source fields
    Group your fields into header and line values. In both strucutes one identifier is needed:
    ART_HEAD                  Article E1BPE1MATHEAD                                                                               
    IDENT                          C(010)    Structure Identifier 1     
                                        Identifing Field Content: HEAD       
         HEAD_MATERIAL                  C(018)    Article number             
    Assign all needed fields, double click on field IDENT, you will see attribute 'Identifying field content'.
    3) Maintain Structure relations
    Header fields of BAPI (or whatever method you use) your head-structure has to be assigned, line (tables) input has to be assigned to line-structure.
    4) Field mapping: quite normal
    5) Import file example (tabulator separated text file):
    HEAD  1000014 20050706    OR
    LINE  5334667    15    ST   23,15   EUR
    LINE  5334669    20    ST   15,89   EUR
    HEAD ....
    LINE ....
    LINE ....
    LINE .... and so one
    So no field names, just the field values according to your source field definition. Don't ask me, how to create such a text file, I managed it somehow with some formulas. Visual basic might help better.
    Please ask for me details if necessary.
    The other option of Murugesh uses three files instead: header values, line values, link values. Looks like some online information will tell how to use them in LSMW.
    Regards,
    Christian

  • Procedure for creating Recording in  LSMW with header data and line item

    Hello Friends,
    I have to do the Initial Upload of Model Service specification using LSMW ( Recording).
    Transaction : ML10
    The problem i am facing is that i have been given 2 files one with HEADER data and the other with LINE ITEM(Service data).
    Can we use the RECORDING method to upload 2 files?
    If not possible how do we proceed.
    Thanks and regards
    Ashish Naik.

    Step-by-Step Procedure:
    Details of the BAPI used in this scenario:
    Business Object: BUS2012
    Method: CreateFromData
    Details of Message Type and Basic IDoc Type:
    Message Type: PORDCR
    Basic IDoc Type: PORDCR02
    Letu2019s have a look at the BAPI first, before proceeding to the LSMW:
    1.     Go to Transaction BAPI
    2.     Click on Search Button
    3.     Enter the value u201CBUS2012u201D and select u201CObj.type(Technical Object Nameu201D
    4.     Press ENTER
    5.     Following screen appears:
    6.     On the left side of the screen, Expand the u201CPurchaseOrderu201D.
    7.     Select u201CPurchaseOrderu201D and double-click on the same for details.
    Building LSMW using BAPI:
    1. Go to Transaction LSMW.
    2. Enter the Project, Subproject and Object information and click on CREATE.
    3. Enter the descriptions for Project, Subproject and Object as prompted.
    4. Now select Settings à IDoc Inbound Processing
    5. u201CIDoc Inbound Processingu201D screen appears. Enter the required details as shown below:
    6. Click on u201CActivate IDoc Inbound Processingu201D.
    7. Click on u201CYesu201D when prompted for u201CActivate IDoc Inbound?u201D
    8. Hit on u201CBacku201D to return to the main screen.
    9. Click on Continue (F8). Following Screen appears:
    10. Select the Step 1 u201CMaintain Object Attributesu201D and select u201CExecuteu201D.
    11. Select the radio button u201CBusiness Object Methodu201D and enter the following details:
    Business Object: BUS2012
    Method: CreateFromData
    Hit ENTER
    12. Save and click on BACK button. Following information message is displayed.
    13. Now select step 2 u201CMaintain Source Structuresu201D and click u201CExecuteu201D.
    14. In this step, we need to maintain the source structure. In our example, lets consider the example of a file with 2 structures Head and Item data as shown below:
    Click on Create and name the source structure as HEADERDATA. Now select HEADERDATA and click on u201CCreateu201D again to create the child structure. Following popup appears:
    Select u201CLower Levelu201D and click on Continue. Enter the Item data structure name.
    Click Save and hit BACK button to go to the main screen.
    15. Select step 3 u201CMaintain Source Fieldsu201D and hit execute.
    16. Enter the fields as shown below:
    17. Click SAVE and return to main screen.
    18. Select step 4 u201CMaintain Structure Relationsu201D and click Execute.
    Select E1PORDCR and click on CREATE RelationShip. Following screen appears:
    Select HEADERDATA and hit ENTER
    Similarly do the same for the structure E1BPEKKOA, E1BPEKPOC and E1BPPEKET.
    Click Save and return to main screen.
    19. Select the step u201CMaintain Field Mapping and Conversion Rulesu201D and click on execute. Maintain the Field Mapping as seen below:
    20. Select step 7 u201CMaintain Source Filesu201D and provide the link for the test file created. (Create a test file with the same structure as defined earlier).
    Save and return to main screen.
    21. Select the step u201CAssign Filesu201D and click on Execute.
    Assign the file provided to the source structure. Here the same file is provided for both the structures.
    Save and return to the main screen.
    22. Select the step u201CRead Datau201D and click on Execute.
    Click on Execute.
    Return to the main screen.
    23. Select the step u201CDisplay read datau201D and click on execute.
    Click on the structure name to get the field level values.
    24. Return to main screen and now select u201CConvert Datau201D.
    25. Return to the main screen and select u201CDisplay Converted datau201D.
    26. Return to main screen and select u201CStart IDoc generationu201D.
    27. Now select the step u201CStart IDoc Processingu201D on the main screen.
    28. Return to main screen and click on u201CCreate IDoc overviewu201D. Here the data record and status records of the IDoc could be viewed:
    Check this. This may help

  • 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
    SAPXPT

    Hi,
    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

  • BDC : creating Billing frm Dr/Cr Memo - Problem in deletion of  conditions

    Dear Gurus,
    I am facing a problem when I try to develop a BDC for creating a Billing document from a Debit/Credit Memo Sales Order.
    The requirement is to delete some condition when creating billing from debit note for Depot plant.
    The problem I am facing is in time of deleting the condition , as I am not able to move the lines of table control in Pricing tab up or down.
    the ok_code = /00 is not working and I have tried all p+,p- for that.
    My logic is to bring the CONDITION that should be deleted at top position of the table control. but as I am not able to move the scroll bar , I got stuck there.
    So any solution of that available or any alternative is available for the requirement ???
    Thanks
    Shibashis

    V1 498 - Credit already exist for item...
    What the above message means is that lines items have already been used as reference for the creation of credit memo request(s).
    Create a new sales order, delivery and billing document. Then create credit memo request with reference to this new billing document and test.
    In VTAF copy control, at item level, field "Pos./neg. quantity" dictates how the quantity in the source document is affected by copy control.
    PS - I tried to create credit memo with reference to billing document (F2), there were no issues there. Therefore I am taking that the issue is with credit memo request (copied with ref to billing document F2)

  • Change info record condition pricing unit.

    i would like to change pricing  unit via me12, but the pricing  unit can't be modified. how can i achive this. (ps: i change the info record via lsmw.)

    are you manage to change the info record price unit using ME12?, i dont think that the price unit can be change after you enter and save it, you need to mark delete the condition line first, then create a new condition line record for that validity period.

  • Deleted PO conditions reappear

    Hi all,
    The deleted pricing conditions keeps appearing back the next time I go into change mode of the PO. Eg using tcode ME22N, I deleted a discount condition say RA00 and managed to save the PO. The next time i go into the PO again, this condition re-appears with the same value before it was deleted. If I change the value say from 5% to 3%, the condition retains the latest information ie 3%. Happens for header and item conditions, std SAP as well as customised condition types. Not related to parameter EVO as I have literally tried all possible combinations for this paarmeter. I am on ECC5.0. Hope someone can help. thanks.

    Hi
    <b>Check : Price Determination Procedure</b>
    In the Price determnation procedure, you have maintained this condition type and the procedure have been mintained for that vendor (as you know).
    You have to change/delete the condition type in the Price Determination Procedure.
    Pls Revert and Reward.
    Regards
    Vijay

  • Deletion of condition table

    Hi Guys,
    I created condition table, access sequence by using condition table ,created condtion type and used condition type in pricing procedure.  later becasue of some reason I need to remove the condition table. Hence, from the end I removed condition type in procedure, access sequence from condition type and table from access sequence.
    When I try to delete the condition table I am getting below error message
    "Message no. TK112
    Diagnosis
    The objects R3TR VKOI A803 und R3TR VKOS A803 cannot be edited together because the 1st object's original is in this system, whereas the 2nd object's original resides in another system.
    System Response
    The function is cancelled.
    Procedure
    Edit the two objects separately."
    Does any one help the reason behind the this error message and let me know how to delete the condition table.
    Thanks and Regards
    Chandra Sekhar Alokam

    Hello Chandra
    Firstly I would recommend not deleting the condition table. Let sleeping lions  lie, may be change its name to "Don't use" to avoid any unintended misuse. If you have removed it from access config, you should be fine. May be you are trying to remove even the traces of that  config.
    This issue is in the  Change Request (Transport) Management  area and ideally you should work with Basis guys.
    That said, check out this OSS note which is basically a Z-code to make the entries in TADIR to be same for VKOS and VKOI type of objects. There could be other related OSS notes contained within this, so check them out also.
    74453 - Problems changing condition table/info structure

Maybe you are looking for

  • Not Sync Properly, Can't be updated, Can't be read from or written to

    After install itunes7, everything becomes so weired. 60g video ipod can't be sync properly. Most of my songs sync to ipod "others" instead of the ipod "music" which been shown by the itunes. Only a few songs go to the "music". After disconnect the ip

  • Process chain not continue after successful node

    Hi gurus,    In my process chain I load data from R/3 to PSA and then execute DTP to DSO, all actions are serially. Usually our PC is running well. But recently the PC will stop after the loading to PSA was successfully end , which means in the log v

  • Creating graphics ...

    Hi everybody When designing, not programming, iPhone/iPad apps it's mostly done in Photoshop, at least where I work. When changing colors on default UI elements I believe it's done like changing the color overlay on a grayscale image, right ? Is it p

  • Important: Official Statement from MSI Taiwan (abt CoreCell overclocki

    "To the Editors of Tom' s Hardware, We are writing in response to your article "Intel Rigs Up: P4 Series with FSB800" Indeed what your lab engineer discovered is true. MSI does plan to use the said "logic circuit" or "dynamic overclocking" as a featu

  • I want to call popup in the loop

    Hi, for example: I selected the N no.of rows in a table and click the button based on that  N no. of pop up i want to display.\ For this I got the selected elements in the table.here i have condition loop at wa to itab. if field ne empty. LO_WINDOW->