Creation of purchase info using IDOC

We have a requirement where we creating the purchase info (ME11) via IDOC.
Currently we are using basic type "INFREC01" to create Info records.
But this IDOC type has limitations, as this IDOC does not contain scale quantity & some other fields.
To add these fields we have another IDOC type "COND_A04".
So, using this IDOC type to create condition Scale Quantity.
When i am trying to test this basic type COND_A04 in WE19 provding the condition type PB00 and the condition table 017 it gives me error of "Table not available". (checked the condition table in T681 for the condition type pb00)
Can i know how this can be handled?

looks like it accepted A017.
Why did you choose basis type COND_A04 ?
As this one is very special for long material numbers ( more than 18 digit material numbers) do you have such?
E1VFSCAH is the Scale header in case of dimension specific scales. do you have such?
Just try it with COND_A01

Similar Messages

  • Automatic creation of purchase info record

    Hi friends
    I could not find check box in RFQ (ME41!N)or in Quotation (ME47N) for updating/automatic creation of purchase info record.
    Thanks
    Sunny

    Hi,
    you can maintain the info update for the required quotation through ME47.choose the required line item and click on the "item detail" icon and put the necessary value for info update:
    1-     No update
    2-A     Update with or without plant
    3-B     Update with plant (if no plant ban)
    4-C     Update without plant (if no plant requirement)
    Indicator: Update Info Record
    Determines whether:
    The purchasing info record for this vendor and material is to refer to this PO item, and
    The item is to be valid for the entire purchasing organization or just for the plant.
    Use
    The indicator determines which prices and conditions are suggested in future PO items.
    Prices and conditions can apply to an entire purchasing organization or to a single plant within a purchasing organization.
    For example, if you create a purchase order for a plant for which an info record has been defined at plant level, the purchase order is based on the conditions in the plant info record and not on the conditions that apply to the purchasing organization.
    Procedure
    Enter the relevant plant key:
    A
    Updating of the document number is effected at plant level as long as there is a purchasing info record at plant level. Otherwise the document number is updated at purchasing organization level.
    B
    Updating is effected at plant level if plant conditions are allowed for the plant.
    C
    Updating is effected without plant data if plant conditions are not necessary for the plant.
    Dependencies
    The level at which updating of the document number may be effected is defined for each plant.
    Hope this will clarify your query.
    Thanks & Regards,
    Bijay Pradhan

  • CREATION OF PURCHASE INFO RECORDS

    Hi All ,
      Can anybody tell me how to use standard program RM06IBI0 for creation of purchase info record.
    Thanks in advance,
    Best Regards,
    Sugeet.

    HI
    I think it will be easy for you to handle it through an EXIT where you check a particular role or field entry for allowing a user to proceed further in creation of Info Record
    Regards
    Virender Singh

  • BAPI for creation of Purchasing info record

    Hi SAPians,
    Greetings......
    Can you help me out in giving the BAPI for the creation of Purchasing Info record (ME11) .
    Thanks in advance,
    Lekha.

    Hi ,
    You people have suggested me to use RM06IBI0 this program.
    I want to know in what way it can help me.
    Thankyou in advance,
    Lekha.

  • Create Sales order from Internal Purchase Order using IDOC

    Hello Friends,
    I have requirement to create Sales Order from Internal Purchase Order Using IDOC.
    Backgorund, we have already configured IDOC orders05 to create Sales Order from external Purchase order from Inbound IDOC, and it is working fine.
    Now we have new requirement to create Sales Order from our own Purchase order, i.e. When PO is created in one plant corresponidng sales order automatically must needs to create in another Plant with respect PO.
    I m trying to design a solution for above problem as follows,
    1.create an Inbound Idoc from PO, by creatiing one new message type on PO save.
    2.Process that Inbound  IDOC same as it is from external PO.
    3.Once processed Sales order will create.
    Please help me in step 1. to create Inbound IDOC from PO.
    If you want any further clarification please write me.
    Thanks,
    Mahesh

    I had done a similar scenario before and we achieved it through SAP XI. The problem is with the control record. When we create a ORDERS IDOC from a PO the control record will be for outbound transmission. We sent the file to XI and XI resent it back with some data parsing and a new inbound control record. This way it went neat outbound and inbound.
    I'm not sure what kind of architecture you have. If you have to do it within your ECC/R/3, then you could create the outbound IDOC to a new port and write a fresh RFC to pick it up from the same folder and create a new control record for inbound processing.
    I haven't tried this; but there is a "processing w. trigger (inbound)" option on the outbound process code. May be you can explore into that a bit more.
    I'm sure there could be better approaches to handle this within ECC so if you stumble on any, do write back. I would like to know to update my knowledge .

  • Creation of purchase info records using me11 and me12

    are there any bapis for creation / update  of purchase info records with  pricing conditions using transaction me11 and me12 ?
    plz tell me ?
    Moderator message: please search for available information before asking.
    locked by: Thomas Zloch on Aug 10, 2010 2:52 PM

    looks like it accepted A017.
    Why did you choose basis type COND_A04 ?
    As this one is very special for long material numbers ( more than 18 digit material numbers) do you have such?
    E1VFSCAH is the Scale header in case of dimension specific scales. do you have such?
    Just try it with COND_A01

  • Creation of purchase info record

    Hi any body pls let me know how we can create purchase info record(me11)
    i am an abaper i want to know the functionality in that
    let me know the mandatory fields because i have an requirement to create it using
    lsmw
    thanks in advance

    hi,
    try abap RM06IBI0
    A.

  • Creation of purchase order using bapi

    hi gurus,
    Can anyone give me an example of how to create purchase order using bapi

    Hi use BAPI_PO_CREATE.. I have an eg. of changing a PO using BAPI. This is almost similar to create.. Go thru and let me know if u need more info..
    Dont forget to use 'BAPI COMMIT'  after the function call...
    DATA:
    *Update Short text, qty, net price, item no.,
    *agreement no. and agreement line no.
         it_po_item                  TYPE TABLE OF bapimepoitem,
    *Select fields
         it_po_item_x                TYPE TABLE OF bapimepoitemx,
    *Delivery date
         it_po_schedule              TYPE TABLE OF bapimeposchedule,
    *Select fields
         it_po_schedule_x            TYPE TABLE OF bapimeposchedulx,
    *Return parameters
         it_return                   TYPE TABLE OF bapiret2,
    *PO Account
         it_po_account               TYPE TABLE OF bapimepoaccount,
    *Select fields
         it_po_account_x             TYPE TABLE OF bapimepoaccountx,
    Condition Types
         it_po_cond                  TYPE TABLE OF bapimepocond,
    *Select fields
         it_po_cond_x                TYPE TABLE OF bapimepocondx,
         it_po_text                  type table of BAPIMEPOTEXT.
    Structures
    DATA:
          st_po_header               TYPE         bapimepoheader,
          st_po_header_x             TYPE         bapimepoheaderx,
          st_po_item                 LIKE LINE OF it_po_item,
          st_po_item_x               LIKE LINE OF it_po_item_x,
          st_po_schedule             LIKE LINE OF it_po_schedule,
          st_po_schedule_x           LIKE LINE OF it_po_schedule_x,
          st_return                  TYPE          bapiret2,
          st_po_account              LIKE LINE OF  it_po_account,
          st_po_account_x            LIKE LINE OF  it_po_account_x,
          st_po_cond                 LIKE LINE OF  it_po_cond,
          st_po_cond_x               LIKE LINE OF  it_po_cond_x,
          st_po_text                 like line of  it_po_text.
    Variables
    DATA : po_number    TYPE bapimepoheader-po_number,
           w_item_no(10) TYPE n VALUE  '1'.
    START-OF-SELECTION.
    test values
      po_number                = '94490'.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
      EXPORTING
        input         = po_number
    IMPORTING
       OUTPUT        = po_number
      st_po_item-po_item       = w_item_no.
      st_po_item-quantity      = '00.000'.
      st_po_item-delete_ind    = 'X'.
    st_po_item-short_text    = 'ZMU-test1'.
    st_po_item-agreement     = '0060000128'.
    st_po_item-agmt_item     = '1'.
    st_po_item-net_price     = '1'.
      st_po_item_x-po_item      = w_item_no.
      st_po_item_x-po_itemx     = 'X'.
      st_po_item_x-delete_ind   = 'X'.
      st_po_item_x-quantity     = 'X'.
    st_po_item_x-short_text   = 'X'.
    st_po_item_x-agreement    = 'X'.
    st_po_item_x-agmt_item    = 'X'.
    st_po_item_x-net_price    = 'X'.
    st_po_schedule-po_item         = w_item_no.
    st_po_schedule-delivery_date   = '9/19/2008'.
    st_po_schedule-quantity        = '1'.
    st_po_schedule_x-po_item         = w_item_no.
    st_po_schedule_x-po_itemx        = 'X'.
    st_po_schedule_x-delivery_date   = 'X'.
    st_po_schedule_x-quantity        = 'X'.
    st_po_cond-itm_number  = w_item_no.
    st_po_cond-cond_type   = 'PB00'.
    st_po_cond-cond_value  = '1.000'.
    st_po_cond-currency    = 'USD'.
    st_po_cond-change_id   = 'U'.
    st_po_cond_x-itm_number  = w_item_no.
    st_po_cond_x-itm_numberx = 'X'.
    st_po_cond_x-cond_type   = 'X'.
    st_po_cond_x-cond_value  = 'X'.
    st_po_cond_x-currency    = 'X'.
    st_po_cond_x-change_id   = 'X'.
    st_po_text-PO_NUMBER = po_number.
    st_po_text-PO_ITEM = w_item_no.
    st_po_text-TEXT_LINE = 'MU_TEST1 MU_TEST2'.
      APPEND:
             st_po_item_x      TO it_po_item_x,
             st_po_item        TO it_po_item.
            st_po_schedule_x  TO it_po_schedule_x,
            st_po_schedule    TO it_po_schedule,
            st_po_cond        TO it_po_cond,
            st_po_cond_x      TO  it_po_cond_x,
            st_po_text        to  it_po_text.
    st_po_text-PO_NUMBER = po_number.
    st_po_text-PO_ITEM = w_item_no.
    st_po_text-TEXT_LINE = 'MU_TEST2'.
    st_po_text-TEXT_FORM = '03'.
    append st_po_text to it_po_text.
      PERFORM function_call.
      LOOP AT it_return INTO st_return.
        WRITE:/ st_return-message, 'Message type =', st_return-type,/.
      ENDLOOP.
      REFRESH:
                it_return,
                it_po_item,
                it_po_item_x,
                it_po_cond,
                it_po_cond_x.
    PERFORM update_price.
    WRITE:/ 'After update - Messages'.
    LOOP AT it_return INTO st_return.
       WRITE:/ st_return-message, 'Message type =', st_return-type,/.
    ENDLOOP.
    data: begin of test occurs 0,
            f1,
          end of test.
          FORM function_call                                            *
    FORM function_call.
      CALL FUNCTION 'BAPI_PO_CHANGE'
        EXPORTING
          purchaseorder              = po_number
         POHEADER                  =
         POHEADERX                 =
      POADDRVENDOR                 =
      TESTRUN                      =
      MEMORY_UNCOMPLETE            =
      MEMORY_COMPLETE              =
    IMPORTING
      EXPHEADER                    =
       TABLES
          return                     = it_return
          poitem                     = it_po_item
          poitemx                    = it_po_item_x
      POADDRDELIVERY               =
        poschedule                 = it_po_schedule
        poschedulex                = it_po_schedule_x
       poaccount                   =
      POACCOUNTPROFITSEGMENT       =
       poaccountx                  =
      POCONDHEADER                 =
      POCONDHEADERX                =
       pocond                      =  it_po_cond
       pocondx                     =  it_po_cond_x
      POLIMITS                     =
      POCONTRACTLIMITS             =
      POSERVICES                   =
      POSRVACCESSVALUES            =
      POSERVICESTEXT               =
      EXTENSIONIN                  =
      EXTENSIONOUT                 =
      POTEXTHEADER                 =
       POTEXTITEM                   =  it_po_text
      POPARTNER                    =
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
           EXPORTING
                wait   = 'X'
           IMPORTING
                return = st_return.
    ENDFORM.

  • Creation of Purchase Requisition using BAPI

    Hi Experts
    Can anyone provide me the sample code for creating Purchase Requisition using BAPI
    Thanks in advance

    Hi siri,
    go throught this, hope
    http://www.erpgenie.com/abap/bapi/example.htm
    Also refer to the following links..
    www.sappoint.com/abap/bapiintro.pdf
    www.sap-img.com/bapi.htm
    www.sap-img.com/abap/bapi-conventions.htm
    www.planetsap.com/Bapi_main_page.htm
    www.sapgenie.com/abap/bapi/index.htm
    Checkout !!
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    http://techrepublic.com.com/5100-6329-1051160.html#
    http://www.sap-img.com/bapi.htm
    http://www.sap-img.com/abap/bapi-conventions.htm
    http://www.sappoint.com/abap/bapiintro.pdf
    http://sap-img.com/bapi.htm
    Thanks
    Naveen khan
    Message was edited by:
            Pattan Naveen

  • Mass Creation of Purchasing Info Records

    Hi all,
    we want to change the vendor for a certain amount of articles (old vendor e.g. 102, new vendor e.g. 768).
    To order the articles (maybe approx. 1000) by the new vendor, we need to create new Purchasing Info Record (for vendor 768) for every article bought by vendor 102.
    Is there a standard transaction to handle this? MASS_EINE doesn't seem to fit to my problem.
    Regards,
    Tobias

    Hi Tobias,
    You need to go for creating new Inforecord for Article, Vendor, Porg and Site Combination .
    You should not go for Mass Maintanace for changing vendor.
    Go for Uploading by  LSMW or BDC for ME11 tcode.
    Regards,
    Selvakumar. M

  • Need to create sales out of purchase order using idocs

    Hi All,
    I have a requirement to create sales order based on purchase order with in the same sap system and same client(using orders04 idoc type).I have some doubts below could you please some body clarify?
    I know the basic steps in ALE(theritical knowlege)but I need clarifications for below questions.
    1)Which tehnology I should use here ALE or EDI?
    2)With in the same client how can I create 2 logical systems.
    3)How the idoc will go the recevier I mean what all are the ways to trigger outbound idoc from sender side.
    4)Inbound side how the sales order will create based on the inbound idoc?Is it automatic from inbound settings or we have to do anyting for this?
    5)I need to check some conditions with the inbound purchase order data before creating sales order.I think this one we can do in the user exit of inbound function module .Can I control the type of document that it has to create(ex sales order based on some condition or quotation based on some other condition).
    Best regards
    Mahesh

    Hi Mahesh,
                     My suggetion is that develope program to do your scenario... Use BAPI to create Sales order. First confirm with the Functional team for the input for sales order about sales area, company code, conditions type to be used while creation a sales order against Purchaser order... If the details is same then. First get the details of the Purchase order from BAPI " 'BAPI_PO_GETDETAIL' or you can get details by select queries on EKKO & EKPO for header and details....
                    Then pass data to BAPI of sales order creation 'BAPI_PO_CREATE' . to create sales order and handle error with parameter         RETURN                           = IT_BAPIRETURN
    by giving loop on that....and display in the output.....
    This is the simplest way of doing your process...
    If any other help please let me know.....
    reward points..
    Cheers,
    Sagun Desai....

  • Problem with HU during creation of Inbound Delivery using IDoc

    Hi,
    When I am creating Delivery manually and perform Packing, Handling Unit information is stored in VEKP and VEPO tables.
    But when I am processing through IDoc, after passing data to Handling Unit Segments E1EDL37 (Handling unit header), E1EDL39 (Control Segment for Handling Units), E1EDL44 (IDoc: Handling Unit Item - Delivery), It is creating delivery successfully but Handling Unit information is not getting stored in VEKP, VEPO tables.
    Tried most of the notes 912470, 678464, 682506 and all of them say "<i>You use the Idoc DESADV to create inbound delivery with packing data. The delivery is created, Idoc gets status 52 but the Handling Units (HUs) are missing. This is due to a program error. In case the IDoc contains segments to create HUs (E1EDL37), the IDoc processing should end in error status (51) as long as no packing data could be created</i>.".
    Need your advice whether we have to maintain any customizing for this or how to proceed with it.
    Thanks in advance,
    Murali.

    IDocs and BAPIs sometimes behave differently than transactions. You might need to add a user exit specifically for IDoc processing. Otherwise send a message to SAP and have them look at it.

  • Creation of sales order using IDOC

    Hello All,
    PO is created in a website,which comes to SAP as a Idoc.Sales order need to be created with this idoc information. We are extending ORDERS05, since we are in need to add z segment as a child segment of E1EDKA1 to hold 3 email addresses.
    Could anyone say how to handle these email addresses in SAP and which exit is to be used for the same?
    Is that EXIT_SAPLVEDA_001 or EXIT_SAPLVEDA_004.
    Thanks in advance.
    Meenakshi

    Hi,
    its EXIT_SAPLVEDA_001.
    Regards

  • Creation of bussiness partner using idoc CRMXIF_PARTNER_SAVE

    Hi,
              how create a bussiness partner using the idoc CRMXIF_PARTNER_SAVE

    Hello!
    This is not easy, but still...
    0. Generate Idoc interface if not done already.
    1. Define Idoc port in WE20 transaction, allowing inbound processing of this Idoc type.
    2. In WE19 (test Idoc) transaction, you could create Idoc with necessary data. For field reference and some internal commands - visit http://ifr.sap.com and locate appropriate RFC.
    3. Test it!
    For real samples - you could configure some middleware sites in CRM and assign them to XIF - Idoc interface.  With test program CRMXIF_PARTNER_TEST you could unload Idoc to this destination site.
    Good source of Information - Michael Van Geet has some guidelines on how to set up a XIF site. These manuals describes required actions in details.
    My best regards, Andrei Dirotchka

  • Update Purchase Org using IDOC

    Hi
    Below is my issue on IDOC
    I have five purchase organization(2301,2302,2303,2304,2305).Each and every Purchase organizatin is attached with the different vendors,and GRN is create for each and every vendors.
    Whenever I am running the IDOC it is updating that Purchase organisation which is last updated in  wb02,if any new GRN is creating FOR other Purchase Org which is not in Wb02 list the GRN is getting failed in IDOCs.
    Due to this everytime I am manually updating the Purchase org by going to wb02 Tcode and assign that Purchase org than I am going to BD87 tO run that IDOC whichs assign for that Purchase Org.
    Plase help me how can I avoid this everytime manual updation of IDOCs , and how can I manage to update all the Purchase organization in a single time rather than going to WB02 everytime to assign the Purchase org and than update the IDOC in BD87.
    Thanks
    Jay

    Let me know your ID will send u the document regarding this
    Sas

