NO DATAS IN OUTPUT FILE FOR RFC TO FILE SCENARIO
In RFC to File scenario, I am executing the ABAP program in ECC and generates a empty file in PI server.
I am getting the error message in SM58 of ECC:
u2018Bean Z_HR_OUTBOUND_DATA2 not found on host SDNPI1,u2019
'call FM Z_HR_OUTBOUND_DATA2 to ProgId ECCTOPI_OUTBOUND on host SDNPI1 wit'
RFc Source code:
FUNCTION Z_HR_OUTBOUND_DATA2.
""Local Interface:
*" EXPORTING
*" VALUE(FILENAME) TYPE BBP_ACC_DESCRIPTION-ACC_OBJ_NAME
*" VALUE(RETURN) LIKE BAPIRETURN STRUCTURE BAPIRETURN
*" TABLES
*" ITAB10 STRUCTURE YSTRING1 OPTIONAL
*" P_STATUS STRUCTURE ZHRT0031 OPTIONAL
DATA : wa_status TYPE zhrt0031,
wa_itab10 LIKE ITAB10.
break-point.
LOOP AT p_status INTO wa_status.
CONCATENATE wa_status-pernr
wa_status-ename
wa_status-orgeh
wa_status-plans
wa_status-persg
wa_status-rank
wa_status-***
wa_status-icnum
wa_status-usrid
wa_status-dept
INTO wa_itab10-str1.
APPEND wa_itab10 TO itab10.
ENDLOOP.
wa_itab10-str1 = 'test'.
append wa_itab10 to itab10.
append wa_itab10 to itab10.
CONCATENATE sy-datum
'PYO_EMPDAT.TXT'
INTO
filename.
ENDFUNCTION.
And in the ABAP program the RFC is called like:
CALL FUNCTION 'Z_HR_OUTBOUND_DATA2'
in background task destination 'ECCTOPI'
EXPORTING
INTERFACE =
IMPORTING
FILENAME = filename
return = return
TABLES
ITAB10 = itab10
P_STATUS = p_status
When i am testing the standard program STFC_CONNECTION in ECC with the same RFc destination it works fine and creates a o/p file with the datas in it, but if i m executing the other function module it doesnt contain any data it.
What could be the error? and how to resolve the errors that i am getting in SM58?
Thanks
Bean Z_HR_OUTBOUND_DATA2_1 not found on host SDNP1, ProgId =ECCTOPI_OUTB
Change the case of your Program ID to lower ecctopi similar was the issue in this thread:
Bean ZFM_MODULE_OUT not found on host <XI_HOST>
And may be for the same reason even Michal used lower case program ID in his blog.
Regards,
Abhishek.
Similar Messages
-
Adobe Media Encoder Could not write XMP data in output file.
Hi there i have searched for this on the forums,
if there is a Thread on it please Link:)
This is my Encoding Log from Adobe Media ancoder,
(se Below).
im doing a projekt from Mts Files, in Premiere pro
i have Checked the box that no Xmp Data needs to be added, to the left from the Queue button in the export window.
Should i Delete all the Xmp in Bridge or somthing like that to Resolve this?
Regards
Jonas Dwight
Encoding Log:
- Source File: /Users/Blasuk/Library/Caches/TemporaryItems/Mogel_oe_2014_nyeste.prproj
- Output File: /Users/Blasuk/Desktop/Video_Projekts/Fremkaldte/Moegeloe2014-hq.mp4
- Preset Used: Custom
- Video: 1920x1080 (1,0), 25 fps, Upper, 01:18:52:10
- Audio: AAC, 320 kbps, 48 kHz, 5.1
- Bitrate: VBR, 2 pass, Target 15.00 Mbps, Max 41.30 Mbps
- Encoding Time: 11:05:14
01/05/2015 07:35:01 PM : File Encoded with warning
File importer detected an inconsistency in the file structure of Moegeloe2014-hq.mp4. Reading and writing this file's metadata (XMP) has been disabled.
Adobe Media Encoder
Could not write XMP data in output file.Any help please?! Thank you!
-
Media Encoder "Could not write XMP data in output file." issue
Greetings,
We have invested a great deal of money and time into a brand new editting system and we need some help with adobe media encoder. We are trying to export some of our projects and we keep getting the same error. Here is the entire log of errors:
Could not write XMP data in output file.
- Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_6.prproj
- Output File: M:\acura_rooftop_43_draft_1.avi
- Preset Used: NTSC DV
- Video: 720x480, 29.97 [fps], Lower, Quality 100
- Audio: 48000 Hz, Stereo, 16 bit
- Bitrate:
- Encoding Time: 00:17:23
2/4/2010 1:42:28 PM : Encoding Failed
Error compiling movie.
Unknown error.
- Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_7.prproj
- Output File: C:\Users\Ramius\Desktop\acura_rooftop_43draft_1.avi
- Preset Used: NTSC DV
- Video: 720x480, 29.97 [fps], Lower, Quality 100
- Audio: 48000 Hz, Stereo, 16 bit
- Bitrate:
- Encoding Time: 00:02:09
2/4/2010 1:54:21 PM : Encoding Failed
The Operation was interrupted by user
- Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_9.prproj
- Output File: C:\Users\Ramius\Desktop\acura_rooftop_43draft_1.avi
- Preset Used: NTSC DV
- Video: 720x480, 29.97 [fps], Lower, Quality 100
- Audio: 48000 Hz, Stereo, 16 bit
- Bitrate:
- Encoding Time: 00:16:04
2/4/2010 2:19:49 PM : Encoding Failed
Error compiling movie.
Unknown error.
- Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_10.prproj
- Output File: C:\Users\Ramius\Desktop\acura_rooftop_HD_draft_1.mp4
- Preset Used: HDTV 1080p 29.97 High Quality
- Video: NTSC, 1920x1080, 29.97 [fps], Progressive
- Audio: AAC, 160 [kbps], 48 kHz, Stereo
- Bitrate: VBR, 1 Pass, Target 32.00, Max 40.00 [Mbps]
- Encoding Time: 00:01:38
2/4/2010 2:30:31 PM : Encoding Failed
The Operation was interrupted by user
- Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_11.prproj
- Output File: C:\Users\Ramius\Desktop\acura_HD.mp4
- Preset Used: HDTV 1080p 29.97 High Quality
- Video: NTSC, 1920x1080, 29.97 [fps], Progressive
- Audio: AAC, 160 [kbps], 48 kHz, Stereo
- Bitrate: VBR, 1 Pass, Target 32.00, Max 40.00 [Mbps]
- Encoding Time: 00:00:38
2/4/2010 3:19:31 PM : Encoding Failed
The Operation was interrupted by user
- Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_12.prproj
- Output File: C:\Users\Ramius\Desktop\acura_HD.avi
- Preset Used: NTSC DV
- Video: 720x480, 29.97 [fps], Lower, Quality 100
- Audio: 48000 Hz, Stereo, 16 bit
- Bitrate:
- Encoding Time: 00:01:08
2/4/2010 3:31:37 PM : Encoding Failed
The Operation was interrupted by user
- Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_17.prproj
- Output File: C:\Users\Ramius\Desktop\acura_HD.avi
- Preset Used: NTSC DV
- Video: 720x480, 29.97 [fps], Lower, Quality 100
- Audio: 48000 Hz, Stereo, 16 bit
- Bitrate:
- Encoding Time: 00:15:31
2/4/2010 4:21:06 PM : Encoding Failed
Error compiling movie.
Unknown error.
- Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_19.prproj
- Output File: M:\GRAPHICS\cow_graphics\acura_HD.mp4
- Preset Used: HDTV 1080p 29.97 High Quality
- Video: NTSC, 1920x1080, 29.97 [fps], Progressive
- Audio: AAC, 160 [kbps], 48 kHz, Stereo
- Bitrate: VBR, 1 Pass, Target 32.00, Max 40.00 [Mbps]
- Encoding Time: 00:00:24
2/4/2010 5:16:54 PM : Encoding Failed
The Operation was interrupted by user
- Source File: C:\Users\Ramius\AppData\Local\Temp\ihigh_CS4_HD_16.prproj
- Output File: C:\Users\Ramius\Desktop\mxf.mpg
- Preset Used: 1440 x 1080i 29.97 High Quality
- Video: NTSC, 1440x1080, 29.97 drop frame [fps], Upper, Quality 4.0
- Audio: 384 [kbps], 48 kHz, 16 bit, Stereo, MPEG
- Bitrate: VBR, 1 Pass, Min 4.00, Target 15.00, Max 18.50 [Mbps]
- Encoding Time: 00:05:08
2/23/2010 12:12:40 PM : Encoding Failed
Error compiling movie.
Unknown error.
- Source File: C:\Users\Ramius\AppData\Local\Temp\ihigh_CS4_HD_18.prproj
- Output File: M:\AVI\ihigh_avi\GAR\Marines\marinespromo_2009.avi
- Preset Used: NTSC DV
- Video: 720x480, 29.97 [fps], Lower, Quality 100
- Audio: 48000 Hz, Stereo, 16 bit
- Bitrate:
- Encoding Time: 00:04:00
2/23/2010 12:26:54 PM : Encoding Failed
Error compiling movie.
Unknown error.
- Source File: C:\Users\Ramius\AppData\Local\Temp\ihigh_CS4_HD_19.prproj
- Output File: M:\AVI\ihigh_avi\GAR\Marines\marinespromo_2009.avi
- Preset Used: NTSC DV
- Video: 720x480, 29.97 [fps], Lower, Quality 100
- Audio: 48000 Hz, Stereo, 16 bit
- Bitrate:
- Encoding Time: 00:05:08
2/23/2010 12:51:01 PM : Encoding Failed
Error compiling movie.
Unknown error.
- Source File: C:\Users\Ramius\AppData\Local\Temp\ihigh_CS4_HD_23.prproj
- Output File: C:\Users\Ramius\Desktop\allhdtest2.mpg
- Preset Used: 1440 x 1080i 29.97 High Quality
- Video: NTSC, 1440x1080, 29.97 drop frame [fps], Upper, Quality 4.0
- Audio: 384 [kbps], 48 kHz, 16 bit, Stereo, MPEG
- Bitrate: VBR, 1 Pass, Min 4.00, Target 15.00, Max 18.50 [Mbps]
- Encoding Time: 00:04:20
2/23/2010 4:23:46 PM : Encoding Failed
Error compiling movie.
Unknown error.
- Source File: C:\Users\Ramius\AppData\Local\Temp\ihigh_CS4_HD_27.prproj
- Output File: C:\Users\Ramius\Desktop\Sequence 07.mp4
- Preset Used: HDTV 1080p 29.97 High Quality
- Video: NTSC, 1920x1080, 29.97 [fps], Progressive
- Audio: AAC, 160 [kbps], 48 kHz, Stereo
- Bitrate: VBR, 1 Pass, Target 32.00, Max 40.00 [Mbps]
- Encoding Time: 00:09:11
3/2/2010 3:21:19 PM : Encoding Failed
Error compiling movie.
Unknown error.
- Source File: C:\Users\Ramius\AppData\Local\Temp\ihigh_CS4_HD_28.prproj
- Output File: C:\Users\Ramius\Desktop\Sequence 07_1.mp4
- Preset Used: HDTV 1080p 29.97 High Quality
- Video: NTSC, 1920x1080, 29.97 [fps], Progressive
- Audio: AAC, 160 [kbps], 48 kHz, Stereo
- Bitrate: VBR, 1 Pass, Target 32.00, Max 40.00 [Mbps]
- Encoding Time: 00:09:00
3/2/2010 3:34:47 PM : Encoding Failed
Error compiling movie.
Unknown error.
- Source File: C:\Users\Ramius\AppData\Local\Temp\ihigh_CS4_HD_29.prproj
- Output File: C:\Users\Ramius\Desktop\Sequence 07_2.mp4
- Preset Used: HDTV 1080p 29.97 High Quality
- Video: NTSC, 1920x1080, 29.97 [fps], Progressive
- Audio: AAC, 160 [kbps], 48 kHz, Stereo
- Bitrate: VBR, 1 Pass, Target 32.00, Max 40.00 [Mbps]
- Encoding Time: 00:10:22
3/2/2010 4:41:03 PM : Encoding Failed
Error compiling movie.
Unknown error.
We absolutely need to fix this issue ASAP, we are in a major bind until we can resolve this issue. Thanks a bunch.We are using Windows 7
dual quadcore intel xeon processors 8gb ram
10000rpm internal drives. quadroefx 1800 video card
The drive is 4tb
We have tried exporting to many different locations with no luck
Its a very nice video editting system. We just need to figure out this exporter -
Hi,
I am creating a RFC - File scenario and i want the output file in XML format. So I m using "File" in the message protocol of the receiver file.
My output file structure format is as below:
<?xml version="1.0" encoding="UTF-8"?>
*<ns1:MT_LEBIZ xmlns:ns1="http://lebiz">*
<HEADER>
<CODE>TOT</CODE>
</HEADER>
<DETAILS>
<SEGMENT>
<NUMBER>01</NUMBER>
<LABEL>Account Assignment Cat</LABEL>
</SEGMENT>
<SEGMENT>
<NUMBER>02</NUMBER>
<LABEL>GL Account</LABEL>
</SEGMENT
</DETAILS>
</ns1:MT_LEBIZ>
but i wanted to display www3.org in the namespace in the following line which is marked in bold.
<ns1:MT_LEBIZ xmlns:ns1="http://lebiz">
how can i achieve that?Hi,
By using the below code received from Peter, we are were able to remove the prefix, encoding and change the END_DATE format.
Please find the code below:
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.Reader;
import com.sap.aii.mapping.api.AbstractTransformation;
import com.sap.aii.mapping.api.StreamTransformationException;
import com.sap.aii.mapping.api.TransformationInput;
import com.sap.aii.mapping.api.TransformationOutput;
public class DeletePrefixesEnddateAndEncoding extends AbstractTransformation {
public void execute(InputStream in, OutputStream out)
throws StreamTransformationException {
// Add your code here
String inData = convertStreamToString(in);
String outdata = inData.replaceAll("ns1:", "");
String outdata2 = outdata.replaceAll("xmlns:ns1=\"http://www.w3.org/2001/XMLSchema-instance\"", "xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"");
String outdata3 = outdata2.replaceAll(" encoding=\"UTF-8\"?", "");
String outdata4 = outdata3.replaceAll(" encoding=\"utf-8\"?", "");
String outdata5 = outdata4.replaceAll("<END_DATE>0000-00-00</END_DATE>", "<END_DATE xsi:nil=\"true\" />");
try {
// The JAVA mapping output payload is returned using the
// TransformationOutput class
// arg1.getOutputPayload().getOutputStream()
out.write(outdata5.getBytes("ISO-8859-1"));
} catch (Exception exception1) {
// Un comment to test the mapping as a standalone code
/* public static void main(String[] args) {
* try {
* InputStream in = new FileInputStream(new File("D:/PETER/in.xml"));
* OutputStream out = new FileOutputStream(new File("D:/PETER/out.xml"));
* DeletePrefixesEnddateAndEncoding myMapping = new DeletePrefixesEnddateAndEncoding(); myMapping.execute(in, out); }
* catch (Exception e) { e.printStackTrace();
public void transform(TransformationInput arg0, TransformationOutput arg1)
throws StreamTransformationException {
getTrace().addInfo("JAVA Mapping Called");
this.execute(arg0.getInputPayload().getInputStream(), arg1
.getOutputPayload().getOutputStream());
public String convertStreamToString(InputStream in) {
StringBuffer sb = new StringBuffer();
try {
InputStreamReader isr = new InputStreamReader(in);
Reader reader = new BufferedReader(isr);
int ch;
while ((ch = in.read()) > -1) {
sb.append((char) ch);
reader.close();
} catch (Exception exception) {
return sb.toString(); -
Delivery date in Sales Order for Make to Order Scenario
Hello,
We are creating Sales order for MTO ... In that our requirement is to get the delivery date based on Production planning and not from RLT. ie we have configured RLT as 36 days, system calculates delivery date as 36 days from the date of order what ever be the order quantity but considering our plant capacity this is not possible. In our Production planning we allocate certain numbers per week. so when we give 100 nos order it plans as per the allocation if we see through MD73 it will give clear picture but in our sales order it shows delivery possible date as 36 days from date of PO. How to correct this.. it should calculate from the date of beginning of the production process.
Can any one help in finding solution for this
Thanks in AdvanceHello,
We are creating Sales order for MTO ... In that our requirement is to get the delivery date based on Production planning and not from RLT. ie we have configured RLT as 36 days, system calculates delivery date as 36 days from the date of order what ever be the order quantity but considering our plant capacity this is not possible. In our Production planning we allocate certain numbers per week. so when we give 100 nos order it plans as per the allocation if we see through MD73 it will give clear picture but in our sales order it shows delivery possible date as 36 days from date of PO. How to correct this.. it should calculate from the date of beginning of the production process.
Can any one help in finding solution for this
Thanks in Advance -
Sld configuration for rfc to soap scenario
Hi all,
The scenario which i am planning to do, describes how the Custom RFC client application in SAP R/3 System invokes a free Web service (that is hosted over the internet) using SAP XI. For our demo purpose, we have used a free web service available on the Internet.
In this scenario we will be using GetQuote method of Web service DelayedStockQuote. This method retrieves the Stock quote for the given Stock symbol. The method GetQuote has an input that takes in two parameters Stock Symbol and License Key and returns the following information.
StockSymbol,
LastTradeAmount,
LastTradeDateTime,
StockChange,
OpenAmount,
DayHigh,
DayLow,
StockVolume,
PrevCls,
ChangePercent,
FiftyTwoWeekRange,
EarnPerShare,
PE,
CompanyName.
Link to web service:
http://ws.cdyne.com/delayedstockquote/delayedstockquote.asmx?op=GetQuote
In this scenario, I planned to create two mappings, first between RFC Request to SOAP Request and second between SOAP Response to RFC Response .
Adapter in sender communication channel is RFC.(RFC Protocol)
Adapter in receiver communication channel is SOAP.(HTTP Protocol)
Result:
On testing this scenario, In the Sender R/3 system we have to Execute the Report program we have created earlier. When the program is executed with Stock symbol it should get the details of that stock symbol from the Web service.
My question here is what would be the sld configuration for webservice.whether it is a Java WAS or third party.If it is a third party or java WAS,what would be the system name and host name.
Any clarification from you all is welcome and will be highly appreciated.
With Regards
Karthik.Hi,
I would suggest you is to use third party. It is a web service, and does not matter the technology behind it (if it is java, abap, .net, cobol, no difference! it will be described by a wsld).
System name and host name doesn't matter too, you will not use this information in runtime, and you will specify host name and so at integration directory. You can make your standard on it, for example, put the name as DelayedStockQuote and host as http://ws.cdyne.com.
regards.
roberti -
How can access data in rman output file "daily.log"
Hi All,
i did use following query for rman out
output file "daily.log" has been created,but does not exist data.
how can access data in output file "daily.log"
bash-3.00$ sh rmant.sh
Recovery Manager: Release 10.2.0.3.0 - Production on Thu Jun 30 16:54:16 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: DEV (DBID=45558086)
RMAN> Spool log to daily.log;
2> run
3> {
4> backup databas;
5>}
6> spool log off;
7>
Spooling started in log file: daily.log
Recovery Manager10.2.0.3.0
Starting backup at 30-JUN-11
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=634 devtype=DISK
channel ORA_DISK_1: starting compressed incremental level 0 datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00014 name=/u02/proddata/a_int01.dbf
input datafile fno=00022 name=/u02/proddata/a_txn_data01.dbf
input datafile fno=00023 name=/u02/proddata/a_txn_data02.dbf
input datafile fno=00024 name=/u02/proddata/a_txn_data03.dbf
input datafile fno=00039 name=/u02/proddata/a_txn_data04.dbf
input datafile fno=00038 name=/u02/proddata/undo02.dbf
input datafile fno=00027 name=/u02/proddata/a_txn_ind03.dbf
input datafile fno=00028 name=/u02/proddata/a_txn_ind04.dbf
input datafile fno=00012 name=/u02/proddata/undo01.dbf
input datafile fno=00015 name=/u02/proddata/a_media01.dbf
input datafile fno=00025 name=/u02/proddata/a_txn_ind01.dbf
input datafile fno=00026 name=/u02/proddata/a_txn_ind02.dbf
input datafile fno=00029 name=/u02/proddata/a_txn_ind05.dbf
input datafile fno=00021 name=/u02/proddata/a_summ01.dbf
input datafile fno=00019 name=/u02/proddata/a_ref01.dbf
input datafile fno=00020 name=/u02/proddata/a_ref02.dbf
input datafile fno=00001 name=/u02/proddata/system01.dbf
input datafile fno=00002 name=/u02/proddata/system02.dbf
input datafile fno=00003 name=/u02/proddata/system03.dbf
input datafile fno=00004 name=/u02/proddata/system04.dbf
input datafile fno=00005 name=/u02/proddata/system05.dbf
input datafile fno=00006 name=/u02/proddata/system06.dbf
input datafile fno=00007 name=/u02/proddata/system07.dbf
input datafile fno=00008 name=/u02/proddata/system08.dbf
input datafile fno=00009 name=/u02/proddata/system09.dbf
input datafile fno=00010 name=/u02/proddata/system10.dbf
input datafile fno=00011 name=/u02/proddata/system11.dbf
input datafile fno=00013 name=/u02/proddata/a_archive01.dbf
input datafile fno=00036 name=/u02/proddata/sysaux01.dbf
input datafile fno=00016 name=/u02/proddata/a_nolog01.dbf
input datafile fno=00037 name=/u02/proddata/izu01.dbf
input datafile fno=00017 name=/u02/proddata/a_queue01.dbf
input datafile fno=00018 name=/u02/proddata/a_queue02.dbf
input datafile fno=00031 name=/u02/proddata/odm.dbf
input datafile fno=00034 name=/u02/proddata/portal01.dbf
input datafile fno=00035 name=/u02/proddata/sfx01.dbf
input datafile fno=00030 name=/u02/proddata/ctxd01.dbf
input datafile fno=00032 name=/u02/proddata/olap.dbf
input datafile fno=00033 name=/u02/proddata/owad01.dbf
channel ORA_DISK_1: starting piece 1 at 30-JUN-11
channel ORA_DISK_1: finished piece 1 at 30-JUN-11
piece handle=/sw/weekly_cum_database_DEV_t755196858_c1_s24_p1 tag=WEEKLY_CUM_DAT
ABASE comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:32:55
channel ORA_DISK_1: starting compressed incremental level 0 datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
including current control file in backupset
including current SPFILE in backupset
channel ORA_DISK_1: starting piece 1 at 30-JUN-11
channel ORA_DISK_1: finished piece 1 at 30-JUN-11
piece handle=/sw/weekly_cum_database_DEV_t755198834_c1_s25_p1 tag=WEEKLY_CUM_DAT
ABASE comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
Finished backup at 30-JUN-11
Spooling for log turned off
Recovery Manager10.2.0.3.0
Recovery Manager complete.
bash-3.00$i did try this but it hangs
bash-3.00$ sh rmant.sh
Recovery Manager: Release 10.2.0.3.0 - Production on Fri Jul 1 10:52:01 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: DEV (DBID=45558086)
RMAN> Spool log to 'daily' append;
2> run
3> {
4> backup as backupset
5> incremental level=0 cumulative
6> device type disk
7> tag "weekly_cum_database"
8> format '/sw/weekly_cum_database_%d_t%t_c%c_s%s_p%p'
9> database;
10> }
11> -
Hello !
As I said in title , I have alot files (e.g. 60 files) and I want to write a code to copy 5 columns (for examples) of special sheet of files and paste them in one file respectively. For perceive it I explained it more below .
Suppose one of my files is simplified as this : http://s000.tinyupload.com/?file_id=00699705919876414523
The name of this file is 2006Oct and assume my excel files are like "2006Oct, 2006Nov,2006Dec,2007Jan ... 2010Dec". At first I should go to "my files" sheet of 2006Oct file and copy columns " A,B,C,D,E,F " that has "PerturbationNumber=1"
respectively and then paste these to a file that is output file and repeat this process for the other files ( 2006Nov and etc ) and paste data in output file sequentially.
I appreciate and look foreward for any help in this issue.
MajidTry code below
Sub CombineBooks()
Dim wb As Workbook
Dim sourceSht As Worksheet
Dim destSht As Worksheet
Set destSht = ThisWorkbook.Sheets(1)
destSht.Cells.Clear
FolderName = "C:\temp\test\"
file = Dir(FolderName & "*.xlsx")
firstSht = True
Do While file <> ""
Set wb = Workbooks.Open(Filename:=FolderName & file, ReadOnly:=True)
Set sourceSht = wb.Sheets(1)
With sourceSht
sourceLastRow = .Range("A" & Rows.Count).End(xlUp).Row
If .Cells.AutoFilter Then
.Cells.AutoFilter 'turn off autofilter
End If
.Cells.AutoFilter Field:=6, Criteria1:="1"
If firstSht = True Then
Set copyRange = .Range("A1", .Range("E" & sourceLastRow)).SpecialCells(xlCellTypeVisible)
destSht.Range("F1") = "FileName"
firstSht = False
destNewRow = 1
Else
Set copyRange = .Range("A2", .Range("E" & sourceLastRow)).SpecialCells(xlCellTypeVisible)
destNewRow = destSht.Range("A" & Rows.Count).End(xlUp).Row + 1
End If
copyRange.Copy Destination:=destSht.Range("A" & destNewRow)
LastRow = destSht.Range("A" & Rows.Count).End(xlUp).Row
If destNewRow = 1 Then
destSht.Range("F2:F" & LastRow) = file
Else
destSht.Range("F" & destNewRow & ":F" & LastRow) = file
End If
End With
wb.Close savechanges:=False
file = Dir()
Loop
End Sub
jdweng -
Hi All,
I have created an output type for delivery in intercompany scenario (STO). This is triggered at item level only when I create a delivery document with reference to a purchase order. At header level, it's not coming.What could be the reason? Please help.
Regards,
RaghavHi All,
I have created an output type for delivery in intercompany scenario (STO). This is triggered at item level only when I create a delivery document with reference to a purchase order. At header level, it's not coming.What could be the reason? Please help.
Regards,
Raghav -
Org.data determination is possible for product scenario
org.data determination is possible for based on product scenario in transaction like for BP ? how can we do this? Pls guide me?
Thanking u in advance.Hi
Marketing Organization
The marketing organization is an attribute of marketing plans and campaigns. It is part of the SAP organizational model that enables you to define how your company structures responsibilities in its marketing activities. You use the marketing organization to map the marketing logical enterprise structure to the organizational units in your company.
The marketing organization has the following attributes:
Product category
Country
Reference currency
You use these attributes to describe the marketing organization. For example, if you base your organizational units on brands, you can use the product category for the brand.
The marketing organization can be completely different from the sales organization or the service organization in CRM.
Marketing organizations are relevant for campaigns and marketing plans only. They are not relevant for trade promotions or deals. Consequently, the Marketing Org. field is available for campaigns and marketing plans only.
You can use the marketing organization attribute for:
Authorization checks
You can use the marketing organization in authorization checks, for example, to determine whether a user is authorized to change a particular campaign.
There are no marketing-specific authorization objects for the marketing organization. You can add authorization checks on the level of the marketing organization by using standard Organizational Management structural authorizations, or authority object PLOG. You can go down to the level of user name to build the authorization environment. To make settings for the structural authorizations, see Customizing for SAP Web Application Server, under Application Server Business Management SAP Business Workflow Authorization Management Structural Authorizations .
Automatic entry and checking of marketing attributes
The system can use the marketing organization for providing default entries to certain fields in Marketing.
Partner determination
For example, you can use the marketing organization to determine the appropriate marketing manager for the assigned marketing organization, and assign it to the campaign (on the Partner assignment block).
Workflow routing
You can assign a marketing organization to a campaign, and then start a workflow based on the attributes of the campaign. For example, you change the status of a campaign with a particular product category to For Approval. The system routs a workflow item to all users who are assigned to a marketing organization with this particular product category.
Cost planning
Cost planning enables you to split key figures across multiple dimensions. For example, you can use the marketing organization to distribute the costs of a campaign across several marketing organizational units.
Reporting
You can use the marketing organization in reporting. For example, you can measure the success of a particular organizational unit.
Regards
Manohar -
Dear Experts,
I am facing the Following error for RFC to SOAP Scenario, i Tried
1. Full Cache Refresh
2.Delete and create Sender Agreement Again
3.Specifying the Program id Again
yet the Scenario is not Working, could you please help me in Resolving this at the Earliest
Error in processing caused by: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: senderAgreement not found: lookup of binding via CPA-cache failed for AdapterType RFC, AdapterNS http://sap.com/xi/XI/System, direction INBOUND, fromParty '', fromService 'ISU64', toParty '', toService '', interface 'YGVK_SEND_WS_TO_WS', NS 'urn:sap-com:document:sap:rfc:functions' for channel 'CC_YGVK_SENDER_WS_TO_WS' (channelId f1219fd41be734a2a72cd3ddcb779475)
Regards,
Vijay Karthik GHi,
copy the sender agreement to the same one but in party field
remove the " * " (it has to be empty)
test it and let me know
Regards,
Michal Krawczyk -
Using a data output file as an input file for test development
I have an output file from a system that I would like to use to simulate the device being attached to the computer. Using the read module I can input the entire file into the charting module, but it reads the entire file. Is there a way setup the input to read one line approx. once per second and chart it (i.e.. A 3600 line file would take approx. 1 hour to read and chart)?
Thanks in advance.Set up the Read module to only read once per second or minute....
If you're reading a DDF file, it will always read back a full block of data, so you want to have stored the data at one sample/block. One way to do that is to read it back and write is out as ASCII, so that DASYLab loses the block size context.
- cj
Measurement Computing (MCC) has free technical support. Visit www.mccdaq.com and click on the "Support" tab for all support options, including DASYLab. -
NT - How to embed the date for the export output file?
I want to know how to embed a date for the export file on Windows NT?
Example :
In Unix you can use a shell variable and attach to the file like exp file=exp_prod_$A,
where $A will have the system date, My output will be like exp_prod_10012000.dmp.
I want to know how to do the above on NT.
Thanks
Ravi
nullWelcome to the forum!
When you want to post a block of code, you can enclose it with the mark ups { code }
That is the key word code surrounded by curly brackets, but without the spaces
You seem to be running a very old (and unsupported release of the database)
7.3 has not been a current release for about 10 years.
It's probably been that long since I've used this technique, but i think it should work.
You should consider welcoming your system to the 21st century by upgrading to a supported release ;-)
If you used split to chop up your export file, use cat or dd to reassemble it.
So, something like this:
mknod bk.dmp p
cat xaa xab xac xad xae xaf xag xah xai > bk.dmp &
imp SYSTEM/$PASSWD parfile=imp_bk.parfile
rm bk.dmp
$ cat imp_bk.parfile
file=bk.dmp
log=imp.log
full=y
buffer=1048576
ignore=y
commit=y let us know if still have problems.
Good Luck! -
RFC to XI File - can NEVER EVER get more than one record in Output file.
Hi guys
This might be related to my other post on File conversion but whatever I do I just can't seem to get more than one record in the output file
the payload from R3==> XI seems fine
for example
<?xml version="1.0" encoding="UTF-8" ?>
- <rfc:Z_XI_005_RFC xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
- <IP_CUSTOMER_HEADER>
- <item>
<CUSTOMERID>1000001</CUSTOMERID>
<COMPANY>One-time ship-to</COMPANY>
<SHORT_NAME>ONE-TIME</SHORT_NAME>
<STREET />
<STREET2 />
<STREET3 />
<STREET4 />
...... more data
</item>
then next customer master data and so on
- <item>
<CUSTOMERID>1000005</CUSTOMERID>
<COMPANY>ddfask</COMPANY>
<SHORT_NAME>;LK;L</SHORT_NAME>
<STREET />
<STREET2 />
<STREET3 />
<STREET4/>
etc etc until
<HKUNNR>60000</HKUNNR>
<SALES_REGION />
</item>
</IP_CUSTOMER_HEADER>
</rfc:Z_XI_005_RFC>
All I get on the Output target file
<?xml version="1.0" encoding="UTF-8" ?>
- <ns1:MT_customer_header xmlns:ns1="http://avenue.com/xi/test">
<CustomerId>1000001</CustomerId>
<company>One-time ship-to</company>
<shortname>ONE-TIME</shortname>
.... more data
</ns1:MT_customer_header>
the <item> and subsequent records all seem to have vanished.
I must be doing something PARTICULARLY stupid as nobody else ever seems to have this problem -- I've tried almost every possible combination but still to no avail
The function module is passing a table to XI in the correct structure and the payload seems to be fine so what on earth is broken here !!!,.
Cheers
JimboThanks everybody -- it's working now
RFC call was passing data correctly
function z_xi_005_rfc.
""Local interface:
*" TABLES
*" IP_CUSTOMER_HEADER STRUCTURE ZAP_CUSTOMER_INFO_2
endfunction.
in debug mode table data was fine -- in this instance 3 records were being passed.
3 errors in mapping etc fixed (with help from SDN - thanks)
1) missing the ITEM level in the Data type (hence mapping)
2) needed 0:unbounded in the occurrence
3) also mapping Item====>Item was missing (sub fields were ok)
Points awarded
final file output ok output now ok (with 3 fields only for testing)
<?xml version="1.0" encoding="UTF-8" ?>
- <ns1:MT_customer_header xmlns:ns1="http://avenue.com/xi/test">
- <item>
<Customerid>1000001</Customerid>
<company>One-time ship-to</company>
<shortname>ONE-TIME</shortname>
</item>
- <item>
<Customerid>1000005</Customerid>
<company>ddfask</company>
<shortname>;LK;L</shortname>
</item>
- <item>
<Customerid>1000010</Customerid>
<company>One Time Customer Test</company>
<shortname>SADFIWQEFG</shortname>
</item>
</ns1:MT_customer_header>
Now only the final problem to make file content conversion work.
Once again thanks --sometimes what seem trivial or simple problems take AGES to fix until someone else gives you a clue --that's why boards like SDN are great value.
Cheers
Jimbo -
Step by Step Guide Details for RFC to File and File to RFC scenario
Hi Guru's
Good day to you. I am tyring to develop some scenarios based on RFC adaptor. so i want to start up with basic scenarios like RFC to File scenario(Here i just want to pull some data from SAP using RFC and put it in destination folder as an text file) and FILE to RFC scenario (Here i just want to take some data from the file and update into SAP).
For doing these scenarios i would like to request you people to send me the step by step guide which explains me about the complete steps of configurations required to do the RFC to FILE scenario and FILE to RFC scenario.
I found some scenarios and i am in confused state. so i request you to please put your experience to help me out.
thanks in advance.
Regards
RajHi Aaron,
I don't know your scenario and your ECC and PI versions but I learned how to use ABAP Proxy more than 1 year ago with the following tutorial:
Edit--> The forum doesn't allow me to post external link, just search "ABAP Proxy Communication Scenario" in google and visit the 1st result
The way to develop ABAP Proxys has changed a little if your PI is 7.1. In the ECC side, the transaction SPROXY looks much better too if you have a recent version of the ECC.
Edited by: Marshal on Oct 8, 2009 5:08 PM
I've found that SDN Document. Maybe the scenario is not the most simple to start with ABAP Proxy but is very well documented and is for PI 7.1. The document also handles the inbound and outbound proxys
[http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c00ca32e-f991-2b10-f5be-97114bd2b08f&overridelayout=true]
Edited by: Marshal on Oct 8, 2009 5:22 PM
Maybe you are looking for
-
Good day to all. I have been working recently on streamlining an online application that displays / manages info from a db. In the application there are multiple views that can be called. A view expands a collection of elements so that sub elements c
-
Rendering & Playback issues + can't hear audio when editing videoclip
Hi, I have two issues. #1: While editing my video, is there a way I can see the video and hear the sound at the same time? I've been trying to edit a video with no sound... very difficult to place a background for example at a specific time when I ca
-
Hello, I just installed BPEL 10.1.2 The BPEL Console and the JDeveloper work fine but when in try to deploy a sample process like: D:\Oracle\OraBpel\integration\orabpel\samples\demos\LoanDemoPlus\LoanFlowPlus>obant i get command not found. Whats the
-
i just got my new 30GB ipod, and ive already done the converting of the video files to .m4v or mpeg4. The problem is that i somehow cant put the files into the i-tunes libary. I go to the video section and hit "add file" and nothing happens. When i g
-
Hi MY TableT model is lenovo s5000-H android version : 4.2.2 i will upGrade This to android 4.4 But i cant in system upgrade messeged your system is the latest version. can u help me To upGrade 4.4 ((