File to RFC with multiple records using BPM Scenario Error...!!!
Hello Guru's,
I have done the File to RFC with multiple records using BPM scenario as per the Materiel available in the sdn.sap. This involves BAPI (BAPI_MATERIEL_AVAILABILITY). I have done exactly the same what is their in the materiel. SXI_CACHE is also giving return value " 0 ". File is getting deleted from the source directory, but no file in target directory. SXMB_MONI is also showing no error (black Flag). BPM is also error free. Checked the interfaces also.
Can any one tell me what mistake would i have done.
Thanks in advance.
Hi,
There is one similar discussion I found,
FTP TO RFC using BPM
Thanks
Swarup
Similar Messages
-
BPM with multiple records using switch
Hi..
I have done a scenario like,
Receive--Transformation1Send1Transformation2-Block(ForEach)-Send3(synchronous)-Container-----EndBlock-Transformation3--Send4.
In Send 4 i am having multiple responses.
Now i need to check if the Availability field is !=0, it should go to the Java webserice or else it should go to .net webservice and calculate the cost. Finally i need to get the all records as output. Both material which is present and not present. Switch case is not working.
Could you please help me out in this.
I was raising this question from past 1 week.Hi,
If switch case is not working then you can also go ahead with specifying the necessary condition in Receiver Determination.
Regards,
Abhishek. -
Handling Change of IT with multiple records in P&F
Good Morning all,
Has anyone done this yet? What is the approach to change an infotype with multiple records using P&F; For example IT0021, Subtype 2 (Child). I'm assuming that we will need to display all the records in a tbale first in the Form. Then, create a button or radio button for each row. On click, we can then make changes to the record. Any ideas? Thanks
RegardsWelcome to the forum. You can loop through the records like following.
go_block('A');
First_Record;
Loop
variable := :A.Item_Name;
Exit when :System.Last_Record = 'TRUE';
Next_Record;
End Loop;But what happens when u run the above code, the variable will have the last record's item value.
So how you are trying to get all the record's Item value into one item?
Are you going to concatenate? What's the logic you are planning?
Regards
Sankar MN -
Multiple records in BPM using Switch
Hi Frnds,
I was doing File to RFC to Webservice sceanrio using multiple records.
For that i have used
ReceiveTransformation-Block(ForEach)-Send Sync-ContainerEndBlock-TransformationSendTransformation(Multimapping)-Block-switch-sendsync-containerendblock-Transformation---send.
In switch, i was checking the condition like, if the material is present, then it got the first branch or else it should go to next branch.
In switch i was facing the problem, if i give multiple records with the same value, i am getting the output. If i give different values like for one record, material is present and the other record material is not present, then i am not getting the output.
Could you please help in this issue.In switch i was facing the problem, if i give multiple records with the same value, i am getting the output
The standard behaviour of Switch is that in case of multiple records, the Last Record value is taken and checked with the switch condition.
U break all the records into individual records usinf "Recordset per message = 1" or transform one message with multiple records into multiple records, save it into multiline container variable and then use Block with mode ForEach.
Regards,
Prateek -
Flat File with multiple record types (OWB 10.2.0.2)
Hi!
I`m using OWB 10.2.0.2 and I`m trying to load a flat file with multiple record types, using SQL LOADER.
In the flat file editor in the Record tab, I`ve set the type values and the corresponding record names like this:
Type Value Record Name
======== ===========
T TRAILER
0 DETAILS
1 DETAILS
2 DETAILS
When using this flat file in a mapping to load the data in a staging table, the generated code looks like this:
INTO TABLE TRAILER
TRUNCATE
REENABLE DISABLED_CONSTRAINTS
WHEN (1:1) = 'T'
INTO TABLE DETAILS
APPEND
REENABLE DISABLED_CONSTRAINTS
WHEN (1:1) = '0,1,2'
The above clause (WHEN (1:1) = '0,1,2') is wrong as I expect one "INTO TABLE..." clause for each record type.
Could this be a bug or am I doing something wrong?
Thanks a lot for your help,
YorgosWe`re using two target tables, one for the trailer record and the other for the details records.
We are facing this problem from the moment we upgraded from OWB 10.1 to OWB 10.2.0.2, so we think it must be something with the way the sql loader code is generated in the new version.
As our data sources are mainly flat files coming from mainframes, this is a huge problem for us. We even asked an expert in DW from Oracle to help us on this, but still haven`t found a solution.
Is there any workaround for this or should we forget sql loader and go with an external tables + custom PL/SQL code solution?
Your help is greatly appreciated Jean-Pierre.
Regards,
Yorgos -
How can i create excel sheet with multiple tabs using utl file?
how can i create excel sheet with multiple tabs using utl file?
any one help me?Jaggy,
I gave you the most suitable answer on your own thread yesterday
Re: How to Generating Excel workbook with multiple worksheets -
How to isolate error with a record/segment in IDOC with multiple records
I have an IDOC with multiple records/segments (typically 1000 records/segments). Sometime XI can not process the IDOC because of some control characters in data.
1. How can I pre-processed the IDOC to remove those control characters?
Can I use XPATH expression/Java class to do it? How can I configure the XPATH expression/Java class in XI to pre-process the file?
2. Until I have answer to 1st question. I would like to find out the error is exactly for which record? What configuration can I do in XI to isolate the error is with which record/segment in IDOC?
Thanks in advance.Split the IDoc.
with in the UDF, after the validations if every thing fine, pass as successful records to success_MT and pass it to target system using Branching in BPM.
if errors found in the record, then store the error records in Hash table with in UDF, get the IDoc number, frame as a string and raise alert.
U have to do this in the context of IDoc.
If U wanna get the IDoc Number, Segment Name and field name for every failure, U can pass the expected error field name as constant to UDF, frame the sentence in the UDF like -> <b>IDoc 1234321 segment SEG001 field FLD03 has a special character *</b>.
If U wanna pass this string to source/target, U can do in error messages branch in BPM.
U must use BPM for splitting the IDoc, since it is multi-mapping.
reg.,
Yallabandi. -
Mapping from File to IDoc with multiple Idocs and multiple line items?
Hi All,
Need some help with mapping, requirement as below: I have a flat file with multiple records, need to create multiple idocs per each separate order in flat file with as many line items.
Order_1 field-1 field-2 field-3 field-4
Order_1 field-1 field-2 field-3 field-4
Order_2 field-1 field-2 field-3 field-4
Order_2 field-1 field-2 field-3 field-4
Order_3 field-1 field-2 field-3 field-4
Order_3 field-1 field-2 field-3 field-4
I have imported IDoc changed to 1:Unbounded, able to create multiple Idocs based on separate order from flat file.
Order_No - removeContexts - splitByValue(ValueChanged) - collapseContexts - exists - creatIf - IDOC
Now I am having hard time creating a line item segment E1EDP01. I want to have Idoc created below way:
IDoc-1 (Order_1)
E1EDP01
E1EDP01
IDoc-2 (Order_2)
E1EDP01
E1EDP01
IDoc-3 (Order_3)
E1EDP01
E1EDP01
I am getting multiple IDocs created. Please help me to create mutlieple line items under each Idoc. Please be speficic about the node funtions to be used, because I tried many times with different combinations, didn't work.
Regards,
N@v!nHi Navin,
Create your source structure like below
<Order>1 to unbounded
<Order_No>
<field1>
<field2>
<field3>
<field4>
</oder>
to create mutiple IDocs based on order number,use below logic
Order_No-->removecontexts--->sort--->splitbyvalue(Valuechange)--->collapsecontext-->Idoc
use below logic for E1EDPO1,
Order----->removecontexts------>
formatByexample------>E1EDP01
Order_No-->removecontexts--->sort--->splitbyvalue(Valuechange)-------->
try above logic and let me know if you any issues.
Regards,
Raj -
Multiple records using switch case
Hi...
I am having input file like
<?xml version="1.0" encoding="utf-8" ?>
- <ns1:mt_out xmlns:ns1="http://Block">
- <Material>
<Item>0</Item>
<ItemName />
<ReqQty>0</ReqQty>
<AvailQty>0</AvailQty>
<Cost>0</Cost>
<suppid />
<suppname />
<leadtime>0</leadtime>
<matname>Y-351</matname>
<plantloc>2222</plantloc>
<date>2008-09-30T00:00:00</date>
<orderqty />
<warehouseloc />
<unit>KG</unit>
</Material>
- <Material>
<Item />
<ItemName />
<ReqQty>0</ReqQty>
<AvailQty>0</AvailQty>
<Cost>0</Cost>
<suppid />
<suppname />
<leadtime>0</leadtime>
<matname>Y-355</matname>
<plantloc>1111</plantloc>
<date>2008-09-30T00:00:00</date>
<orderqty />
<warehouseloc />
<unit>KG</unit>
</Material>
- <Material>
<Item />
<ItemName />
<ReqQty>0</ReqQty>
<AvailQty>1000.000</AvailQty>
<Cost>0</Cost>
<suppid />
<suppname />
<leadtime>0</leadtime>
<matname>Y-352</matname>
<plantloc>1100</plantloc>
<date>2008-09-30T00:00:00</date>
<orderqty />
<warehouseloc />
<unit>KG</unit>
</Material>
</ns1:mt_out>
In this input file it is having multiple records. Based on the AvailQty, the input file should go to the webservice. If the condition AvailQty is !=0, the the input file should go to the java webservice or else it should go to the .net webservice. In BPM i have used switch step for this. if i give the input file structure like above it is going to the java webservice only. It is not entering to the esle part.
Could you please help me out in this issue.
Thanks & Regards,
LeelaHi,
Having had a look at these blogs:
Illustration of Multi-Mapping and Message Split using BPM in SAP Exchange Infrastructure
How to Split Message through BPM in 1:n scenario
Transformation Step to Implement 1:n Splitting
I think the best solution for your scenario is the following:
In your BPM use a TransformationStep that does the multimapping N:1
And then send the messages individually. You don`t need a Switch Step.
You should have two Receiver determination.
1.- File_server --> Integration Process.
2.- Integration Process --> WebService.
In the second RD, add two receiver Services (e.g. JAVA_WebService and NET_WebService) and
use routing roules that checks if AvailQty is !=0. And depending on this condition,
the message should be sent either JAVA_WebService or NET_WebService.
Hope this helps you.
Carlos -
How can I convert string to the record store with multiple records in it?
Hi Everyone,
How can I convert the string to the record store, with multiple records? I mean I have a string like as below:
"SecA: [Y,Y,Y,N][good,good,bad,bad] SecB: [Y,Y,N][good,good,cant say] SecC: [Y,N][true,false]"
now I want to create a record store with three records in it for each i.e. SecA, SecB, SecC. So that I can retrieve them easily using enumerateRecord.
Please guide me and give me some links or suggestions to achieve the above thing.
Best RegardsHi,
I'd not use multiple records for this case. Managing more records needs more and redundant effort.
Just use single record. Create ByteArrayOutputStream->DataOutputStream and put multiple strings via writeUTF() (plus any other data like number of records at the beginning...), then save the byte array to the record...
It's easier, it's faster (runtime), it's better manageable...
Rada -
Open a PDF file in illustrator with multiple pages CS6
Hi all,
Maybe someone could tell me if this feature is already available...
I really need to use this feature... maybe someone has a Idea? i need to translate and edit a PDF file that was original designed by our factory... they had hired a company to make the documentation but the company did go bankrupt so we can't get the original files en need the edit the compressed PDF File...
I Hope someone could help me...
Greetz
Leroyhi,
16 PDF Files with 4 pages Each..
don’t know what kind of text it is…
about image quality… if there is a method to editing of the PDF .. then I could Replace the Images …
Van: Monika Gause [email protected]
Verzonden: woensdag 22 augustus 2012 13:31
Aan: AcidusW01
Onderwerp: Open a PDF file in illustrator with multiple pages CS6
Re: Open a PDF file in illustrator with multiple pages CS6
created by Monika Gause <http://forums.adobe.com/people/Monika+Gause> in Illustrator - View the full discussion <http://forums.adobe.com/message/4639138#4639138 -
Select max date from a table with multiple records
I need help writing an SQL to select max date from a table with multiple records.
Here's the scenario. There are multiple SA_IDs repeated with various EFFDT (dates). I want to retrieve the most recent effective date so that the SA_ID is unique. Looks simple, but I can't figure this out. Please help.
SA_ID CHAR_TYPE_CD EFFDT CHAR_VAL
0000651005 BASE 15-AUG-07 YES
0000651005 BASE 13-NOV-09 NO
0010973671 BASE 20-MAR-08 YES
0010973671 BASE 18-JUN-10 NOHi,
Welcome to the forum!
Whenever you have a question, post a little sample data in a form that people can use to re-create the problem and test their ideas.
For example:
CREATE TABLE table_x
( sa_id NUMBER (10)
, char_type VARCHAR2 (10)
, effdt DATE
, char_val VARCHAR2 (10)
INSERT INTO table_x (sa_id, char_type, effdt, char_val)
VALUES (0000651005, 'BASE', TO_DATE ('15-AUG-2007', 'DD-MON-YYYY'), 'YES');
INSERT INTO table_x (sa_id, char_type, effdt, char_val)
VALUES (0000651005, 'BASE', TO_DATE ('13-NOV-2009', 'DD-MON-YYYY'), 'NO');
INSERT INTO table_x (sa_id, char_type, effdt, char_val)
VALUES (0010973671, 'BASE', TO_DATE ('20-MAR-2008', 'DD-MON-YYYY'), 'YES');
INSERT INTO table_x (sa_id, char_type, effdt, char_val)
VALUES (0010973671, 'BASE', TO_DATE ('18-JUN-2010', 'DD-MON-YYYY'), 'NO');
COMMIT;Also, post the results that you want from that data. I'm not certain, but I think you want these results:
` SA_ID LAST_EFFD
651005 13-NOV-09
10973671 18-JUN-10That is, the latest effdt for each distinct sa_id.
Here's how to get those results:
SELECT sa_id
, MAX (effdt) AS last_effdt
FROM table_x
GROUP BY sa_id
; -
Need to update multiple records using store procedure
Hi i am trying to update multiple records using store procedure but failed to achieve pls help me with this
for example my source is
emp_name sal
abhi 2000
arti 1500
priya 1700
i want to increase salary of emp whose salary is less than 2000 it means rest two salary should get update..using stored procedure only
i have tried following code
create or replace procedure upt_sal(p_sal out emp.sal%type, p_cursor out sys_refcursor)
is
begin
open p_cursor for
select sal into p_sal from emp;
if sal<2000 then
update emp set sal= sal+200;
end i;f
end;
and i have called the procedure using following codes
set serveroutput on
declare
p_sal emp.sal%type;
v_cursor sys_refcursor;
begin
upt_sal(p_sal,v_cursor);
fetch v_cursor into p_sal;
dbms_output.put_line(p_sal);
end;
the program is executing but i should get o/p like this after updating
1700
1900
but i am getting first row only
2000
and record is not upsating...please help me with this
thanksHi Alberto,
thanx for your valuable suggestion. but still i have doubt. the code which i have mentioned above might be simple but what if i have big requirement where i need update the data by using loops and conditional statement.
and i have similar kind of requirement where i need to deal with procedure which returns more than one row
my source is
empno ename salary
111,abhi,300
112,arti,200
111,naveen,600
here i need to write a store procedure which accepts the empno (111) as input para and display ename and salary
here i have written store procedure like this
create or replace procedure show_emp_det(p_empno in emp.empno%type, p_ename out emp.ename%type,p_salary out emp.salary%type, p_cursor out sys_refcursor)
is
begin
open p_cursor for
select ename,salary into p_ename,p_salary from emp where empno=p_empno;
end;
and i have called this by using
declare
p_salary emp.salary%type;
p_ename emp.ename%type
v_cursor sys_refcursor;
begin
show_emp_det(111,p_ename,p_salary,v_cursor);
fetch v_cursor into p_ename,p_salary;
dbms_output.put_line(p_ename);
dbms_output.put_line(p_salary);
end;
here i should get
abhi,300
naveen,600
but i am getting first row only
abhi,300
but i want to fetch both rows...pls help me to find the solution -
How to get multiple records using fn-bea:execute-sql()
Hi,
I created Proxy service(ALSB3.0) to get records from DB table. I have used Xquery function(fn-bea:execute-sql()). Using simple SQL query I got single record, but my table having multiple records. Please suggest how to get multiple records using fn-bea:execute-sql() and how to assign them in ALSB variable.
Regards,
Nagaraju
Edited by: user10373980 on Sep 29, 2008 6:11 AMHi,
Am facing the same issue stated above that I couldnt get all the records in the table that am querying in the Proxyservice.
For example:
fn-bea:execute-sql('EsbDataSource', 'student', 'select Name from StudentList' ) is the query that am using to fetch the records from the table called StudentList which contains more than one records like
Id Name
01 XXX
02 YYY
03 ZZZ
I tried to assign the result of the above query in a variable and while trying to log the variable, I can see the below
<student>
<Name>XXX</Name>
</student>
I want to have all the records from my table in xml format but it's not coming up. I get the value only from the first row of my table.
Please suggest.
regards,
Venkat -
How to Delete Multiple Records using selectbox in jsf
Hi!
My Senario is I want to delete multiple records using checkbox. After selecting multiple records when i click the delete button the selected
rows shuld be deleted.if am doing like this but the edit ,delete for each row functionality is not working.
<h:selectBooleanCheckbox id ="bcb" value="#{item.empno}">
</h:selectBooleanCheckbox>
But other functionality is not wokring.
Can any one plz tell how to select the multiple records and how to send the id to the serverside.
I want code code for jsp and as well as backingBean how to accaess .
Any Reply shuld be apreciatedYou may find this article useful as well: http://balusc.blogspot.com/2006/06/using-datatables.html
Check the chapter "Select multiple rows" for two generic ways to select multiple rows in a datatable.
Maybe you are looking for
-
Setting up a shared library for multiple accounts on the same machine
I am in idiot. I can't figure it out. This is exactly what I did. 1 - I set up multiple accounts on the computer. 1 for me and another for my wife. 2 - I loaded all the music into my account's public folder. 3 - I set the default folder in both hers
-
blank page with quick reply on all mybb forums, the same thing was with Fire fox 3.0.1? == URL of affected sites == http://world.alnel.com
-
E Business Suite R12 for Window 7
Hi, I am trying to download E-Business Suite R12 for Window 7 32-bit. Anybody knows where I can download this install. Thanks.
-
I can't see arrangement in system preferences
Arrangement does not show up in the display section of systems preferences.
-
After installing iPhoto '11, the library's sort order was completely messed up (used to be chronological). How do i fix it?