ME22N Purchase Order Modification Doesn't Trigger Idoc

Hi,
Can you help me with my issue? My Idoc when the PO is changed is not triggering. But it runs properly on our DEV and QAS server. It showing "No IDoc items belonging to purchasing document found". I compare the T166C Tables of our DEV and PROD server and they are equal. What would be the possible cause and how will I resolve this issue?
Any help will be highly appreciated.
Thanks!
Mon Magallanes
Edited by: Mon Magallanes on Apr 10, 2010 10:23 AM

Hi Mon,
Is the output type is being displayed in Purcahse order -> Messages ? If not then check the output type settings in t-code "NACE", as well as the Partner Profile settings in t-code "WE20".
Regards
Vinod

Similar Messages

  • Purchase order modification

    Hi,
    We are using this functionaly:
    We change purchase requistiion quantity with BAPI BAPI_REQUISITION_CHANGE.
    If modification is correct we are doing a BAPI_TRANSACTION_COMMIT with WAIT and also we modify purchase order quantity with BAPI BAPI_PO_CHANGE.
    If purchase order modification is correct we are doing a BAPI_TRANSACTION_COMMIT with WAIT.
    Sometimes occurs that if a change is done with BAPI_REQUISITION_CHANGE correctly and we are doing the correspondant changes to purchase order BAPI_PO_CHANGE, this bapi give error ME 006 (User alredy processing requisition).
    How it is possible if we have done a commit and wait?
    How can we solve this problem?
    Best regards¡¡¡

    HI,
    Try using FM : ENQUE_SLEEP for wait process.
    Actually sometimes, due to some database constraints, process takes time to save document.
    SO better to give 5 seconds delay for that.
    CALL FUNCTION 'ENQUE_SLEEP'
         EXPORTING
              SECONDS        = '5'
         EXCEPTIONS
              SYSTEM_FAILURE = 1
              OTHERS         = 2.
    Regds,
    Anil

  • Purchase Order Modification: External Document Number already assigned

    Hello,
    We're running Extended Classic Scenario in a SRM 4.0 implementation.
    The problem is the following: When the user modifies a purchase order (this purchase order is already replicated to the backend), sometimes (not always), the next error occurs:
    "Purchase Order XXXXXXXXXX: PO header data still faulty "
    "Purchase Order XXXXXXXXXX: External document number XXXXXXXXX already    assigned"
    The system does not provide additional info (RZ20 give us the same message, no ST22 dumps...
    We think it could be some kind of error in the standard BAPI BAPI_PO_CHANGE.
    We've revised the SAP OSS but didn´t find anything....
    Some idea?
    Regards and Thanks in advance!!!

    Hi
    <u>Any other rrors / dumps noticved in system using RZ20 and ST22 transactions ?</u>
    <b>Have you seen this helpful pointers and link ?</b>
    <u>The related SAP OSS notes are as under :</u>
    <b>"Purchase Order item 00010 still contains faulty account assignment items"</b>
    <b>Note 1000184 - Account assignment error when document transfer to back end</b>
    Note 966323 - Service Item: Not able to create PO in ERP backend
    "Purchase Order item 00010 still contains faulty account assignment items"
    Re: How to create a PO in R/3 from a local Bid Invitation in classic scenario ?
    Re: From local Bid invitation PO is not generated in backend
    <b>Do let me know.</b>
    Regards
    - Atul

  • Multiple purchase orders in a file - Multiple IDOC'S based on lineitem

    Hello All,
    I have a typical requirement where as there needs to be "separate IDOCs for different material with distribution channel X and Y".
    The input is a file with multiple purchase oders inorder to generate multiple IDOCs..
    As a prerequisite I made changes in occurrence of target structure IDOC from 1..1  to 1..unbounded.
    I came to know from some sources that it can be achieved  through Java mapping but i am not aware of JAVA.
    Can anybody has the detailed Java mapping code?
    It would be great if anybody help me out from this issue .
    Thanks in advance.
    Best regards
    Hari

    Hi Raj,
    Thanks for your reply.
    May be we can achieve it using graphical mapping but its a edifact file   with multiple purchase orders.
    Internally we have some conditions like for every repetirion of the segment UNH new idoc number needs to generate
    i.e. UNH -
    >IDOC
    along with line item requirement.
    In this case need to handle logic at the top level as well as line item level or can club both.
    If possible can you please let me know what have you done in your case so that i can compare mine.
    Thanks once again.
    Hari

  • To Dsiplay 4 digit plant code in ME23N/ME22N Purchase order screen

    Currently when we execute the change or display purchase order transaction ME22N/ME23N, in the PO line item the Plant field we see the Plant description. How to make it to display the 4 digit plant code or where to the see the 4 digit plant code of the PO line item??

    Hi Eric,
    Go to 'personal settings' tab in PO and then click on 'display key' in basic settings tab.
    You can view the code in line item.
    Regards,
    Bhanu

  • Customer field in ME22N Purchase Order Transaction

    Hi all,
    I have to add an additional field to Ekko and want to maintain it using the Enjoy Purchase Order Transaction.
    To do so, I added an append to ekko and MEPOHEADER with my z-Field and implemented the Badis:
    ME_PROCESS_PO_CUST  Method PROCESS_HEADER to read the data from vendor and to set the modell using:
    call method lo_obj->set_data
        exporting
          im_data = lw_header.
    In ME_GUI_PO_CUST  Method TRANSPORT_FROM_MODEL I want to read the data using
    data: lo_header       type ref to if_purchase_order_mm,
    lw_header = lo_header->get_data( ).
    my Problem: My Z-Field in structure lw_header is initial; the data is lost!
    Did I forget a step? Is it necessary to add z-fields to CI_EKKODB instead of using own appends?
    Thx

    Hi,
    If you want to add fields in header then append the fields to the standard structure
    'CI_EKKODB' provided in EKKO table and if it is item level then append the fields to the structure
    'CI_EKPODB'.
    Now in 'MM06E005'  make use of the following components for your use.
    1) EXIT_SAPMM06E_006 - Export Data to Customer Subscreen for Purchasing Document Header
    Here, you can export the data to the subscreen by making use of the parameters 'I_EKKO' and 'I_CI_EKKO'
    provided in the import parameters of the exit.
    2) EXIT_SAPMM06E_008 - Import Data from Customer Subscreen for Purchasing Document Header
    You can import the data from screen from 'EKKO_CI' and if you want to update the EKKO table with those values
    then make use of the parameter 'E_CI_EKKO'.
    I hope this will help you.
    If you want anymore help, get back to me.
    Regards,
    Jallu

  • Purchase Order Modifications

    Hi guys!
    I work in 6.0 Release and I have to modificate some Purchase Orders.
    I've found two BAPI's to do that BAPI_PR_GETDETAIL
    BAPI_PR_CHANGE, but I am not able to understand them.
    Can somebody give me a clue, please?
    Many thanks!
    Antonio.

    If you want to modify PO, i think you may need to use BAPI
    <b>'BAPI_PO_CHANGE'</b>.
    See the below link for the exmaple code for Changing PO using this BAPI. Hope this will help you.
    http://www.sap-img.com/abap/sample-abap-code-on-bapi-po-change.htm
    CHeers,
    Thomas.
    Please mark point if you got solution.

  • DSRPO_D1  (Purchase Order History) doesn't add records

    Hi BI Experts!
    The DSO 0SRPO_D1 (Purchase Order History) feeds from the following infosources:
    u2022     2LIS_02_HDR
    u2022     2LIS_02_ITM
    u2022     2LIS_02_SCL
    Once loaded this DSO from the corresponding 2LIS_02_ITM & 2LIS_02_SCL DTPu2019s the Request Status sets in green showing correctly the transferred records, however the Added Records shows in zero.
    Please have in mind that this is a fist time load and that we havenu2019t performed any selective erasing neither a directly erasing to the DSO table, so there is no chance that this issue is due to this kind of actions.  I have also considered in the SBIW transaction that the Industry Sector is correctly set
    Transaction SBIW / Settings for Application-Specific DataSources (PI) / Logistics / Settings: Purchasing / Determine Industry Sector
    By default, the option "None" is flagged.
    Itu2019s important to mention that the 2LIS_02_HDR Request Transfers and Adds the records correctly.
    I'll appreciate any help & support regarding this issue.
    Best regards!

    Hi Antonio:
    "Weu2019ve tried to re-activate the transformation rules and DSO from Business Content but there are no improvements either."
    Since you mention you have Transformation Rules I assume that you're dealing with three DataFlows that are currently in version 7.0 (for HDR, ITM and SCL), however the Flows delivered by the Business Content are on version 3.5 (at least in my System with BI_CONT Release 703 Level 0016 = SAPKIBIIQ6), if I'm correct the original Flows in your System were manually migrated but something got lost during the migration process.
    My recommendation is to delete the existing flows (in version 7.0) and afterwards reactivate the flows in version 3.5 from scratch, considering that you've applied SAP Note 325650 recently.
    Regards,
    Francisco Milán.
    P.S. I double checked in my System and I can see the Business Content has both Data Flows in version 3.5 and 7.0 for the 3 Models (HDR, ITM and SCL). However, the active flows in my System are in version 3.5. Probably, you need to revisit SAP Notes 1325650, 1240567 and 846106 (or any other related SAP Notes).
    Edited by: Francisco Milan on Dec 8, 2010 6:13 PM

  • Multiple purchase orders with items in one IDOC

    Hello Team
    Now i got a the below requirement. please check and suggest me accordingly.
    1. In my souce system (ie legacy system) i have  a table which is having PO related header and item data. now i need to post that data into SAP by using IDOC. so now i need to create a IDOC in middleware system with PO related data. Here my question is for how many POs i can create 1 idoc, i mean i want to know what is the maximum PO's i can put in 1 IDOC. parallely i want to see the performance issue also. so please suggest me on what is the maximum no of POs with item data i can put in 1 idoc and suggest me what is the preffered limit based on performance issues.
    2. Suppose if i put 10 POs in 1 idoc, out of which there is issue with PO data for 1 PO in that idoc. so i want to know whether the idoc will process or not. if process how many PO's it will process. is it like 9 POs it will process and 1 PO it wont process. please clarify.
    Regards
    Raj

    Hi Nagaraju,
    As others suggested you can use 1 idoc per po. So for each header and its items in XI a message will be created.
    Else
    With select statement you can select all the POs and change the occurrence of idoc from 1..1 to 1..unbounded. Now also one message will be created in xi, (within the message you will have multiple idocs) but when posting in sap each one post as a seperate idoc. Here the advantage is you have one message where as in another you have multiple messages. But the disadvantage is trouble shooting might have some issues and if it is more than 1000 idocs the performance may take a hit. Here 1000 is just an example.
    Regards,
    ---Satish

  • Purchase Order Release Strategy didn't trigger

    Hi Gurus and SAP People!
    Good Day!
    I currently have a problem regarding one purchase order which didn't trigger a release strategy. I checked the classification/conditions/classes and it's all satisfied. I tried replicating the scenario in our Development server and I always end up triggering a release strategy.
    Moreover, as far as i know, the release procedure is not locked as it is one of the most commonly used release group and code. Can anyone have any ideas why that certain PO didn't trigger any release procedure upon saving?
    More details that might help.
    1. PO was initially on hold status then saved. (tried to replicate this as well and yet a release strategy was triggered)
    2. Upon saving, PO triggered an IDoc successfully. (my replication results always stayed "yellow" as it is still waiting to be released/approved before the actual Idoc generation (green)).
    3. Line item details had been changed between the PO being on hold and the actual saving. (but yet it still satisfies the release classifications)
    4. Line items came from PRs, Contracts, RFQs.
    Will greatly appreciate your help.
    Thank you very much!
    Regards,
    JV

    Hi Suzy!
    Thanks for the answer.
    I already checked the classification and searched our documentation repository if there were changes made and did not find any. Development and Production environment customization are the same.
    I forgot to include that after a few days the PO was created, they deleted one line item. That deletion made the PO trigger a release strategy.
    Nevertheless, the question still remains - why the PO didn't trigger any release procedure upon the initial saving.
    Regards,
    JV

  • Purchase order to IDOC

    Hi all,
    My Requirement is like this.
    I Have to modify the purchase order quantity for the given purchase order and the details of that PO has to be displayed, in that list i have to show batch no, goods receipts for each PO it means each item may contain more than one goods receipt,Quantity,plant e.t.c and later when the user checks the purchase order and clicks the create IDOC button An IDOC is to prepared for this PO and it is to be sent to External System. can any one sugest me the process of this
    Thanks In Advance
    Suresh

    Hi Suresh,
    You have change the your respective items in ME22N , but u have to do this at the 5th step that i have mentioned earlier.
    here is the clear desc..
    1)BD61->Select Check box,
    2)bd50->select Messagetype & save it.
    3)bd51->select corresponding Fm(try IDOC_OUTPUT_ORDERS)
    4)bd52->message type
    Keep the Items which ever you need to change in the partner system
    5)ME22N <b>(change required fields)</b>
    6)se38-> execute RBDMIDOC giving respective  message type
    7) <b>Changed records will be stored in CDHDR</b>
    Thanks,
    Kiran

  • Idoc for purchasing order

    can any1 explain the steps needed to send a purchase order through ALE/IDOCS
    pls explain it with reference to PURCHASE ORDER

    Hi,
    cehck the same...
        This method is used for distributing transaction data like purchase order, sales order etc.
        In this method the extra transaction code that we use is we41 (outbound process code) and we use this in the message control tab in the partner profiles. 
    The transaction codes that are required for this method are
    We81
    We30
    We31
    We82
    We21
    We20
    Bd64
    Nace
    Me22n (purchase order), va02 (sales order) etc.
    Ex: purchase order.
    Message type: ORDERS
    Idoc type: ORDERS05
    Outbound process code for purchase order: me10
    The steps that are to be followed are:
    Check for the message type in the transaction in we81.
    check for the idoc type in the transaction we30.
    check we82 in which the link between message type and idoc type is there.
    create the port in we21.
    Configure the partner profiles in we20.
    Click on the + button outbound parameters and give the message type, receiver port
    Idoc type.
    Now press on the message control tab, this is the place where u give the outbound process code. The message type in the message control is the output type that is used in the nace transaction.
    Create a distribution model in bd64.
    Go to purchase order transaction (me22n).and press the messages tab
    In the messages tab give the output type and the distribution medium as distribution-ale and then save it.
    Reward if helpful.
    Regards,
    Nagaraj

  • Idoc for change in purchase order document -outbound

    i have a situation, where i need to populate an idoc whenevr a new PO is created or whenevr a existing PO is changed(outbound).
    we can populate IDOC for a new PO using Message control(creating our own function module) but how can we handle the 2nd situation---->populating an IDOC whenever a PO is changed?
    if a Master data is changed, then we can use CHANGE POINTERS concept, but how can i handle the change in Transactional data?

    Hi,
    check the configs and the procedure for ur requiremnt.
    The transaction codes that are required for this method are
    We81
    We30
    We31
    We82
    We21
    We20
    Bd64
    Nace
    Me22n (purchase order), va02 (sales order) etc.
    Ex: purchase order.
    Message type: ORDCHG
    In we20 tcode->outbound parameters->in the message control tab just specify the PROCESS CODE AS ME11 and chek the check box.
    Regards,
    Nagaraj
    Message was edited by:
            nagaraj kumar nishtala

  • Idocs for purchase order in SAP to SAP

    Hi
    I have to send purchase order from a SAP system to a SAP system, creation and modification both.
    I found these Idocs:
    ORDER in sender SAP
    PORDCR for creation in destination SAP
    PORDCH for update in destinaton SAP
    My problem is that all of three idoc have different segments, so i have to map field by field: is there a different solutions, always using idocs and not BAPI directly?
    Thanks lot.
    Matteo Vernile.

    Hi Matteo,
    To send purchase orders you can use next Idocs:
    1. Creation -->Idoc type: PORDCR102 Message: PORDCR1 This Idoc is based on BAPI_PO_CREATE1
    2 Modification --> Idoc type PORDCH02 Message: PORDCH This Idoc is based on BAPI_PO_CHANGE
    Using standard boldSAP message determinationbold  you can create these Idocs without create any ABAP program.
    If you are not creating the Idoc using the standard Message Determination, you should obtain the data using the bapi BAPI_PO_GETDETAIL.
    Reward points if helps.
    Regards,
    Roger

  • Inbound Delivery Idoc processing for Purchase Order

    We are trying to create a Inbound Delivery for purchase order. We are using idoc basic type DELVRY03.
    When we are processing this Idoc we are constantly getting error :
    Item 00000 of purchasing document does not exist
    Message no. ME706
    Diagnosis
    Purchase order 00000 with item was not found.
    Procedure
    Enter a different purchase order.
    We have mapped the PO and PO Item fields to Idoc segment fields E1EDL24-VGBEL and VGPOS respectively.
    Let me know if anyone came across or know the reason for this message and remdy.
    Thanks in advance.

    Hi Milind,
    Did you get this to work?
    Thanks,
    Finbarr

Maybe you are looking for

  • Running ABAP Web Dynpro Application without host entry of web server

    Hi All, I am trying to run a web dynpro application, its working fine when I have done host entry (host nam.domain.extension) of web server. But when I remove this entry from host file it not runs. Can you tell me the posibility of running this appli

  • WRT54G and WRT54GS Linksys EasyLink Advisor (LELA) users

    If you are experiencing any issues with Linksys EasyLink Advisor (LELA) and the latest firmware on the Linksys.com, you may have to roll back your firmware version.  Linksys EasyLink Advisor (LELA) may not function properly with the firmware revision

  • ESata for T420s with docking station

    I notice the Mini Dock Plus Series 3 - 90W 433810U (as apposed to Mini Dock Series 3 - 90W 433710U) has a eSata port. Will this work with a T420s (which doesn't)? I'm planning to buy a docking station and use it to connect my 30" 2560x1600 display us

  • Do the ni-daq 7.1 software include vi's such as AI AQUIRE WAVEFORM

    my version of labview 7.0 do not include libraries for communicating with daq board such as ai aquiare waveform

  • Operating Systems supported

    Is it possible to run any web based dreamweaver application  in linux? What are the Operating system that Dreamweaver application supports? Please reply. It's urgent.