PO Upload via LSMW

Hi Experts,
I created an LSMW for PO uploading. I used BAPI as my import method. When I run the LSMW, the values from the material master, vendor master, and inforecord OVERWRITE the values that I was passing from my upload text file.
Is there a way to prevent this? Thanks in advance!
Regards,
Marvin

Hi,
How about introduce another condition for your upload PO?
If use PB00 for your normal PO creation then you can use another PBXX for example to upload your PO.
Cheers,
Girang

Similar Messages

  • Master data upload via LSMW using IDoc method

    Dear all,
    I know this has been a topic of many discussions but I would like to ask you is to share your thoughts and possibly experience with the following scenario:
    Interface between non-SAP system and SAP system has to be built whereby master data gets created in the non-SAP system and has to be uploaded into SAP. This is a process that needs to be performed on a constant basis and hence my question: is there a way that the MD upload takes place in the background via LSMW with IDoc? Or any other way, for instance, with a flat file, etc.?
    Thank you very much for your input!
    Regards,
    Miro

    Miro - It depends upon many factors
    1. Number of source systems
    2. Volumn of recorsds ( Data to be loaded)
    3. Transformation needed or not needed from S to D ( source to destination), We may consider it as
        business rules/mapping
    Based on above you may segrigate the objects related to data, eventually you can shoose approach of loading in SAP,
    As if straigt forward load for some 20k-30K records ( Just a file load on regular basis), one to one mapping then go for LSMW, if some complex transformation logic needed then go SAP data services implementation. best part here is if you multiple sources that can be handeled here.
    Accordingly you can proceed ...
    Hope it helps.
    Best !
    Deep

  • Routing - Direct upload via LSMW

    Hello all,
    Am using direct upload program RCPTRA02 to upload routings via LSMW.
    I am uploading headers, operations and material assignments. I keep coming across the following error:
    C\ 001                                               
       No header alternative for specified object exists 
    Anyone got any idea as to what this relates to/means?
    Many thanks.

    Hi Kruna,
    I am having the same issue. I am working on SAP ECC 6.0.
    Thanks in advance
    Atul Bhardwaj

  • Mass Upload via LSMW

    Hi All,
    I have got one client requirement in which client wants that whenever they run "Change in Employment" action for Contract extension/Change in Contract type, in IT0016 whatever contract end date comes should automatically populate in IT0041, in date type "05" which is "Assignment end date".
    Now, they want a Mass upload program for "Change in Employment" action.
    Also, in dynamic action, we have written a code so that whenever the contract end date is put in IT0016 via Change in employment action, it should populate in IT0041 automatically.
    I had tried creating a LSMW program for Mass upload of 'Change in Employment" action but while recording when I am entering the Contract end date, it's not getting populated in IT0041.
    Is there any way to write a code in LSMW for this issue.
    Regards,
    Priyanka

    Hello, 
    LSMW or any background recording won't never call a dynamic action.  In you LSMW recording you have to force the entry for the update of IT41. 
    If there is some specific rule in you dynamic actino that fills the date in Infotype 41, you should be able to do the same in the converting rule of the LSMW.
    Cheers
    Hadrien

  • Budget Document Entry Upload via LSMW or BDC Program not working!

    Hi All,
    I tried creating a LSMW and a BDC program for upload of budgets by recording Tcode FMBB.  Unfortunately, I didn't succeed because some fields in Tcode FMBB are not input ready.  I therefore seek an alternative solution to upload the budgets.  I have the following questions:-
    1.  Is there a standard program that can be used to upload the budgets?  If so, please give a the name or   Tcode for the program.
    2. I have checked in this site and confirmed I can use BAPI BAPI_0050_CREATE to upload the budgets.  Unfortunately, I have never used BAPIs before. How do I the BAPI to upload my data in Excel? Do I call the BAPI as a function in a program? How do I format the data in Excel for Upload.  Kindly provide a step by step procedure on how this can be done and also explain how the data is formatted in Excel.
    Thank you.
    Robeth

    Hi Alok,
    May be ur recording a table control in the transaction FB01 for accounting line items..
    When recording line items.. u need to record the page "page down" button...
    If it is so..
    You can control the line item table control , by recording the line item in the second row, then recording the 'page down' button..
    This will move your line item to first row and the next line item will be recorded in the second row....and it continues on...
    But i am unaware that BDC is tuff for enjoy transactions... If it is so, please go for the bapi specified by Kishan..
    Awrd and close the thread if answered...
    Thanks
    Rajiv

  • Storage Bin & storage Loc. via  LSMW

    Dear all,
    I want to upload sto. Bin & Sto. loc from old sap system to new SAP system via LSMW.
    So please provide any link showing step by step method for using LSMW for Sto. BIn & Sto Loc
    uploading.
    Regards,
    Rocky
    Edited by: Csaba Szommer on Aug 29, 2011 9:20 AM

    Yes you can use LSMW or you can write one BDC which will execute LS01N transaction by reading from file the fields(St type,St bin,St Section, St Bin type,etc) and upload storage bins.
    Regards,
    Prashant

  • Creating Routings via LSMW

    Hi all,
    Can anyone give me some pointers when creating Routings via LSMW. I see there are two standard uploads in RCPTRA01 and RCPTRA02. However, the mapping structures seem to be different between the two.
    I need to add PRT's material assignments and long texts to the routing.
    Any help greatly appreciated.

    Hi,
    Use standard batch/Direct input : RCPTRA02
    Source Fields
            MATERIAL_ROUTING          Material
                PLNAL                          C(002)    Group Counter
                MATNR                          C(018)    Article Number
                WERKS                          C(004)    Site
                OPERATION_ROUTING         Operations
                    PLNAL                          C(002)    Group Counter
                    VORNR                          C(004)    Operation/Activity Number
                    STEUS                          C(004)    Control Key
                    ARBPL                          C(008)    Work center
                    WERKS                          C(004)    Site
                    LTXA1                          C(040)    Operation short text
                    MEINH                          C(003)    Quantity unit for operation (batch input)
                    BMSCH                          C(017)    Base quantity (Batch input)
                    LAR02                          C(006)    Activity Type
                    VGE02                          C(003)    Unit for the standard value (batch input)
                    VGW02                          C(011)    Standard Value (Batch Input)
                    LAR03                          C(006)    Activity Type
                    VGE03                          C(003)    Unit for the standard value (batch input)
                    VGW03                          C(011)    Standard Value (Batch Input)
                COMPONENT_ROUTING         Components
                    PLNAL                          C(002)    Group Counter
                    VORNR                          C(004)    Operation/Activity Number
                    POSNR                          C(004)    BOM Item Number
                    MATNR                          C(018)    Article Number
                    WERKS                          C(004)    Site
    Field Mapping and Rule
           RC271_DS                       Work center structure for direct input (for datasets)
               Fields
                   TCODE                        Transaction Code
                                       Rule :   Constant
                                       Code:    RC271_DS-TCODE = 'CA01'.
                   STTAG                        Character Field Length = 10
                                       Rule :   Constant
                                       Code:    RC271_DS-STTAG = '18.03.2014'.
                   AENNR                        Change Number
                   REVLV                        Revision Level
                   WERKS                        Site
                                       Rule :   Transfer (MOVE)
                                       Code:    RC271_DS-WERKS = MATERIAL_ROUTING-WERKS.
                   PROFIDNETZ                   Profile
                   PLNNR                        Key for Task List Group
                   PLNAL                        Group Counter
                                       Rule :   Transfer (MOVE)
                                       Code:    RC271_DS-PLNAL = MATERIAL_ROUTING-PLNAL.
                   STATU                        Status
                                       Rule :   Constant
                                       Code:    RC271_DS-STATU = '4'.
                   VAGRP                        Responsible Planner Group/Department
                                       Rule :   Constant
                                       Code:    RC271_DS-VAGRP = 'KD1'.
                   VBELN                        Sales Document
                   POSNR                        Character field of length 6
                   PSPNR                        Work Breakdown Structure Element (WBS Element)
    MAPL_DI_DS                     Assign routing to article for direct input (for datasets)
        Fields
            ACTTYP                       Processing type for objects to be imported
                                Code:    MAPL_DI_DS-ACTTYP = 'H'.
            MATNR                        Article Number
                                Rule :   Transfer (MOVE)
                                Code:    MAPL_DI_DS-MATNR = MATERIAL_ROUTING-MATNR.
            WERKS                        Site
                                Rule :   Transfer (MOVE)
                                Code:    MAPL_DI_DS-WERKS = MATERIAL_ROUTING-WERKS.
            PLNAL                        Group Counter
                                Rule :   Transfer (MOVE)
                                Code:    MAPL_DI_DS-PLNAL = MATERIAL_ROUTING-PLNAL.
            LIFNR                        Vendor Account Number
            KUNR                         Account Number of Customer
            SUCHFELD                     Search Field for Customer-Specific Task List Selection
            VBELN                        Sales Document
            POSNR                        Sales Document Line Item (Batch Input Field)
            PSPNR                        Work Breakdown Structure Element (WBS Element)
    PLKO_DI_DS                     Header structure for direct input (for datasets)
        Fields
            ACTTYP                       Processing type for objects to be imported
                                Code:    PLKO_DI_DS-ACTTYP = 'H'.
            PLNAL                        Group Counter
                                Rule :   Transfer (MOVE)
                                Code:    PLKO_DI_DS-PLNAL = MATERIAL_ROUTING-PLNAL.
            VERWE                        Use by user or system
                                Rule :   Constant
                                Code:    PLKO_DI_DS-VERWE = '1'.
            WERKS                        Site
                                Rule :   Transfer (MOVE)
                                Code:    PLKO_DI_DS-WERKS = MATERIAL_ROUTING-WERKS.
            STATU                        Status
                                Rule :   Constant
                                Code:    PLKO_DI_DS-STATU = '4'.
            PLNME                        Unit of measure for the task list (batch input)
                                Rule :   Constant
                                Code:    PLKO_DI_DS-PLNME = 'KG'.
            LOSVN                        From lot size (BTCI)
                                Rule :   Constant
                                Code:    PLKO_DI_DS-LOSVN = '0'.
            LOSBS                        To lot size (BTCI)
                                Rule :   Constant
                                Code:    PLKO_DI_DS-LOSBS = '999999999'.
            VAGRP                        Responsible planner group/department
                                Rule :   Constant
                                Code:    PLKO_DI_DS-VAGRP = 'KD1'.
            KTEXT                        Task list description
                                Rule :   Constant
                                Code:    PLKO_DI_DS-KTEXT = 'Article Routing'.
            TXTSP                        Single-Character Indicator
    PLPO_DI_DS                     Routing/item structure for direct input (for datasets)
        Fields
            ACTTYP                       Processing type for objects to be imported
                                Code:    PLPO_DI_DS-ACTTYP = 'H'.
            PLNAL                        Group Counter
                                Rule :   Transfer (MOVE)
                                Code:    PLPO_DI_DS-PLNAL = OPERATION_ROUTING-PLNAL.
            PLNFL                        Sequence
                                Rule :   Constant
                                Code:    PLPO_DI_DS-PLNFL = '000000'.
            VORKN                        Node number (batch input)
            VORNR                        Operation/Activity Number
                                Rule :   Transfer (MOVE)
                                Code:    PLPO_DI_DS-VORNR = OPERATION_ROUTING-VORNR.
            UVOKN                        Node number (batch input)
            UVORN                        Suboperation
            STEUS                        Control key
                                Rule :   Transfer (MOVE)
                                Code:    PLPO_DI_DS-STEUS = OPERATION_ROUTING-STEUS.
            ARBID                        Object ID (batch input)
            OBJTY                        Object types of the CIM resource
            ARBPL                        Work center
                                Rule :   Transfer (MOVE)
                                Code:    PLPO_DI_DS-ARBPL = OPERATION_ROUTING-ARBPL.
            WERKS                        Site
                                Rule :   Transfer (MOVE)
                                Code:    PLPO_DI_DS-WERKS = OPERATION_ROUTING-WERKS.
            KTSCH                        Standard text key
            LTXA1                        Operation short text
                                Rule :   Transfer (MOVE)
                                Code:    PLPO_DI_DS-LTXA1 = OPERATION_ROUTING-LTXA1.
    MEINH                        Quantity unit for operation (batch input)
                        Rule :   Transfer (MOVE)
                        Code:    PLPO_DI_DS-MEINH = OPERATION_ROUTING-MEINH.
    UMREN                        Denominator for conversion from unit to base unit (BTCI)
                        Rule :   Constant
                        Code:    PLPO_DI_DS-UMREN = '1'.
    UMREZ                        Numerator for converting from unit to base unit (BTCI)
                        Rule :   Constant
                        Code:    PLPO_DI_DS-UMREZ = '1'.
    BMSCH                        Base quantity (Batch input)
                        Rule :   Transfer (MOVE)
                        Code:    PLPO_DI_DS-BMSCH = OPERATION_ROUTING-BMSCH.
    ZMERH                        Break time (batch input)
    ZEIER                        Unit for break time (batch input)
    LAR01                        Activity Type
    VGE01                        Unit for the standard value (batch input)
    VGW01                        Standard Value (Batch Input)
    LAR02                        Activity Type
    VGE02                        Unit for the standard value (batch input)
                        Rule :   Transfer (MOVE)
                        Code:    PLPO_DI_DS-VGE02 = OPERATION_ROUTING-VGE02.
    VGW02                        Standard Value (Batch Input)
                        Rule :   Transfer (MOVE)
                        Code:    PLPO_DI_DS-VGW02 = OPERATION_ROUTING-VGW02.
    LAR03                        Activity Type
    VGE03                        Unit for the standard value (batch input)
                        Rule :   Transfer (MOVE)
                        Code:    PLPO_DI_DS-VGE03 = OPERATION_ROUTING-VGE03.
    VGW03                        Standard Value (Batch Input)
                        Rule :   Transfer (MOVE)
                        Code:    PLPO_DI_DS-VGW03 = OPERATION_ROUTING-VGW03.
    PLMZ_DI_DS                     Article component allocation for direct input(for datasets)
        Fields
            ACTTYP                       Processing type for objects to be imported
                                Rule :   Constant
                                Code:    PLMZ_DI_DS-ACTTYP = 'H'.
            PLNAL                        Group Counter
                                Rule :   Transfer (MOVE)
                                Code:    PLMZ_DI_DS-PLNAL = COMPONENT_ROUTING-PLNAL.
            PLNFL                        Sequence
                                Rule :   Constant
                                Code:    PLMZ_DI_DS-PLNFL = '000000'.
            PLNKN                        Node number (batch input)
            VORNR                        Operation/Activity Number
                                Rule :   Transfer (MOVE)
                                Code:    PLMZ_DI_DS-VORNR = COMPONENT_ROUTING-VORNR.
            STLTY                        BOM category
                                Rule :   Constant
                                Code:    PLMZ_DI_DS-STLTY = 'M'.
            STLNR                        Bill of material
                                Rule :   Constant
                                Code:    PLMZ_DI_DS-STLNR = '00000005'.
            STLAL                        Alternative BOM
                                Rule :   Constant
                                Code:    PLMZ_DI_DS-STLAL = '01'.
            STLKN                        Node number (batch input)
            POSNR                        BOM Item Number
                                Rule :   Transfer (MOVE)
                                Code:    PLMZ_DI_DS-POSNR = COMPONENT_ROUTING-POSNR.
    WERKS                        Site
                        Rule :   Transfer (MOVE)
                        Code:    PLMZ_DI_DS-WERKS = COMPONENT_ROUTING-WERKS.
    BOMAT                        Article Number
                        Rule :   Transfer (MOVE)
                        Code:    PLMZ_DI_DS-BOMAT = COMPONENT_ROUTING-MATNR.
    STLST                        Order level
    STLWG                        Order path
    STLTY_W                      BOM category
                        Rule :   Constant
                        Code:    PLMZ_DI_DS-STLTY_W = 'M'.
    STLNR_W                      Bill of material
                        Rule :   Constant
                        Code:    PLMZ_DI_DS-STLNR_W = '00000005'.
    STLAL_W                      Alternative BOM
                        Rule :   Constant
                        Code:    PLMZ_DI_DS-STLAL_W = '01'.
    Map the extra fields according to your requirement. Hope you'll find the code helpful.

  • Material variants via LSMW

    Hello all,
    Is it possible to create material variants via LSMW. Via the direct input (RMDATIND), I can't fill the necessary fields in the MRP 3 view and configure the variant. I tried to search for an other transaction to use and maybe create a batch input but for the moment no luck.
    Thanks in advance
    Best regards
    Roel

    Hi
    Yes, u should use only one file with data of client-level and plant-level, so it means the data of client-livell will be the same for the same material code.
    In this way u can create only one transaction  for every materila/plant (i.e the BAPI will be called for every plant), if u use two files the system'll try to upload the data of two plants by the same transaction.
    What u need to understand if u need to move the data client-level again as soon as you move the data of second plant.
    Max

  • I am having issues with my web module on Lightroom 4 (Mac OS 10.9.5). "an unknown error occurred" while trying to upload to my FTP (no changes in my FTP). Bandaid fix was to export to local folder and upload via Filezilla. However, now that is no longer w

    I am having issues with my web module on Lightroom 4 (Mac OS 10.9.5). "an unknown error occurred" while trying to upload to my FTP (no changes in my FTP). Bandaid fix was to export to local folder and upload via Filezilla. However, now that is no longer working and although upload completes, the URL takes you to a "Forbidden - do not have permission to read this file" page. Lightroom is changing the permissions of each file to 000 instead of 644 for index files and 755 for all others. How can I change the permissions settings in Lightroom?

    I am having issues with my web module on Lightroom 4 (Mac OS 10.9.5). "an unknown error occurred" while trying to upload to my FTP (no changes in my FTP). Bandaid fix was to export to local folder and upload via Filezilla. However, now that is no longer working and although upload completes, the URL takes you to a "Forbidden - do not have permission to read this file" page. Lightroom is changing the permissions of each file to 000 instead of 644 for index files and 755 for all others. How can I change the permissions settings in Lightroom?

  • COPA Planning-Upload via KE13N

    Hi Experts ,
    I am doing COPA planning , but stuck with the excel upload via T code KE13N.
    -I have defined the planning level on the basis of the sales organisation
    -Planning packages on basis of years.
    -Paramater set has also been defined. Integrated excel is checked here .
    -While saving the planning layout i have defined the coloumns for Company code, distribution channel, division as Lead columns.
    When i am trying to execute the parameter set, excel gets generated. i am unprotecting the excel and doing the changes in layout, Since i want Characteristics in rows and Values in their corresponding columns . i save that excel to my desktop in text format.
    After this in KEPM i goto settings > fomatting > Save file description.
    It gives me mesage " File description 02_CE1CA00__SAP_001TEST7 was saved"
    After this i goto KE13N and trt to upload the text file i created before but i get the error message
    "File description 02_CE1CA00__SAP_001TEST 7 does not exist".
    Cld u pls advise where i am going wrong .

    Hi Christian,
    Thanks for your reply.
    I have corrected that error, now if i am trying to upload it is giving me the below 2 errors :
    1.Entry should have template  ___.____
    Message no. RRKEB001
    2.Error occurred when generating data for the planning processor
    Message no. K9400
    Cld u pls help me with this .
    Thanks !!
    Mani

  • Creating a sales order via lsmw.

    Hi,
    I am creating sales orders via lsmw. Each of these sales orders may contain any number of line items, i.e. sales order 1 might have 3 line items and the next sales order may have 10.
    How do I cater for this in lsmw. Is there a way of saying: when last line item, then start next sales order record?
    Any help appreciated.
    Regards,
    Warren.

    HI, I create LSMW for sales order. It is working fine for 9 line items. IF more than 9 line item, other item  is not updating. Pls provide me a solution. Thanks in Advance.
    my email is [email protected]

  • Multiple line items upload in LSMW

    There are 265 line items in an entry. I have around 50 such entries to be uploaded vis LSMW.
    The problem is that, while creating a recording, do i need to record 165 line items (164 line items are of debit and only 165th line item is credit)??
    I am creating the recording for Tcode FB05 ie GL entry.
    PLEASE SUGGEST ME THE SIMPLE WAY TO UPLOAD THE LARGE SUM OF ENTRIES IN LSMW.

    Hi.
    You need not record for 165 line items. You can just record One entry in FB05, with 2 line items alone (one Debit and one credit). The Debit/ Credit indicator will be one of the fields in Recording.
    Now you need to structure this field in your template and create the Field Mapping.
    So, in the Excel template, you maintain all the multiple line items you want - against each line item you can mark this indicator as Debit/ Credit.
    Let me know if this works.
    Regards
    Srini

  • I recently updated to ios 6.1.1 and since then, the photos i am uploading via ios does not show on my timeline or on the newsfeed, but the pictures show in the album. can you help me with it? thanks.

    i recently updated to ios 6.1.1 and since then, the photos i am uploading via ios does not show on my timeline or on the newsfeed, but the pictures show in the album. can you help me with it? thanks.

    fingers crossed, it appears they are working the bugs out of this update....i was able to post a pic to my newsfeeds/time line this morning....first the picture went into the ios album but within a minute, it appeared on my timeline! im glad ...

  • File Upload via CSOM is incrementing Version number by 2.

    Any ideas why a file upload via CSOM is incrementing the version number by 2 instead of one?
    I am using the following code to perform the upload
    List library = clientContext.Web.Lists.GetByTitle(DOCUMENTS_LIST_NAME);
    Folder folder = library.RootFolder;
    FileCreationInformation fci = new FileCreationInformation();
    Byte[] streamArray = new Byte[document.ContentLength];
    document.InputStream.Read(streamArray, 0, document.ContentLength);
    fci.Content = streamArray;
    fci.Url = documentTypeID + "." + document.FileName.Split('.').Last<String>();
    fci.Overwrite = true;
     File fileToUpload = folder.Files.Add(fci);
    clientContext.Load(fileToUpload);
    clientContext.ExecuteQuery();

    It may actually be to do with the metadata that is setting immediately after this code.
    Is there a way of overcoming that and including the file upload and the item update in one version?

  • Multiple line items uploading through LSMW

    Hi,
      I am using LSMW as uploading tool for master data uploading in quality server.In the case of multiple line item i am feeling difficulty to use LSMW.
    Plaese help me to find solution...........

    Hi
    First read all the BOM into an internal table and then you upload that internal table
    LSMW
    https://help.sap.com/saphelp_nw04s/helpdata/en/87/f3ae74e68111d1b3ff006094b944c8/content.htm
    [ BOM UPloading BY  LSMW|LSMW BOM]
    Regards
    pavan

