FM for uploading Purchase reuisations into SRM

Hi SAP guru's,
I need to Upload purchase reuisations form legacy system to SRM ,
here i am using BBP_PD_SC_CREATE and BBP_PD_SC_SAVE,
but uploading data from legacy system to internal table which Function Module  i will use,
plz give me ASAP,
Thank u,
balu.

Hi SAP guru's,
I need to Upload purchase reuisations form legacy system to SRM ,
here i am using BBP_PD_SC_CREATE and BBP_PD_SC_SAVE,
but uploading data from legacy system to internal table which Function Module  i will use,
plz give me ASAP,
Thank u,
balu.

Similar Messages

  • Right Tool to upload Contract data into SRM 5.0 system ?

    Hi,
        Could you tell me, the right tool to upload Contract data from SAP 4.5 into SRM 5.0 system using transaction code BBP_CTR_MAIN. ?
    What would be the problem, if i go with LSMW?
    Thanks in Advance,
    Bobby

    Hi Friends,
        Could any one suggest me which tool (BDC/ LSMW/ BAPI) is suited to upload Contract data from SAP 4.5 into SRM 5.0 using transaction code BBP_CTR_MAIN.I am confusing with Arshad's reply on this.
    Thanks in advance,
    Bobby

  • Upload PO data into SRM system from flat file

    Hi all,
    I need to create conversion program to upload Open Purchase order data from flat file to System.
    I am trying to create po using bapi BAPI_POEC_CREATE. but getting error .
    should any one give the details of parameter need to  pass the bapi .
    Thanks in advance
    Sharad

    Sharad,
    Not the very best piece of code, but should be helpful.
    REPORT  zkb_po_create.
    DATA: ls_po_header   TYPE bapi_po_header_c.
    DATA: ls_e_po_header TYPE bapi_po_header_d.
    DATA: ls_po_items    TYPE bapi_po_item_c.
    DATA: ls_po_accass   TYPE bapi_acc_c.
    DATA: ls_po_partner  TYPE bapi_bup_c.
    DATA: ls_po_orgdata  TYPE bapi_org_c.
    DATA: ls_return      TYPE bapiret2.
    DATA: lt_po_items   TYPE TABLE OF bapi_po_item_c.
    DATA: lt_po_accass  TYPE TABLE OF bapi_acc_c.
    DATA: lt_po_partner TYPE TABLE OF bapi_bup_c.
    DATA: lt_po_orgdata TYPE TABLE OF bapi_org_c.
    DATA: lt_return     TYPE TABLE OF bapiret2.
    * Header Details
    ls_po_header-businessprocess = 1.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
      EXPORTING
        input  = ls_po_header-businessprocess
      IMPORTING
        output = ls_po_header-businessprocess.
    ls_po_header-process_type = 'EC'.
    ls_po_header-doc_date = sy-datum.
    ls_po_header-description = 'Test for BAPI_POEC_CREATE'.
    ls_po_header-logsys_fi = 'Backend'.
    ls_po_header-co_code = '1000'.
    ls_po_header-currency = 'GBP'.
    * Item Details
    ls_po_items-item_guid    = 2.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
      EXPORTING
        input  = ls_po_items-item_guid
      IMPORTING
        output = ls_po_items-item_guid.
    ls_po_items-parent        = ls_po_header-businessprocess.
    ls_po_items-product_guid  = '4678E74FFFC380AD000000000A8E035B'.
    ls_po_items-product_id    = '400030'.
    ls_po_items-product_type  = '01'.
    ls_po_items-category_guid = '4627B461073F40FC000000000A8E035B'.
    ls_po_items-category_id   = '1.04.0500'.
    ls_po_items-quantity      = 10.
    ls_po_items-deliv_date   = sy-datum + 10.
    ls_po_items-price = '25'.
    APPEND ls_po_items TO lt_po_items.
    * Account Assignment
    ls_po_accass-guid = 3.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
      EXPORTING
        input  = ls_po_accass-guid
      IMPORTING
        output = ls_po_accass-guid.
    ls_po_accass-parent_guid = ls_po_items-item_guid.
    ls_po_accass-distr_perc  = 100.
    ls_po_accass-g_l_acct    = '<gl acc>'.
    ls_po_accass-cost_ctr    = '<cost centre>'.
    ls_po_accass-co_area     = '<Ctrl area>'.
    APPEND ls_po_accass TO lt_po_accass.
    * Partner Functions
    ls_po_partner-partner_fct  = '00000019'.
    ls_po_partner-partner      = 'Vendor'.
    ls_po_partner-parent_guid  = ls_po_items-item_guid.
    APPEND ls_po_partner TO lt_po_partner.
    ls_po_partner-partner_fct  = '00000016'.
    ls_po_partner-partner      = 'Requester'.
    ls_po_partner-parent_guid  = ls_po_items-item_guid.
    APPEND ls_po_partner TO lt_po_partner.
    ls_po_partner-partner_fct  = '00000020'.
    ls_po_partner-partner      = 'Receipient'.
    ls_po_partner-parent_guid  = ls_po_items-item_guid.
    APPEND ls_po_partner TO lt_po_partner.
    ls_po_partner-partner_fct  = '00000075'.
    ls_po_partner-partner      = 'Location'.
    ls_po_partner-parent_guid  = ls_po_items-item_guid.
    APPEND ls_po_partner TO lt_po_partner.
    ls_po_orgdata-proc_org_ot = 'O'.
    ls_po_orgdata-proc_org_id = 'Pur Org'.
    ls_po_orgdata-proc_group_ot = 'O'.
    ls_po_orgdata-proc_group_id = 'Pur Group'.
    ls_po_orgdata-parent_guid = ls_po_items-item_guid.
    APPEND ls_po_orgdata TO lt_po_orgdata.
    CALL FUNCTION 'BAPI_POEC_CREATE'
      EXPORTING
        i_po_header  = ls_po_header
      IMPORTING
        e_po_header  = ls_e_po_header
      TABLES
        i_po_items   = lt_po_items
        i_po_accass  = lt_po_accass
        i_po_partner = lt_po_partner
        i_po_orgdata = lt_po_orgdata
        return       = lt_return.
    READ TABLE lt_return INTO ls_return WITH KEY type = 'E'.
    IF sy-subrc NE 0.
      COMMIT WORK AND WAIT.
      WRITE:/ ls_e_po_header-doc_number, ': created successfully'.
    ELSE.
      WRITE:/ 'The below errors occurs during PO creation.'.
      LOOP AT lt_return INTO ls_return.
        WRITE:/ ls_return-message.
      ENDLOOP.
    ENDIF.
    Regards, Kathirvel

  • Unhandled exception for uploading BW roles into portal

    Hi experts:
    I  got the following warning in the log viewer when I uploade 2 BW roles, ZB_SAP_BW_DEVELOPER
    ZB_SAP_BW_WEB_ADMINISTRATOR, into portal (7.3). They are copies of the standard SAP roles.  I succcessfully uploaded other BI roles. These are the only ones that can not be uploaded. There is no error on the portal. Upload completed 100% but these 2 roles are not in the uploaded role list.  I checked sm12 and they are not locked. Wonder if anyone has had the same issue and solution?
    Log viewer warning:
    The following unhandled exception: [java.lang.NullPointerException: while trying to load from an object array loaded from local variable 'templateUrlArr'] was detected in [Thread[RoleUpload_1312911561066,5,Dedicated_Application_Thread]]
    Thanks

    Hi Tiberiu,
    I am also getting the same while uploading the BW 3.5 role to Portal 6.0, Role gets created but iviews throws the same error as you are getting.
    Please help if you have found the solution for the problem.
    Thanks in advance.
    Bhuvnesh Goel

  • Upload legacy contract into SRM and CCM

    Hi,
    SRM Version 5.0, CCM 2.0, Extended Classic Scenario
    I need to upload the contracts from the legacy system to SRM as GOA.
    I want to see the GOA in CCM catalog as well.
    How do I do it ?
    I beleieve that once the contract has been loaded as GOA in SRM, it will be distributed to R/3.
    With regards,
    Pranav

    Hello, you can use function BBP_PD_CTR_CREATE to create contracts.
    In order to create a correct document you will have to prepare the structure of the document before you call the function.
    You will have to prepare an header and define a guid for it, this guid has to be used in the 'parent' field of the items, you will also have to generate a guid for the items and use it when creating the accounting lines, the partner functions lines and the organizational structure informations. For example
    header-guid = 1.
    item-parent = 1.
    item-guid = 2.
    accounting-guid = 3.
    accounting-p_guid = item-guid.
    partner-partner_guid = 4.
    partner-p_guid = item-guid.
    organization-guid = 5.
    organization-p_guid = item-guid.
    After you have called this function and it returns no error messages you have to call BBP_PD_CTR_SAVE in order to save the newly created document.
    Regards, Luciano.

  • Org Structure download from HR and Uploading into SRM

    Dear All
    We have SRM 7.0 and ECC 5.0.
    We are trying to load ORG structure data from SAP-HR into SRM. These 2 systems are not connected and we can't use the ALE synchronously. Can we download the HR org structure - ALE Distribution- iDoc into a file from the SAP-HR  System and then upload the same into SRM, to create the entire Org structure? Pl provide your inputs.
    Thanks in advance
    velu

    Hello,
    Did you use any evaluation path to capture org structure when download the file using PFAL program.
    We are looking to capture O,S,C objects ie HRP1000 objects as first step.
    We are looking to capture all relationship belonging to that ORG unit ie HR1001 relationship as second step.
    Any thoughts?
    Thanks.

  • Error while uploading MSP project into SAP PS

    Dear Friend's,
    For uploading MSP project into SAP PS we are using openps4MSP version 4.0 & MSP version 2007. incase of SAP PS to MSP downloading is ok.
    While uploading we are getting following error. Also I have gone through relevant notes on MSP PS interface still I am unable to understand what exactly is the missing.
    Action log is as follows.
    The WBS.Maintain BAPI was called.
    - duration in sec.:0.109396699997887
    - return code: E
    - I CJ546 WBS-Dates Create
         Start date is in the past
         - object ID: B1101501000000000 /
    - I CJ546 WBS-Dates Create
         Start date is in the past
         - object ID: B1101500000000000 /
    - E CN009 NetworkActivity Create
         Network 4003941 does not exist
         - object ID: 0000040039410010 /
    - E CN009 NetworkActivity Create
         Network 4003941 does not exist
         - object ID: 0000040039410020 /
    - E CJ280 NetworkActivity Create
         Termination: Too many errors (more than 10% of methods)
         - object ID: 0000040039410020 /
    ERROR test import into PS system failed
    ERROR updating PS project
    Thanks & Regards,
    Suvin

    Hi,
    Which type of scheduling setting have you configured for WBS scheduling and for n/w. ?
    Also, download calendar from SAP to MSP and then add column 'Task Calendar' in which select the downloaded calendar.
    Check SAP NOTE 579761
    Regards,
    Harsh.
    Edited by: Harsh Saxena on Aug 10, 2011 3:18 PM

  • How to upload Purchase Order Data thru LSMW

    Hi All,
    I need to upload Purchase order data thru LSMW. LSMW Provides standard object method which does not suit for split valuation. But in the client place split valuation is maintained. Is there any other of option of uploading the data.
    Regards,
    Srivatsan

    Dear Srivatsan
    For Upload Purchase order Data through LSMW
    Business object BUS2012 - Purchase Order
    Basic type PORDCR04
    Message type PORDCR
    Method CREATEFROMDATA
    With regards
    B.Ravindranath

  • SOAP Request for uploading attachment through Web Services

    Hi,
    Can someone help me in understanding how to form a SOAP request (Web Service) for uploading an attachment into OD?
    The Web service PDF mentions about the getting attachment from OD (SOAP) but not uploading.
    Please suggest.
    Regards,
    Sumeet K.

    The return message being in HTML escaped form is expected, however the truncated response is not.
    Please contact support via support.oracle.com, and they will be able to advise appropriately.

  • Upload of  Purchase order (PO) item information into SRM through Excel file

    Hi
    Following is the scenario for me
    User will login to portal and enter the header information and save the PO in SRM. Later he will upload line item details using the excel file into SRM.
    As per my analysis I have noted that there are following function module to solve this
    1. BBP_BC_PO_Create
    2. BBP_PD_PO_Create
    3  BAPI_POEC-CREATE
    However I feel that we cannot use this function module becuase the user has already saved the header information. Hence we have to either work on following option
    a) USE  BBP_PO_PD_MAP_APO_UPDATE & enhance to our requirement
    b) Function module BBP_PD_PO_UPDATE
    When I am using BBP_PD_PO_UPDATE, the program is getting terminated suggesting it cannot update.
    I am a functional person, all this I have done on my own. I might be right or wrong. Can any body suggest what solution should be adopted for this requirement
    Other solution are also welcome.

    Hi
    Following is the scenario for me
    User will login to portal and enter the header information and save the PO in SRM. Later he will upload line item details using the excel file into SRM.
    As per my analysis I have noted that there are following function module to solve this
    1. BBP_BC_PO_Create
    2. BBP_PD_PO_Create
    3  BAPI_POEC-CREATE
    However I feel that we cannot use this function module becuase the user has already saved the header information. Hence we have to either work on following option
    a) USE  BBP_PO_PD_MAP_APO_UPDATE & enhance to our requirement
    b) Function module BBP_PD_PO_UPDATE
    When I am using BBP_PD_PO_UPDATE, the program is getting terminated suggesting it cannot update.
    I am a functional person, all this I have done on my own. I might be right or wrong. Can any body suggest what solution should be adopted for this requirement
    Other solution are also welcome.

  • From my library, how do I upload previous purchased songs into the cloud?

    I have a slew of songs in my library, but I can't figure out how to upload those songs into the iCloud, and yes, they were purchased from the iTunes store. Help!

    Check the ID you are signed in with in Settings>iTunes & App Store.  Any music you purchased with that ID should be available to download from iCloud by opening the iTunes Store app, then tap More>Purchased>Music>Not on This iPhone (iPod, iPad), then tap the iCloud download symbols to download them.  You can also go to Settings>Music, turn on Show All Music, then open the Music app, go to your song list and tap the iCloud download symbols next to purchased songs that are not already on your device. 
    You can only do this with a single ID.  If you have music purchased with a different ID, they will not appear in your purchased list.  Also, after download previous purchases for one ID you cannot download previous purchases from a different ID for 90 days (see http://support.apple.com/kb/HT4627).

  • Upload Purchase Orders - SRM 5.0

    Can any one tell me the name of the function module / bapi / program that is provided within SRM that will allow me to upload purchase orders via a spreadsheet.
    This is apparently supplied as standard.
    Thanks in advance.
    Keith

    Yeap, sure!
    You can do this, if you go into the PO, you'll see these buttons.
    Check that.
    Rgs,
    Pedro Marques
    Edited by: Mr. Pedro Marques on Jun 30, 2008 5:35 PM

  • Uploading contracts into SRM from flat file...

    I am asked to develop this program but I am not sure what transactions are involved and what approach to take.
    I know how to upload the file but not sure how to upload the contracts to SRM.
    Thanks for the help.

    Hi Rakesh,
    I have encountered the same difficulty in creating the contract as well. Thanks for your code sample. I have tried to follow it closely but still i am not successful. Is it possible for you to take a look at my code?
    data: pc_id like CRMD_ORDERADM_H-OBJECT_ID.
    data: pc_header_out like BBP_PDS_CTR_HEADER_IC.
    data: pc_header_in like BBP_PDS_CTR_HEADER_D.
    *data: pc_item type table of BBP_PDS_CTR_ITEM_D with header line.
    data: pc_item type table of BBP_PDS_CTR_ITEM_ICU with header line.
    data: pc_text type table of BBP_PDS_LONGTEXT.
    data: pc_partner type table of BBP_PDS_PARTNER.
    data: wa_part like line of pc_partner.
    data: pc_org type table of BBP_PDS_ORG with header line.
    data: pc_message type table of BBP_PDS_MESSAGES with header line.
    Insert dummy data*****************************************************
    pc_header_out-CURRENCY = 'SGD'.
    pc_header_out-PROCESS_TYPE = 'PCTR'.
    Insert Purchase Org data *********************************************
    pc_org-PROC_ORG_RESP_ID = 'O 50000026'.
    pc_org-PROC_ORG_ID = 'O 50000025'.
    pc_org-PROC_GROUP_ID = 'O 50000026'.
    Insert BP data - vendor, employee Purch Org and DSTA******************
    *DSTA
    wa_part-PARTNER_ID = '0000000001'.
    wa_part-PARTNER_GUID = '4BD22A16AFA2B74D844E1595998AE7E5'.
    wa_part-PARTNER_FCT = '00000038'.
    wa_part-ADDR_TYPE = '1'.
    wa_part-ADDR_NO = '0000010469'.
    append wa_part to pc_partner.
    clear wa_part.
    *employee
    wa_part-PARTNER_ID = '0000000006'.
    wa_part-PARTNER_GUID = 'E3D4AAE842930D41B7B107F3CC60B44D'.
    wa_part-PARTNER_FCT = '00000026'.
    wa_part-ADDR_TYPE = '3'.
    wa_part-ADDR_NO = '0000010472'.
    wa_part-PERS_NO = '0000010474'.
    append wa_part to pc_partner.
    clear wa_part.
    *vendor
    wa_part-PARTNER_ID = '0000000311'.
    wa_part-PARTNER_GUID = 'F0BC646129BE2D4BB7E301F8F3708B1E'.
    wa_part-PARTNER_FCT = '00000019'.
    wa_part-ADDR_TYPE = '1'.
    append wa_part to pc_partner.
    clear wa_part.
    *purch org
    wa_part-PARTNER_ID = '0000000002'.
    wa_part-PARTNER_GUID = '48459C575651D04091BAF1B9A554CF51'.
    wa_part-PARTNER_FCT = '00000051'.
    wa_part-ADDR_TYPE = '1'.
    wa_part-ADDR_NO = '0000010470'.
    append wa_part to pc_partner.
    clear wa_part.
    Item data
    pc_item-CATEGORY_ID = 'ARMOUR'.
    pc_item-QUANTITY = '233'.
    pc_item-PRICE = '1234'.
    pc_item-VALUE = '4321'.
    pc_item-UNIT = 'EA'.
    pc_item-PRODUCT = 'B78A60018B6018418F6D0F1632E10F69'.
    pc_item-DESCRIPTION = 'Russian T72 Tanks'.
    *--Reset Buffer Tables
    CALL FUNCTION 'BBP_PROCDOC_RESET_BUFFER'.
    Create PC*************************************************************
    call function 'BBP_PD_CTR_CREATE'
    exporting
    I_HEADER = pc_header_out
    importing
    E_HEADER = pc_header_in
    tables
    I_ITEM = pc_item
    E_PARTNER = pc_partner
    I_ORGDATA = pc_org
    I_LONGTEXT = pc_text
    E_MESSAGES = pc_message.
    write: pc_header_in-guid.
    the guid return all 0s. The error message in pc_message is supply only one type of vendor and one type of responsible employee. Thanks for taking time to read this. I will really appreciate if anyone is able to help me solve this. Of course point will be rewarded. Thanks again!

  • HT204053 i have two apple id one for Store purchases and the other for iCloud, and i want to merge them into one, can i transfer all app from one to other ?

    i have two apple id one for Store purchases and the other for iCloud, and i want to merge them into one, can i transfer all app from one to other ?

    It is not possible to merge Apple IDs.

  • How do I load an .atf file into a ByteArray for upload to the GPU?

    I'm trying to optimise the amount of GPU memory my textures use for a Stage3D project so I thought I'd finally switch to ATF textures. I've converted them from png to atf using the png2atf tool and I'm loading them with a URLLoader but I'm having trouble passing the textures into ByteArrays. I've tried various things and I'm running out of ideas; Does anyone know the AS to pass a loaded atf into a ByteArray? I need it to be a ByteArray for upload to the GPU with the
    uploadCompressedTextureFromByteArray method on the Texture class - unless someone knows better...

    Hello there. Thanks for the reply, but I had already seen that page (I've been searching online a lot for a solution to this). That page only details using the Embed tag to add the .atfs. I want to load them in at run time with a URLLoader. THAT's working fine; It's then passing the loaded object into a ByteArray that I'd like help with. Cheers.

Maybe you are looking for