IDOC filtering for VLO2N PGI interface

Hello everyone,
we have an outbound interface online. An idoc is generated on PGI in VL02N (Interface ART_DVT).
We have another outbound interface which generates an IDOC for deliveries (Interface ART_OUT).
Both these interfaces update a table in a third party system.
As per my current requirement, the PGI interface should be triggered only for deliveries for which ART_OUT has been triggered.
The ART_DVT interface is being triggered via message control NACE.
Message Type : DELINF
Basic Type      : DELVRY05
Whenever ART_OUT is triggered, a z-table gets updated in SAP with the necessary details.
I think I can check here before triggering the ART_DVT interface if i could use an user-exit in VL02N.
Any help is appreciated.
Thanks in advance.
Regards,
Xineohpi

Can someone atleast tell me if there is an user-exit or badi using which i can restrict the PGI idoc generation based on some check or if the message control execution part can be restricted..
in dire need of help......
Regards,
Xineohpi

Similar Messages

  • IDOC Filtering for DEBMAS

    I am currently using change pointers to trigger the DEBMAS IDOC.  I need to be able to filter a range of customers that are not required to be sent. These customers have a defined class type, so it would be ideal to prevent these from going through with a <> filter. 
    I'm looking into the Distribution Model filter, but the options appear limited to Function, Company Code, Credit COntrol Area, Division, Sales Org, Dist Chnl. 
    Any ideas to exclude this type of customer from the IDOCs being processed would be very much appreciated.
    Thank you!
    Jaime

    Hi,
    Using BAPI, you can filterout the customers that not required to process thru ALE.
    Filters are conditions that BAPIs have to satisfy so that they can be distributed by ALE outbound processing.
    The BAPIs and message types in a model view that are filtered contain a relevant sub-entry.
    In the change mode you can define filter groups and values by selecting
    Edit -> Display/edit details.
    The following types of filtering are possible:
    Data Filtering with BAPIs
    Prerequisite:
    You have defined the filter objects for a specific BAPI and assigned them to the BAPI. For more information see the ALE Programming Guide under Filtering Data.
    There are two types of filtering to choose from:
    Interface Reduction:
    Here optional BAPI parameters and/or BAPI fields are switched off.
    You can choose the options:
    - Reduce by fields
    - Fully reduced
    For example, the BAPI RetailMaterial.Clone is called with parameters containing basic data, production data, sales and distribution data, plant data, etc.
    If the BAPI is called by a material reference system in a sales and distribution system, only the parameters containing basic data and sales and distribution data have to be transferred.
    Content-Dependent Filtering
    The rows of the BAPI table parameters which do not satisfy the distribution conditions are filtered out.
    Developers can also use field references to define hierarchy relationships between table parameters. Such hierarchies are maintained in the ALE Development menu under BAPI -> Maintain hierarchy for BAPI table parameters.
    For furhter details please click on below link:
    http://help.sap.com/saphelp_46c/helpdata/en/4f/1c4b6e5733d1118b3f0060b03ca329/frameset.htm
    You may try with this info.
    Thanks,
    Naga

  • IDOC filtering for VL02n

    Hello all,
             I am creating the Delivery03 type IDOC each type a delivery document is changed or created using message control technique. But I want to create the IDOC only for perticular value of the delivery type and shipping point.  How can I achive this ? Is there any user exit or badi I can use to implement htis?
    Thanks and regards,
    Keith

    Hi..There is no need of exit for this.
    We can Acheive this by maintaining Filter Conditions in BD64.
    Steps: in BD64
    Double Click on the "Data filter Not Active"  under the Message type of Delivery03 in your model View.
    Create a Filter Group
    Maintain these Conditions
    Note: If there are no filter objects available for Delivery type or Shipping point we can maintain them in BD95. And then they will Appear in BD64.
    let me know if there are any issues.
    Reward if Helpful

  • IDOC type for interface between SAP ECC and SAP F&R

    Hi Experts,
    I need SAP standatd IDOC type for interfacing between SAP ECC and SAP F&R [SAP Forecasting and Replenishment] using message type u201CFRE_LOC_SITEu201D.
    Please help me in finding the idoc type?
    Regards,
    Krishan

    Hi Denish,
    You have 2 ways of loading data from R/3 to APO.
    1. R/3 to BW cube to APO-BW cube to APO planning area
    or
    2.  R/3 to APO-BW cube to APO planning area   
    BW can be a enterprise BW system ( independent) or you can use the BW inbuilt in APO also referred to as APO-BW.
    The only difference between the 2 BW systems is APO-BW can not take the load of reporting where as the enterprise BW can.
    Unless your company policy requires the enterprie BW system, I suggest using 2nd way.
    You can load the data from R/3 to APO-BW cube using extractors either generic or standard depending on your data. You need to have a RFC connection setup between APO-BW and R/3. ( This is not CIF).
    When you load the data into the APO-BW cube, you just have to load the data from the cube to APO planning area using the transaction /sapapo/tscube.
    Refer to [DP Data Mart|http://help.sap.com/saphelp_scm50/helpdata/en/13/5ada58309111d398250000e8a49608/frameset.htm] for more information about the data transfer between APO-BW and APO.

  • Error in IDOC ststus , for interface IDOC to File

    Hi All,
              iI am doing IDOC to file interface , in which i am using IDOC Orders05, we are using the same IDOC for other interface to connect with DOTNET connectors , when i trigger the IDOC ORDERS05 for my interface when i check the ststus , in which it is pointing the to partner No and Port to that dontnet, not to my Iterface for SAP XI , anyone there to help me in  this isssue
    Thanking you
    Sridhar

    Hello,
             While sending Idoc you will be providing the Port which in turn needs RFC Destination and this is one which takes the document to External system configured in RFC.
    If you need to send the idoc to External Systems other than R/3 then you need to use T type connection which uses JCO for estblishing session. if it is R/3 then requires logon credentails and type 3 for configuring RFC.
    HTH
    Rajesh

  • Message type and IDoc type for PGI-GR?

    hi all,
    I have to send the PGI through ALE which have to create GR . So please mention the Message type , output type of message control and IDoc type?
    Thanks
    Vamshi

    Hi,
    The Idoc Types for Post Goods Issue are
    MBGMCR01 / MBGMCR02.
    Pls check the Message type in tcode WE82.
    For output type GOTO transaction NACE-->Application V2.
    hope this helps.
    Regards,
    Sharath
    Edited by: sharath on Jun 24, 2008 7:16 PM

  • 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

  • Idoc Type for Billing

    Hi
    I need some help in knowing which Idoc type is to be used for sending invoice to external system and what is the method of finding the Idoc type for this purpose
    Manu Seth

    Hi,
    Use transaction code WE60.
    In the basic type field enter INV* and click on the drop down button.
    The system will display list of IDOCS starting with INV.
    The IDOC types used for Invoice/billing documents are INVOIC01/INVOICO2 (Incoming/Outgoing).
    You can get the documentation in the same transaction code c-header and HTML format buttons.
    You can also check the link [EDI -IDOC interface|http://help.sap.com/printdocu/core/print46c/en/data/pdf/SDEDI/SDEDI.pdf] for details.
    Regards,

  • What is Ale, Edi,IDoc tech for sap

    Hi all,
    What is Ale, Edi,IDoc tech for sap?
    Thanks.

    hi deniz,
    <b>ALE</b>
    ALE
    Triggering OB via Change Pointers:
          When an application make a changes in any object an entry is made in CDHDR and CDPOS tables. When any change is made the SMD(Shared Master Data) Tool checks that ALE setting and create a change pointer in the BDCP table that will point to CDHDR table. A standard program RBDMIDOC is scheduled to run on a periodic basis to evaluate the change pointers for a message type and start the ALE process to distribute to the appropriate destinations. The program will read the table TBDME to determine the IDoc selection program it is MASTERIDOC_CREATE_SMD_MATMAS in the case of MATMAS.
    Outbound Process:
    When the stand-alone program or the Transaction(BD10) is run, it calls the Idoc
    Selection program MASTERIDOC_CREATE_REQ_MATCOR in the case of MATMAS, which is hard coded in the program. The Idoc Selection program reads the master data and create a master Idoc and stores it in the memory. The function module then calls ALE layer by using another function module MASTER_IDOC_DISTRIBUTE which is invoked inside it. Then Idoc filtering, Segment filtering etc.. are done in the ALE layer.
         To dispatch the Idoc to the destination system, the system reads the partner profile to determine the destination system. Then the sending system calls the function module INBOUND_IDOC_PROCESS asynchronously on the remote system and passes the Idoc via memory buffer.
    Asynchronous Communication:
    The data  that is IDocs and the function module are  stored in ARFCDATA and ARFCSSTATE tables. The function module ARFC_DEST_SHIP will transports data to target System and the program ARFC_EXCUTE will execute the stored function Module. If communication problem occurs RSARFCSE program is automatically scheduled., if successful, entries in the tables ARFCSSTATE and ARFCDATA will be deleted.
    Inbound Process:
    The INBOUND_IDOC_PROCESS program is triggered as a result of RFC from the Sending System, the Idoc to be sent is passed as parameter for the function module
    In the partner profile if Process immediately is selected then RBDAPP01 program is executed. It will read the process code(MATM) from the Partner profile, which in turn invoke the function module IDOC_INPUT_MATMAS for MATMAS
         Function module will call the corresponding SAP transaction using call transaction or uses direct programs to convert the Idoc to Application document .
    In the table TBD51 there will be entries to find which option is used.
    Transactions:
    SALE - IMG ALE Configuration root
    •     WE20 - Manually maintain partner profiles
    •     BD64 - Maintain customer distribution model
    •     BD71 - Distribute customer distribution model
    •     SM59 - Create RFC Destinations
    •     BDM5 - Consistency check (Transaction scenarios)
    •     BD82 – Generate Partner Profiles
    •     BD61 – Activate Change Pointers - Globally
    •     BD50 – Activate Change Pointer for Msg Type
    •     BD52 – Activate change pointer per change.doc object
    •     BD59 – Allocation object type -> IDOC type
    •     BD56 – Maintain IDOC Segment Filters
    •     BD53 – Reduction of Message Types
    •     BD21 – Select Change Pointer
    •     BD87 – Status Monitor for ALE Messages
    •     SALE – Display ALE Customizing     WEDI - ALE IDoc Administration
    •     WE60 - IDoc documentation
    •     SARA - IDoc archiving (Object type IDOC)
    •     WE47 - IDoc status maintenance
    •     WE07 - IDoc statistics
    BALE - ALE Distribution Administration
    •     WE05 - IDoc overview
    •     BD87 - Inbound IDoc reprocessing
    •     BD88 - Outbound IDoc reprocessing
    •     BDM2 - IDoc Trace
    •     BDM7 - IDoc Audit Analysis
    •     BD21 - Create IDocs from change pointers
    •     SM58 - Schedule RFC Failures
    <b>EDI</b>
    EDI(Electronic Data Interchange )
    RFC DESTINATION:
                           A logical name used to identify the remote system on which a function needs to be executed.
    Partner Profile:
          It defines the characteristics of data being exchanged with the business partner.
    Partner Function:
         Role of the partner Eg:Ship-to-party,bill-to-party,etc in EDI and in ALE legacy system or remote SAP system.
    Partner type:
              The type of your business partner .
         EDI        – KU/LI
         ALE     --  LS.
    Archiving:
         -Need to archive the important transmitted document
    -Created in SARA
         -Assigned in WE20.
    PartnerProfile Tips:
    •     RSECHK07- Consistency check for Partner Profile.
    •     If you want to modify partner profile; copy it and then modify. If you can’t modify it , u have  to delete it.
    •     To move partner profile to production system choose Partner ->  Transport
    Port defintion:
         It defines the medium through which data is exchanged between systems.
    •     tRFC    -   Used by ALE
    •     FILe     -   Used by EDI
    •     R/2 system system port  – For R/2 system
    •     Internet port           - to connect with internet applications
    •     It also depends on the  receiving side. If the receiving subsystem accepts tRFC, EDI also can use tRFC.
    Remote Function modules required by Subsystem to send status and inbound idoc to SAP:
    Startrfc                                         -   Program to execute RFC – enabled Fun.mod. in SAP
    EDI_DATA_INCOMING             -   To send data as inbound
    EDI_STATUS_INCOMING         -   To send status to SAP
    RSPARAM               -   To know the gateway service of the SAP system.
    Message Control:
    •     Output controller
    •     A service program for determining the output type
    •     To generate and manage various outputs from an application and control their medium and timing of exchange.
    •     To retransmit the document without duplicating it
    Procedure:
    •     A procedure defines a set of possible outputs for an application
    •     There may be more than one procedure but only one can be active
    •     Requirement field in procedure specifies the condition which the sales docu. should reach,for sending the sales order response.
    Output type:
    Defines the characteristics and attributes of the output.
    Access Sequence :
    Defines  a sequence in which the business rules are checked using condition record of the condition table for proposing output type.
    Sapfans Q & A
    SREL_GET_NEXT_RELATIONS   -
    Function Module that will provide me the number of the document that was created by an IDoc
    RLSUB020
    Program which uses the above function module.
    Upgradation problem
    When the old version program is upgraded in to newer version(4.0b &#61664; 4.6c) the SE38 editor won’t allow u get thru’ the programs normally to get rid of this.
    Solution:
    EDIT > MODIFICATION OPERATIONS > SWITCH OFF ASSISTANT. Hit Enter on the subsequently shown Warnings window. You should now be able to maintain the code as before.
    When transporting the dialog program sometimes the links may be missing in the testing and production area. To overcome just check u have properly save your all includes and other stuff in the same request if not, do so. Other options In ver 4.6c -> Within ABAP editor try utilities/Update navigation index
    this fixes the links
    ALE( Application Link Enabling )
    Disk Mirroring:
    Changes occurring in the database should reflected to another disk that maintains a mirror image of the main disk’s contents.
    Replicas:
    Maintaining redundant data across multiple systems.
    ALE:
      It provides distributed environment to integrate non-SAP systems
      Provides guaranteed delivery of data regardless of network problem to application.
    Logical system :
         The systems involved in distributed environment  are assigned a logical name which uniquely identifies a system in a distributed  environment.
    Data Mapping:
         Conversion of a business document in IDoc format to an EDI format (and vice versa) which is performed in the subsystem.
    Message Types:
    •     Represents a business function
    •     Technical structure is the IDoc type
    •     Or can say an instance of IDoc.
    <b>IDoc  :</b>
         They are containers used to exchange data between any two process.
         It represents an IDoc type and IDoc data
         IDoc type is structure and IDoc data is an instance of it.
    <b>Pls reward if helpful.</b>

  • Idoc segment for updating Sales order item dates

    Hi All,
    I would ike to update the sales order item dates (loading date, Goods Issuance date etc) from an IDOC.
    please let me know the Idoc segment and fields that need to be filled in?
    Thanks in advance.
    Regards,
    Zeeshan.

    Hi,
    Here are some details of the segments in the idocs -
    SEGNAM Segment Name E1EDL20
    VBELN Sales and Distribution Documen 180001539
    SEGNAM Segment Name E1EDL18
    QUALF IDOC Qualifier: Control (Deliv PIC : Picking with flow records (inbound)
    SEGNAM Segment Name E1EDL18
    QUALF IDOC Qualifier: Control (Deliv PGI : Post delivery goods issue (inbound)
    SEGNAM Segment Name E1EDT13
    QUALF IDOC Qualifier: Date (Delivery 010 : Picking
    NTANF Constraint for activity start 20090808
    ISDD Actual start: Execution (date) 20090808
    SEGNAM Segment Name E1EDL24
    POSNR Item number of the SD document 10
    MATNR Material Number 1112
    WERKS Plant SG01
    KDMAT Material belonging to the cust 1112
    LFIMG Actual quantity delivered (in 55
    VRKME Sales unit EA
    POSEX External item number 10
    ORMNG Original Quantity of Delivery 55
    SEGNAM Segment Name E1EDL41
    QUALI Qualifier for Reference Data o 001 : Purchase order data of customer
    BSTNR Customer purchase order number 4500004668
    BSTDT Customer purchase order date 10
    POSEX Item Number of the Underlying 10
    SEGNAM Segment Name E1EDL37
    Regards,
    Shamma

  • Idoc Serialization for Transactional data

    Hi All,
    1. Please let me know if you have done IDOC serialization for Transactional data.
    If so please let me know the steps.
    2. How do we use serialiazation using object types. If you have done this please let me know the steps for this too.
    Thanks for your help.
    Srikanth.

    Hi Srikanth,
    Follow the steps below to set up serialization using object types:
    1.       In the SAP menu choose ® IDoc Interface/ALE ® Development ® BAPI ® Serialization ® Serialization Using Business Objects ® Determine Supported Business Objects (transaction BD105). Enter all the business object types relevant for serialization.
    2.       In the SAP menu choose ® IDoc Interface/ALE ® Development ® BAPI ® Serialization ® Serialization Using Business Objects ® Assign Message Type to a Business Object (transaction BD104). Assign the message types relevant for serialization to each business object type.
    3.       In Customizing (IMG) activate the serialized distribution in both the sending and receiving systems:
    ALE Implementation Guide (transaction SALE)
    Modeling and Implementing Business Processes
    Master Data Distribution
    Serialization for Sending and Receiving Data 
    Serialization Using Business Objects
    Execute activities Activate Outbound Business Objects and Activate Inbound Business Objects. Set the Serialization flag for the required business object types.
    If you want to do serialization by message type then
    1. go to BD44 and create a serialization group and assign messages and the serial number to each.
    2. Run the program RBDSER01.
    Award points if useful,
    Aleem.

  • How to find the number of idocs generated for a customer on the basis of his purchase order in a day ?

    How to find the number of idocs generated for a customer on the basis of his purchase order in a day ?

    Dear Friends,
    I am absolutely agree with your answer .
    But my question is,
    Lets say.....
    One customer sending X number of purchase orders in a day , so how many IDocs generated on that specific day for that specific customer .
    So, Question is , How can we find the no of sales orders(IDocs) generated for the customers on the specific day ?
    Hope you all understood my requirement .
    Thanks & Regards,
    Aditya

  • BCExeption: The IDOC metadata for null is not available in SID

    <h3>Hello Guys,</h3>
    we need some information about the error message:
    com.wm.pkg.sap.BCExeption: The IDOC metadata for null is not available in <SID>
    We use a Business Connector 4.8 and the backend is an ECC 6.0, we have an inbound xml scenario with FTP.
    We pick up the ORDRSP from the vendors ftp-server and we would like to drop it to our backend system.
    We can read the xml file into a string, but not send to the backend system, we use following steps:
    - bytesToString
    - stringToDocument
    - documentToRecord
    - recordToIDOC
    - lockSession
    - createTID
    so far works perfekt
    - sendIDoc
    - releaseSession
    On the step "sendIDoc" we see the described error message, but what is the message from the message?
    Any Ideas?
    Thank you and regards,
    Michael

    Hello Michal,
    thank you for your quick answer!
    In my opinion, i don't need any input for this service, because we pick up all data from the vendors ftp - server in a definied time interval.
    All needed fields are available in the xml file. In the result tab is the IDocList filled correct, but no sending to the backend system because the error is displayed.
    Is it a problem with my concept?
    Regards,
    Michael

  • Standard IDOCS, Programs for posting FI & bank related data.

    Hi,
    (1)Are there any idocs available for posting FI documents, Vendor master?
    (2)Are there any outbound idocs, programs for sending data to banks. EG:positive pay etc?
    Kindly reply to these questions. Correct answer will be awarded points.
    Regards,
    Akshaya.

    Hi,
    There is message type BANK_CREATE for posting the FI related Bank details. Using the change pointers you can trigger the idocs for posting the bank related data.
    Regards,
    Uday

  • Single idoc generation for multiple sales orders

    Hi,
    Pls let me know how do we generate single idoc for multiple sales orders.
    Its not collecting idoc. As we know we can generate an idoc for one sales order correspondingly
    my requirement is to generate single idoc number for multiple sales orders.
    Do we need to write a program.

    Amar,
    To understand take HRMD_A04 as example. Root segment has Maximum 9999999999 defined.
    Segm.type       E1PLOGI
    Minimum number  1
    Maximum number  9999999999
    Parent segment
    Hier.level      2
    This means that this IDOC types has capability to hold multiple HR Master data objects. PFAL program creates this IDOC and it has facility to mention the Objects per process, check selection screen.
    I checked for INVOICE01/02 its not possible there. Hope this clarifies.

Maybe you are looking for

  • Costing based CO-PA extraction to DSO

    Hello Expert, I need to load the line item data to level 1 DSO. On the source system, the system has used the combination of the following key fields not allow duplicate records. PALEDGER VRGAR VERSI PERIO PAOBJNR PASUBNR BELNR POSNR But, the datasou

  • Sent Mail not found in sent file

    This started a few weeks ago.   Sometimes when I send a new message,  it does not show up in my sent file, leaving me wondering if it was sent at all,  and preventing me from reviewing the email too.  I looked in preferences for MAIL  and I do not se

  • Scroll bar is very slow, can't use wheel

    The scroll bar speed is slighlt faster than glacial. Having problems using the wheel on my mouse as well at web sites.

  • Using "Get Context" button in Modules tab of application.xml editor

    Hello, When you open the editor for the application.xml file there is a tab called Modules. On that tab there is a button named "Get Context" When you select a module and click that button a popup window comes up with two fields. The first field is a

  • Faces issue when selecting 'edit with CS4' (or any other external editor)

    Ok, so I have a work flow where I effectively use Nik Plugins. I have the complete set so that i can use them in Aperture and CS4. I correct exposure and white balance and crop in Aperture but then have automators set up in CS4 to apply Nik plugin ef