Program to download code is REPTRON ; Program to Upload the same??
Program to download code to the desktop with screens is : REPTRON
what to the Pogram to upload the same ?? to SAP??
Regards,
Ramesh
ok
Similar Messages
-
Problem in the BDC program to upload the data from a flat file.
Hi,
I am required to write a BDC program to upload the data from a flat file. The conditions are as mentioned below:-
1) Selection Screen will be prompted to user and user needs to provide:- File Path on presentation server (with F4 help for this obligatory parameter) and File Separator e.g. @,#,$,%,... etc(fields in the file will be separated by using this special character) or fields may be separated by tab(tab delimited).
2) Finally after the data is uploaded, following messages need to be displayed:-
a) Total Number of records successfully uploaded.
b) Session Name
c) Number of Sessions created.
Problem is when each record is fetched from flat file, the record needs to be split into individual fields separated by delimiter or in case tab separated, then proceeding in usual manner.
It would be great if you provide me either the logic, pseudocode, or sample code for this BDC program.
Thanks,Here is an example program, if you require the delimitor to be a TAB, then enter TAB on the selection screen, if you require the delimitor to be a comma, slash, pipe, whatever, then simply enter that value. This example is simply the uploading of the file, not the BDC, I assume that you know what to do once you have the data into the internal table.
REPORT zrich_0001.
TYPES: BEGIN OF ttab,
rec TYPE string,
END OF ttab.
TYPES: BEGIN OF tdat,
fld1(10) TYPE c,
fld2(10) TYPE c,
fld3(10) TYPE c,
fld4(10) TYPE c,
END OF tdat.
DATA: itab TYPE TABLE OF ttab.
data: xtab like line of itab.
DATA: idat TYPE TABLE OF tdat.
data: xdat like line of idat.
DATA: file_str TYPE string.
DATA: delimitor TYPE string.
PARAMETERS: p_file TYPE localfile.
PARAMETERS: p_del(5) TYPE c.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
DATA: ifiletab TYPE filetable.
DATA: xfiletab LIKE LINE OF ifiletab.
DATA: rc TYPE i.
CALL METHOD cl_gui_frontend_services=>file_open_dialog
CHANGING
file_table = ifiletab
rc = rc.
READ TABLE ifiletab INTO xfiletab INDEX 1.
IF sy-subrc = 0.
p_file = xfiletab-filename.
ENDIF.
START-OF-SELECTION.
TRANSLATE p_del TO UPPER CASE.
CASE p_del.
WHEN 'TAB'.
delimitor = cl_abap_char_utilities=>horizontal_tab.
WHEN others.
delimitor = p_del.
ENDCASE.
file_str = p_file.
CALL METHOD cl_gui_frontend_services=>gui_upload
EXPORTING
filename = file_str
CHANGING
data_tab = itab.
LOOP AT itab into xtab.
CLEAR xdat.
SPLIT xtab-rec AT delimitor INTO xdat-fld1
xdat-fld2
xdat-fld3
xdat-fld4.
APPEND xdat to idat.
ENDLOOP.
LOOP AT idat into xdat.
WRITE:/ xdat-fld1, xdat-fld2, xdat-fld3, xdat-fld4.
ENDLOOP.
Regards,
Rich Heilman -
Can multiple LabVIEW programs simultaneously access the same NI-DAQmx hardware?
I am developing a test station system that, in essence, runs several
seperate LabVIEW programs simultaneously on the same computer, each
controlling a different set of I/O channels on one shared set of NI
DAQ hardware (analog and digital I/O PCI boards with external signal
conditioning).
I have already gotten a system like this running almost flawlessly
using LabVIEW 6.1, NI-DAQmx 7.1 with traditional channels, and older
E-series DAQ hardware. So long as two programs do not try to write to
the same output channel simultaneously, everything works exactly as
expected--I can even read from the same (named) channel simultaneously
from more than one program. The only issue I have had is that if
one
of the compiled applications is closed (not just stopped, but closed)
while others are still running, Windows XP (SP1) will bluescreen on a
driver error. This is undesireable, but acceptable (though if there's
a fix/workaround, I'd love to hear it).
I am now building a similar system using mostly the same software
(with an upgrade to LabVIEW 7.1), and I've noticed that the new
M-series DAQ hardware seems to offer much more bang for the buck than
old E-series hardware and its kin.
My question is this: It appears that I/O on M-series hardware must be
performed with new mx channels, with traditional channels not being an
option. I am therefore wondering if I will be able to do this kind of
multiple simultaneous access with mx channels, or if I must purchase
the classic hardware and use traditional channels for this somewhat
unorthodox application.
(Incidentally, the multiple simultaneous program thing is a
requirement for this system, as it is the only clean way to run
multiple
identical copies of the same complete program that only
operate on different I/O channels, and re-doing the program from
scratch is not an option.)Dear Anonymous,
Thank you for contacting National Instruments.
To address your question, I don't know if multiple simultaneous access with mx channels is possible, but I do not see why it wouldn't be. The best way to find out would be to test it. I don't have your program or hardware, so I'm pointing you to some Compatibility VIs. These are VIs that look exactly like Traditional DAQ VIs except that underneath they call the DAQmx driver instead of the Traditional DAQ driver. If your device works when you substitute these Compatibility VIs in for the Traditional DAQ VIs, then you'll know the M Series boards will work for you.
Here is the link for information about the Compatibility VIs:
http://digital.ni.com/softlib.nsf/954feaeea92d90918625674b00658b
83/9d67f671bcc6850586256e630059308b?OpenDocument
Let me know if you have any further questions or if this does not resolve your issue.
Thanks again and have a great day!
Chad AE
Applications Engineer - National Instruments -
LSMW program to upload the sales order with multiple line items.
Dear SD and PP Gurus,
I am new to creating LSMW Program.
I want to create a LSMW program to upload the sales order with multiple line items. I have read on SDN that it can be done on two phases. First Create Header Data than line items. IS IT TRUE??, Or
Is there any procedure by which we can load the sales orders with multiple line items in a single run (part).
I want to use Batch process, not a BAPI or IDOC procedure.
I have created a program with
object 0090
Method 0000
Program Name RVINVB10
Program Type D
Source Structure 1 - For Header and Source Structure 2 for Line Items.
Mapped Field INDET (With Fix Value 1), ORDERTYPE, SALESORG, DISTCHANNEL, DIVISION, CUSTOMER, PONUMBER , DELVDATE, PRCGDATE, PMTTERM
INCOT1 INCOT2 with Source Structure - 1 and
Field INDENT (With Fix Value 2), ITEMNO, MATCODE, MATQTY, SUOM, PLANT, BATCH, AMOUNT with Structure-2
than maintained Structure relation ship, field Mapping, Specified Files, Assigned files, Read Data and other process,
At final stage (Start Direct Input program RVINVB10) it is giving a message - Table name not allowed.
Please tell me where I am wrong.
Thanks in advance.
DSCDear SD Gurus n Experts,
I have solved the above problem. But there is another problem appearing regarding the date format. Now system generating a message: Date . . is not valid.
While I am using Date: YYYYMMDD format in flat file, which is SAP's Standard Format.
In SDN Link: LSMW upload Sales Order using VA01/VA02 I have found that there are some date fields which are mandatory to filled. Here I have mapped
VDATU - Requested delivery date, BSTDK - Customer purchase order date, PRSDT - Date for pricing and exchange rate, BSTDK_E - Ship-to party's PO date, FKDAT - Billing Date, KORDT - Delivery Date,
and PRGRS - Date type is Constant = D
Can any one tell me, where is the priblem.
With thanks,
DSC -
Determine if program are in the same Unit of Work
Hi ,
I am currently determining if the EXPORT/IMPORT to memory id will work in 2 separate user exits. Is there a way to determine if 2 programs are in the same Logical Unit of Work ?
Thanks.I tested in our sandbox and apparently, it did not work.
When I placed a break point in the first user exit, it does the EXPORT successfully.
As for the 2nd user exit (I placed a break point and activated the "Update Debugging" because the system will not stop at the break point without doing this), the IMPORT statement returned a sy-subrc = 4. It is not a case of a wrong IMPORT syntax because I also tested placing the IMPORT statement on the first user exit and it returned a SY-SUBRC = 0.
When a break point stops during "Update Debbuging On" , what does this mean ? Does this imply that they belong to a different LUW ?
Thanks/ -
Can two java program write to the same port by fetching data from different
can two java program write to the same port by fetching data from different ports, if yes is thing possible for a 3rd program to get all data (is there any data loss or collision)
how is this possiblecan two java program write to the same port by fetching data from different portsTwo java clients can connect to the same server port and they can both write to it. However the server will see the connections as two separate accepted sockets.
-
Indesign CC cannot place any jpg format in my Drive E (psd is OK, jpg in Drive C is OK) while Indesign 6 can. 2 programs installed in the same C drive.
You will most likely get better help in InDesign
The Cloud forum is not about using individual programs
The Cloud forum is about the Cloud as a delivery & install process
If you will start at the Forums Index https://forums.adobe.com/welcome
You will be able to select a forum for the specific Adobe product(s) you use
Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll -
I bought an album and it diddent download. And my dollar ammount was the same. So i downloaded it again, and then it took my money for two purchases and then still diddent give me the album. This was all done on my ipod touch 4th generation. I dont have an apple care program so they cant help me and i dont want to spend 20 dollars on that because
1. thats alot of money for one time help
2. Thats how much money i spent on the two albums
This was ALL done on my iPod touch. And it is not jail broken
Please if you have an answer for me could you
<Email Edited by Host>No one would know what Apple is working on, unless they announce, which they very rarely do.
Have you tried the basics from the manual?
restart.
reset.
restore. -
When downloading the latest version of itunes the download freezes everytime but not always at the same percent. I have tried selecting the download only option and still didnt work. Please help!
Do you have Windows XP Pro?
see https://discussions.apple.com/thread/5840089?tstart=0
there is a stupid checkbox you must uncheck, saying "protect my computer and data from unauthorized program activity"
You see this screen when you right-click on the ItunesSetup.exe in your Downloads folder.
downloads>ItunesSetup.exe (right-click)>yourself as admin & UNCHECK THAT BOX!> conntinue with new installation and even find your old playlists still intact!!
This is apparently a Windows XP fix alone. MSVCR80.dll is (probably) reinstalled by Itunes under a partnership aggreement with Microsoft.
Using the Microsoft "Fix It" utility at http://support.microsoft.com/mats/program_install_and_uninstall/en does NOT fix anything. Abandon All Hope Ye Who Run This Utility More Than Once -
I am unable to download LR5 onto my second computer using the same serial no.?
I am unable to download LR5 onto my second computer using the same serial no.?
Pgrossy since you posted in the Creative Cloud Download & Install forum does this mean that you are trying to install Photoshop Lightroom as part of a Creative Cloud Membership? If so then please see Install and update apps - https://helpx.adobe.com/creative-cloud/help/install-apps.html for information on how to install the Adobe Creative applications included with your membership.
-
iphoto will not import my photos from my digital camera because it says it is having a problem downloading my photos. I'm using the same digital camera I have always had and have the current version of iphoto and am using snowleapord 10.6.8. Any thoughts?
As a Test:
Hold down the option (or alt) key and launch iPhoto. From the resulting menu select 'Create Library'
Import a few pics into this new, blank library. Is the Problem repeated there? -
Can I download Photoshop cc more than twice on the same computer
I had problems with my computer,can I download Photoshop CC more than twice on the same computer?
Hi problm,
Yes, you can , it will be counted as second activation if you have not deactivated the previous install & activation.
I have checked & found that you have deactivated from one machine & it is active on one computer, this entitles you an install.
Incase it does not help you, please contact adobe http://adobe.ly/yxj0t6
Regards,
Rajshree -
How do I get my emails to download both on my iMac and iPhone the same?
I have recently got an iPhone 5. I also use Mail on my iMac computer. How do I get my emails to download both on my iMac and iPhone, the same? (If I currently fetch my emails on the iPhone, then they don't then appear later when I want them on my iMac and I need to forward them to myself again - crazy!) And can I also receive sent emails on both too? I need identical email lists on both. Thank you, in anticipation!
If you are using POP email accounts, this is how they are designed to work. POP mail gets offloaded from the mail server onto the device used to access it, so it will not show up on another client later as it literally no longer is stored on the server. It may be possible for you to configure your POP mail account to keep messages on the server, so they will always appear every time you access your mail (from any device). The downside of this is that most POP accounts have limited online storage, and the messages will never disappear until you manually delete them, so if you are not very diligent at cleaning out read mail, you run the risk of your account filling up.
Really, for what you want, you should switch to an IMAP mail service. IMAP mail is always stored on the server, not on any one client/device, so it is always accessible from any client on any device. Given that, most IMAP accounts have much larger online storage than most POP accounts, since the mail is intended to stay on the server.
Check with your email provider and see if you can switch your account(s) over to IMAP. If not, there are a number of free IMAP providers, such as gmail from google. -
LDAP: error code 19 - Two realms cannot reference the same DN in orclcommon
Hi,
In Oracle IDM provisioning console I have created a new Realm.
When I try to create a new user it is not asking for where the users needs to be created. That is in which realm it should be created.
I went to configuration and tried to add the DN of the new realm in the user search base.
I gives the following error.
--LDAP: error code 19 - Two realms cannot reference the same DN in orclcommonusersearchbase
Can any one tell me how to create users in different realms.
Thanks,
VasanthIn my knowledge a registry problem was detected. This can occur when more than one service is defined for a device, if there is a failure opening the service registry entry, or if the driver name cannot be obtained from the service registry entry.
As far as I know Microsoft provides these solution options:
Click Uninstall, and then click Scan for hardware changes to load a usable driver.
Restart the computer in Safe Mode, and then select Last Known Good Configuration. This rolls back to the most recent successful registry configuration.
Furthermore you could try to remove the Upperfilters and LowersFilters from this registry entry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Class\{4 D36E965-E325-11CE-BFC1-08002BE10318}
If it doesnt help then access the device manager reinstalls the primary and secondary channel from the IDE ATA/ATAPI Controller section and reboot.
Good luck and Bye -
Since updating to OS7 the video app doesn't show any titles for movies I have downloaded on my iPad. Anyone have the same problem or a fix?
Many users have solved the problem by syncing several times; and if that doesn't work, perform a simple restore. Your titles will come back.
Maybe you are looking for
-
Working hsppy on my macbook suddenly all power fell away. The adapter light went of and since than i have not been able to restart my macbook. I suspect a failure in the powersupply. Heard a little sound like blowing a fuse. Any suggestions?
-
Activation of Discrete Industries and Mill Products in existing IDES system
Dear Sir, I want to activate Discrete Industries and Mill Products in my existing IDES system (EHP4 FOR SAP ERP 6.0 / NW7.01) Can some one help me with what steps i need to follow. Also does it will effect the existing data in IDES....? Thanks in adv
-
How to save photos , then delete them?
unable to delete duplicate photos. All my findings say to save photo , mark, then delete.How do I find a delete button. Found it by accident but cannot return to it. HELP
-
Microsoft optical mice and wheel scrolling in multi-row block
Hi. One part of our form is a multi-row block. It has a scroll bar and upto this point you can scroll using the wheel when your mouse is on the scroll bar or if the pointer is anywhere within the multi-row block, you can use the wheel to scroll. This
-
Brought a costume, but it doesn't work on EU account/consoles. Can I get a refund?That's pretty much all there is to it. Got a costume in Tales of Xillia but I can't access it and apparently it's a Japan only thing. If that's the case it shouldn't be