File- different type of mesages- split- IDOCs
team,
I am working on the above scenario using BPM. I got it working without BPM using Enhanced Interface determination and now trying to get it going with BPM to compare the performance.
1. File has multiple batch records, based on the data in the batch records two different messages (bulk AP and AR messages ) needed to be generated.
2. These bulk AP and AR messages need to be split into individual messages and mapped to IDOCs for being posted into ECC as AP and AR IDOCs.
I want to use BPM to split the file into multiple messages ( of differt types - AR and AP).Mapping into IDOC would be done outside BPM.
My BPM has
1. Receive step ( message received form the file content conversion )
2. Transformation step with I:N mapping with AP and AR as target message types
3. A fork without end condition
4. A Block in each of the branches of folk
5. A Send step in each of the blocks
My question is whether it is okay to use a folk after transformation step for handling two different interfaces coming out of transformation step.
I am able to see two different messages in the workflow log after the transformation step, but cant see them in the SXMB_MONI. And so the mapping to IDOC is not happening. The config also seem to be okay .
I want to do IDOC mapping outside BPM and use BPM just for splitting the message. I have defined interface mapping for IP+IDOC in the config alomg with rest of the config.
The M1 and M2 are bulk messages. I thought I should use a ParForEach ( or for Each)block with a send inside to generate individuaul messages.This is working when I have only one bulk message generated from 1:n transformation. When I have two interfaces generated from 1:n transformation, I am struggling.
I am going to use two blocks next two each other with sends inside and see what happens
Correct me if this theory is wrong
Similar Messages
-
Convert different types of files and merged them into one pdf
Hi, everyone. I'm girl from China.
There is folder containing severl files of different types, like doc, msg, jpeg etc. And I want to convert and merge them into one pdf following a certain order. I know that PDFmaker can do that nicely, but the problem is that I have like 3000+ fodlders that requires the same work.
I want to do it with VBA and Acrobat. I have a Acrobat XI Standard Version and a perfect license, by the way
And I have got the code(Thanks, Karl Heinz Kremer) of merging two pdfs into one, but how can I convert them into pdf first?
Thank you very much.
If I can finish this, I would like to publish my code on this forum.Wow, that's great news. But how should I add the Action?
1. There is no action named "Covert files into Pdf" in the tools panel....
And if I write Javascript code to do this action. How should I write it?
app.openDoc({
cPath: "/c/temp/myPic.jpg",
bUseConv: true
These code only works when I specify the path of the file.
If you know how, pls tell me.......... -
I'm new to this site and to my REfurbished 13" Mac Book Pro. I really love this note book! IO wish I had gotten the REtina Display now. I passed on it because It didn't have a lot of storage space. But what was I thinking....I don't want to fill this note book with hundreds of Albums and load my nearly 5000 photos onto it. I wouldn't want to slow it down by having to wait for it to load all the data everytime I turned it on.
I tried to down load a file from a trusted friend, the Quick Time Player icon appeared in the Dock when I opened the down loadopened. Along with it, a message of sorts came up saying I need to download something else to make this file open/play. Any idea what I should get to make the Quick Time Player able to play more different types of files/clips?
I'm just not so computer savy......like most of you.
So, LOL.....could you please talk in simple language if you respond to me question?
Thank You all,
mikeYou could download VLC - it plays numerous formats:
http://www.videolan.org/vlc/download-macosx.html -
How load different types of file in SSIS
could you please suggest how can we load different types of file in SSIS. The file metadata is not defined . So the SSIS
package will read the files palced in a defined shared location or folder where based on the column value will determine the datatype on runtime and load the data.Hi SubhadipRoy,
SSIS doesn’t support dynamic data access provider or metadata. That means that we need to use different source adapters for flat files (.csv and .txt) and Excel files. So, in the Control Flow, you can use three Foreach Loop Container: one to loop through
.txt files, one to loop through .csv files, and the last one to loop through Excel files. In each Foreach Loop Container, you use a Data Flow Task to extract data from the corresponding source files.
If the source files have different structures, you need to use Script Component in the Data Flow Task to parse the first row of the source files and create destination table dynamically. Here are two script examples for your reference:
http://www.citagus.com/citagus/blog/importing-from-flat-file-with-dynamic-columns/
http://stackoverflow.com/questions/21672064/ssis-dynamic-column-mapping-in-excel-source-and-destination-sql-server-table
Regards,
Mike Yin
TechNet Community Support -
Unable to open multiple files of different types simultaneously
It seems the MS has made some changes in Win7, and I am no longer able to open multiple files of different types (.doc, .pdf) in Explorer by highlighting the desired files and hitting Enter. It still works if I select only one file type, but
the ability to open multiple files of different types has been in place since Win95, and maybe since Win3.11 (my memory is a little foggy that far back).Hi,
Yes, this feature was removed from Windows 7. Now you just can open multiple files which are the same type at once.
Karen Hu
TechNet Community Support -
Polling File having different type
Hi,
I have a use case where i need to read file having different type of delimiter data eg :
Abc,123,xyz
Thanks.Hi,
This seems doable with nxsd. In our case, each row seems to be a different type of record and you can handle this case using a sequence of elements (one for each record type).
For example,
<schema...>
<element name="terminated">
<complexType>
<sequence>
<element name="record1" type="tns:record_type1"/>
<element name="record2" type="tns:record_type2"/>
<element name="record3" type="tns:record_type3"/>
</sequence>
</complexType>
</element>
<complexType name="record_type1">
<sequence>
<element name="elem1" type="string" nxsd:style="terminated" nxsd:terminatedBy=","/>
<element name="elem2" type="string" nxsd:style="terminated" nxsd:terminatedBy=","/>
<element name="elem3" type="string" nxsd:style="terminated" nxsd:terminatedBy="${eol}"/>
</sequence>
</complexType>
<complexType name="record_type2">
<sequence>
<element name="elem1" type="string" nxsd:style="terminated" nxsd:terminatedBy=";"/>
<element name="elem2" type="string" nxsd:style="terminated" nxsd:terminatedBy=","/>
<element name="elem3" type="string" nxsd:style="terminated" nxsd:terminatedBy="${eol}"/>
</sequence>
</complexType>
<complexType name="record_type3">
<[...]>
</complexType>
</schema> -
Display different types of file formats from contents server on web UI
Hi,
I have to read different types of documents from content server and display it in web page using webdynpro abap.
Different types of documents are : Tif, Jpeg, BMP, PNG etc. need to be convert into gif format and display
Txt files as it is.
PDF files as it is.
Microsoft office documents as it is.
ALF files i.e. printlists to be shown on web page.
Please anyone has any information regarding this let me know ASAP.
Thanks & Regards,
Manalihi ,
pls refer the below thread :
Dynamic Use of Mime in component
n check wid thomas reply in the thread :
Create the cached response object that we will insert the content
Well you can manipulate the MIME content at runtime by using the API: CL_MIME_REPOSITORY_API. However if your content is temporary, it is more efficient to just place the content directly into the ICM cache. You don't have the overhead of having to both write and then delete it from the database. Here is an example of how you can do this:
I hope it wud be helpful
rgds,
amit -
Dear gurus,
What are the different methods of idoc creation.
thanks in advance
R.RajendranHi,
Sending System(Outbound ALE Process)
Tcode SALE ? for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 ? Create Model View
Tcode BD82 ? Generate partner Profiles & Create Ports
Tcode BD64 ? Distribute the Model view
Message Type MATMAS
Tcode BD10 ? Send Material Data
Tcode WE05 ? Idoc List for watching any Errors
Receiving System(Inbound ALE )
Tcode SALE ? for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 ? Check for Model view whether it has distributed or not
Tcode BD82 -- Generate partner Profiles & Create Ports
Tcode BD11 Getting Material Data
Tcode WE05 ? Idoc List for inbound status codes
ALE IDOC Steps
Sending System(Outbound ALE Process)
Tcode SALE ?3 for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 !V Create Model View
Tcode BD82 !V Generate partner Profiles & Create Ports
Tcode BD64 !V Distribute the Model view
This is Receiving system Settings
Receiving System(Inbound ALE )
Tcode SALE ?3 for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 !V Check for Model view whether it has distributed or not
Tcode BD82 -- Generate partner Profiles & Create Ports
Tcode BD11 Getting Material Data
Tcode WE05 !V Idoc List for inbound status codes
Message Type MATMAS
Tcode BD10 !V Send Material Data
Tcode WE05 !V Idoc List for watching any Errors
STEP 1)a Goto Tcode SALE
Click on Sending & Receiving Systems-->Select Logical Systems
Here Define Logical Systems---> Click on Execute Button
go for new entries
-System Name : ERP000
-Description : Sending System
-System Name : ERP800
-Description : Receiving System
press Enter & Save
it will ask Request
if you want new request create new Request orpress continue for transfering the objects
B) goto Tcode SALE
Select Assign Client to Logical Systems-->Execute
000--> Double click on this
Give the following Information
-Client : ERP 000
-City :
-Logical System
-Currency
-Client role
Save this Data
Step 2) For RFC Creation
Goto Tcode SM59-->Select R/3 Connects
Click on Create Button
RFC Destination Name should be same as partner's logical system name and case sensitive
to create the ports automatically while generating the partner profiles
give the information for required fields
RFC Destination : ERP800
Connection type: 3
Description
Target Host : ERP000
System No:000
lan : EN
Client : 800
User : Login User Name
Password:
save this & Test it & RemortLogin
STEP 3) Goto Tcode BD64 -- click on Change mode button
click on create moduleview
short text : xxxxxxxxxxxxxx
Technical Neme : MODEL_ALV
save this & Press ok
select your just created modelview Name :'MODEL_ALV'.
goto add message type
Model Name : MODEL_ALV
sender : ERP000
Receiver : ERP800
Message type :MATMAS
save & Press Enter
STEP 4) Goto Tcode BD82
Give Model View : MODEL_ALV
Partner system : ERP800
execute this by press F8 Button
it will gives you sending system port No :A000000015(Like)
STEP 5) Goto Tcode BD64
select the modelview
goto >edit>modelview-->distribute
press ok & Press enter
STEP 6) goto Tcode : BD10 for Material sending
Material : mat_001
Message Type : MATMAS
Logical System : ERP800
and Execute
STEP 7)goto Tcode : BD11 for Material Receiving
Material : 100-300
Message Type : MATMAS
and Execute --> 1 request idoc created for message type Matmas
press enter
Here Master Idoc set for Messge type MATMAS-->press Enter
1 Communication Idoc generated for Message Type
this is your IDOC
Change Pointers
how to change the description of a material using ALE Change Pointers.
I will give the following few steps
1) Tcode BD61---> check the change pointers activated check box
save and goback.
2) Tcode BD50---> check the MATMAS check box save and comeback.
3) Tcode BD51---> goto IDOC_INPUT_MATMAS01 select the checkbox save and comeback.
4) Tcode BD52---> give message type : matmas press ok button.
select all what ever you want and delete remaining fields.
save & come back.
5) 5) go to Tcode MM02 select one material and try to change the description and save it
it will effects the target systems material desciption will also changes
6) goto Tcode SE38 give program Name is : RBDMIDOC and Execute
give Message type : MATMAS and Executte
ALE/IDOC Status Codes/Messages
01 Error --> Idoc Added
30 Error --> Idoc ready for dispatch(ALE Service)
then goto SE38 --> Execute the Program RBDMIDOC
29 Error --> ALE Service Layer
then goto SE38 --> Execute the Program RSEOUT00
03 Error --> Data Passed to Port ok
then goto SE38 --> Execute the Program RBDMOIND
12 Error --> Dispatch ok
Inbound Status Codes
50 Error --> It will go for ALE Service Layer
56 Error --> Idoc with Errors added
51 Error --> Application Document not posted
65 Error --> Error in ALE Service Layer
for 51 or 56 Errors do the following steps
goto WE19 > give the IDOC Number and Execute>
Press on Inbound function Module
for 65 Error --> goto SE38 --> Execute the Program RBDAPP01 then your getting 51 Error
Thanks
Sarada -
Run and analyze different types of video files
Hi folks,
I'd like to know if there's any way to read different types of video files (not only AVI - e.g. mpeg, MTS and so on...)? I doubt it is possible by only using LV2010... but might it work together with other software?
Thanks for help and advice!
Cheers,
seasooHi seasoo,
did you see
LabView to grab and save video to mpeg?
http://208.74.204.114/t5/LabVIEW/LabView-to-grab-and-save-video-to-mpeg/td-p/643864
Do you have the vision toolkit available?
Kind Regards,
Vanessa -
Populating the custom segments for the Basic type attached to HRMD_A (IDOC)
Hi,
I've enhanced a few infotypes and want the new fields to be available in an IDOC created through the program RHALEINI.
Here are the steps I followed.
Step 1 :(we31)
We created new segment Z1IT023 , containing all the fields from infotype 0023 along with the custom fields added.
Step 2 :(we30)
We created an extension of IDOC type HRMD_A07 by name HRMD_EX to include this segement.
Step 3 :
We added an entry in table EDIMSG against message type HRMD_A , with base type : HRMD_A07 , extension : HRMD_EX , version : 700
Step4 :(we20)
Now , we made changes to partner profile by adding entry for message type HRMD_A with base IDOC type as HRMD_A07 and extension as HRMD_EX
Step5:
We changed the entry in table T777D and specified the IDOC segment as Z1IT023.
Step6.
We then tried to execute the report RHALEINI to generate the IDOC. The IDOC got created, but it didn't have the data for the segment Z1IT023.
In fact, there is a different solution to this... by adding the custom segment(containing nly the new infotype fields) as a child of the original segment E1P0023 and then writting code in the user-exit to populate the segment, but our intension is to have a single segment with all the infotype 0023 data. Besides, I believe in HR, making an entry in T777D should free us from writing any code for populating the IDOC segments.
Can anybody please suggest me, where am I going wrong. How can the new segments be populated automatically.
Thanks in advance.
Sujit.
Responses will be suitably rewarded.Hi,
Did u get any exit to populate the custom segment?
Thanks,
San -
What are the different type of transformations in ODI?
Hi all,
I'm new to ODI tool.My source is Flat files and target is Teradata.Please tell me what are the knowledge modules i have to use?
In ODI tool what are the different types of transformatios are there.Advance thanks
Regards
sureshHi,
Check the following KMs
LKM File to Teradata
IKM File to Teradata
ODI have some basic transformation like Joiner, Filter etc .
You can refer the User Guide for details about these transformations .
Thanks,
Sutirtha -
What are the different type of Granularity
what are the different type of Granularity
a. Transaction
b. Periodic Snapshot
c. Accumulating Snapshot
d. None of the aboveHi,
Check the following KMs
LKM File to Teradata
IKM File to Teradata
ODI have some basic transformation like Joiner, Filter etc .
You can refer the User Guide for details about these transformations .
Thanks,
Sutirtha -
Make "Files of Type" box show more file types
I am using a file dialog VI to open a windows file dialog. I have defined custom file extensions to be displayed, but they do not all show when I drop the box down. I can't add a carriage return because it takes those literally. Is there any way to
1. Expand the box
2. Make the File of type drop down "word wrap" so the user can see them all.
As a final option, is there a way to make multiple custom patterns like shown below? I'm assuming so and may have missed it in the context help, but I didn't see anything about it.
CLA, LabVIEW Versions 2010-2013
Solved!
Go to Solution.
Attachments:
filesoftype.PNG 3 KB
multiplecustom.PNG 6 KBfor(imstuck) wrote:
Call me crazy but this seems to be a very cryptic way of doing something that I feel should be built in functionality for a file open dialog VI. It, however, works and thanks to snippets I don't have to rewrite a wrapper
It is cryptic and complicated and most likely an unintended functionality that happened by accident, since that is the way you have to put the data buffer into the data structure when passing it to the Windows API function for the file dialog. What seems to happen is that LabVIEW simply puts the pointer to its string handle contents into that structure and just goes on. In that, it is actually a potential security risk since one could try to devise a string that might cause some sort of buffer overrun or similar in the Windows function.
It also most likely is something that only works on Windows (and might actually cause even havoc on other systems), since the file dialog API on other platforms is very different (in Linux it still uses it's own LabVIEW specific dialog only). If someone really had made this on intention they would rather have spent time on making this a user friendly option of the diagram node, than trying to support this Windows specific string format on non-Windows versions.
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions -
FPINTM1 - Interest calculation on different types of items
We need to separate or differentiate the interest and posting them using 3 differerent subtransactions as they need to be identified separately. This is because the nature of the items the interest is calculated on are different. So far the system is using the internal transaction of 0040 (Main trans) and 0030 (subtransaction) and we have mapped it to an external transaction. But this appears to be the only option available currently. Is there a way to get the system to differentiate the interest into 3 different subtransactions depending on the nature of the item? Will using different interest key at item level help? Thanks.
I had a look at the table V_TFKIVV where the internal transactions are stored. So far only the single main transaction 0040 and subtrans 0030 is used for interest calculation in FPI1 and FPINTM1. We need to pay 3 types of interest and indentify them separately depending on the types of items (they have 3 different subtransactions) the interest in calculated on. So far our tests shows that interest on using FPINTM is consolidated under the main trans 0040 and subtrans 0030. Is it possible to split the interest up into 3 the different types or subtrans?
Eg, we have 3 types of receipts where we have to pay interest on, they are employer contribution, employee contribution and adhoc contribution. We need to calculate interest on these 3 types of contributions. Trans FPINTM1 consolidates interest for these 3 types into main trans 0040 and sub trans 0030 ie, only one type of interest and therefore one GL account. Is it possible to split the interest into the 3 different types, perhaps into different subtrans to differentiate them? Thanks. -
How to get different sum value by different types of record in sql server
Hi,I have my query result like below
AppID LabType DiaType LabPrice DiaPrice
1
a
b 100 1000
1 a
cc 100 1000
1
aa b 100 1000
1 aa cc
100 1000
1
aaa b 100 1000
1 aaa cc 100
1000
from this query
select
app.AppointmentId,
lr.LabPrice,
lt.LabCategoryType,
drt.DiagnosisReportType,
dr.DiaPrice as diaprice,
from Appointment app
left join DiagnosisReport dr on app.AppointmentId=dr.AppointmentId
left join DiagnosisReportType drt on dr.DiagnosisReportTypeId=drt.DiagnosisReportTypeId
left join LabCategoryReport lr on lr.AppointmentId=app.AppointmentId
left join LabCategoryType lt on lt.LabCategoryTypeId=lr.LabCategoryTypeId
where app.DeleteStatus='N'
and app.AppointmentId='MLM-Appointment-60314748311012015'
and dr.DeleteStatus='N'
and lr.DeleteStatus='N'
But I want following one line result by getting two sum result for 3 different types of Lab and 2 different
type of Dia.
AppID LabPrice DiaPrice
1 300 2000
Please, can anyone give me any idea or help how to get only one record query result.
Thanks in advanced.
SupermanPlease follow basic Netiquette and post the DDL we need to answer this. Follow industry and ANSI/ISO standards in your data. You should follow ISO-11179 rules for naming data elements. You failed. You should follow ISO-8601 rules for displaying temporal
data. We need to know the data types, keys and constraints on the table. Avoid dialect in favor of ANSI/ISO Standard SQL. And you need to read and download the PDF for:
https://www.simple-talk.com/books/sql-books/119-sql-code-smells/
>> I have my query result like below <<
So you show us a result and expect that we can guess! Wow! We are magical! Did you ever read Douglas Adams? The answer is 42! Now find
the question.
Also, you have things like “lab_category_type” in this code. Is it a category or a type? In a valid data model that follow ISO-11179 rules you could have a “lab_category” or “lab_type” but never a mixed hybrid. In one of my books, I had something like “lab_category_type_id”
as a joke; it was so stinking awful that I never dreamed any programmer would really do this!
Also OUTER JOINs a rare in a valid schema. A good design will have DRI so you know you have matches. Since a table is a set, their names are plural or collective; but you have only one appointment according to your unseen DDL. And only one “Diagnosis_Report”,
etc.
Now think about “Lab_Category_Types” as a table. Regardless of how this ambiguous mess is resolved, it will be an attribute. An attribute is in a column, not an entity like you are modeling it. If it has a few static values then use a CHECK( x IN (..)) constraint.
If it is dynamic or large, then use a REFERENCES. Never use a join like this.
That silly, magical “delete_status” looks like an assembly language flag. This is what we did with tape files in the 1950's. We would have a bit in the front of records and flip it. Later a program would move the active records to a new tape. Ask yourself
why everything in the universe would share a common attribute. Such an attribute would be so generic as to be useless or (your case) it would be meta data and not part of the entity at all. Oh, rows are not records; you got that wrong too.
Why do you keep prices in integers? Currency is decimal. Sure wish we had DDL. My guess is that this should look more like this simpler, faster query.
SELECT APP.appointment_id,
LT.lab_type, LR.lab_price,
DRT.diagnosis_type, DR.diagnosis_price
FROM Appointments AS APP
LEFT OUTER JOIN
(SELECT appointment_id, diagnosis_type,
SUM(diagnosis_price) AS diagnosis_price_tot
FROM Diagnosis_Reports AS DR
GROUP BY appointment_id, diagnosis_type)
AS DR
ON APP.appointment_id = DR.appointment_id
LEFT OUTER JOIN
(SELECT appointment_id, lab_type, SUM(lab_price)lab_price_tot
FROM Lab_Reports
GROUP BY appointment_id, lab_type)
AS LR
ON APP.appointment_id = LR.appointment_id
WHERE APP.appointment_id = 'MLM-APPOINTMENT-60314748311012015';
--CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
in Sets / Trees and Hierarchies in SQL
Maybe you are looking for
-
Scanning multiple pages to one document HP Deskjet 1050A J410 series
I want to scan three pages to one PDF file and save to my computer. The help already available on line says click the + button There is no + button on the HP Deskjet 1050A scan screen on the computer. Scanning single pages is easy. I have been t
-
How can i make my external hard drive be the scratch disk with 1 FW input?!
Hello! I use firewire with my external HD AND my camera...however i only have one firewire input...i set my scratch disk for final cut to work with my external HD but when i am importing footage to my computer with my camcorder, i can not have my ext
-
I got error (1x80070001) during the installation Windows Vista or Windows 7. I format "C" drive and try to install Windows Vista but on 4%, I got said error and cancel copy. What I do? Is this partition problem (FAT / NTFS) or other problem. Please e
-
Problem syncing Nokia 6301 with Outlook Express
I'm using bluetooth. The connection is fine - everythink works EXCEPT when I try to sync contacts between outlook express and the phone, zero contacts are synced. There are no error messages. All other functions work -- able to back up and transfer p
-
New Authorization objects When Adding New tcodes
Hi Guys I have two Identical R3 Productiosn Systems One is Called Prd and the Othe RPP. When Going into Pfcg on PRD and adding A tocde I.e Mi02. It already has mi01 and mi03.the authorization tab chnages from green to Yellow,.When Going into The Aut