Upload new Contracts in SRM4.0

Hi ,
Can you let me know the syntax in the excel file to upload data to create new contract in SRM 4.0?
Regards,
G

Hi Gourang,
you can upload (Tab Delimited) [Excel file] having contract data using GUI_UPLOAD function with following parameters.
*-- Convert filename to a string
  w_filename = p_file.
*-- Upload data from file to an internal table
*-- File must be saved as TXT [Comma Delimited]
  CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
      filename            = w_filename
      has_field_separator = 'X'
      dat_mode            = 'X'
    TABLES
      data_tab            = t_input_data
    EXCEPTIONS
      file_open_error     = 1
      file_read_error     = 2
      invalid_type        = 5
      OTHERS              = 17.
file browsing option can be provide on selection-screen using following FM call.
DATA: wl_filediag_fil1(200)    VALUE 'C:\test.csv',    "Infile name
        wl_filediag_path_1(200)  VALUE 'C:\',
        wl_filediag_mask_1(200)  VALUE ',.,..',
        wl_filediag_title_1(40)  VALUE 'File to upload'.
  CALL FUNCTION 'WS_FILENAME_GET'
    EXPORTING
      def_filename     = wl_filediag_fil1
      def_path         = wl_filediag_path_1
      mask             = wl_filediag_mask_1
      title            = wl_filediag_title_1
    IMPORTING
      filename         = p_file
    EXCEPTIONS
      inv_winsys       = 1
      no_batch         = 2
      selection_cancel = 3
      selection_error  = 4
      OTHERS           = 5.
Once data will be there in ITAB- t_input_data you can go for following FM calls,
*--Reset Buffer Tables
    CALL FUNCTION 'BBP_PROCDOC_RESET_BUFFER'.
*-- Creat Contracts using FM
    CALL FUNCTION 'BBP_PD_CTR_CREATE'
      EXPORTING
        i_header   = wa_header
      IMPORTING
        e_header   = wa_ret_hdr
      TABLES
        i_item     = t_item
        i_partner  = t_partner
        i_longtext = t_longtext
        i_orgdata  = t_orgdata
        e_messages = t_messages.
*--Set 'Contract Status' --. 'Released' [I1141]
      CALL FUNCTION 'BBP_PROCDOC_STATUS_CHANGE'
        EXPORTING
          i_guid        = wa_ret_hdr-guid    "--> Cntr-Header-GUID
          i_activity    = c_release_contract "--> 'CTRE'
          i_object_type = c_contract         "--> 'BUS2000113'
        TABLES
          e_messages    = t_m_status         "Message Log
        CHANGING
          e_changed     = w_changing.        "Flag
*--Reset Buffer Tables
    CALL FUNCTION 'BBP_PROCDOC_RESET_BUFFER'.
*--Commit work
    COMMIT WORK AND WAIT.
IMPORTANT -
Reseting of BUFFER tables before and after making call to FM - BBP_PD_CTR_CREATE is mandatory to avoid any discrepancy during CONTRACT Creation.
Reward points if needful.
Regards,
Rakesh B Bhagat.
[Infosys Technologis Ltd., India]
Email : [email protected]

