Idoc filteration 'ORDERS'

Dear Friends
  I have to filter the idoc message type 'ORDERS'  based on filed KNTTP which is account assignment category. I need to filter all the asset related PO data like KNTTP = 'A'.
But I am failed to locate KNTTP field in any of the orders idoc segments. i check we62 and see in the documentation for Orders05 basic type i didnt find KNTTP. 
I this case I have to extend the idoc but not sure... when I extend the idoc do I have to push the data to extended idoc part using BADIs. or if any one of u has any alternate solutions for this please share with me.  We dont want to go with any enhancement.
Please reply me. your any help will be appreciated. 
Regards
Naeem

Hi,
KNTTP is not transferred in ORDERS IDoc.
But you don't have to extend the IDoc. I think you can implement a Userexit (maybe EXIT_SAPLEINM_001) to filter the IDocs.
Best regards,
Oliver

Similar Messages

  • Help needed in inbound IDoc for ORDERS....

    Hello all,
    I need help in IDoc for ORDERS.. Here is the situation. I have an ORDERS IDoc coming to my SAP system from my customer. When I see the SO it creates.. it says that it has incomplete data.. Information like pricing, inco terms, payment terms. load data, load date etc. is not filled in. How do get those filled automatically.. my customer can not, obviously, give me all the information needed for the SO.. Where do I configure and how?
    Thanks,
    Charles

    Hi,
    You can use user exits available in FM IDOC_INPUT_ORDERS to populate additional information.
    Also you can use form CUSTOMER_FUNCTION_DYNPRO to populate additional information for BDC screens of VA01. This form is available in FM IDOC_INPUT_ORDERS as well.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • IDOC Filtering

    Hi ,
    I have a Requirement on the Field Level IDOC Filterring.
    The Query Goes as Follows, this is and( OUTBOUND FLOW):
    In the MATMAS IDOC, with Segment : E1MARCM, Filed PERKZ ='5', then this idoc should not trigger.
    Please let me know is ther any Filtering where the PERKZ = 5 then the IDOC should not Trigger.
    Note : I dont want to write any user exits  or Program for this.
    Thanks in Advance.
    Regards,
    Praveen Kalwa

    Hi ,
    I have a Requirement on the Field Level IDOC Filterring.
    The Query Goes as Follows, this is and( OUTBOUND FLOW):
    In the MATMAS IDOC, with Segment : E1MARCM, Filed PERKZ ='5', then this idoc should not trigger.
    Please let me know is ther any Filtering where the PERKZ = 5 then the IDOC should not Trigger.
    Note : I dont want to write any user exits  or Program for this.
    Thanks in Advance.
    Regards,
    Praveen Kalwa

  • 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 IDOC Type ORDERS in BackEnd System

    Hello together,
    we use " extended classic scenario" in our  SRM 4.0 and replicate PO's in the ECC 6.0 ERP Backend System. We would like create during the replicat a Message Type (IDOC) ORDERS in Backen System. I háve customized (NACE / MN05) but it is not poosible to generate a IDOC. I have read it is necessary to activate a USER-EXIT for BBP PO's.
    My question:
    Which USER-EXIT and how must i create this!
    Thanks for Answer!
    Regards,
    didisap
    Edited by: Dietmar Blome on Feb 8, 2011 11:59 AM
    Edited by: Dietmar Blome on Feb 8, 2011 12:01 PM

    Hi,
    Pls refer to following links for sample code ->
    Re: Status distribution incorrect in GOA
    Re: Distribution of GOA in R/3
    Re: GOA Distribution SRM 5.0-ECC 6.0 - Account Category & Multiple Distribution
    Re: Source determination in backend (R/3) for distributed contract i.e. GOA
    FM or BADI s' used to create a GOA
    BR,
    Disha.
    Do reward full points for useful answers and close the thread if your query is answered.

  • How to send IDoc(Sales Order Confirmation) without Message control

    Hi,
    I need to send Sales Order confirmation,Delivery and Invoice through ALE (IDoc's). I am asked not to use MESSAGE CONTROL or CUSTOM IDoc to send confimation.
    I dont need to send a instant confirmation but i can do it at a specified time intervals.
    Do we have any other possiblity other than the both?
    Can you please give the steps to do, if possible?
    Thank you in advance,
    Gangolu.

    Hi
    This link may be useful
    Re: Re-open EDI - ORDCHG for outbound sales order

  • Do we not send Purchase order acknowledgement IDoc for order cancellation?

    Hi all,
    Is there a way to NOT send a Purchase order acknowledgement IDoc (POA) when we process an IDoc to cancel the order (or cancel all items)? The system now sends POA whenever there is a order create or order change (including cancellation) IDoc coming in but my customer wants not to receive POA in case of order cancellation.
    Thanks,
    Charles.

    Hi,
    Please give me your opinion and if we do not send the order response in case of order cancellation then please tell me how should I configure for that.
    Thanks,
    Charles.

  • Process OB files in order and send idocs in order as well

    Hi.
    I've placed some files in a folder. With file adapter i want to pick them in order (by name). As result of each file, i get an IDOC posted in SAP.
    File1.csv, File2.csv, File3.csv and File4.csv.
    I set EOIO as quaility of service, added a queue name (TEST) and finally set processing sequence 'By Name'.
    My problem is that i see in SAP IDOCs, but not in order. It is very important to keep the order of them because data inside them is delta.
    I also set the idocs to be executed with a background job, not immediatly.
    Does anybody knows what is happening here?
    Kind regards,

    Hi
    Are you using EOIO with NFS or FTP Adapter?
    Refer the below forum discussion
    FTP - Sender File Adapter - Exactly Once In Order
    Regards,
    Ramg

  • File to Idoc .If order is their need to send mail

    Hi All,
    I have scenario like this.
    Sending file (order) to SAP -IDoc
    I using RFC lookup .There is funtion module which has been developed in SAP R/3 it contains 5 import parameters and return SUBRC.
    If the result is  subrc = 4
    This is the normal situation and the order / idoc should be
    generated as normally.
    If the result is subrc = 0
    Now we are in a situation where  we earlier have received this order.
    Instead of generation an IDOC, an email must be send to respective persons with contents
    SUBJECT: We have already received this EDI -order before.
    And the mail should contain following:
    We have already received this EDI-order before.
    Purchase order no:      <value of purchase order no>
    Sold-to:                <value of sold-to>
    Salesorganisation:      <value of salgsorganisation>
    Distribution channel:   <value of distribution channel>
    Division:               <value of division>
    Note : BPM not recomended
    Thanks
    MMV

    Hi,
    Check the following link
    /people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
    it is possible to configure the mail adpater to send attachemnts without any ABAP coding. Just check out these
    blogs by michal that deal with the mail adapter,
    /people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    You can also check these links on SAP help for configuring the mail adapter,
    http://help.sap.com/saphelp_nw04/helpdata/en/ad/bf93409c663228e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/23/c093409c663228e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/6b/4493404f673028e10000000a1550b0/content.htm
    Please reward points if it helps
    Thanks
    Vikranth

  • Idoc sales order outbound issue

    Hi,
    i am new to IDOC's.I am generating IDOC for sales outbound process(standard).Few of the partners are created..now i need to get all the zpartner profiles for the sales order.
    For this i am using EXIT_SAPLVEDC_002 user exit.I am trying to debug through program SD70AV1A,but output(debugger) is not getting stoped.
    Please help me by giving valuable answers or sample codes.
    Thanks in advance.

    thanks gordan,
    but when i check the INCLUDE LVEDCF0F.
    686 line LOOP AT xvbpa WHERE vbeln = xvbak-vbeln
                    AND   posnr = '000000'.
        SELECT SINGLE * FROM edpvw WHERE parvw = xvbpa-parvw.
        IF sy-subrc = 0.
    here for standard partner like AG WE e.tc idoc gets generatedwith segments  but for customized segment it does not.
    So i am looking for writing some code within EXIT_SAPLVEDC_002.
    here problem is i xvbpa is clear.
    so can u suggest how can i write logic for this.
    sample code will be helpful.
    thanks

  • Problem with IDoc filtering in the distribution model

    Hello Experts,
    We are using a distribution model in which we have set filters as like the following
    Filter Group 1
               Plant : XYZ
               Sales Org: SAP1
    As far as the documentation says this Condition should work with AND logic between Plant and Sales Org
    (i.e ~ Plant XYZ and  SO SAP1 ) but the IDoc gets created even if any one of the condition is met(looks like working in OR logic).
    How to achieve the AND filtering between the different objects.
    Would appreciate your kind help.
    Thanks in advance.
    RGds,
    Vasanth.

    > Jakub ~ Yes I checked the generated IDocs(classified pertaining to my Model)for my model alone and that's where we are facing this problem
    So that's the filtering problem.
    I would check in which segments are the "filtering objects" located (BD59) and whether it is a mandatory segment. If it is a mandatory segment - IDoc should not be created. If it is an optional segment - this segment and its subsegmets will be filtered out - but IDoc will be created.
    > ~ Do we need to apply some SAP Notes to avoid this problem ?
    >  But why the filter should behave in OR fashion ? I do not understand.
    I believe that Sachin meant that the logic is:
    Filter Group1 OR Filter Group 2 OR ... Filter Group N
    Filter Group 1 Object 1 AND Filter Group 1 Object 1 ... AND Filter Group 1 Object M
    Filter Group 1 Object 1 Value 1 OR Filter Group 1 Object 1 Value 2 OR ... Filter Group 1 Object 1 Value L
    regards,
    Jakub

  • IDOC: Process order: Message type LOIPRO

    Hi
    I would like to know here no other way to download LOIPRO idocs as soon as the process order or production order are created/changed.
    Currently i'm using program rcclord and rccltran to create idocs. The problem I see here is that during every execution ALL orders, disregarding of the status (i.e. closed orders as well), will be exported.
    G.
    Message was edited by: Giovanni Baumann

    Hi Baumann,
    You can use the BADI WORKORDER_UPDATE
    I am using this for releasing Process Orders. I hope this will help you..
    *Appending the Selection Screen fields.
    *Process Order
      s_rspar-selname = c_selnam1.
      s_rspar-kind    = c_kind.
      s_rspar-sign    = c_sign.
      s_rspar-option  = c_option.
      s_rspar-low     = im_ord_header-aufnr.
      APPEND s_rspar TO t_rspar_tab.
    *Material Number
      s_rspar-selname = c_selnam2.
      s_rspar-kind    = c_kind.
      s_rspar-sign    = c_sign.
      s_rspar-option  = c_option.
      s_rspar-low     = im_ord_header-matnr.
      APPEND s_rspar TO t_rspar_tab.
    *Planning plant
      s_rspar-selname = c_selnam3.
      s_rspar-kind    = c_kind.
      s_rspar-sign    = c_sign.
      s_rspar-option  = c_option.
      s_rspar-low     = im_ord_header-werks.
      APPEND s_rspar TO t_rspar_tab.
    *Order category
      s_rspar-selname = c_selnam4.
      s_rspar-kind    = c_kindp.
      s_rspar-low     = im_ord_header-autyp.
      APPEND s_rspar TO t_rspar_tab.
    *MRP controller
      s_rspar-selname = c_selnam5.
      s_rspar-kind    = c_kind.
      s_rspar-sign    = c_sign.
      s_rspar-option  = c_option.
      s_rspar-low     = im_ord_header-dispo.
      APPEND s_rspar TO t_rspar_tab.
    *Logical System
      SELECT  SINGLE rcvprn INTO v_opt_sys FROM edp13 "#EC *
       WHERE  rcvprt = c_rcvtype AND mestyp = c_messageid.
      s_rspar-selname = c_selnam6.
      s_rspar-kind    = c_kindp.
      s_rspar-low     = v_opt_sys.
      APPEND s_rspar TO t_rspar_tab.
    *Message Type
      s_rspar-selname = c_selnam7.
      s_rspar-kind    = c_kindp.
      s_rspar-low     = c_mesageid.
      APPEND s_rspar TO t_rspar_tab.
    *This statement will submit the programme RCCLORD using the table RSPARMS
    *which holds the fields to be filled in the selection screen for RCCLORD and return
      SUBMIT rcclord USING SELECTION-SCREEN 1000
                     WITH SELECTION-TABLE t_rspar_tab
                     AND RETURN.
    Cheers
    Prasad

  • IDOC Sender (ORDERS)

    HI,
    I want to get ORDERS.ORDERS03 IDOC from R/3 to File..
    Actually i decided to do this by looking at this blog.
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    The problem is, how to create receiver datatype from such a IDOC (which has more elements) ?
    Any Sugg?
    Thanks
    Seshu

    Hi Seshu,
    I thought i will give you some more additional information which will help you complete this Scenario without any problem...
    These are steps to follow:
    STEPS IN DESIGN
    1. Import idoc from the SAP System (SAP02) through imported objects.
    2. Create Data Type, Message Type, Message Interface for the Outbound File.
    3. Create Message Mapping with file Message and idoc (ORDERS03)
    5.Create Interface mapping between File Interface and the idoc.
    Steps to be followed in Creation of Technical and Business System
    Technical System
    In SLD, click on technical landscape->New Technical System->WebAS ABAP.
    Business System.
    1.Goto Business Landscape->New Business System->Name the business system.
    2. Choose the technical system that needs to be attached->WebAS ABAP->Technical System Name.
    Preconfiguration steps for transfer of data to IDOCS
    1.Create a RFC Destination in SM59 of XI Server of type.
    2.In transaction IDX1 ,create a port for the client of XI server.
    3. The port has to be displayed in the idx2 transaction and we should be able to view the idoc’s which we imported through integration repository.
    Steps in Configuration
    1. Goto service without party, right click->Assign a business system.
    2. Choose the business system to be added.
    3. Create a File Sender Service with communication channel for the same.
    4. Create an idoc receiver channel under the business system. Mention the RFC Destination and the port created for the same.
    5. Mention the logical Name in the Service->Adapter Specific Parameters of both the File Sender Service as well as the business system.
    6.Create the Receiver Determination and Interface Determination for the business system.
    7.Create the Receiver Agreement for File Receiver with communication channel.
    TCODES for File>XI>IDoc or IDoc>XI>File
    SM59-rfc destination on recving side
    IDX1-port on recving side
    IDX2-load metadata
    Bus. service adapter specific Identifiers-->Logical sys name (check this blog:/people/michal.krawczyk2/blog/2005/03/29/xi-error--unable-to-convert-the-sender-service-to-an-ale-logical-system )
    we05-IDoc status records
    BD54-Create Partner Number
    We20-Create Partner Profile
    and also go thru this blog on
    IDOC to File
    and also these links:
    https://websmp201.sap-ag.de/nw-howtoguides
    http://help.sap.com/saphelp_nw04/helpdata/en/6a/e6194119d8f323e10000000a155106/frameset.htm
    In R/3 Side, Partner profiles should be created.
    Have a look into this document for the same...
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/877c0d53-0801-0010-3bb0-e38d5ecd352c
    And also since the Blog on IDOC to File looks quite complecated... I thought of giving you more info...
    You can take a look at this document.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cdded790-0201-0010-6db8-beb9bb2b2660
    Apart from that other details like SLD , R3 config etc you can look into the document and the info i have given.
    Regards,
    Abhy
    Message was edited by: Abhy Thomas

  • Urgent - problem in idoc filtering

    Hi Expert.
    i have created my Extended idoc. for debmas06. its working fine but as i decleatred the filter in BD64 on field VKORG. Its not filtering on the value which i mention in this field.
    I run the program with z- program and submitted into the BD12. from there it generate a idoc. but its not doing filtering. the filter field VKORG not exist in Zsegment that is only in standard segment.
    I put those segment name in BD59 also and obhect is VKORG. still is doesn't work. any suggation abt this.
    I assure i will rewarded to the appropriate answer.
    Thanks

    Hi!
    Did I get this correct?
    >
    > The filter field VKORG not exist in  Zsegment that is only in standard segment.
    You Z-message does not contain VKORG? Then a filter for this field is not possible. You can only filter for fields included in the message. Otherwise your steps seem alright.
    Regards,
    Christian

  • Filtering order search

    Hi there
    In B2B senario when searching for orders I have added this property filtering out only orders of the type "ZOR"
    Modifying generic-searchbackend-config.xml:
    <property name="DOCUMENT_TYPE"
    type="dark"
    tokenType="RAN">
    <depending propertyName="document_types" value="ORDER" />
    <allowedValue content="dynamic"
    contentCreateClass="com.rockwool.backend.r3.z_GenericSearchDynamicContent"
    contentCreateMethod="addOrderType"  />
    </property>                                 
    </property-group>
    and extendidng the class GenericSearchDynamicContent with this:
    public class z_GenericSearchDynamicContent
         extends GenericSearchDynamicContent {
    Add Order Type
                public void addOrderType() {
                     String OrdTy = bom.getShop().getProcessType(); // SHop definition = "ZOR"
                     selOpt.addSelectOptionLine(
                        new GenericSearchSelectOptionLine(
                             handle,
                             pty.getName(),
                             OrdTy,
    And it works perfekt - when searching for orders.
    My problem is now:
    When customers choose to search for contracts instead none are found because contracts are searched for with same filter!
    What or where am I doing wrong?
    PS: above is roughly like the example in the extension guide but somewhere I'm doing something wrong =(
    Best regards
    Lars Henrik Andersen

    Hi Prashil
    Cant find any of the classes.
    (We are running ERP and not CRM.
    But if I have a look at the log from the ISA it says that this fm is called.ERP_ISA_GEN_DOCUMENT_SEL
    The FM isa also called correct and I dont think it is here the bug is.
    I'm more suspecious about the XML file where I'm am making the Depending:
    <depending propertyName="document_types" value="ORDER" />
    Fore som reason this depending properti is ignored because the GenericSearchDynamicContent is called under also when searching for "CONTRACT"
    I'm more conserned about the syntax in the XML - is this correct?
    Or maybe have I added the the whole property at the wrong place - but in that case, it shouldent work at all, I think.
    best regards
    Lars Henrik Andersen

Maybe you are looking for

  • Looking for a howto for an applescript to batch convert PPTS to Keynote...

    Looking for a howto for an applescript to batch convert PPTS to Keynote... Hi to group! (cross posted this a couple of weeks ago to Keynote forum, no responses) Perhaps the query really belongs here...) (I) Have a whole bunch of PPTs to convert to Ke

  • Can't sync photos because "not enough memory is available"

    Hi there! I updated my iPhone 3GS 32GB to iOS4 yesterday. When it came to syncing my Apertue Photo Library, it comes up with the same error message all the time after optimizing a handful of picture for the device: The iPhone "*** iPhone" cannot be s

  • Performance of builders in new install of PI 7.1 w Enh 1

    New install of SAP NW PI 7.1 w Enh 1 @ SPS 3 on db2 9.5.4 on RHEL V5.2 under VMware ESXi (1 CPU, 5G mem). I've configured Exchange Profile for SSL, (so https and p4s is used throughout). While working in SAPGUI or the browser performance is acceptabl

  • Search method in SAP help.

    hello expert:          I am looking for "0EC_PCA_3" datasource in SAP help,  in the advanced search,  select "SAP Enterprise Resource Planning ", no result for this earching,  am I wrong for setting this search? Many thanks.

  • After FF update, can't tell what messages are read or unread.

    When I opened my browser last night, Firefox installed an update. Immediately thereafter I went to my yahoo mail account and noticed that all my message looked bolded, like they were unread. I clicked on one to mark it as "read" and it looked no diff