Idoc pordcr1

Hi
I am having trouble with IDoc PORDCR101 message type pordcr bapi_po_create
i  asked this question on another forum and they said post it here
so here is my question
in we19 for idoc pordcr101 standard inbound i put in
comp code 3000
doctype NB
vender 58121
purchorg 3000
purchgrp 000
doc date 01112007
item 0010
material scw1212
qty 0001000.000
currency USD
scheduleitem 0010
deldate 01/18/2007
qty 0001000
i put this exact info in se37 with bapi_po_create
I can successfully create a new po
now i try to do the same thing in we19 standard inbound
using idoc pordcr101
each time i try i get status 51 enter purchasing org
no matter what i do i keep getting enter purhasing org but i am entering purchasing org
maybe i am missing some required fields but i do not know what they are
any help would be GREATLY APPRECIATED
HELP!!!!!!

You should continue to use the PORDCR1 IDoc. This IDoc is for BAPI-ALE messaging and will execute the BAPI_PO_CREATE BAPI. This is preferred over the older message technique used buy the ORDERS IDoc.

Similar Messages

  • Flat file to multiple IDOCs

    Hi experts,
    I have a bit of a problem here wit a flat file to IDOC interface.
    My input CSV file structure (shortened) is as follows -
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:POINBOUND_MT xmlns:ns0="urn:xx:xi:dwn:xx:pf:xxx:poinbound:100">
       <Record>
          <Row>
             <PO_HEADER_ID/>
             <TYPE_LOOKUP_CODE/>
             <LINE_NUM/>
             <AMOUNT_LIMIT/>
          </Row>
       </Record>
    </ns0:POINBOUND_MT>
    the target side is an idoc - PORDCR1.PORDCR102.
    in the input file, for each row the PO_HEADER_ID field will have repeated values. the structure for eg.-
    PO_HEADER_ID < other fields> < otherfields> ...
    12345 <other fields>..<..  >
    12345 <other fields>..<..>
    12345 <other fields>..<..>
    56789 <other fields>..<..>
    56789 <other fields>..<..>
    Now i need two idocs ( 2 distinct header values) on target side - the 1st idoc will have first 3 line items and 2nd idoc will have the last 2 line items.  have already edited the IDOC in xsd format to make it unbounded.
    <b><u>Problem</u></b> - i am able to create two idocs by handling contexts(splitbyvalue and a UDF), but with the line items its not working i.e. <u>the first idoc gets the 3 line items created but the 2nd idoc does not have any!</u> 
    my mapping for line items is -
    PO_HEADER_ID <-> splitbyvalue(value changed) <-> count <---> UDF (for result.addvalue using count)  <----->  lDOC LINE_ITEM node.
    This logic does not work incase i need to create more than one idoc on the target side, it only works for the first idoc..so wat can i do??
    Plz help.
    thnx in advance!
    Raju.

    Hi Raju,
    check these links...
    /people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/877c0d53-0801-0010-3bb0-e38d5ecd352c
    Sachin

  • Inbound idoc to create outbound delivary with ref to sales order

    Hi,
           I am getting and inbound idoc from the external party to create Inbound delivary with reference to sales order.
           But my inbound process code FM(IDOC_INPUT_DESADV1) checking PO no. and item which is NON SAP PO no. and item in idoc.  So, it is giving error PO doesnot exist in the system .
           I want to create Inbound delivary with ref to SO not with reference to PO.
            Pls check techincal details which i am using for inbound process :
            Process code : DELS
            Inbound FM    : IDOC_INPUT_DESADV1
            Message type : DESADV
             Idoc : DELVRY05
            Kindly help me.
    Regards,
    Manoj

    Hi,
    For creating inbound Purchase Orders, you can use Idocs PORDCR1.PORDCR101 or PORDCR1.PORDCR102. I have used this and they are working perfectly for us.
    Reg,
    NJ

  • PO transfer ERROR with PORDCR1.PORDCR102 to SNC

    Hi~
    PO is transfered from ECC to SNC.
    ECC Idoc  "PORDCR1.PORDCR102 " ->  SNC xml "RelenishmentOrderNotification"
    In SNC, there are application error because of delivery_date field.
    <Analysis>
    When we create PO in T/C ME21N, we enter delivery date in PO item line with own date type.
    But that field(EEIND) is Charater type, not Date type.
    In idoc PORDCR1.PORDCR102  segment 11(E1BPMEPOSCHEDULE),  DELIVERY_DATE field is also same as PO input data.
    At the end, in SNC, Delivery_date field value is wrong value.
    So Application error occured.
    ex)
    Own date type : DD.MM.YYYY
    PO Item Delivery_date field(EEIND) : 28.02.2011
    ECC Idoc DELIVERY_DATE field : 28.02.2011
    SNC xml Delivery_date value : -<ScheduleLine> <StartDateTime>28.0-2.-20T00:00:00</StartDateTime></ScheduleLine>
    <ECC Idoc setting>
    We use processing routine program 'BUS2012_ICH_R3', FORM routine 'SEND_PORDCR1'.
    Actually, PO creation Idoc ORDERS.ORDERS05 have no problem.
    But there are no tax code and ESR indicator, so we changed Idoc message type.
    Do you know the solution?
    Bestregrads,
    SKY
    Edited by: Soon-Kyoung Yu on Feb 11, 2011 7:40 AM

    Hi SKY,
    You need to implement the BAdI for BAPI_PO_CREATE1 and BAPI_PO_CHANGE - BUS2012 with BAdI Definition ME_BAPI_PO_CUST  and create Implementation Class CL_EXM_IM_ME_BAPI_PO_CUST  in ECC to resolve this issue.
    Path:SAP Customizing u2013> Implementation Guide --> Materials Management --> Purchasing --> Business Add-Ins for Purchasing ---> BAdIs for BAPI_PO_CREATE1 and BAPI_PO_CHANGE u2013 BUS2012.
    Regards,
    Nikhil

  • Inbound RFX IDoc

    Hello,
    My scenario is such,
    I have Non-SAP Sourcing system which will handle all the Auctioning, and based on this it will award to a particular vendor.
    This awards, needs to be sent to SAP, which will have details of the Vendor, Material and Price details.
    So my query, is there any idoc or bapi that i can use as inbound to update the table or infoview.
    Regards,
    Abhishek

    Hi
    Try with the IDOC PORDCR1. It calls the bapi BAPI_PO_CREATE1.
    Regards
    Eduardo

  • Problem with EXchange rate field in MBEPOH structure

    Hi Experts,
    I am working on data transfer of POs from 4.6 to 4.7 using the standard extract program RM06EEEX and then loading it using LSMW.
    Problem is with the exchnage rate field(WKURS). Length of this field in MBEPOH is 9 characters in 4.6 and it is 1 character long in 4.7
    So the data is getting truncated becuase of this mismatch. Is there any sap note avaliable to correct the field length MBEPOH-WKURS or any other way to pass correct data to the strucure in LSMW.
    Thanks in Advance ,
    Harkamal

    Maybe you can use Idoc PORDCR1 (Create Purchase Order) as import method in LSMW.
    Exchange rate field (WKURS) corresponds to field EXCH_RATE in E1BPMEPOHEADER segment.

  • Cannot receive Purchase Order in SCM/SNC system

    Dear all,
    I'm implementing Purchase Order Collaboration scenario of SNC Collaboration within the following system landscape:
    ECC 6.0 <-> PI 7.1 <-> SCM 7.0
    What I need to do is to create Purchase Order in ECC and then receive it in SCM. The flow looks like:
    1. Create PO in ECC using me22n,
    2. Send it as IDoc (PORDCR1.PORDCR102) to PI
    3. Transform this IDoc into "ReplenishmentOrderNotification" XML Message in PI
    4. Send the "ReplenishmentOrderNotification" XML to SCM
    5. Finally receive/access PO in SCM
    Can you please specify the configuration to be made in PI to send this XML message to SCM (step 4)? I tried
    Communication Channels of type RFC and XI cinfigured as Receiver for SCM system but it didn't work out. So
    I cannot send the "ReplenishmentOrderNotification" XML Message from PI and then receive it in SCM.
    Thank you in advance for your kind suggestions.
    Best regards,
    Igor Keshishian

    Dear Nihil,
    That's exactly the document that I used to build the scenario. And I found it in your another reply on this forum.
    So the page 36 is the beginning of the configuration section for PI system that is done by me, no problems to
    configure PI's Repository objects. The real problem happens, as I've already explained, on runtime.
    Receiver Communication Channels to send XML files to SCM system are configured as XI adapter type with
    RFC destination of connection type H. This RFC destination is created in PI system and is pointing to SCM system.
    It has "/sap/xi/engine?type=entry" path prefix, so when I do its Connection test I got response code 500 "Empty
    HTTP request received". Still messages sent from ECC to SCM via PI are blocked in PI.
    What do you think I can check in configurations of PI and SCM systems?
    Thank you in advance.
    Regards,
    Igor

  • Mapping table

    I'm working on a XI interface scenario and it reads like following
    Customers (from a File system) send a PO request (containing a Customer PO num) to XI. And, XI maps file data to a PO IDOC PORDCR1 and sends it to R/3 system. In R/3, PO is created. After the goods receipt, customer sends GR message to XI. XI calls BAPI_GOODSMVT_CREATE and created GR. When the GR is created, it has to be created against the earlier PO. For this reason, customer sends the GR message (as a file) with customer PO number. In R/3, the GR needs to be created with reference to R/3 PO number, but not with reference to the customer PO num.
    Now the question is, where should the mapping between customer PO and R/3 PO be maintained? In R/3 or XI?
    If it is in R/3, what is the need for XI usage? How do we make best use of XI in this scenario?
    I highly appreciate a quick response or any kinda assistance.
    Thanks in advance
    Praveen

    Hi Rob,
    Thanks for ur response.
    > I would say if you want to keep your SAP R/3
    > interface implementation "clean", then create and
    > maintain this mapping in XI.
    When you say 'maitaining the mapping in XI', how do you suggest it to be maintained? Once the PO IDOC is sent to R/3 and say a Response IDOC/proxy message is sent back to XI. Where do I store the customer PO and SAP PO number? In a file/table on XI server? If not where? Please clarify.
    > By doing it this way you will access the R/3 PO nr.
    > via an RFC/BAPI call from XI to the R/3 system.
    Do you mean to say in XI, when I receive (from file system) the GR with customer PO number, I query the R/3 system and get the corresponding R/3 PO number and fill it in the BAPI for GR and call BAPI_GOODSMVT_CREATE? Please clarify.
    Thanks
    Praveen

  • Hw to debug outbound function module

    Hi,
    I know how to debug inbound idoc using WE19 can sum1 tell how can i debug outbound function module.
    i want to debug to see as to why certain segments are not being updated in IDOC PORDCR1.PORDCR102.
    even though i put an external break-point it does't trigger .
    Regards,
    Jayaram Maganti

    >
    JAYARAM MAGANTI wrote:
    > Hi,
    >
    > I know how to debug inbound idoc using WE19 can sum1 tell how can i debug outbound function module.
    > i want to debug to see as to why certain segments are not being updated in IDOC PORDCR1.PORDCR102.
    > even though i put an external break-point it does't trigger .
    >
    >
    > Regards,
    > Jayaram Maganti
    Hi
    See this link this  is helpful for  you.[debug outbound function module|Re: Cannot debug outbound queue;

  • Sap and snc issue

    when i create a purchase order in sap ecc , i want to know how i can integrate it with sap snc that i would be able to work with that same purchase order in sap snc

    Hi,
    PO is transfered from ECC to SNC. ECC Idoc "PORDCR1.PORDCR102 " -> SNC xml "RelenishmentOrderNotification".  Please check below link for your query resolvation. Thanking you.
    SAP SNC

  • Subcon PO scenario

    Hi,
    I saw several threads related to using the Idoc PORDCR1.PORDCR102 for sending subcon POs to SNC. However I did not find an answer on what process code needs to be used for this Message Type on the ECC side while setting up Partner Profiles.
    Can someone please provide the necessary information on how Partner profiles are to be setup for the subcon PO scenario.
    Thanks,
    Kedar

    Hi Kedar
    PORDCR1.PORDCR102  is distributed through Distribution Model not by process code.
    Please maintain the following settings
    Trnx : NACE
    Select the application EF from the dialog structure and choose Output types.
    Choose Change.
    Choose Edit -New ntries.
    nter BAPI in the Output Type field.
    nter PORDCR1 output as the name.
    On the General data tab, enter 0001 in the Access sequence field and select the Access to conditions and multiple issuing indicators.
    On the Default values tab, select Send immediately in the Dispatch time field, select Special function in the Transmission Medium field, and enter LS in the Partner Function field.
    Save your entries.
    In the dialog structure, select Processing routines by double-clicking on it.
    In the Processing 1 screen area, enter BUS2012_ICH_R3 in the Program field and SEND_PORDCR1 in the Form field.
    Save your entries.
    TNX:NACE
    Select application EFand choose Procedures.
    Select the procedure RMBEF1 and choose Control in the dialog structure.
    Select the entry for condition type NEU and choose Copy.
    nter the next possible step number in the Step column.
    nter the condition type BAPI in the column.
    Save your entries.
    TNX:NACE
    Select the application EF and choose Condition records.
    Select the output type BAPI and choose Condition records.
    Create conditions for your vendors, for example, the key combination Doc.Type/Purch.Org/Vendor.
    fun-LS, PARTNER-LOGICAL SYSTEM SNC, MED-8, DATE-4
    SPRO- MM- Purchasing -Messages - Output Control-Message Types-Define Message Types for Purchase Orders - Fine-Tuned Control: Purchase Order.
    Select the entry with the operation 1, and the condition type NEU, and choose Copy.
    nter BAPI as the condition type.
    Save your entries.
    Select the entry with the operation 2, and the condition type NEU, and choose Copy.
    Enter BAPI as the condition type.
    Save your entries.
    SPRO-SAP NetWeaver -Application Server - IDoc Interface/Application Link Enabling (ALE) - Modelling and Implementing Business Processes- Maintain Distribution Model and Distribute Views.
    -Choose Change - Create Model View.
    -nter Publish PO BAPI IDoc to SNC in the Short text field.
    Enter ICH in the Technical name field.
    Select your model view and choose Add BAPI.
      Enter Logical system of SNC in the Obj. name/interface field.
    Save your entries.
    Choose Edit -Model view -Distribute.
    This will distributes the model view to the logical system of SAP SNC.
    in we20 create outbound parameters for PORDCR1.PORDCR102 in tab outbound options.
    message type PORDCR1
    basic type : PORDCR102
    Best Regards
    Vinod
    Edited by: Vinod Kumar Pedapati on Dec 1, 2010 3:00 PM

  • PO Collab using PORDCR1 : Unable to trigger outbound Idoc on PO Change

    Hi All,
    I have done the following config for sending PO's from ECC to PI:
    a. Message Determination:
    Application = EF
    Output Type = BAPI
    Program = BUS2012_ICH_R3
    Form Routine = SEND_PORDCR1
    Transmission Medium = 8 (Special Function)
    Dispatch Time = 4 (Send Immediately)
    Have maintained condition records for the desired vendors with Function == LS, Partner == Partner No. for SNC Logical system
    b. Partner Profiles:
    Maintained an outbound partner profile under SNC Logical System with the following details:
    Message Type = PORDCR1
    Receiver Port = PI Port
    Basic Type = PORDCR102
    Trasnfer Idoc Immediately == Yes
    But I have not maintained any entries under Message Control
    Error:
    1. Able to successfully trigger Idocs for New POs created in ECC.
    2. But there is no Idoc output when PO is changed / deleted.
    3. For the Chnaged PO on clicking on Messages, can see an output entry after change but it is in the status "Not Processed"
    Am I missing any addtional config for trigerring Idoc on PO Chnage / Deletion ?
    Regards,
    Bharath

    Hi Nikhil,
    I tried the following Message Control settings for Message Type - PORDCR1 / Partner - SNC Logical System:
    a. Application = EF; Message Type = BAPI; Process Code = ME10 ; Change Indicator = Checked
    b. Application = EF; Message Type = BAPI; Process Code = ME11 ; Change Indicator = Checked
    c. Application = EF; Message Type = BAPI; Process Code = ABI_AIDN_OUT (the only option available in dropdown) ; Change Indicator = Checked
    I tried chnaing an existing PO after saving each of this setting. There is not outbound Idoc that is getting trigerred.
    Regards,
    Bharath

  • Reg: IDOC Purchase Order

    Hi All,
    I have a requirement to trigger a Purchase Order from Stock Transport Order (STO).
    So whenever the STO is created, IDOC needs to be triggered & create a auto PO in the same client.
    I tried with some examples from forum thread, but all goes in vain.
    Could you please advice, what are all the steps needed to achieve this with in a same client. I have created a dummy logical system for Inbound processing with tRFC. Could you please advice this step is really needed.
    Thanks & Regards,
    Uswin
    Edited by: Uswin B on Nov 21, 2011 11:40 AM

    1. You need to setup output determination on the STO (transaction NACE, Application EF). You can create output type similar to NEU and assign it to o/p determination procedure linked to your STO document type. You can't use NEU though as it is configured to create ORDERS message type IDoc. To create PO you need message type PORDCR1.
    2. You have to write your own function module to output IDoc of message type PORDCR1 and call MASTER_IDOC_DISTRIBUTE to trigger it. It is easy if you only map the minimum required fields so that the IDoc doesn't fail in syntax and take it from there. There are no standard functions that I know that created PORDCR1 message type IDoc (others chip in if you know). You need to create your own outbound process code with ALE processing as medium in the output type.
    3. You can set the IDoc from the output type with direct 2 (as inbound) and set up partner profile in the output condition record to point to your inbound LS partner profile
    4. You need to assign inbound message type:PORDCR1, IDOC type PORDCR101 and Process code: BAPI to your receiving LS partner profile
    Those are the settings you need to do. I can't elaborate as there are many things specific to your implementation

  • Create PO using Idoc with free goods

    Hi guys,
    i'am currently working on a projekt i need to create a purchase order containing free goods.
    We've already tested the PORDCR/PORDCR1 message and Idoc types PORDCR101/102 with BAPI's
    IDOC_INPUT_PORDCR1  - w/ self-defined process code (via we42)
    BAPI_IDOC_INPUT1        - w/ standard process code (BAPI)
    Nothing worked. Got lots of errors in we05 transaction (mostly status 51)
    Important:
    We need to give the Idoc the free gods flag so we didnt need to set the net_price.
    Thanks for your help guys,
    Daniel

    Use Order PORDCR102, with your extension say ZPORDCR102.
    Create one control table and assign Function module to that table.
    Set this new Ztable with all required data like free goods.
    Then create new idoc, this new idoc will take message PORDCR102 and extension will pick new table and add free goods flag while creating PO.
    Hope this helps

  • IDOC error msg has to be populated in Souce system Ztable

    Dear Forum,
    We had a following requirement.
    A sales order (ORDRSP) Idoc is being generated when ever the sales order is created in ECC 5.0 (Sender system) and the IDOC is being transferred via XI.Based on these inputs new purchase Order (PORDCR1) will be created in ECC 6.0 (Reciever system).
    In addition to that,PO status msg in ECC 6.0 need to be sent back to the ECC 5.0 through XI and the message has to be populated in Ztable in sender system(ECC 5.0).
    IDOC to IDOC scenario has been done.Scenario is working fine.PO has been created in ECC6.0.
    We have tried,ALEAUDIT ack for sending back the status msg to ECC 5.0.But Ack IDOC is not being generated.
    Request you to let me how to send back the status of the IDOC to sender and to populate this msg in Ztable.
    Looking forward to your quick response.
    Thanks & Regards,
    Naresh.K

    Hi Naresh,
    Check step by step guide for ALEAUD configuration
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
    also using it via BPM
    Receiving ALEAUD as acknowledgment in ccBPM
    Thanks!

Maybe you are looking for

  • How to install a DB Instance in a SQL Server 2005 cluster

    Hi all, I have an installation scenaro is install SCS/CI in machine A, and DB instance on a already exist cluster. This is based on Windows 2003 SR2 and SQL Server 2005 cluster. But now after i finish SCS, i don't know how to install the DB instance.

  • Auto update of payment term in sales doc (quotation/SA/SO)

    Hi gurus, May I know that after the payment term is updated in customer master, whether there's any way to do an update in the open quotation/sales agreement/sales order in one shot? Thanks

  • O.T. Picture resizer for dummies

    Hi all Anyone know of a simple program I can give to a client that resizes images on the fly? I'm getting images 3 mb from here :( Ideally a program that has an email function within. A little like Piccasa but with the function to have the image size

  • Are Server-Side Includes in Dreamweaver ok to use?

    Hi, I'm considering using the built-in feature, 'Server-Side Includes' in Dreamweaver CS3. Can anyone tell me if this is ok to use, or is there a better way of approaching this process? Many thanks in advance!

  • Add custom drawn shapes to Brush

    In CC 2014, Flash allows you to create a "custom" brush of a slanted circle or square. A start, but I also need to use brushes with jagged or softer edges. If I could create a brush out of a vector image I've painted, then I could do more with the br