Maybe you are looking for

  • Can't mount a folder from a windows network..

    Our "IT" (outsourced) department migrated the network folders to another server and changed the filepath on the one folder I need to mount on my Macbook Pro (OSX 10.6.8). I have been able to mount the new folder onto other Windows boxes succesfully,

  • No Personal Technical Support from Apple for iTunes on a new 64bit systems.

    HP Pavilion DV 9000 64 Bit   Windows Vista   Brand New HP Pavilion DV 9000 64 Bit   Windows Vista   Brand New When I attempt to import the well organized Music folder located on my from C drive only 6 out 10 gigs are copied. Even worse, many of the i

  • Looking at Softwares, Can someone answer some quesitons about Captivate?

    Hey all, I am looking at training software for a pretty big project and wanded to check with those who actually use it to see if Captivate would fit my needs as wel as what I found using the website: Is the UI Developer friendly? Does it have Multime

  • Batch Input on B1

    Hi.. I worked with R3 and now I` m starting with B1 and SDK and have a question. In R3 we can make a massive charge of data through a procedure named Batch Input where we call transactions and make data input in the screen-fields and then save it. My

  • Upgrading from PE4 to PE5

    I have Photoshop Elements 4, and I'd like to upgrade to Photoshop Elements 5. Adobe's site lists the upgrade price as $69.99. Can you do better than that?