Filtering on the idoc
Hi,
I have created a distribution model in the sending system for the message type GLMAST. Some filter values have also been assigned to the company code. After that i distributed the model to the receiving system.
Now I have to add one more value for filtering to the company code. After changing the model in the sending system should i have ditribute the model again to the receiving system through BD64?
Regards,
Soumya.
Yes u need to distrubute the model once again.
Regards
Kannaiah
Similar Messages
-
What is Data filtering and Segment filtering in ALE/IDOCs
Hi sap gurus
what is Data filtering and Segment filtering in ALE/IDOCsHi,
Filtering at the IDoc Level
Identify the filter object (BD59)
Modify the distribution model
Segment Filtering
specify the segments to be filtered (BD56)
The Reduced IDoc Type
Analyze the data.
Reduce the IDoc type (BD53)
Thanks and regards. -
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 -
A warning message in the Inbound part of the IDOC
Hi all,
A warning message is being displayed for the Inbound part of the IDOC.
Here is the message.
No filters , No conversion , No version change .
IDoc successfully processed in the ALE layer
The IDoc has passed through the ALE layer successfully and can now be
passed to the application. This transfer is either done online or as a
background job, depending on the settings in the partner profile.
If there are no further status records, the IDoc waits for the next run
of the transfer report to the application.
Success or failure when passing the IDoc to the application is
documented in the subsequent status records.
Actions in the ALE layer
The parameter 'No filters' indicates whether the processing in the ALE
layer led to segments of the inbound IDoc being omitted. The important
criteria here are the settings in the segment filter and in the
distribution model for this sender.
The parameter 'No conversion' indicates whether field values were
converted in the ALE layer. This is the case if the IDoc contains
organizational units to be converted, or if the ALE conversion tool for
this sender is activated.
The parameter 'No version change' indicates whether the IDoc was
converted into an earlier version of the IDoc type. This happens if the
IDoc type of the sender is different from its own IDoc type.
I have checked all the necessary Config settings and all of them are in place.
Your help on this will be highly appreciated.
- Surya.Hi,
The IDOC may have successfully passed through the application, but check whether the status of the IDOC is changed to 53.
No filters, No conversions, No version change
occurs when the IDOC is not processed fully.
It may have stopped the processing without raising any error...
Check the program, whether there is any piece of code which stops the processing of the IDOC without changing its status to 51.
Sharin. -
Filtering out MATMAS IDoc based on a condition
Hi All,
We are distributing a Material Master IDoc (Message Type MATMAS / IDoc Type MATMAS05) from an ECC 6.0 (WebAS 700) system to an external Non-SAP system via SAP XI.
Now our requirement is that the users will maintain a Z-table with all the SAP plants that are relevant for the external system. They can add or delete plants from this table in the future
If the MATMAS Idoc is created/extended for a plant which is not in the Z-Table then it should not get distributed.
E.g. If MATMAS IDoc contains plant 5000 and 5000 is not in the Z-Table then the Idoc should not even be created
We Tried a lot of enhancements: -
SMOD Enhancement - MGV00001
Enhancement Spot - ES_SAPLMV01 at different call up points
But none of them give the required exact result.
If we implement the enhancement spot inside the function module MASTERIDOC_CREATE_MATMAS, we get a message "1 Master IDoc created, 0 Communication IDocs created". So something is getting created and that's incomplete anyway.
So I am not sure how reliable this is
<b>One last approach I have is</b>: -
1) Send the IDoc to XI (without filtering)
2) Let XI look at the Plant code and compare with the Z-Table in ECC (via a Z-RFC function module) and then decide whether to send the IDoc or not send it to external system
Please let me know if my approch is correct or I am missing something here
Thanks and Regards,
AdityaHi Aditya,
If the Communication Idoc is not created it means that the IDOC is not sent out of the system. The Master Idoc creation does not mean the Idoc is sent to the XI adapter.
The purpose of Restricting at the Plant level will be satisfied if you delete the Idoc data with in the function module MASTERIDOC_CREATE_MATMAS.
It will work. Consequently you can add an additional check in XI to do this check, but this will increase the number of connections made to R3.
Hope it helps.
Thanks, -
Adding some code before sending the IDOCs
Hi all,
I have one query. When I am doing some transaction system is generating the IDOC with status 03. Now My requirement is to send this IDOCs to the destination system after checking some conditions. So I want to insert to some code in the ALE configuration, so that it can filter the IDOCs based on my bussiness requirement. This is not simply checking one field, i have to write some logic after that only system should send the IDOC, Can you please tell me how to include the code?
Thanks & Regards,
RaghuHi,
There are two ways you can do it:
1. Using Filters(Tcode BD64) & Convertion rules(Tcode BD55, BD62 & BD79).
<b>Filter:</b>
http://help.sap.com//saphelp_470/helpdata/EN/0b/2a611c507d11d18ee90000e8366fc2/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/12/83e03c19758e71e10000000a114084/content.htm
<b>Conversion Rule:</b>
/people/kevin.wilson2/blog/2005/12/07/changing-fields-in-an-idoc-segment
2. Check for the user-exit or BADI to add your business requirement.
To get the exact solution please add the business scenario.
<b>Note:</b> Reward each useful reply.
Raja T
Message was edited by:
Raja T -
When i am running the RBDMDOC it will not genarated the idoc for the infotype 0105
Hi experts,
I am run a pa40 action and change the record of 0105 infotype, in bd64 as part of data filtering I am also mentioned 0105 . but when I am run the RBDMIDOC the idoc is not generated of the infotype 0105 .
Thanks in Advance .
Venkateswara Rao.Hi Venkat Narayan,
Thank for giving such a help,
1. I am created record for the infotypes i.e :0,1,2,6,105.
2 In bd64 I done a data filtering for above infotypes , its fine , but when I am running the bd21 Tcode the idoc is generated for 0,1, 2,6,. it is not generated for p0105.
please find the following screen shorts.
Thanks.
venkat -
The filter I am setting in IDOC actually filter the specific segment only where as my requiremnts is if the filter fails it should not create the IDOC at all. In my case it creates the idoc with other segments even if filters therelevant segment
pls help outHello Akash
You will find good examples within the SAP online documentation:
<a href="http://help.sap.com/saphelp_46c/helpdata/en/18/22b800773211d396b20004ac96334b/frameset.htm">Basic Concepts of ALE Technology</a>
<b>Filtering</b>
The transmission can be controlled data-specifically through filters. Filters are conditions that message types and BAPIs have to meet in order to be distributed by ALE outbound processing.
<b>Example</b>
A customer uses a centralized inventory management system and several accounting systems. If stocks change in company code 0001, accounting data is sent to accounting system 01; if they change in company code 0002, accounting data is sent to accounting system 02.
Regards
Uwe -
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,
MichaelHello 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 -
Issue with DEBMAS IDoc,not all fields are reflected in the IDoc Seg E1KNB1M
For IDoc type DEBMAS, there is a segment E1KNB1M. This segment is relate to the customer correspondence details (XD02 -> company code data -> Correspondence).
For any change to the customer master a DEBMAS IDoc is triggered which has data in segments including the E1KNB1M.
In my case for few customers, the not all fields in the segment E1KNB1M contain data. Few fields contain data but the rest are filled with u2018\u2019. This is happening only in the production system, for the same customer in the quality system the data is there as required.
I checked in debugging, and found that the data is correctly passed to the segment in program SAPLVV01 Include LVV01F01. And the segment contains data till the IDoc is triggered. I.e. the fields are not getting cleared at any point.
Can anyone suggest what is happening and how to fix this? Please note that the issue is only in the production system and not in the quality system ( for the same customer).BTT... Need some help on the above
-
Data Mining on data specified and filtered by the user in runtime
Hi Experts,
i am new to Data Mining in SAP BI (we are on BI 7.0 SP Level 20). I familiarised myself with APD and Data Mining by reading some interesting and useful threads in this forum and some other resources. Therefore I got a understanding about the topic and was able to create basic data mining model for an association analysis and an corresponding APD for it and write the results into a DSO by using the data source. But for now I was not able to find a solution for a concrete customer requirement.
The user shall be able to select an article, a retail location and a month and get the top n combinations sold with that article in the particular location and month. For that he may not access the data mining workbench or any other SAP internal tools but he shall be able to start the analysis out of the portal (preferable a query).
We had some thoughts on the scenario. The first idea would be to create an APD for every location for the last month. As we need to cover more than 100 locations, this would not be practicable. Therefore I think it would be necessary, that the user can select the particular filters, and the data mining would then be executed with the given input.
The other idea was to use a query as source. The user would start this query and filter location and month in it. The result of the query could then be used as the source for the APD with the association analysis. Therefore we would need to create a jump point from that query, which starts the APD with that results. After that the user should be able to start a result query, which displays the result of the association analysis (ideally this result query would start automatically, but starting it manually would be ok, too).
So, I have the following questions for these scenarios:
1.) Is it possible to create variants of a single APD, for automatically doing the data mining for the different locations?
2.) is it possible to start an APD out of a query, with the particular results regarding filtering?
3.) Can we place a query directly on the data mining results (how?) or do we need to write the data mining results in a DSO first?
4.) What about the performance? Would it be practicable to do the data mining in runtime with the user waiting?
5.) Is the idea realistic at all? Do you have any other idea how to accomplish the requirement (e.g. without APD but with a query, specific filter and conditions)?
Edited by: Markus Maier on Jul 27, 2009 1:57 PMHi ,
you can see the example : go to se 80 then select BSP Application ,SBSPEXT_HTMLB then select tableview.bsp , you will get some idea to be more clear for the code which you have written
DATA: tv TYPE REF TO CL_HTMLB_TABLEVIEW.
tv ?= cl_htmlb_manager=>get_data(
request = runtime->server->request
name = 'tableView'
id = ''tbl_o_table" ).
IF tv IS NOT INITIAL.
DATA: tv_data TYPE REF TO CL_HTMLB_EVENT_TABLEVIEW.
tv_data = tv->data.
IF tv_data->prevSelectedRowIndex IS NOT INITIAL.
FIELD-SYMBOLS: <row> LIKE LINE OF sflight.
READ TABLE ur tablename INDEX tv_data->prevSelectedRowIndex ASSIGNING <row>.
DATA value TYPE STRING.
value = tv_data->GET_CELL_ID( row_index =
tv_data->prevSelectedRowIndex
column_index = '1' ).
endif.
endif, -
Error while posting the IDoc for Customer Invoice.
hi,
I m posting Customer Invoice through LSMW using IDocs.
Basic type is FIDCCP02 and message is FIDCC2.
While posting the Idoc I m getting error as:
'Document or line item does not exist for invoice reference'.
I m not getting the error why it is asking for invoice reference because
in FB01 it is not asking for any reference or anything.
Even in f-22 also it is not asking for the same.
In Idoc all the item level values are coming prorperly.
If anybody worked on such issues then please reply.
-Thanx.
-UmeshHi,
Where you able to resolve your issue, I would appreciate if you can share the solution.
Thanks -
IP Job in BW finished, but how can I check the IDoc receive status in BW ?
Hi,experts
After I execute a Infopackage with loading more than 200000 records data, the infopackage monitor show me yellow light, 186020 from 200000 records. this infomation still show me till now, seaval hours,it looks pause here.
And I check the request in the R/3, the Job has finished. as you know it means the R/3 push the IDoc already finished.
and how can I do now ? or how can I check the IDoc receive status in BW side?Hi,
I too had the same problem, i executed the following to solve the proble, may be this will help you:
1) Go to T-code SM58 and select TRFC and press F6,
2) For manual push of I-Docs, GO to T-COde BD87 select perticular idoc and see the status if it is not executed properly then do the manual push by pressing Execute option,
Thanks, -
How can we find the Idoc number which posts the material document in SAP
Hi All,
How can we find the Idoc number which posts the material document in SAP. We could not able to find the IDOC number from the material document which was posted by Idoc.
Thanks
ChandruHi,
In MIGO you can go to service of object(Just above show overview) and check 5th option workflow you will find the idoc number.
regards
suresh -
View the Idocs in Source System
Hello
I have triggered a ino package load to BI. Now the job is just hanging and is not bringing in any data. Please can someone tell me where can i view these idocs in the source system.
ThanksHi
IDocs at Source system --BD87 / WE19/WE20/WE30/WE02 are the Tcodes for IDOCs
Till42 Outbound Idocs after 50 Inbound Status Idocs.
You can even see the Idocs at Info Package -- Monitoring -- Environment - Idocs at Source system.
Check your RFC at SM58/SM59 -- If the Queue Stuck -- Execute LUWs Manually.
When the IDOCs are Taking time to process it is always better to Make the yellow request to Red and Delte the Request and Go for Repeat .
Hope it helps
Maybe you are looking for
-
How can I access my Gallery, I get message that says" not enough space, delete unnecessary items such as downloads pictures, video & documents, I don't have any downloads, very few photos, no messages but I can't access my gallery to delete any pictu
-
Processing History for Services for Object
Hello Together, I created documents attachment in CJ20N Transaction code using the button "services for the object ," for one WBS Element. Some one have deleted some documents from the list, I did not see who deleted this, it there a processing histo
-
Using DAQmx functions without installation
Good evening everybody, I have an instrumentation problem linked to DAQmx. I would like to communicate with an instrument using NIDAQmx tasks. I use an environment program system : visual studio 2003. At the end, I want to produce a dll. This dll, I
-
Can't get Droplets to call 32 Bit Photoshop
I'm trying to get my Droplets to call the 32 bit version of Photoshop CS5, but it will only call the 64 bit version. My Droplet runs a Plugin that currently only supports 32 bit version of CS5. How do I configure which version of CS5 will get involk
-
IMessage won't work on new iOS 6.1
iMessage won't work on my iPhone 3GS after updating to the iOS 6.1 , I've tried a lot of stuff that people online that said might work. Need help