Maybe you are looking for

  • Able to post Invoice for Blocked stock from quality

    Hi I did GR for material against PO for 50 pcs, During QA32 stock posting i posted 30 pcs to Unres. stock(101) and 20 pieces to blocked stock(350) storage locations. Now when I am trying to  create  MIRO invoice verification, I am getting all the 50

  • IO Streams

    Hi All, I need to post a DataStream(a file) to a Servlet. I am coming across a problem while posting any file data other than plain text. Here is what I am trying to do. <code> java.net.URL url = new URL("http","localhost",8080,"/system/Data"); java.

  • Bash scripting, check filetype with file command

    Hi community, I've got as homework to write a script which uses the command file to check if a file is really a text file, and if yes echo its name. I wrote the following #!/bin/bash for filetype in * do a= file $filetype | cut -f2 -d' ' b="ASCII" if

  • How to view messages in Jms queue from OEM 12c Cloud Control

    Hi All, How can I view messages in a Jms queue from OEM 12c Cloud Control without logging into WebLogic Administration Console? Thanks in Advance!!

  • Creating NetRestore Image of OS X Yosemite (10.10) from Mac Mini Server Running Mavericks (10.9)

    Hello all, We are attempting to create a NetRestore image of a Macbook Pro running Yosemite (10.10) from a Mavericks (10.9) Mac Mini running OS X Server. Previously we connected a Macbook Pro in target mode to our Mac Mini (both running Mavericks) us