Automated way to update PIR records in SAP via an uploadable CSV file

HI,
  Can we get in place an automated way to update PIR records in SAP via an uploadabel CSV file. Right now we have to manually update PIRs by going into ME12 and updating the pricing and PIR timing manually.If anyone hassuggestions of how to go about it please do pool in here. Do we have BAPI related to this ?
Thanks,
Sindhu.

I woudl suggest you check ORDERS05 IDOC type (ORDCHG message type).
FM - idoc_input_ordchg

Similar Messages

  • Best Way to Update: Over-the-air OR Via PC (Thru N...

    Which way do you think is the best and MOST RELIABLE way to update the Nokia Nseries? Which way do you use?
    1- Over-the-air
    2- Via Nokia Software Updater (PC)
    Your Thoughts?
    Thanx.
    Solved!
    Go to Solution.

    28-Dec-2008 08:47 PM
    grschinon wrote:
    28-Dec-2008 03:44 PM
    nirav_m_suthar wrote:
    Best way to update the firmware is the via PC coz there are many reason like it takes less time than any other methods, very secury etc.
    That is absolutely not true.
    An NSU update for the N96 at least is a 125MB download or thereabouts.
    V10.043 to V11.018 was about 3.5MB via FOTA, V11.018 to V11.101 was no more than a few hundred KB, and V11.101 to V12.043 was once again about 3MB.
    FOTA is far more reliable than NSU since there are fewer machines involved (the phone grabs the update directly from Nokia instead of having it buffered by a machine, a machine running one of the most notoriously unreliable operating systems ever created) and therefore fewer points of potential failure.
    As psychomania pointed out, there are cases of people bricking their phones with NSU daily on these forums. To date, we have see one case of a failed FOTA update. Draw your own conclusions.
    Like our resident psycho, I hope that FOTA becomes far more widespread in the future. It is much more reliable and quick.
    Message Edited by grschinon on 28-Dec-2008 04:50 PM
    although i tend to agree that FOTA should be safer, but i think we might be jumping to conclusions to early, as there are about 91 phones supported by NSU, most of which are updated by the conventional PC way, whereas there are very few that uses FOTA (i knew of 2 handsets), hence the relatively lower incidence of failures...

  • Upload csv file to sap in background

    Dear Expert,
    Please help me I want to record vendor data in background mode for this i used SHDB and has done recordings then i used gui_upload function in program and successfully uploaded CSV file without any error, then i have created session when i am running session with foreground or display error checkbox it is running correctly, as i want to run in background then i clicked on background checkbox  for process it gives information message 1 session transferred to background processing but when i am checking log there it is showing trasaction read 0, transaction processed 0, transaction with error 0, transactions deleted 0.
    Please tell me cant i upload csv file in background with this method?
    Is it manadatory to use open datset, read data set for uploading file in background?

    Hello Sir,
    During opening dataset it is opening only one record from excel file that is first row. It is not reading rest rows, I tried to used it like this...
    do 10 times.
      perform open_dataset using dataset.
      read dataset dataset into record.
      if sy-subrc <> 0.
        exit.
      endif.
      append record.
    enddo.
    First time it reads first row second time at open_dataset it is giving dump given below.
    The file "D:\vendor.csv" is already open.
    What happened?
    Error in ABAP application program.
    The current ABAP program "ZNEWTEST" had to be terminated because one of the
    statements could not be executed.
    This is probably due to an error in the ABAP program.
    Please resolve my problem....

  • Any standard process to update Sales Order in SAP via XI / Idoc ?

    Hello,
    Currently one of our end customer is creating Sales Order in Oracle system. Once the Order is created there, they send the Order information to our XI system via flat file. XI system processes the flat file and then it calls order creation function using rfc / BAPI - BAPI_SALESORDER_CREATEFROMDAT2. This works just fine.
    But now the customer wants an ability to update sales order, cancel certain line or even cancel the whole order in their Orcale system. And once that happens, they want the same thing to happen in SAP via some kind of interface automatically in the background.
    So my question is :
    what is the best way to do it ?
    Is it possible to do via idoc ? The reason I am asking it via idoc is because it sounds that's the most standard way of doing it in SAP.
    What idocs can I use ?
    Has any one implemented such interface ? And if so, can you share some info ?
    Any response is highly appreciate.
    thanks,
    Dipankar

    I woudl suggest you check ORDERS05 IDOC type (ORDCHG message type).
    FM - idoc_input_ordchg

  • Add header record with column names while writing csv file fileAdapter?

    Hi I am writing the output of a query to csv file using fileadapter. but the file generated does not have the header record with the column names. how can I achieve this. please help.

    I'm trying to do the same, but something is not right with my syntax and I haven't been able to resolve all day. Can someone spot what I'm doing wrong?
    Here is the variable with the data I want to insert as the headers for the CSV:
    Updated variable "CPARWebJEHeaders"
    <CPARWebJEHeaders>
    <Root-Element xmlns="http://xmlns.oracle.com/CPWebJEARWrite">
    <CPARWebJE>
    <Project>Project</Project>
    <Organization>CC_Org</Organization>
    <Account>Account</Account>
    <TransactionAmount>Amount</TransactionAmount>
    <TransactionDesc>Description</TransactionDesc>
    </CPARWebJE>
    </Root-Element>
    </CPARWebJEHeaders>
    Here is the InputVariable data for my invoke to the File Adapter:
    [2008/03/24 15:27:30] Updated variable "WriteCPARWebJEFile_Write_InputVariable"
    <WriteCPARWebJEFile_Write_InputVariable>
    <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Root-Element">
    <Root-Element xmlns="http://xmlns.oracle.com/CPWebJEARWrite">
    <ns0:CPARWebJE xmlns:ns0="http://xmlns.oracle.com/CPWebJEARWrite">
    <ns0:Project>INV08-00002</ns0:Project>
    <ns0:Organization>1.6.1.1.01</ns0:Organization>
    <ns0:Account />
    <ns0:TransactionAmount>176</ns0:TransactionAmount>
    <ns0:TransactionDesc />
    </ns0:CPARWebJE>
    <ns0:CPARWebJE xmlns:ns0="http://xmlns.oracle.com/CPWebJEARWrite">
    <ns0:Project>INV08-00001</ns0:Project>
    <ns0:Organization>1.6.1.1.01</ns0:Organization>
    <ns0:Account />
    <ns0:TransactionAmount>305.46</ns0:TransactionAmount>
    <ns0:TransactionDesc />
    </ns0:CPARWebJE>
    </Root-Element>
    </part>
    </WriteCPARWebJEFile_Write_InputVariable>
    This is my latest iteration of the insertBefore command, which is done right after the transformation populating the variable above:
    <bpelx:assign>
    <bpelx:insertBefore>
    <bpelx:from variable="CPARWebJEHeaders" query="/ns12:Root-Element/ns12:CPARWebJE"/>
    <bpelx:to variable="WriteCPARWebJEFile_Write_InputVariable" part="Root-Element"/>
    </bpelx:insertBefore>
    </bpelx:assign>
    And finally, here is the current error message:
    <selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
    <part name="summary">
    <summary>Assign Operation Misuse. The parent of the selection result does not exist or is not an XML element; insertBefore operation cannot be performed. Please check the BPEL source at line number "96" .</summary>
    </part>
    </selectionFailure>
    I understand the error message, but for the life of me can't get it resolved. Trying to change the "to" variable, I can't even get the process to deploy. FYI this is on 10.1.2 and I can't go to 10.1.3 yet, but I think this is a syntax issue and not related to the version.
    Thanks!
    Message was edited by:
    user623606

  • Is there a way to select a certain box of elements from a csv file and read that into LabVIEW?

    Hello all, I was wondering if there was a way to select only a certain "box" of elements from a .csv file in LabVIEW? I have LabVIEW 2011 and my main goal is to take two arrays and graph them against each other. I can import the .csv file just fine and separate each row and each column to be its own, but say I have an 8X8 but want to graph the middle 4X5 or something like that. Is there any way to extract an array without starting at the beginning and without ending at the end? Thank you in advance.
    Solved!
    Go to Solution.

    Hi Szklanam,
    as a CSV file is just a TXT file with a different suffix you can read a certain number of lines of that file. So you can limit the number of rows in your resultung array. To limit the number of columns you still have to use ArraySubset, so maybe it's a lot easier to read the full CSV file and pick the interesting spots with ArraySubset...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How to upload CSV file(Flat File) in SAP system.

    Hi All,
    Please guide me how to upload flat file into SAP system.
    Regards
    Avinav

    Use following syntax -
    DATA L_P_FILE TYPE STRING.
         L_P_FILE = P_FILE.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        FILENAME                      = L_P_FILE   <-------Your PC file name
        FILETYPE                      = u2018ASCu2019
        HAS_FIELD_SEPARATOR           = u2018Xu2019
      TABLES
        DATA_TAB                      = P_I_DATA[]   <-----Your internal table
    EXCEPTIONS
       FILE_OPEN_ERROR               = 1
       FILE_READ_ERROR               = 2
       NO_BATCH                      = 3
       GUI_REFUSE_FILETRANSFER       = 4
       INVALID_TYPE                  = 5
       NO_AUTHORITY                  = 6
       UNKNOWN_ERROR                 = 7
       BAD_DATA_FORMAT               = 8
       HEADER_NOT_ALLOWED            = 9
       SEPARATOR_NOT_ALLOWED         = 10
       HEADER_TOO_LONG               = 11
       UNKNOWN_DP_ERROR              = 12
       ACCESS_DENIED                 = 13
       DP_OUT_OF_MEMORY              = 14
       DISK_FULL                     = 15
       DP_TIMEOUT                    = 16
       OTHERS                        = 17
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    Endif

  • How to SAP data convert into csv file.

    hi,
    i have a one internal table , and i want to extract SAP data into csv file with filed separator ','(comma).
    Thanks

    you can use this coding for slove yours issue
    tables: vbak.
    Use type pool:
    TYPE-POOLS: TRUXS.
    parameters: p_erdat like vbak-erdat.
    DATA: COM TYPE C . For comma SEPERATOR
    data: begin of itab occurs 0,
          vbeln like vbak-vbeln,
          erdat like vbak-erdat,
          end of itab.
    DATA: ITAB1 TYPE TRUXS_T_TEXT_DATA OCCURS 0 .
    COM = ','.
    select vbeln
           erdat
           into table itab
           from vbak
           where erdat = p_erdat.
    FM:
    CALL FUNCTION 'SAP_CONVERT_TO_CSV_FORMAT'
    EXPORTING
       I_FIELD_SEPERATOR          = COM
      I_LINE_HEADER              =
      I_FILENAME                 =
      I_APPL_KEEP                = ' '
      TABLES
        I_TAB_SAP_DATA             =  ITAB
    CHANGING
       I_TAB_CONVERTED_DATA       = ITAB1
    EXCEPTIONS
      CONVERSION_FAILED          = 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.
    ENDIF.
    FM:
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
      BIN_FILESIZE                  =
        FILENAME                      = 'C:\TEST.CSV'
       FILETYPE                       = 'ASC'

  • How to update the records in SAP table through BADIs?

    Hi all,
    I have added custom tab with one field(input/output field) in ME22N. As soon as the user enters the value in the field,the value should be updated in the appended structure which has been included in EKKO table. I was told to be done in the BADI ME_PROCESS_PO_CUST and method PROCESS_HEADER. Please someone tell me how to do this.
    << Moderator message - The answers in the forum are provided by volunteers. Please do not ask for help quickly. >>
    Thanks,
    MKannan.
    Edited by: Rob Burbank on Nov 15, 2011 10:19 AM

    Hi,
    First subscribe the Header Tab in the method SUBSCRIBE
    DATA: ls_struc  LIKE LINE OF re_subscribers.
    Check for the Header data
        CHECK im_application = 'PO'.
        CHECK im_element     = 'HEADER'.
    CLEAR re_subscribers[].
    ls_struc-name = subscreen1.
        ls_struc-dynpro = '0001'.
      ls_struc-program = <dynpro program name >.
      ls_struc-struct_name = 'CI_EKKODB'.
        ls_subscriber-height = 7.
        APPEND ls_struc TO re_subscribers
    Use the method MAP_DYNPRO_FIELDS
    FIELD-SYMBOLS: <mapping> LIKE LINE OF ch_mapping.
        LOOP AT ch_mapping ASSIGNING <mapping>. 
       CASE <mapping>-fieldname.    
      WHEN <field name>. 
        <mapping>-metafield = mmmfd_cust_03.
        ENDCASE. 
    ENDLOOP.
    use method TRANSPORT_FROM_MODEL
    use method TRANSPORT_TO_DYNP
    TRANSPORT_TO_MODEL
    ls_mepoheader = l_header->get_data( ).
    CALL METHOD l_header->set_data
                EXPORTING
                  im_data = ls_mepoheader.
    Thanks,
    Shailaja Ainala.

  • No Way to Update Location Status on FaceBook via VZ Navigator on Droid X?!!

    I just upgraded to a Droid X from an HTC Imagio and have a question regarding the VZ Navigator software on the Droid X. On my Imagio, the VZ Navigator had an option to update your location status on FaceBook so that after you arrived at your destination, you could post the address where you were on your FaceBook page. I cannot find any such option in the VZ Navigator software I installed on my Droid X (yes, it was specifically listed as being only for the Droid X!); I can only find the option to share your location with someone else by sending it to their e-mail address. Am I missing something here? Is that just not possible on the Droid X? I liked to do that as I drive a tractor-trailer for a living and my family members on FaceBook could see where I was most of the time!
    Please correct me if I am wrong!
    Dennis

    dmw4814 wrote:
    I just upgraded to a Droid X from an HTC Imagio and have a question regarding the VZ Navigator software on the Droid X. On my Imagio, the VZ Navigator had an option to update your location status on FaceBook so that after you arrived at your destination, you could post the address where you were on your FaceBook page. I cannot find any such option in the VZ Navigator software I installed on my Droid X (yes, it was specifically listed as being only for the Droid X!); I can only find the option to share your location with someone else by sending it to their e-mail address. Am I missing something here? Is that just not possible on the Droid X? I liked to do that as I drive a tractor-trailer for a living and my family members on FaceBook could see where I was most of the time!
    Please correct me if I am wrong!
    Dennis
    I was wondering if you have looked at Google Latitude (preloaded on the Droid X - App name is 'Latitude') This will give your family more real time updates on where you are located, instead of having to wait for you to update your facebook page. You can control which people have access to your information.
    My dad drove truck for a living for 27 years, and retired about 9 years ago, so I know what its like for your family to wonder where you at at different times.
    I know that this doesn't answer your question, but just wanted to let you know that there are alternatives to help solve your problem.
    Have a good day, and bless you for helping our country move goods to where they need to be. Be safe out there.

  • Script to to update users attribute based on EmployeeID Value from CSV file

    Hello, 
    i am trying to build script that read the data from CSV file, the only data exist on this file is the EmployeeID.
    so i need to read the EmployeeID and for each employeeID exist in this sheet in need to disable that user and  change the Description to "Disabled based on the HR Request"
    below script is not working for me any help plz 
    $path = "D:\Private\sample-data.csv"
    $LIST=IMPORT-CSV $path
    $UseremployeeID = $USER.employeeID
    FOREACH ($Person in $LIST) {
    $UserID = Get-ADUser -Filter {employeeID -eq ($LIST.Row[1])}
    foreach ($USER in $UserID){
    Set-ADUser -Identity $User -Description "Disabled based on the HR Request" -Enabled $false

    I managed to know the reason
    you should add -properties EmployeeID  to your code
    <snip>
    Hi,
    That's not necessary. The filtering is done serverside, so you don't need to request that it be returned.
    Example:
    Get-ADUser -Filter "Title -eq 'Some Title In Your Company'"
    Title isn't a default property, but the command above works just fine.
    Don't retire TechNet! -
    (Don't give up yet - 12,575+ strong and growing)

  • Update info record price, when changing contract price

    Hi
    In the SAP OSS 569885  it is precised clearly:
    If an info record already exists, upon creation or change of
    a contract, neither price nor conditions are updated in the info
    record.
    So, my question is:
      Is there any way to update info records  prices upon a contract change or creation .
    thank you in advance for your support

    the info record is a kind of general, means it has the general price. A contract is an agreement for a certain quantity and price and period that may have a price that you can only get from your vendor  with this kind of agreement. So it is not really logical to have the contract price in the info record, too.
    There is no way to get this update automatically.

  • Edit and update multiple records in JSP buisness components

    Hi everybody,
    I'm building BC4J components using entities and views and JSP buisness components.
    how can I edit and update multiple records
    at a time in the jsp file
    Note using the databean
    "oracle.jbo.html.databeans.EditCurrentRecord"
    one can view one record at a time
    thank you

    do you have a sample code? thanks
    Hi
    There are several options. One of them could be
    1) use <input name=rc[j] value="..."> instead of
    display a raw text
    2) parse parameters in doPost method of your servlet
    to update appropriate values.
    3) Make a empty row enable inserts
    Regards
    Jan

  • How to upload above20000 records csv files into oracle table,Oracle APEX3.2

    Can any one help me how to CSV upload more than 20,000 records using APEX 3.2 upload process.i am using regular upload process using BOLB file
    SELECT blob_content,id,filename into v_blob_data,v_file_id,v_file_name
    FROM apex_application_files
    WHERE last_updated = (select max(last_updated)
    from apex_application_files WHERE UPDATED_BY = :APP_USER)
    AND id = (select max(id) from apex_application_files where updated_by = :APP_USER);
    I tried to upload but my page getting time out. my application best working up to 1000 records. after that its getting timed out.Each record is storing 2 secornds in the oracle table.So 1000 records it taking 7 minuts after that APEX upload webpage getting timed out
    please help me with source how to speed upload csv file process or help another best with with source example.
    Thanks,
    Sant.
    Edited by: 994152 on Mar 15, 2013 5:38 AM

    See this posting:
    Internet Explorer Cannot Display
    There, I provided a couple of links on this particular issue. You need to change the timeout on your application server.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    http://apex.oracle.com/pls/apex/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • How to update Records of SAP table from .CSV file

    Hi,
    I have written a code which takes a data from (,) delimited CSV file and adds it into the Internal table.
    Now I want to update the all fields in SAP table with the Internal table.
    I want to use Update statement.
    Update <table Name> SET <field needs to update> WHERE connditon.
    I don't want to iterate through thousand on record in sap table to check the where condition.
    Could you please tell me how to do it.

    Hi. I thing you will not workaround the iterating of the internal table.
    You can pre-load all the records into another internal table
    check lt_csv[] is not initial. " important, otherwise next select would read all records of the table
    select .... into lt_dbitab for all entries in lt_csv where key-fieds = lt_csv-key_fields...
    check sy-subrc eq 0 and lt_dbitab[] is not initial.
    then do in-memory update of the it_dbitab
    loop at it_dbitab assign <fs>.
      read table lt_csv assign <fs_csv> with key ... " lt_csv should be sorted table with key, or you should try to use binary search
      if sy-subrc eq 0.
        ...change required lt_dbitab fields: <fs>-comp = <fs_csv>-comp...
      endif.
    endloop.
    ant then you can do mass-update
    update dbtab from table lt_dbitab.
    From performance view, this solution should be much faster than iterating lt_csv directly and updating every single database record
    Br
    Bohuslav

Maybe you are looking for