Flat File in POS After Sales
Hi Friends,
What are Flat files is getting generated at POS.
Thanks in advance.
Regards
Vijai Jain
It sounds like you're not a technical person, and this is understandable. I don't understand why so many software developers don't realize this.
Anyway, try ChikPOS if you want what is nowadays called "decision oriented reports". It means, it doesn't give you a whole heap of useless data. It "data mines" the important stuff for ya!
I've had NO problems with it whatsoever. It's a Jeremy Shum Invent so its a quality Aussie product too - helping the economy. The features are also endless... multi-language support, managerial decision making reports, not locked to hardware, fully multi-touch (like iphone), external monitor support, xbrl compliant, auto-generation of online store, can advertise "related products", corporate chat support, show time/date/news on external screen... it's just top stuff. AND it's Windows 7 compatible!
Similar Messages
-
APD: query to CSV flat file , sign indicator after value
Hi Guys,
I have created one APD process in BI 7, which will execute query and will send out put to CSV file in application server . When i am executing query through BEX i am getting sign indicator before value but in APD after excution sign indicator is coming after value . for example in BEX i am getting value -24 but in APD i am getting value 24-.
I wrote ABAP code also but SAP programme is converting again sign indicator after value.
Can any one throughw some light.
Thanks in advance
AndrewHi Andrew,
yes, APD does work with internal representations of ABAP only. It expects values in that format on the input (file data source), and creates the corresponding format on the output (file data target). The makes it possible to simply apply the MOVE logic of ABAP.
This format is bad when using the file in other tools like excel. I do understand that you would like to specify the output format, but it is not yet possible, sorry.
Cheers,
Thomas -
Updating Table using the data from a flat file
Hi,
I have a table called emp;
Name,
empno,
accountno,
amount.
This table is filled with values of name and empno.
The columns accountno and amount are empty.
I have a flat file created in some folder.
Contents of the flat file can be like this:
mani | 23 | 123 | 1000
spr | 22 | 342 | 2133
asjf | 54 | 432 | 2345
I need to access the file in the specified location, read all the records one after the other in the flat file and update the table "emp" with the values in the flat file.
Row after row all the records in the file should be updated to the table.
I found out some way to do this - its sqlloader - But it loads the data from a file to the table - i dont need that - i need to update the table.
Let me know how this can be solved ?????????
Thanks in advance.......Just to clarify Andrew's point, you can use external tables as the source table for an UPDATE statement. You cannot use them as a target for an UPDATE statement (i.e. you can't update the text file from an Oracle table).
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
Hi,
Is it possible to read a flat file and create the sale order through IDoc. Can i do this by DOC_INBOUND_FROM_FILE without XI?? What file format should i pass??
Regards,
KitHi ,
you can create Sales order through IDoc. IDOC_INPUT_ORDERS
At a high level, the IDOC processing executes in the following manner:
1. Interpret IDOC header segments and captures organizational, customer master and purchase
order header details. Performs user exits for each segment to process customizations to data
processing.
2. Interprets item level segments and captures item level details like material information. Again,
it performs user exits for each segment.
3. Sums up the order data and determines the posting criterion viz. creating order with reference
etc.
4. Builds up batch data communication sequence (BDC) with respect to the required screen
sequence of posting a sales order.
5. While building up the BDC data, system performs user exit to process customizations to BDC
data.
6. Calls transactions VA01 using the BDC data.
7. If the processing fails, an appropriate workitem is generated for workflow processing.
if you give me brief i can help you out more.
if helpful REWARD points
Thank you .
Regards
Ramana -
Viewing the flat file in JMS Receiver???
How can i see the Flat file generated after content conversion by JMS Receiver channel in a in a ECC->PI->JMS scenario.
I have a JMS Receiver channel connecting to WMS system , how can i see the flat file produced just after the JMS adapter's content conversion. its like
ECC ---> PI----->JMS----> (intermediate client MQ file cannot be viwed here it forwards the file to WMS MQ)------>(MQ)WMS
i need to see the flat file produced just after the JMS channel content conversion..is there some logging option there should be. Please helpHello,
I don't think there is any standard way to achieve ur req.
But what u can do is, write a custom AM module to either write a file on PI file system (for ur monitoring) or display the text file in ur audit logs.
Send File to Two Different Locations using Adapter Module
Thanks
Amit Srivastava -
Hi,
First I Created a Flat file in below format having 3 records. When I Validate Flat File Schema , I can see the XML single xml file generating with 3 records.
Shakeer,Newyork,US
Hussain,Chicago,US
Shahid,Newyork,US
Later my goal is to split each record and generate each record as a single XML file. I did modifications in my Flat File Schema. After validating Schema it generates a
single record XML file. Up to now its cool.
Now I want to apply my modified schema in Existing Application
in BizTalk console. How to do it?
When I drop my Flat file in Receive location the I can see my XML file in send location not as a single record XML file but as
all records in one single file.
Please help how to resolve it?
PS.Shakeer HussainHi Syed,
Do the following simple steps for your requirement:
Set “Allow Message Breakup At Infix Root” to “Yes” by selecting “Schema”
Set “Max Occurs” to 1 by selecting the Record where you want to split.
Create a Receive pipeline with "Flat File Disassembler" in the Disassemble stage.
Deploy the above artifacts; Flat File Schema, Receive pipeline with Flat File Disassembler component.
Configure the Receive port with Receive pipeline and send port with filter for Receive port (BTS.ReceviePortName) or after debatching do whatever you want to do..
Obviously you have other ways like calling the Receivepipeline in orchestration if you have many message/records to be debatched and reduce the number of footprints in message-box db. But start
with the above steps and move on to other advanced solution based on your need.
You can follow the reference here..
How to Debatch (Split) a Flat File using Flat File Schema ?
Another reference from our friend Mahesh-
Debatching(Splitting) XML Message - BizTalk 2010
If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply. -
How to Create Hierarchy From Flat file Structure
Hi Gurus,
There is a scenario for me regarding the Hierarchy.
Required Hierarchy structure - Region>Director>Manager-->Sales id
I have flat file which gives the info like user id , sales id , manager id, director id.
But the transaction data Flat file has structure with sales id, region id, sales amt, sales qty.
Note : Region id is another Master Data.
How i can create hierarchy from the first flat file which doesnot have region info in that but it is available in the transaction data Flat file.
Is there anyway we can create hierarchy based on the first Flat file structure which contains more that 1,00,000 records.
Try to Suggest me in this regard .
This is urgent.
Regards,
ManoHi Mano,
Defining the source system from which to load data
Choose the source system tree File ® Create.
2. Defining the InfoSource for which you want to load data
Optional: choose InfoSource Tree ® Root (InfoSources) ® Create Application Components.
Choose InfoSource Tree ® Your Application Component ® Other Functions ® Create InfoSource 3.x ® Direct Update.
Choose an InfoObject from the proposal list, and specify a name and a description.
3. Assigning the source system to the InfoSource
Choose InfoSource Tree ® Your Application Component ® Your InfoSource ® Assign Source System. The transfer structure maintenance screen appears.
The system automatically generates DataSources for the three different data types to which you can load data.
○ Attributes
○ Texts
○ Hierarchies (if the InfoObject has access to hierarchies)
The system automatically generates the transfer structure, the transfer rules, and the communication structure (for attributes and texts).
4. Maintaining the transfer structure / transfer rules
Select the DataSource for uploading hierarchies.
IDoc transfer method: The system automatically generates a proposal for the DataSource and the transfer structure. This consists of an entry for the InfoObject for which hierarchies are loaded. With this transfer method, the structure is converted to the structure of the PSA during loading, which affects performance.
PSA transfer method: The transfer methods and the communication structure are also generated here.
5. Maintaining the hierarchy
Choose Hierarchy Maintenance, and specify a technical name and a description of the hierarchy
Hope this helps
Regards
Karthik
Assign points if Helpful -
SM 35 Session log with data in flat file.
I have created a session from a flat file using LSMW, after running the session through SM35 is there a way by which I can get the details of data loaded in the log of SM35.
Example I am loading SAP HR data to infotypes but the SM35 log gives index value in the flat file rather than actual employee number (PERNR) uploaded on printing the log.No That is not possible.
-
Hi all,
I'm doing a IDOC to Flat file scenario, now after the mapping and FCC I have an output in this way:
SOLD_TO,SHIP_TO,BILL_TO,0000300623,0000300622,0000500569
But I want it in this way:
SOLD_TO,0000300623,SHIP_TO,0000300622,BILL_TO,0000500569
What should I do in FCC to get the desired output?
Thanks,
SrinivasSuman,
MT
DT
ADDR_TYPE
EXT_ADDR_ID
These two fields I have duplicated twice each in the mapping:
MT
DT
ADDR_TYPE
SOLD_TO
ADDR_TYPE
SHIP_TO
ADDR_TYPE
BILL_TO
EXT_ADDR_ID
0000300623
EXT_ADDR_ID
0000300622
EXT_ADDR_ID
0000500569
Srini -
Delete flat file from the local drive after downloading in the program
how to <b>delete flat file from the local drive after downloading in the program</b>
I am using gui_upload to upload flat file data in internal table. and after that i dont want that flat file in the disk. i want to delete it.Once the file has been uploaded into the internal table call the<b> FILE_DELETE </b>method of the class <b>CL_GUI_FRONTEND_SERVICES</b>.
DATA: v_rc TYPE i.
CALL METHOD cl_gui_frontend_services=>file_delete
EXPORTING
filename = 'C:\TEMP\MATERIAL.TXT'
CHANGING
rc = v_rc
EXCEPTIONS
file_delete_failed = 1
cntl_error = 2
error_no_gui = 3
file_not_found = 4
access_denied = 5
unknown_error = 6
OTHERS = 7.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Regards
Kathirvel -
Deleting master data after loading transactional data using flat file
Dear All,
I have loaded transaction data into an infocube using a flat file . While loading DTP i have checked the option "load transactional data with out master data exists" . So transactional data is loaded even if no master data is there in BW.
While loading the flat file, I made a mistake for DIVISION Characteristic where original master data value is '04000' , but i loaded the transactional data with value '4000' .Then i later realized after seeing the data from the infocube and deleted the request. then i reloaded data with value '04000'. Till now every thing is fine.
But when I see the master data for DIVISION , i can see a new entry with value '4000'.
My question is how to delete the entry value '4000' from DIVISION. I tried deleting manually this entry from 'maintaining masterdata' , but it is not allowing me to do so .
I have also checked if any transactional data exists for that value '4000' , as i said earlier I have deleted the transactional data with that values. even tried to delete the entries from the master data table, but i donot see a option to delete entries there.
Please suggest me on this.
Regards,
VeeraHi,
Goto RSA1 right click on the Info object and select Delete Master data. This will delete the master data unused existing in the table.
If this master data is not used any where else just delete the master data completely with SID option.
If even this doesnt work you can delete the complete table entire in SE14. But this will wipe out the entire table. Be sure if you wanna do this.
Hope this helps
Akhan. -
Moving of flat file from the application server after upload.
Hi All,
I am uploading data from a flat file placed on the application server by a BDC program.
After the BDC has created the session i want to transfer the flat file from that folder to another folder on the application server by changing the name of the flatfile.
Can any one suggest the best way of doing this particular scenario?
Thanks in advance.
Regards
Satish Nair.Here is a sample program.
report zrich_0001.
data: d1 type localfile value '/usr/sap/TST/SYS/Data1.txt',
d2 type localfile value '/usr/sap/TST/SYS/Data2.txt'.
data: begin of itab occurs 0,
rec(20) type c,
end of itab.
data: wa(20) type c.
start-of-selection.
open dataset d1 for input in text mode.
if sy-subrc = 0.
do.
read dataset d1 into wa.
if sy-subrc <> 0.
exit.
endif.
itab-rec = wa.
append itab.
enddo.
endif.
close dataset d1.
open dataset d2 for output in text mode.
loop at itab.
transfer itab to d2.
endloop.
close dataset d2.
delete dataset d1.
Regards,
Rich Heilman -
Need to create sale order from the flat file & mail has to be sent
Hi Experts,
I have a requirement to create a sale order from a flat file and once the oder is created, mail has to be sent to customer as well as to internal user with the order details. I want to know how this process can be implemented and what adapters are needed to execute this.
it would be very helpful, if i get an step-by-step procedure.
Points assured for any helpful answers.
Thanks in Advance
JaiHI Jai,
You need to create two interfaces as file will be sending the Sales oreder details that you need to capture in IDOC or RFC and then have to trigger to create the sales order. For this Standard BAPIs are also available.
These RFC or BAPIs will response with Sales order details that you need to divert to Mail adapter with the use of BPM and also have to go for Async to Sync bridge.
File -
>XI (BPM) ---> BAPI/RFC (Request)
MailAdapter <- XI (BPM) <--- BAPI/RFC (Response)
For this refer below links for step by step
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit - File to RFC
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] - File to Mail
/people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm - Walk through BPM
/people/siva.maranani/blog/2005/05/22/schedule-your-bpm - Schedule BPM
/people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - Use of Synch - Asynch bridge in ccBPM
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] - Use of Synch - Asynch bridge in ccBPM
If you will use IDOC then In IDOC inbound processing you need to trigger for Sales order creation and then have to send the Sales Order generated IDOC as an Outbound to Mail Adapter
Flat file -
> XI ---> IDOC
IDOC -
> XI ---> Mail
This will be bit easy scenario to develope as compare to using BAPI with BPM
/people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping - Any flat file to any Idoc
configuring IDOC-XI-Mail scenario using following web-log:
/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
/people/sravya.talanki2/blog/2005/08/18/triggering-e-mails-to-shared-folders-of-sap-is-u - Triggering Email from folder
Thanks
Swarup -
How to move flat file after loading in owb to other directory with othernam
Hi All,
I wast struck in problem . after loading the flat file in owb that file should be move or rename or zip with Date everyday .
I dont know how to achieve this issue in owb via proceudre or any other way ... .
how to zip files from pl/sql procedure ...... with sysdate.zip.
any one please help me in this problem to come out soon.
thanks ,
murariOne way is to use a Java stored procedure, this can then be called from a map or a process flow. The Java stored procedure will use the Zip capabilities in Java to do what you need. For example you will need the following procedure and you will have to grant privileges for your file to ZIP and the entire directory for zipping into (since the file name will be dynamic):
For example grant YOURSCHEMA (change to your tgt schema) read on your extract directory where your file to zip is and write on your zips directory (where the zips will go);
exec dbms_java.grant_permission('YOURSCHEMA', 'SYS:java.io.FilePermission', 'c:\staging\extracts\*','read');
exec dbms_java.grant_permission('YOURSCHEMA', 'SYS:java.io.FilePermission', 'c:\staging\zips\*', 'write' )
You can then create your procedure which you can invoke
CREATE OR REPLACE AND COMPILE JAVA SOURCE NAMED "otnZipFile"
AS
import java.util.zip.ZipEntry;
import java.util.zip.ZipOutputStream;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
public class otnZipFile
public static void zipFile(String zip, String filename)
byte[] buf = new byte[1024];
try {
String outFilename = zip;
ZipOutputStream out = new ZipOutputStream(new FileOutputStream(outFilename));
FileInputStream in = new FileInputStream(filename);
out.putNextEntry(new ZipEntry(filename));
int len;
while ((len = in.read(buf)) > 0) {
out.write(buf, 0, len);
out.closeEntry();
in.close();
out.close();
} catch (IOException e) {
create or replace PROCEDURE zip_file(
dir IN VARCHAR2,
file_name IN VARCHAR2) IS
LANGUAGE JAVA NAME 'otnZipFile.zipFile(java.lang.String, java.lang.String)';
For example here I zip a file MYCSV.csv into the zip file MYZIP.zip
exec zip_file('c:\staging\zips\MYZIP.zip', 'c:\staging\extracts\MYCSV.csv');
Cheers
David -
Additional 2 zeroes appear after flat file upload for New Taiwan Dollar
Hi,
Appreciate if anyone has encountered this issue when loading up flat file for New Taiwan Dollar currency. Example.
Flat File Data
0CHRT_ACCTS - SSG1
0COMP_CODE - TW80
0FISCYEAR - 2007
0FISCPER
0FISCPER3
0VERSION - 1
0VTYPE - 10
0CURTYPE - 10
0GL_ACCOUNT - 100050
ZBDGT_USD -
ZBDGT_LC
0LOC_CURRCY - TWD
ZAUDIT_LC - 815,537
After data is loaded into cube
0CHRT_ACCTS - SSG1
0COMP_CODE - TW80
0FISCYEAR - 2007
0FISCPER
0FISCPER3
0VERSION - 1
0VTYPE - 10
0CURTYPE - 10
0GL_ACCOUNT - 100050
ZBDGT_USD -
ZBDGT_LC
0LOC_CURRCY - TWD
ZAUDIT_LC - 81,553,700
Appreciate any assistance. Points will be rewarded if solution can resolve issue.
Best regards,
Eric TangHi Simon,
Ok, this is the a line from the flat file
0CHRT_ACCTS - SSG1
0COMP_CODE - TW80
0FISCYEAR - 2007
0FISCPER
0FISCPER3
0VERSION - 1
0VTYPE - 10
0CURTYPE - 10
0GL_ACCOUNT - 100050
ZBDGT_USD -
ZBDGT_LC
0LOC_CURRCY - TWD
ZAUDIT_LC - 815,537
and this is what is shown in the listcube
0CHRT_ACCTS - SSG1
0COMP_CODE - TW80
0FISCYEAR - 2007
0FISCPER
0FISCPER3
0VERSION - 1
0VTYPE - 10
0CURTYPE - 10
0GL_ACCOUNT - 100050
ZBDGT_USD -
ZBDGT_LC
0LOC_CURRCY - TWD
ZAUDIT_LC - 81,553,700
Maybe you are looking for
-
Formula for ascending column of numbers
Hi, I never use Numbers so forgive a crazy simple question. I have a list of names and other details in Numbers. I'd like to add a column to the very left that, for each row, has a number corresponding to each "record". These numbers would ascend fro
-
Parsing blogger rss feed ! Is it possible
Hi I try to parse an blogger feed http://www.lapenderiedechloe.com/feeds/posts/default I work on part of the feed : var myXm : XML = <feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:georss="h
-
Hello to all! I have come a cross one problem with hope someone can help me solve it or at least give some valuable ideas. The problem is regarding IGMP snooping with Cisco 4948E swithes. By documentation it is said that IGMP snooping is turned on by
-
Query Performance AP_INVOICES_ALL vs AP_INVOICES in R12
Hi, I came across a strange (for me so far) that the query based on the synonym AP_INVOICES is faster than AP_INVOICES_ALL in R12. Please read through. -- First view create or replace view XX_AP_TEMP_V4 as select AI.INVOICE_AMOUNT INVOICE_A
-
Safari/IWeb/QuickTime problem
I have two Apple computers. On my older iMac I have created my website using iWeb09. I have MobileMe. I do not have any problems viewing my QuickTime files on that computer. On my Mac Book Pro, I am not able to play all of my QuickTime files. Some sh