Item Deletion in Purchase order(IDOC)

Hi all,
I need to generate idoc for deleting the line item in purchase order,im able to create and change,if i go for deletion,the change indicator in CDHDR table is showing U(change) only not D(delete).
valuable inputs will be rewarded....

Deletion functionality never work for WGSREQ since it has several design errors in source code of FM VWWS_STORD_DISPATCHER and VWWS_STORD_DELETE_DOCUMENT. I hope that SAP will do correction soon.

Similar Messages

  • PO item was deleted from purchase order but it is visible in MD04

    Hi all,
    I have deleted the PO item form the purchase order but after saving also , it is visible in the MD04, i just want to remove form the MD04 as sub req .
    What could be the reason?
    Thanks in advance
    Regards
    Prasad

    Dear,
    Please check: http://sapfans.com/forums/viewtopic.php?f=9&t=312950&start=0&st=0&sk=t&sd=a
    Subreq in MD04
    How to Delete SubReq , DepReq , OrdRes in MD04
    AND MOST IMPORTANTLY SEARCH FOR RELATED OSS NOTES ALSO...
    Regards,
    Syed Hussain.

  • Splitting Purchase Order Idoc based on qty

    Hi All,
    I am having a requirement wherein i have to insert multiple line items in purchase order idoc  based on quatity .Eg if the line item qty is 3 then the same line item has to be repated for 3 times and purchase order idoc has to created with 3 line items.I am trying to do this User exit EXIT_SAPLEINM_002 which is used Customer Enhancements to Data Segments: Purchasing Document (Outbound ).Can anybody tell me how can i go ahead inserting multiple lineitems in purchase order idoc based on the qty.So, Can anybody know how to handle this scenario? Also, can you please let me know whether is there any standard procedure for handling this scenario
    Thanks in advance
    Regards
    Saravana

    Hi,
    Use t.code ME2M or ME2N , enter account assignment category A & then choose selection parameter WE101 (open goods receipt) and execute.
    Regards,
    Biju K

  • Cancel all items in the purchase order

    we need a program to cancel all items in the purchase order   .
    exists any BAPI or funcion or metod to do this ?
    becuase if we to do this for the TC ME22N we need to do this item by item.   
    our programmer  suggest us an update of the table EKPO

    Here is an example program using the BAPI to set the deletion indicator on all line items of a PO. 
    report zrich_0001.
    data:   return type table of bapiret2 with header line,
            poheader type bapimepoheader,
            poheaderx type bapimepoheaderx,
            poitem type table of  bapimepoitem with header line,
            poitemx type table of  bapimepoitemx with header line.
    data: iekpo type table of ekpo with header line.
    parameters: p_ebeln type ekpo-ebeln.
    start-of-selection.
      poheader-po_number = p_ebeln.
    clear iekpo.  refresh iekpo.
      select * into table iekpo from ekpo
                     where ebeln = p_ebeln.
      loop at iekpo.
        poitem-po_item = iekpo-ebelp.
        poitem-delete_ind = 'X'.
        append poitem.
        poitemx-po_item = iekpo-ebelp.
        poitemx-po_itemx   = 'X'.
        poitemx-delete_ind = 'X'.
        append poitemx.
      endloop.
      call function 'BAPI_PO_CHANGE'
           exporting
                purchaseorder = p_ebeln
                poheader      = poheader
                poheaderx     = poheaderx
           tables
                return        = return
                poitem        = poitem
                poitemx       = poitemx.
      commit work.
      loop at return.
        write:/ return.
      endloop.
    Regards,
    RIch Heilman

  • Customer Sales Order number to display in Purchase Order idoc

    Hi experts,
    I have the Customer Sales Order number in the PO item level under "account assignment" tab.
    But it does not show in the idoc xml ouput of the PO.
    Could you let me know if it is not standard field to display in the ORDERS05 idoc type of the PO?
    If not what print program or form that can be used to show the sales order number.
    Also I want to show the Customer PO number into the Purchase Order idoc VBKD-BSTKD and the PO date will be in VBKD-BSTDK.
    This is very urgent !  Will reward.
    Rgds,
    Pri

    Hi experts,
    I have the Customer Sales Order number in the PO item level under "account assignment" tab.
    But it does not show in the idoc xml ouput of the PO.
    Could you let me know if it is not standard field to display in the ORDERS05 idoc type of the PO?
    If not what print program or form that can be used to show the sales order number.
    Also I want to show the Customer PO number into the Purchase Order idoc VBKD-BSTKD and the PO date will be in VBKD-BSTDK.
    This is very urgent !  Will reward.
    Rgds,
    Pri

  • How to create an inspection lot for each line item of the Purchase order?

    Hi,
    How to create an inspection lot for each line item of the Purchase order ?
    In detail if possible.

    Hi
       please check this
    [thread|Create Inspection Lot;

  • No (suitable) item found for purchase order

    Dear All,
    The order is stock transfer order (STO) item category U. i saw GR is already create. GI  and also DCGR. i want to do DCIR which is invoice receipt in tcode mr01, the error "No (suitable) item found for purchase order" is coming out. What would be the cause of this situation? i check with old last PO it is same set with the one that having in problem. i also double click the item to see the detail and what i can see tick option for del completed and no tick on final del.
    no GR-based-4 or invoice receipt option to tick. means no tick option for this. but when i see previous po also same. but there is history on DCIR.
    Really need to know what should i do? is bug?
    Regards
    Aishah

    In case of out company it was SA(schudule agrement) PO we try on the Credit memo by MIRO t-code through IV
    but we met the same error message
    The problem cause of not exist delivery schedule quantiry we have put in the qty to there by manually after than this issue cleared.
                                                                       Hoil.

  • Item text in Purchase Order getting updated with info. record Purchase Order Text

    Hello All,
    I am working in a roll out project and facing issue in text repeating twice for the line item in the Purchase Order for the new company code for which rollout is happening
    Issue:
    Item text in Purchase Order getting updated with info. record Purchase Order Text
    01) PO Text is maintained in the material master under "Purchase Order Text" tab
    02) The PO text that is maintained in material master is getting updated in the Purchase Info. Record
    03) When Purchase Order is created, the "Item Text" gets updated in the Purchase Order automatically only for the new company code for which rollout is happening. when printed, this results in the text getting duplicated twice
    03.1) this behavior is not observed in the Plants/ Company code that is already Live
    Configurations in the system:
    The copying rules for the "Texts for Purchase Orders" is
    Source Object = "Info Record", Source Text="Purchase Order Text", Fix="*"
    We have modified the Purchase Order form to print one of  the condition types maintained for calculating the tax. Other than this there is no change to the plants that are already live.
    I could not locate any "Purchase Organization" / "Company Code" / "Plant specific configuration.
    Am I missing any configuration or where can I look in what is causing this error.
    Request help from the experts in the forum.
    with Regards,
    Dhandapani R

    There is no company/purchasing/plant specific customizing for purchase order text.
    The customizing copying rules for the "Texts for Purchase Orders" affects all equally .
    If the text in the purchase order in ME23N is already filled different to other plants, then you either have a modification in place, or the texts are differently maintained in the referenced data (vendor, material, info record, contract)

  • Same message code & function for both Sales & Purchase order idoc.

    The same message code and function be used to send both sales order and purchase order idoc?

    Hello,
    You can use the same message code and function to send for both sales orders and purchase orders provided if you use different message types i.e., output types in the outbound partner profile configuration for processing these transactional data.

  • Purchase order IDOC: output

    Hi
    I did configure a the following.
    1.Outbound message type <b>ORDERS</b>
    2.Outbound receiver port : TRfc
    3.Basictype <b>ORDERS05</b>
    4.Message control: Application <b>EF</b> Message type <b>NEU</b> . Process code <u>ME10</u>
    What do i need to configure additionally so that the purchase order idoc get exported?

    Naresh
    This is what i did already.
    When i create the order ,  i user NEU AS as output and "distribution ALE" as medium. I then select LS (logical system) as Partner function and SAPBC as partner.
    I get a warning message "Partner SAPBC does not exist for partner function LS".
    When i go back to the messages, it is unprocessed. When i display the communication method, i get the error "No communication data has been defined for transmission medium A"
    Any idea why?

  • How to configure Item Category in Purchase Order document

    Hi
    Can someone tell me how to configure the Item Category in Purchase ORder document?  This field is displayed next to Account Assignment in PO screen.
    Thanks,
    Lin-Lin

    I think your issue is screen layout of the PO
    please go to
    SPRO-MM-Purchasing-Purchase order-Define Screen Layout at Document Level
    here you can select the ME21N and double click on it
    on field selection of basic data you can make item category is optional than it will be avialable
    if still you find the problesm than check your field selection of your document type and change that field selection as above mentioned.

  • Item changed in Purchase Order version

    Hi to all,
    my customer needs to have the list of items of a purchase order that have changed in a version. I explain: I have a purchase order in version 0  with 10 items, for example. I create version 1 and II change quantity or price or unit of measure or other of 3 of these items. So I need to know if exist a  function module with in input version number and in output these 3 items and what changed.
    Can you help me please?
    Thank you very much
    Enrico

    There is no company/purchasing/plant specific customizing for purchase order text.
    The customizing copying rules for the "Texts for Purchase Orders" affects all equally .
    If the text in the purchase order in ME23N is already filled different to other plants, then you either have a modification in place, or the texts are differently maintained in the referenced data (vendor, material, info record, contract)

  • How 2 Copy Header & Line Item Text from Purchase Order 2 Out Bound Delivery

    Hi SD Gurus,
    I want to copy header and line item text from Purchase Order to Out Bound Delivery (This is required in Stock Transfer Process).
    I have been able to do successful config. for copying header and line item text from Sales Order to Outbound Delivery but config. doesn't seems to be same for copying text from PO to OBD.
    Is there any way to achieve the same? Can some expert show the way to achieve this.
    Thanks in advance.
    Warm regards,
    Rahul Mishra

    Hi Ravikumar thanks for u quick reply.
    This is wht is currently coded.
    concatenate values to get item text for read text function
       invar3+0(10) = invar1. "PO number
       invar3+10(5) = invar2. "PO line number
       SELECT SINGLE * FROM stxh WHERE tdobject = 'EKPO'
                                   AND tdname   = invar3
                                   AND tdid     = 'F01'
                                   AND tdspras  = sy-langu.
       IF sy-subrc = 0.
         invar4 = invar3.
    reading the text for the document items.
         CALL FUNCTION 'READ_TEXT'
           EXPORTING
             id       = 'F01'
             language = sy-langu
             name     = invar4
             object   = 'EKPO'
           TABLES
             lines    = it_itab.
    I have seen some PO's which have info rec texts in that, which gets pulled by the above code...first thing is its id is F02 which exist in STXH table also there is other text with F01 id, and hence the table it_itab gets both these text hence no pbm.
    but i came across a PO which has only one text which is info rec text with id F05 and is not store in stxh and hence doesnot get pulled by read_text fm. How do i change my cod to get this text which should not hamper other PO's as well.
    As mentioned in above msgs, this F05 could be retrieved by providing object name as EINE.
    anyhelp will be appreciated and rewarded.
    thanks

  • Transaction to Mass Update Header and Item text in Purchase Order

    Dear All
    Whether any Transaction in SAP to mass update the Header and Item text in Purchase Order.
    One Single Text For Ex :" This is a Dummy PO" .
    This text needs to be updated in large number of POs.
    Please let me know your views
    Reg
    Shyam

    Hi Shyam,
    You can make use of BAPI_PO_CHANGE for this. See the documentation of this BAPI in SE37 for more information.
    "You can transfer header and item texts in the PoTextHeader and PoTextItem tables. You import texts
    for services in the PoServicesText table. Texts can only be replaced complete."
    Regards,
    Purnima.

  • MB51 item category of purchase order missing

    Dear guru ,
    I need to see in MB51 the item category of purchase order for all the 101 goods receipts mvt  in order to distinguish subcontracting from standard purchasing.
    How can I obtain this ?
    Thanks in advance

    Hi
    Use the below path.
    Spro>MM>Inventory management>reporting>define field selection for material document list.Assign te required field for program RM07DOCS (report MB51) and flag output. It will work. You can add any field in MKPF and MSEG table.
    Regards
    Antony

Maybe you are looking for

  • CS6 Photoshop Update Option Does Not Run

    I ran the Update option once, mainly to get the ACR 8.2 version. It looked like all the files downloaded successfully and that the update process started. Then nothing. - Clicking Update has no effect. There are absolutely no error messages. - Downlo

  • System Restore (Need to know if I can re-install PS CS3 Extended after system restore)

    Hope you can tell me if I am able to re-install PS CS3 Extended after a system restore? Please Help. Thanks In advance.

  • Applet focus

    Is it possible to detect when the user has switched the focus out of the browser window that contains the applet (for example, the user has opened another window or switched to another program)? In other words, is there a way for the applet to know w

  • Urgent! Graphic-logo in Sapscript form!!!

    How to insert Graphic in SapScript form??? i tried many ways. it doesnt work!!!

  • Alert Volume goes to Zero

    Since the Yosemite upgrade, overtime I start up, the volume in the menu bar is zero, despite being set to full volume in system preferences. The mute button is not checked, so that is not the problem. I have to manually reset the volume in the menu b