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.

Similar Messages

  • How to find the standard Idoc for Transfer Order (LT03)

    hi
    How to find the standard Idoc for Transfer Order (LT03)
    How to create the Idoc on LT03
    plz help me out
    Thank u
    Ram

    Someone is using FM: L_IDOC_INPUT_WMTORD, message type WMTORD and basic type WMTOID01 in doing this when trying to send an Idoc to an external system when a transfer order for a delivery note is created (LT03). Is it OK
    Please reward points

  • Hello !  pls give some ti[ps how to use bapi's for data uploading?

    hello !
      pls give some ti[ps how to use bapi's for data uploading?
    regards,
    Arjun

    Hi,
    See the below report extract:
    where it_data is having uploaded data.
    LOOP AT<b> it_data</b> INTO wa_data.
        line_count = sy-tabix.
        "Date Validation
        CONCATENATE wa_data-uplft_date4(4) wa_data-uplft_date2(2) wa_data-uplft_date+0(2)
        INTO wa_data-uplft_date.
        "READ TABLE it_ekko INTO wa_ekko WITH KEY lifnr = wa_data-vendor.
        LOOP AT it_ekko_temp INTO wa_ekko_temp WHERE lifnr = wa_data-vendor.
          IF wa_ekko_temp-kdatb <= wa_data-uplft_date AND wa_ekko_temp-kdate >= wa_data-uplft_date.
            MOVE-CORRESPONDING wa_ekko_temp TO wa_ekko.
            APPEND wa_ekko TO it_ekko.
          ENDIF.
        ENDLOOP.
        "IF sy-subrc = 0 AND wa_ekko-kdatb <= wa_data-uplft_date AND wa_ekko-kdate >= wa_data-uplft_date.
        LOOP AT it_ekko INTO wa_ekko.
          wa_data_header-pstng_date = wa_data-uplft_date.
          wa_data_header-doc_date = sy-datum.
          wa_data_header-bill_of_lading = wa_data-bill_of_lad.
          wa_data_header-ref_doc_no = wa_data-del_no.
          CONCATENATE wa_data-header_text1 '-'
                      wa_data-header_text2 '-'
                      wa_data-header_text3 '-'
                      wa_data-header_text4
                      into wa_data_header-HEADER_TXT.
          IF wa_data-indicator = 'Y'.
            wa_data_item-material = '000000000000200568'.
          ELSE.
            wa_data_item-material = '000000000000200566'.
          ENDIF.
          LOOP AT it_ekpo INTO wa_ekpo WHERE ebeln = wa_ekko-ebeln AND matnr = wa_data_item-material.
            "Collect Item Level Data
            wa_data_item-plant = '1000'.
            wa_data_item-stge_loc = '1001'.
            wa_data_item-move_type = '101'.
            wa_data_item-vendor = wa_data-vendor.
            wa_data-qnty = wa_data-qnty / 1000.
            wa_data_item-entry_qnt = wa_data-qnty.
            wa_data_item-po_pr_qnt = wa_data-qnty.
            wa_data_item-entry_uom = 'KL'.
            wa_data_item-entry_uom_iso = 'KL'.
            wa_data_item-orderpr_un = 'KL'.
            wa_data_item-orderpr_un_iso = 'KL'.
            wa_data_item-no_more_gr = 'X'.
            wa_data_item-po_number = wa_ekpo-ebeln.
            wa_data_item-po_item = wa_ekpo-ebelp.
            wa_data_item-unload_pt = wa_data-unload_pt.
            wa_data_item-mvt_ind = 'B'.
            APPEND wa_data_item TO it_data_item.
            CLEAR wa_data_item.
          ENDLOOP.
          CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
            EXPORTING
              goodsmvt_header = wa_data_header
              goodsmvt_code   = goodsmvt_code
              testrun         = 'X'
            TABLES
              goodsmvt_item   = it_data_item
              return          = return.
          READ TABLE return INTO wa_return WITH KEY type = 'S'.
          IF sy-subrc <> 0.
            DESCRIBE TABLE return LINES sy-tfill.
            IF sy-tfill = 0.
              CALL FUNCTION <b>'BAPI_GOODSMVT_CREATE'</b>   
            EXPORTING
                  goodsmvt_header = wa_data_header
                  goodsmvt_code   = goodsmvt_code
                  testrun         = ' '
                TABLES
                  goodsmvt_item   = it_data_item
                  return          = return.
              CALL FUNCTION <b>'BAPI_TRANSACTION_COMMIT'</b>
               EXPORTING
                 WAIT          = 'X'
              IMPORTING
                RETURN        =
            ENDIF.
          ENDIF.
          LOOP AT return INTO wa_return.
            WRITE: 'Messsage TYPE  ', wa_return-type,
                  /,'ID  ', wa_return-id,
                  /, 'Number  ', wa_return-number,
                  /, 'Message  ', wa_return-message,
                  /, 'Long Text  ', wa_return-message_v1,
                                    wa_return-message_v2,
                                    wa_return-message_v3,
                                    wa_return-message_v4,
                 /, 'Failed at line', line_count.
          ENDLOOP.
          CLEAR: wa_ekko, wa_ekpo, wa_data, it_data_item[], wa_data_header.
        ENDLOOP.
    Reward if useful!

  • Steps of EDI is used to transfer IDOC from R3 system to non sap system

    Hi Experts,
    Can you provide me Steps to configure EDI is used to transfer IDOC from R3 system to non sap system?
    Full points will be assigned.
    Thanks in advance!
    Sapna

    Hello,
             The EDI Configuration required to be done for Transfering IDoc to non SAP System is.
    1. First of all, we need to identify the Transaction Data which is required to be Transfered to external System.(Ex: Sales Order Data or Shipment Data or Delivery Related Data).
    2. Secondly, Identify the IDoc Type & Message Type. IDoc Type can be found in Transaction WE30 & Message Type Can be explored in Transaction WE81.
    3. After that, assign the IDoc Type to Message Type in WE82.
    4. Identify the Selection Program (Outbound) which is generally a Function Module in the Form of IDOC_OUTPUT_<Message Type>. Example, if the Message Type is ORDERS, the FM will be IDOC_OUTPUT_ORDERS.
    5. Assign the Function Module to a Process Code in WE41 (Process Code for Outbound).
    6. Configure Port Definitions in WE21 for which the RFC destinations are to be maintained in Transaction SM59.
    7. Maintain Partner Profiles for the Outbound Message Processing in WE20.
    8. Last, but not the Least, we need to Focus Mainly on Message Control Configuration which is nothing but maintaining the Output Type for the Outbound IDoc to be Triggered for the Sales Order Application or Delivery Application.
       i. In Message Control Configuration, we'll maintain
          a. Condition Tables
          b. Access Sequences
          c. Output Types
       ii. To Create the above elements, we can go to SPRO Transaction and do the same depending on the Application Area such as Sales / Shipping / Logistics Execution etc.
       iii. For Output Types & Access Sequences, we can go to the Transaction NACE or VK01 in which we'll maintain the Output Types / Access Sequences & Condition Records.
       Please note that all the above steps may not be needed if we are using some of the Standard Elements provided by SAP such as Message Type, Process Code, IDoc Type & Selection Program as many of the Standard SAP Applications have their own Elements for different Application Areas.
       For example, if you want to send an Order Confirmation IDoc when the Sales Order is saved, you can use the Message Type ORDRSP, IDoc Type ORDERS05 & Selection Program as IDOC_OUTPUT_ORDRSP.
       However, Message Control Configuration is the Key Factor and is required for all the Applications as per the Customer's / Client's Requirements.
    Hope the above procedure was clear.
    Thanks and Regards,
    Venkat Phani Prasad Konduri

  • Idoc error - backend purchase contract

    Hi
    We are using the classic scenario. Backend purchase contract gets created from the winning bid.
    the idoc fail with the following error " unable to interpret <.0 as a number" . the field it complians about is the tolerance field. Field EKPO-UNTTO contains "<.0"
    Thanks
    Lebo

    hi lebo
    did you resolve it? how doid you do?
    muthu

  • How to insert the standard idoc segment in the idoc

    Hi Experts!
    We  are using  SRM 7.0.Wo got a requirement as below:
    In our organiation there will be both regular employees and the non-employees.For non-employees address will not be maintained in Tcode PA20 in backend ECC HR  system.Where as for employees address will be maintained.
    As the HR replication will be done by scheduled jobs, in case of non employees replication is not happening due to the missing address in PA20.In order to avoid this we are building some logic and as part of it we need to add the standard IDOC segment  'E1P0006' in the main idoc as this particular segment is for address and it is missing due to the missing address in PA20 for non-employees where as this idoc segment will be there for employees.
    As am very much new to idoc concept can some one help me how to handle this if any one of you came across this kind of scenario.
    Please find the attached document for the idoc seq we have.
    Thanks in advance.
    Regards,
    Kalyani

    1. Open the form
    2. Choose Tools--> Diagnostics
    3. In the block field choose $DESCRIPTIVE_FLEXFIELD$
    4. Field will show the list of all the DFF's enabled for that form.
    5. Choosing one will display the name of the DFF in the value field.
    Thanks
    Nagamohan

  • How to use a standard service available in SOAP to ABAP proxy scenario?

    Hello Experts,
    My scenario is SOAP to ABAP proxy wherein I have to send Sales Order from Third party TC to SAP.
    Third Party->SOAP Adapter->PI 7.1->ABAP Proxy->ECC.
    I have seen a standard service available at the following URL.
    http://esworkplace.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?packageid=DEE98D07DF9FA9F1B3C7001A64D3F462&id=13A904EA0E8711DC5A11000F20FCB6A9.
    Can I use the above web service for my current scenario? If yes, please explain how?
    Thanks & Regards
    Nidhi

    Third Party--->SOAP Adapter--->PI 7.1--->ABAP Proxy--->ECC
    I am actually looking for using standard webservice that has been provided by SAP in ESWorKSPACE available on sdn.
    The WS that you mentioned is inbound and hence wont suit your requirement!
    The reverse flow may however be possible.
    Create Sales Order_V2
    synchronous inbound service operation
    Regards,
    Abhishek.

  • How to use ManagementClient.ManagementCertificates.CreateAsync to upload a cert

    I am looking for a way to upload a certificate to azure management certificates
    var p = new ManagementCertificateCreateParameters();         p.Data = new X509Certificate2(@"c:\test\test.pfx", "test").Export(X509ContentType.Cert, "test")
           await client.ManagementCertificates.CreateAsync(p);
    But seems it doesn't work.  When my program execute
          await client.ManagementCertificates.CreateAsync(p);
    It just hang there and never return
    Did i do something wrong?

    Greetings!
    Please refer to the article below which elaborates on adding a certificate to your project.
    http://www.codeproject.com/Articles/679627/How-to-use-the-preview-of-the-new-Azure-Management
    Thank you,
    Arvind

  • How to use sbi debit card for itune purchase

    HOw to use sbi debit card for purchasing items from iTunes store?

    Assuming that you are referring to SBI debit cards in India, then going on this thread you won't be able to Re: can i download from itunes using debit card in india ?

  • LSMW - Upload purchase contracts (ME31K) with BAPI

    I'm trying to upload some contracts from the legacy to SAP ECC 6.0 using LSMW.
    I've already worked with Direct Input and Batch Input record with LSMW but never with BAPI.
    I found business object BUS2014 / Message Type - PURCONTRACT_CREATE but I don't know how to continue the process. Could you give me some suggestions?
    Thanks in advance,
    Guiza

    Hi,
    I saw some examples but I'm still with the same problem. At step 4 Maintain Structure Relations I have this error: "No target structures could be found - Message no. /SAPDMC/LSMW_OBJ_030001".
    What could be?
    Step 1 - Business Object Method -
    BUS2014
    Method: Create
    Step 2 - I've create 2 structures
    Header and Item
    Step 3 - I associate the fields that I want to upload.
    I don't know but could the error be because the Idoc Inbound Processing?
    Thanks,
    Guiza

  • EDI IDOC OUTBOUND send Purchase Orders from sap to vendors

    Hi Experts,
           I am new to EDI IDOCS, but i got object on this. So my requirement is purchase orders are send to vendors from sap (OUTBOUND) through EDI-850 format. and also i have to add some more fields to standard idoc type ORDERS05, one more condition is if vendor type is not EDI, then the POs should send through fax, email, how can we solve this condition.
    So plaese send some sample code on this object.
    Thanks in advance,
    S Reddy

    Hi ,
    You can send the purchase order to the vendors using different outytpes configurations in NACE transaction .
    If you define a particular output type where you need to give medium 6 and define partner functions within this you can also set condition which partner needs to recieve EDI output and which one FAX or email all this will be done by Functional expert.
    For adding extra segments to your basic type ORDERS05  you need to extend the idoc you can do it via WE30 and WE31 .Link you message type to basic type and extension . Please follow below tcodes for further help . Create all the requested steps in the tcodes mentioned below.
    we20:patner profile
    we21:port
    we30:idoc creation
    we30:segment creation
    we81:message type
    we82:link message with idoc type.
    we02:to status of idocs.
    Now you need to write code for filling those extra segments you have added to you extension type. For that you need to check where your new segment is placed in Idoc structure . There will be a exit avaliable to attach your code to fill those segments .
    Please go through previous SDN links to see more info.
    One the settings are done in the NACE , issue output from PO transction and once your output is processed check your Idoc in WE02 to see if the segments are coming with the desired data.
    Regards
    Vikas

  • Issue with Idoc for creating purchasing contracts

    Hello everyone,
    I'm trying to create purchasing contracts using Idoc BLAORD3 through LSMW.
    But i have a problem : all informations concerning account assignement are missing on this Idoc.
    Does anyone know how to solve this problem? Maybe is there a BAPI which could replace my Idoc? Or is there another Idoc which could create account assignement seperatly?
    Thanks in advance for your help.
    Cédric

    Hi,
    Try using E1EDK18 segment. Put "Number of days" ,Qualifier and check if this achievs the desired result or not? If yes then you have to use an user exit to put the number of days in the IDOC.
    Cheers,

  • How to extract User status for Sales and purchase contracts

    Hello,
    We need to load the User status linked to sales and purchase contract.
    I think that there is no datasource in BI content.
    What is the better solution ?
    - Enhance a standard datasource like 2LIS_11_VASTH with a status field (This solution is not ok for Purchase contract)
    - Create a spécific datasource to extract this status
    - Others
    Thanks for your help
    Best regards
    Christophe

    Hi,
    In your scenario its better to use generic extractor to get the reqd data. This data can than be stored in a DSO on the BI side.
    And you can look up for the user status using a routine .
    Regards,
    Rahul

  • My iphoto freezes when trying to use the standard eBay photo upload, the problem started after a recent iOS 7 update. The album photos don't appear until I try and close the upload and immediately freezes. Attempts to close iphoto fail.

    A week or so ago I reacted to an Apple update message. The update completed and this left me with a couple of problems. When the imac started up there was a Glims message on screen telling me that the computer had not closed entirely and asking if I wanted to allow glims to reopen previously open files. I ticked yes and Safari froze immediately. This would happen even after a restart, Safari would start up with the Glims message on my Yahoo mail account. Then whether I clicked on the Glims message or not one of various adverts would appear and Safari would immediately freeze. I managed to override this by quickly entering Safari extensions and subscribing to an advertisement blocking programme. Safari now worked without problems but the blocking programme created other problems mostly with iphoto. The eBay uploaded photos were minute. So I decided to remove the Safari blocking extension and all seemed fine for everything except iphoto which now freezes every time I try to upload eBay photo's using the eBay standard upload problem. Yesterday I changed to the other BASIC upload option and that did work. Thought it might be a one of glitch on the Standard but obviously not. Anyone's help would be appreciated. I note that at least one other member is experiencing the same or similar problem today.

    Sorry I am 70 and not very computer literate. Please explain in simpler terms. Perhaps I should have said Apple update for my iMac. It did however include an iphoto update. My imac is 3 years old, I also have an ipad 2 and iPhone and both received iOS 7 updates around the same time.

  • How to use a standard library binary search if I'm not searching for a key?

    Hi all,
    I'm looking for the tidiest way to code something with maximum use of the standard libraries. I have a sorted set of ints that represent quality levels (let's call the set qualSet ). I want to find the maximum quality level (choosing only from those within qualSet ) for a limited budget. I have a method isAffordable(int) that returns boolean. So one way to find the highest affordable quality is to start at the lowest quality level, iterate through qualSet (it is sorted), and wait until the first time that isAffordable returns false. eg.
    int i=-1;
    for (int qual : qualSet) {
         if !(isAffordable(qual))
              return i;
         i++;
    }However isAffordable is a slightly complicated fn, so I'd like to use a binary search to make the process more efficient. I don't want to write the code for a binary search as that is something that should be reused, ideally from the standard libraries. So my question is what's the best way of reusing standard library code in this situation so as to not write my own binary search?
    I have a solution, but I don't find it very elegant. Here are the important classes and objects.
    //simple wrapper for an int representing quality level
    class QualityElement implements Comparable<QualityElement>
    //element to use to search for highest quality
    class HiQualFinderEl extends QualityElement {
         HiQualFinderEl(ComponentList cl) {...}
    //class that contains fair amount of data and isAffordable method
    class ComponentList {
         boolean isAffordable(int qual) {...}
    //sorted set of QualityElements
    TreeSet<QualityElement> qualSet When you create an instance of HiQualFinderEl, you pass it a reference to a ComponentList (because it has the isAffordable() method). The HiQualFinderEl.compareTo() function returns 1 or -1 depending on whether the QualityElement being compared to is affordable or not. This approach means that the binary search returns an appropriate insertion point within the list (it will never act as if it found the key).
    I don't like this because semantically the HiQualFinderEl is not really an element of the list, it's certainly not a QualityElement (but it inherits from it), and it just feels ugly! Any clever suggestions? Btw, I'm new to Java, old to C++.
    If this is unclear pls ask,
    Andy

    Thanks Peter for the reply
    Peter__Lawrey wrote:
    you are not looking for a standard binary searchI'm not using a binary search in the very common I'm searching for a particular key sense, which is the Collections.binarySearch sense. But binary searches are used in other situations as well. In this case I'm finding a local maximum of a function, I could also be solving f(x)=0... is there a nice generic way to handle other uses of binary search that anyone knows of?
    I would just copy the code from Collections.binarySearch and modify itI have this thing about reusing; just can't bring myself to do that :)
    It would be quicker and more efficient than trying to shoe horn a solution which expects a trinary result.Not sure I understand the last bit. Are you referring to my bastardised compareTo method with only two results? If so, I know, it is ugly! I don't see how it could be less efficient though???
    Thanks,
    Andy

Maybe you are looking for

  • Custom message is not getting displayed after raising do_not_save

    Hi all, In Order_save BADI, based some conditions, we were throwing custom messages. FYI., code used, CV_OWN_MESSAGE = 'X'. MESSAGE 'xxxxxxxxxxxxxx' TYPE 'W' Raising do_not_save. After Solman upgrade from 7.0 to 7.1, system is not displaying custom m

  • Messages problem with PCSUITE !

    Hello everybody. I have one little problem : This morning i've resofted my phone, Nokia N70 ME, and i have saved all my messages and contacts directly from Nokia PC Suite under their original form : For contacts .vcf and for messages .vmg . I've mana

  • Installed 3.6.8 and now cannot switch from one open tab to another

    my home page automatically opens 4 tabs, I updated to 3.6.8 on my mac laptop. Now when the tabs are open I cannot go from one open tab to another even though the tabs are still up.

  • Reading Files (simple question)

    I'm doing some homework (and no, I'm not just looking for a handout answer, I just need a simple question answered) and I was wondering about how to read a word and evaluate if the word is the same as another word. I want to do this from a .txt file

  • IDOC DELINS Error with Ehp5

    Dear experts, We just have upgraded to Ehp5 and found an issue with standard IDOC segment. In segment E1EDP10 the following 3 fields are missing. IDNKD_EXTERNAL    IDNKD_VERSION    IDNKD_GUID        As per OSS note 1175343, i supposed to do the follo