Similar Messages

  • Upload new contracts via flat file

    Hello.
    When i try create a new contract in SRM via flat file, i have a problem:
    Some data is handled by number partner, but i have (for example) F04 like a purchasing group, or 1000 like location.
    Are there some function that displays the partner number  from a Group of purchase or a user id?
    Regards.

    Hi. Not sure about functions, but table HRT5500 holds the purchasing groups.
    HRP5500 links that to an org unit.
    Once you have the org unit you can get the BP from table HRP1001, OTYPE = O, OBJID = org unit, SCLAS = BP.
    Regards,
    Dave.

  • New contract - 'old style' 1980 fixed master socke...

    Hi
    LJ2/ socket!!
    I couldn't believe my eyes, when I came home from work one day!
    An ancient socket fixed behind a chest of drawers [when I requested to put on the wall above it]
    But this guy from BT Openreach convinced my girlfriend that it's better to have it behind heavy piece of furniture...
    just in case someone wants to look at it - me! [http://en.wikipedia.org/wiki/File:LJ_Front.jpg]
    So if I want I-Plate I will have to pay again £120.
    Thank you mister openreach!
    Another reason I came here today;
    Two years on the new contract and my average download speed only twice exceeded 1Mbps. [i know because I monitor the network]
    The last time it was in November and I enjoyed +4Mbps for couple of days [so this is the true capacity of my line]
    But since I remember my average download speed was solid 100-110KB/s and when I look at monitor graph it's a straight line, never up and down.
    Does it mean that my line is capped?
    I didn't complain to BT before - mainly because I have only bad experiences with their customer service and it cost me dearly when I have to call them so - I learn to live with that...
    But now my girlfriend use it more and more and she needs fast internet for her study.
    So here I am:
    Router statistics, last night: 
    ADSL line status
    Connection information
    Line state    Connected
    Connection time    4 days, 8:41:39
    Downstream    1,107 Kbps
    Upstream    800 Kbps
    ADSL settings
    VPI/VCI    0/38
    Type    PPPoA
    Modulation    ITU-T G.992.5
    Latency type    Interleaved
    Noise margin (Down/Up)    7.6 dB / 8.3 dB
    Line attenuation (Down/Up)    52.0 dB / 28.5 dB
    Output power (Down/Up)    15.3 dBm / 12.1 dBm
    Loss of Framing (Local)    0
    Loss of Signal (Local)    0
    Loss of Power (Local)    0
    FEC Errors (Down/Up)    0 / 120
    CRC Errors (Down/Up)    3966 / N/A
    HEC Errors (Down/Up)    N/A / 187
    Error Seconds (Local)    2967 
    Broadband Performance Tester:
    1. Best Effort Test: -provides background information.
        Download  Speed
        869 Kbps
    0 Kbps    1000 Kbps
    Max Achievable Speed
     Download speedachieved during the test was - 869 Kbps
     For your connection, the acceptable range of speeds is 400-1000 Kbps.
     Additional Information:
     Your DSL Connection Rate :1104 Kbps(DOWN-STREAM), 800 Kbps(UP-STREAM)
     IP Profile for your line is - 973 Kbps
    2. Upstream Test: -provides background information.
        Upload Speed
        664 Kbps
    0 Kbps    800 Kbps
    Max Achievable Speed
    >Upload speed achieved during the test was - 664 Kbps
     Additional Information:
     Upstream Rate IP profile on your line is - 800 Kbps
    I do hope I find someone who can help me.

    Thank you for your reply, imjolly.
    Yes, this is the master socket and the only one I have access to.
    There is another guy [we live in shared house] he has bt vision; he says he never go below 4Mbps
    I would use your advice - but I'm not sure it is legal to fiddle with BT property.
    Apparently bellwire is not the cause of my trouble since I know that my line can carry +4Mbps easily.
    I want BT representative to answer few questions:
    1. How was it possible in 2009 I have new line fitted with 1980 socket?
    Who is responsible and how it will be fixed?
    2.  Is my line capped?
    3. Is my line faulty? When can you check and repair it?
    My recent statistics: 
    ps. I fixed formatting issue in my first message.
    I was a complete mess, no wonder only one reply.

  • How to use BLAREL03 standard iDOC to upload Purchasing contract to SAP

    Hello
    Guru's
    Thanks in advance for your time.
    we ae planning to upload purchasing contract details to SAP using BLAREL03 standard idoc.
    can any one give me step step procedure to follow.
    i am new to IDOC's i need little bit detail. give me with function modules names to upload.
    In any way can we test it quickly,by creating text file with mandatory fields on the idoc and upload it.
    we just worried about like  contract start date,end date,(how it is handling while uploading) the fields which are on tree view of idoc, are not there,if we look at flat file structure of idoc.

    Hello
    Guru's
    Thanks in advance for your time.
    we ae planning to upload purchasing contract details to SAP using BLAREL03 standard idoc.
    can any one give me step step procedure to follow.
    i am new to IDOC's i need little bit detail. give me with function modules names to upload.
    In any way can we test it quickly,by creating text file with mandatory fields on the idoc and upload it.
    we just worried about like  contract start date,end date,(how it is handling while uploading) the fields which are on tree view of idoc, are not there,if we look at flat file structure of idoc.

  • Getting a Page Cannot be Displayed error while uploading a Contract Document in SAP E-sourcing for size 500mb

    Hi Guys,
    I am getting a Page can not be displayed error while uploading a COntract Document in SAP-E-soucing 7.0.
    Maximum Size set in Our SYSTEM is :9765MB.
    Approx size of the Document tried is more then 300MB.
    Appreciate your help on this.
    Regards
    Tarun

    Hi Tarun,
    Please check the below system properties using system user login
    attachments.maxSizeKB.buyers - "Maximum size in KB of a employer-attached attachment file"
    attachments.upload.enable.buyers-  " Enable/Disable uploading of attachments by internal users"
    Also Please check with other attachment, contracts related properties in the System.
    Let me know if this helps.
    Thanks,
    Raj.

  • Code doesn't update when uploading new files to website.

    code doesn't update when uploading new files to website.   I was using an old DW version for a long time then forced to upgrade when I bought my MacBook Pro. Now when I make changes to my pages and link to new files etc on my harddrive, when i upload the pages it won't image because the code still points to harddrive (this did not used to be a problem)... I manually changed the code on the web host site to point to the site and it loaded fine. But now my files on my harddrive also point to the web host files and now don't image on my computer. I never had to worry about this so far and wonder if the new version has a setting I'm supposed to be aware of so that I can design on my hardrive and upload and it knows that the files are being uploaded with it?  Ugh hpe this makes sense - I'm NOT a webs designer and the new DW is way more than I use in it's technology.

    Hi
    This sounds like you have not defined your site in the site definition.
    Follow the steps in these 2 tutorials to set-up your site locally and for the remote server -
    http://www.adobe.com/devnet/dreamweaver/articles/first_website_pt1.html
    http://www.adobe.com/devnet/dreamweaver/articles/first_website_pt6.html
    PZ

  • My ipod was connecting to my home wi-fi just fine until I uploaded new music from my Itunes on my laptop. Now my ipod and my iphone will not connect to my wireless network. I've tried resetting the network settings etc... Nothing seems to work. Help!

    My ipod (version 6.1.3) was connectiong to my home wi-fi just fine until I uploaded new music from my itunes via my laptop. Now my ipod and my iphone will not connect to my wireless network. I've uplugged my wireless network and reset my network settings etc... nothing seems to work. Please help!

    Does the iOS devices connect to other networks?
    Does the iOS devices see the network?
    Any error messages?
    Do other devices now connect?
    Did the iOS device connect before?
    Try the following to rule out a software problem:                 
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on the router
    - Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - Wi-Fi: Unable to connect to an 802.11n Wi-Fi network
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    If still problem make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar
    Since both iPhone and iPod stopped connecting I suspect a problem with your network.

  • Cant get music on my Iphone 4GS after uploading new Itunes software.  When I click on On This Phone there is no Add to Button.  Nothing wrong with computer or itunes as it works when my Ipod is connected.

    Have uploaded new Itunes software on to my new laptop.  When connecting my Iphone 4GS there is no button to add music.  It seems to work when I connect my Ipod.
    Any ideas?  Assume there must be something I need to do to my phone.

    Thanks for the help. The problem just started suddenly. The problem I have is the closest Apple Store is 3 hours away so I would have to send it in and I don't want to send it to them and then be told I'd have to pay for it. Would they just send the phone back if you decide not to have it fixed. I will probably just get used to it or maybe it will fix itself one day.

  • New contract, new hub, same broadband speed.

    Went online to look at my broadband options - it suggested I could get 12-17MB/s on a new contract.
    So I rang and got a new contract. The new hub arrived, works great.
    Now, when I go online to bt.com and run the speed estimator, it suggests I could get only 12MB/s. OK this is right at the bottom end of the initial range, but fair enough.
    However, the actual BT broadband speed test says I'm only getting 7.9MB/s - exactly the same as I got before the new contract.
    So, my question is, should I actually expect a greater speed? Is BT providing a newer, upgraded form of VDSL? I mean, is there some technical reason why I could expect a greater speed?
    (edit) OK I've done a bit of self-help... see some results below. Doesn't help me but maybe somebody can make use of this information. And yes of course I tried the speed test again and it didn't make any difference.

    you are on broadband with fibre vdsl which is the same as infinity but because your speed estimate was <15mb BT do not sell infinity where speed is <15Mb but you get broadband with fibre instead.  this is still fibre to the cabinet and copper from cabinet to your home - just the same as infinity.
    this is the second post recently where the estimate was the checker 'A' speeds but the reality is your line is not good enough for 'A' so you have somewhere between 'A' and the 'B' speed
    the diagnostic test normally does work but sometimes you need to try a few times
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • I'm looking for an app that will allow me to upload my contracts and forms to my iPad, fill in a customer's personal information, sign them, save them and email them.

    I'm looking for an app that will allow me to upload my contracts and forms to my iPad, fill in a customer's personal information, sign them, save them and email them.  I looked at easySign, Filemaker, FM Touch, Sign Docs, Zosh, Exzact, Mi-Co

    FormConnect (http://itunes.apple.com/us/app/formconnect/id432653695?mt=8&ls=1) can handle the filling out, signing, saving and emailing the contracts/forms but uploading the contract and the form is going to be a challenge because you’re dealing with paper documents that have to be scanned.  If you can convert the scanned documents into an OCR program, you might be able to copy and paste the contract without having to retype it but the form itself is probably going to have to be recreated.  Alternatively, you could use a document annotation program such as iAnnotate and mark up the contract with ink.

  • Help!!! Problem when uploading new ipod touch software

    Hi, really hoping someone can help!
    I connected my ipod to itunes and it asked me if i wanted to download new software for ipod touch so i did, then when it finished downloading it automatically started updating my ipod but before it finished i got an error message saying something like could not upload new software on ipod. i clicked ok and my ipod disappeared from the display list on itunes
    now my ipod isn't showing in itunes despite being connected via USB and it won't do anything, i just have a screen with a picture of a usb and an arrow pointing to the itunes icon.
    i have absolutely no idea what to do now, please help!

    Try another pc,The latest updades 3.3 did a lot of damage to my ipod simmilar to yours.I connected it to another pc then did a restore then went back to the original pc where my music is,be weary of that update.good luck.

  • Badi ISU_PRODUCT_CHANGE and creation of a new contract line item

    Hello Gurus;
    I have this requirement: Once a contract gets close the ending date (30 days before) i need to automatically renew the contract. In order to do that i thought that an action in the Contract Item might get the job done and browsing i found that badi ISU_PRODUCT_CHANGE does almost what i need even if it creates a new contract line item with a new product and this is not good for me... Does anybody know if there is a better Badi matching with my requirements or i have to "modify" the ISU_PRODUCT_CHANGE? I hope my question was clear if you need more specifics please ask me...
    Thank you very much.
    Fabio

    You can create a new costing variant with  a valuation variant that points to inforecords for material prices. Go to OKKN t-code and create the required configuration and start using the new costing variant to measure the current cost of making vehicles.

  • Signing a new contract

    I cannot seem to get a straight answer on when you are eligible to sign a new contract.  I have found conflicting responses on both this forum (for other questions), through online customer service, and in in a store.
    My husband and I are currently 17 and 10 months into our contracts, respectively, and would like to get iPhones.  We certainly cannot afford the full retail price for them, and they are not available "Certified Used," so that is not an option.  We both currently have regular phones (not even a data plan - just the basic family voice plan and text messaging - about $108/month). 
    I had the impression that our "upgrade dates" (of July 2011 and February 2012) were the dates we could get new phones WITHOUT signing a new contract (month-to-month).  Or are those the earliest dates we can sign a new 2-year contract and purchase iPhones at the discounted pricing?  In other words, someone please help me understand what exactly the "upgrade date" means and how it is related to signing a new 2-year contract.
    If we can sign new contracts with Verizon, we'd do that -- otherwise, we'd probably take the hit of the early termination fee and switch carriers.

    erinnjh wrote:
    I cannot seem to get a straight answer on when you are eligible to sign a new contract.  I have found conflicting responses on both this forum (for other questions), through online customer service, and in in a store.
    My husband and I are currently 17 and 10 months into our contracts, respectively, and would like to get iPhones.  We certainly cannot afford the full retail price for them, and they are not available "Certified Used," so that is not an option.  We both currently have regular phones (not even a data plan - just the basic family voice plan and text messaging - about $108/month). 
    I had the impression that our "upgrade dates" (of July 2011 and February 2012) were the dates we could get new phones WITHOUT signing a new contract (month-to-month).  NO, upgrade dates are when you have reached month 20 of your 24 month contract that you signed when you bought the phone(s).  You are then able to buy a new phone at the "2-yr contract price", and sign a new contract for 2 years from that point.  Your contract goes month to month only when it reaches the FULL term (24 months) and you do NOT purchase a new phone.  At that point, you can terminate service without paying an ETF.  You cancontinue your service indefinitely, or cancel and move to another carrier.
    Or are those the earliest dates we can sign a new 2-year contract and purchase iPhones at the discounted pricing? Yes, that's it exactly. In other words, someone please help me understand what exactly the "upgrade date" means and how it is related to signing a new 2-year contract.
    If we can sign new contracts with Verizon, we'd do that -- otherwise, we'd probably take the hit of the early termination fee and switch carriers.  You can each sign a new contract when you reach the upgrade date listed on your account - when Verizon considers your current contract completed enough to give you the option to upgrade and remain with them for another two year term.
    The previous poster mentioned the "annual" upgrade - if you are planning on getting the iPhone, then it's a moot point since you can't use it for the iPhone.
    It is a benefit offered to the primary line only at 12 months of a 2 year contract signed before Jan 16 or 18 (I can't remember the exact date) 2011.  Contracts signed now do not include this option, and it can't be used for the iPhone.
    I hope this has cleared some of the confusion.  I'm not surprised you got differing answers as many store reps and CSR's don't understand the upgrading ins and outs fully either, and just want to SELL, SELL, SELL.

  • New contract account for every line item in subscription order....

    Hi Guys,
    I am having a problem with the subscription order.
    Whenever I change the subscription order and add a line item to it, SAP by default  creates a new contract account for that line item. Whereas I want to assign the same contract account to the second line item also.
    Can you suggest me any solution for this problem?
    Thanks in advance...
    Regards,
    Abhay

    Hello Abhay,
    This is the normal and correct function for SAP. If you would like for the subscriptions to be on the same contract that you subscriber has, an enhancement has to be developed.
    We had a similar requirement and an enhancement was developed per specifications.
    Regards,

  • I'd like to wipe out my current LR of all photos and re upload new files.  How do I go about this?

    I'd like to wipe out my current LR of all photos and re upload new files.  How do I go about this?

    Option 1. Create a new catalog.
    Option 2. Select all images, hit the delete key and choose Remove. Then select Import.

Maybe you are looking for

  • Very disappointed in Verizon

    My wife and I have been loyal Verizon wireless customers for at least 10 years now and I have never considered leaving until now.  My wife has had many problems with her cell phone since she purchased it and has received 2 replacement phones without

  • Macbook Pro Mid 2012 didnt turn on, pink screen, now okay! problem? :)

    My Macbook Pro v10.7.3 Mid-2012 edition was SUBMERGED "totally" in the water when the pipe in the restroom burst and my mac was in the floor. It was inside a leather case. When I went to turn it on, it turned on (wow). After a month of using it, toda

  • Mac to Windows file reading!

    Hi this is a question for people who own a mac and windows computer. I just wanted to know if I write something on Microsoft office for MAC and then save it on my USB, will I be able to read and edit the file on my Windows PC? if not how can I do tha

  • Read FAQs and still cant access internet

    im working with a WRT54GR and i cant seem to connect to the internet anymore i set up my router last night and everything was working fine i downloaded and installed a few windows updates on my computer .. i took a personal phone call and when i got

  • MSS Customizing Steps for MSS within SAP Portal

    Hi HCM-experts! I would like to integrate MSS functions within SAP Portal. Where can I find the suitable technical documentation describing the steps with tcode/reports, SPRO steps for: - Team Calender - Assigning the user to Organization and to Staf