Is there any way to upload Tariff Code (with multiple XML files) from application server?
Hi All,
Is there any way to upload Tariff Code (with multiple XML files) from application server?. Its urgent.
Regards,
Jatin
Hi Jatin,
Yes, of course you can upload multiple files for tariff codes.
This can be done by the below path:-
SAP GTS Cockpit(tcode-/sapsll/menu_legal)-->Customs Management-->Classification-->Classification Master Data-->Upload Tariff Code Numbers from XML file(tocde- /SAPSLL/LLNS_UPL101).
In the above area after browsing and choosing the first file, please select multiple check box to choose more files as well. Then you can further select your application server and upload all those files in one go.
PS:- Although, we have an option to upload multiple such files but actually we should avoid multiple file uploads due to various reasons. Hence, please take utmost care during such procedure.
Regards,
Aman
Similar Messages
-
So Wat to do? Is there any way to get out as a single swf file from captivate.
Dear friends,
I am beginner in Adobe Captivate. We have a E-learning
project. We are using Dockers as our LMS. Previously we were using
Flash for all. Now we are trying Captivate for better and faster
results. I have few swf files and i inserted al files in Captivate
and i published. So instead of getting single output, am getting
all the swfs, skin swf and html file. Html file is accessing all
swfs and works. But it is not working in Dockers. Single swf will
only work in Dockers. So Wat to do? Is there any way to get out as
a single swf file from captivate. please Help mee.
Thanks
FlashloverIf 'Dockers' cannot handle a .zip file as the content and
instead
requires a single, uncompressed content file, then it is not
SCORM-compliant. The SCORM specification requires the LMS to
handle a
'pif' file (most common is .zip) which contains the lesson
and the
required manifest file. If Dockers doesn't support that then
you can't
do SCORM-compliant content.
Erik
loverflash wrote:
> Dear friends,
>
> We are using
> Dockers as our LMS.
> So instead of getting single output, am
> getting all the swfs, skin swf and html file. Html file
is accessing all swfs
> and works. But it is not working in Dockers. Single swf
will only work in
> Dockers.
>
> Thanks
> Flashlover
>
Erik Lord
http://www.capemedia.net
Adobe Community Expert - Authorware
http://www.adobe.com/communities/experts/
http://www.awaretips.net -
samples, tips, products, faqs, and links!
*Search the A'ware newsgroup archives*
http://groups.google.com/group/macromedia.authorware -
Uploading xml file from application server
HI everybody guys having promblem reading xml file from application server.Here is the solution. the sample program is below.
TYPE-POOLS: ixml. "iXML Library Types
*TABLES : rbkp.
TYPE DECLERATIION
TYPES: BEGIN OF type_tabpo,
ebeln TYPE ekko-ebeln, "PO document number
ebelp TYPE ekpo-ebelp, "PO line item
END OF type_tabpo.
TYPES: BEGIN OF type_ekbe,
belnr TYPE rbkp-belnr, "Invoice document
gjahr TYPE rbkp-gjahr, "fiscal year
END OF type_ekbe.
TYPES: BEGIN OF type_invoice,
belnr TYPE rbkp-belnr, "PO document number
gjahr TYPE rbkp-gjahr, "Fiscal Year
rbstat TYPE rbkp-rbstat, "invoice status
END OF type_invoice.
TYPES: BEGIN OF t_xml_line, "Structure for holding XML data
data(256) TYPE x,
END OF t_xml_line.
INTERNAL TABLE DECLERATIION
DATA: gi_tabpo TYPE STANDARD TABLE OF type_tabpo,
gi_ekbe TYPE STANDARD TABLE OF type_ekbe,
gi_invoice TYPE STANDARD TABLE OF type_invoice,
gi_bapiret2 TYPE STANDARD TABLE OF bapiret2.
DATA: l_ixml TYPE REF TO if_ixml,
l_streamfactory TYPE REF TO if_ixml_stream_factory.
l_parser TYPE REF TO if_ixml_parser,
l_istream TYPE REF TO swif_ixml_istream,
l_document TYPE REF TO if_ixml_document,
l_node TYPE REF TO if_ixml_node,
l_xmldata TYPE string.
*DATA: l_elem TYPE REF TO if_ixml_element,
l_root_node TYPE REF TO if_ixml_node,
l_next_node TYPE REF TO if_ixml_node,
l_name TYPE string,
l_iterator TYPE REF TO if_ixml_node_iterator.
DATA: l_xml_table TYPE TABLE OF t_xml_line, " XML Table of the structure
l_xml_line TYPE t_xml_line, " Record of structure t_xml_line
l_xml_table_size TYPE i. " XML table size
DATA: l_filename TYPE string.
WORK AREA DECLARATION
DATA: gw_tabpo TYPE type_tabpo,
gw_ekbe TYPE type_ekbe,
gw_invoice TYPE type_invoice,
gw_bapiret2 TYPE bapiret2.
BEGIN OF SELECTION SCREEN
SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-001.
PARAMETERS: p_file TYPE pathintern LOWER CASE DEFAULT '/usr/sap/tmp/'.
Validation of XML file: Only DTD included in XML document is supported
SELECTION-SCREEN END OF BLOCK blk1.
INTIALISATION.
INITIALIZATION.
SELECTION SCREEN VALIDATION
AT SELECTION-SCREEN.
To validate p_file is not initial
PERFORM sub_validate_file.
PERFORM sub_validate_path.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
Request for filename for xml file from the application server
PERFORM sub_get_filename_appl USING p_file.
START OF SELECTION SCREEN
START-OF-SELECTION.
PERFORM sub_fetch_po_details.
PERFORM sub_get_invoice.
PERFORM sub_rel_invoice.
END OF SELECTION SCREEN
END-OF-SELECTION.
*& Form sub_validate_file
To Validate the file
FORM sub_validate_file .
IF p_file IS INITIAL.
MESSAGE e000. "specify the file path
ENDIF.
ENDFORM. " sub_validate_file
*& Form sub_get_filename_appl
form sub_get_filename_appl USING l_fname TYPE any.
DATA: l_fname TYPE filename-fileintern. " File name
*GET THE FILENAME FROM THE APPLICATION SERVER
CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE'
EXPORTING
directory = l_fname
filemask = '*'
IMPORTING
serverfile = l_fname
EXCEPTIONS
canceled_by_user = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " sub_get_filename_appl
*& Form sub_fetch_po_details
To fetch the PO details from the application server
Format of file is XML
FORM sub_fetch_po_details .
TYPE DECLERATIION
l_ixml = cl_ixml=>create( ).
Creating a stream factory
l_streamfactory = l_ixml->create_stream_factory( ).
PERFORM get_xml_table.
LOOP AT gi_tabpo INTO gw_tabpo.
WRITE:/ gw_tabpo.
ENDLOOP.
ENDFORM. " sub_fetch_po_details
*& Form get_xml_table
Read from the xml file
FORM get_xml_table .
Local variable declarations
DATA: l_len TYPE i,
l_len2 TYPE i,
l_tab TYPE tsfixml,
l_content TYPE string,
l_str1 TYPE string,
c_conv TYPE REF TO cl_abap_conv_in_ce,
l_itab TYPE TABLE OF string.
l_filename = p_file.
code to upload data from application server
OPEN DATASET l_filename FOR INPUT IN BINARY MODE.
IF sy-subrc <> 0.
WRITE:/ 'invalid file path'.
ENDIF.
DO.
READ DATASET l_filename INTO l_xml_line.
IF sy-subrc EQ 0.
APPEND l_xml_line TO l_xml_table.
ELSE.
EXIT.
ENDIF.
ENDDO.
CLOSE DATASET l_filename.
code to find the table size
DESCRIBE TABLE l_xml_table.
l_xml_table_size = ( sy-tleng ) * ( sy-tfill ).
*code to convert hexadecimal to XML
LOOP AT l_xml_table INTO l_xml_line.
c_conv = cl_abap_conv_in_ce=>create( input = l_xml_line-data
replacement
= space ).
c_conv->read( IMPORTING data = l_content len = l_len ).
CONCATENATE l_str1 l_content INTO l_str1.
ENDLOOP.
l_str1 = l_str1+0(l_xml_table_size).
SPLIT l_str1 AT cl_abap_char_utilities=>cr_lf INTO TABLE l_itab.
LOOP AT l_itab INTO l_str1.
REPLACE ALL OCCURRENCES OF cl_abap_char_utilities=>horizontal_tab IN
l_str1 WITH space.
ENDLOOP.
CALL TRANSFORMATION ('ID') " code to put in internal table
SOURCE XML l_str1
RESULT tab = gi_tabpo[].
ENDFORM. " get_xml_tableHi Raja,
I tried the same. But it not populating the table and giving an error message in the return table "line 1 col 1-unexpected symbol; expected '<', '</', entity reference, charac".
I can't find any ' ; ' in the XML file. What could be the possible reason of error? -
How to upload XML file from Application server.
Hi,
How to upload XML file from Application server.Please tell me as early as possible.
Regards,
Sagar.Hi,
parameters : p_file type ibipparms-path obligatory.
***DOWNLOAD---->SAP INTO EXCEL
filename1 = p_file.
call function 'GUI_DOWNLOAD'
exporting
BIN_FILESIZE =
filename = filename1
filetype = 'ASC'
APPEND = ' '
WRITE_FIELD_SEPARATOR = 'X'
HEADER = '00'
TRUNC_TRAILING_BLANKS = ' '
WRITE_LF = 'X'
COL_SELECT = ' '
COL_SELECT_MASK = ' '
DAT_MODE = ' '
CONFIRM_OVERWRITE = ' '
NO_AUTH_CHECK = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
WRITE_BOM = ' '
TRUNC_TRAILING_BLANKS_EOL = 'X'
WK1_N_FORMAT = ' '
WK1_N_SIZE = ' '
WK1_T_FORMAT = ' '
WK1_T_SIZE = ' '
IMPORTING
FILELENGTH =
tables
data_tab = it_stock
FIELDNAMES =
exceptions
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
control_flush_error = 21
others = 22
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,
Deepthi. -
Issue with uploading XML file from application server into internal table
i Need to fetch the XML file from the application server and place into internal table and i am getting error message while using the functional module SMUM_XML_PARSE and the error message is "line 1 col 1-unexpected symbol; expected '<', '</', entity reference, character data, CDATA section, processing instruction or comment" and could you please let me know how to resolve this issue?
TYPES: BEGIN OF T_XML,
raw(2000) TYPE C,
END OF T_XML.
DATA:GW_XML_TAB TYPE T_XML.
DATA: GI_XML_TAB TYPE TABLE OF T_XML INITIAL SIZE 0.
DATA:GI_STR TYPE STRING.
data: GV_XML_STRING TYPE XSTRING.
DATA: GI_XML_DATA TYPE TABLE OF SMUM_XMLTB INITIAL SIZE 0.
data:GI_RETURN TYPE STANDARD TABLE OF BAPIRET2.
OPEN DATASET LV_FILE1 FOR INPUT IN TEXT MODE ENCODING DEFAULT.
IF SY-SUBRC NE 0.
MESSAGE 'File does not exist' TYPE 'E'.
ELSE.
DO.
* Transfer the contents from the file to the work area of the internal table
READ DATASET LV_FILE1 INTO GW_XML_TAB.
IF SY-SUBRC EQ 0.
CONDENSE GW_XML_TAB.
* Append the contents of the work area to the internal table
APPEND GW_XML_TAB TO GI_XML_TAB.
ELSE.
EXIT.
ENDIF.
ENDDO.
ENDIF.
* Close the file after reading the data
CLOSE DATASET LV_FILE1.
IF NOT GI_XML_TAB IS INITIAL.
CONCATENATE LINES OF GI_XML_TAB INTO GI_STR SEPARATED BY SPACE.
ENDIF.
* The function module is used to convert string to xstring
CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
EXPORTING
TEXT = GI_STR
IMPORTING
BUFFER = GV_XML_STRING
EXCEPTIONS
FAILED = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE 'Error in the XML file' TYPE 'E'.
ENDIF.
ENDIF.
IF GV_SUBRC = 0.
* Convert XML to internal table
CALL FUNCTION 'SMUM_XML_PARSE'
EXPORTING
XML_INPUT = GV_XML_STRING
TABLES
XML_TABLE = GI_XML_DATA
RETURN = GI_RETURN.
ENDIF.
READ TABLE GI_RETURN TRANSPORTING NO FIELDS WITH KEY TYPE = 'E'.
IF SY-SUBRC EQ 0.
MESSAGE 'Error converting the input XML file' TYPE 'E'.
ELSE.
DELETE GI_XML_DATA WHERE TYPE <> 'V'.
REFRESH GI_RETURN.
ENDIF.Could you please tel me why the first 8 lines were removed, till <Soap:Body and also added the line <?xml version="1.0" encoding="UTF-8"?> in the beggining .
Becuase there will be lot of XML files will be coming from the Vendor daily and that should be uploaded in the application server and should update in the SAP tables based on the data in the XML file.
what information i need to give to vendor that do not add the first 8 lines in the XML file and add the line in the beggining <?xml version="1.0" encoding="UTF-8"?> ??????
Is there any other way we can do with out removing the lines? -
Is there any way to get lightroom 4 to recognise raw files from my 7d Mark 2?
I have been searching on here for a few days now, but can't seem to get my head around the answers I got a new 7D mark 2 a few weeks ago. When I first came to download my pictures from the card I was only marginally surprised they were unreadable - I'd forgotten to format the memory card to the camera. No big deal, I thought, merrily deleting the photos Lightroom couldn't read and formatting the card. But now that I have formatted the card, I am kindof upset that Lightroom still cannot read the files at all. I have downloaded the DNG converter and updated all my software, but if the files are not being read at all, how am I supposed to convert them?
What am I supposed to do? I can see the photos on the camera itself - I usually shoot in Raw and JPEG to cover myself, but this time Lightroom isn't reading either format. If I shoot purely in JPEG I can download them without problem, but together (jpeg and raw) I can't see either.
Tech wise I have a hp laptop, 4GB RAM, 2tb hd (separate), Windows 7 64-bit os, Lightroom 4 and Photoshop Elements 12.
Help me please?
ThanksI have downloaded the DNG converter and updated all my software, but if the files are not being read at all, how am I supposed to convert them?
You use the DNG converter (version 8.7 or later) to convert the RAW to DNG. This is a separate step, outside of Lightroom, before you import. Then th DNGs will be import-able into Lightroom 4.
I usually shoot in Raw and JPEG to cover myself, but this time Lightroom isn't reading either format.
If your card has both JPG and RAW, Lightroom isn't reading the JPGs? Could you give us the error message or describe what is happening? Also make sure that the option to treat JPG next to RAW as separate photos is checked. Lightroom Help | Set import preferences -
Upload XML file from Application Server to Internal Table
Hi Experts,
i have xml file in application server and i want to convert to internal table .
i have tried this link http://wiki.sdn.sap.com/wiki/display/ABAP/UploadXMLfiletointernal+table.
Here the file is loaded from local(presentation Server) ..
i want to know how to select file from application layer ..and schedule in background..
i also tried FM '/SAPDMC/LSM_F4_SERVER_FILE' but this need front end selection of file from application server..
i need to select a xml file from application server and convert into internal table in background.. help me on this..Have a look on
Re: How to convert XML data to different ABAP internal table
Thanks
Ravin -
Is there any way to upload iWeb files updates only with a 3rd party ftp program to a new hoster, e.g. Godaddy? I see no posts newer than 2007.
If you are using iWeb V 3, there are two other options for publishing the site...
http://www.iwebformusicians.com/iWeb/Publish-Website.html
Some pointers for choosing hosting...
http://www.iwebformusicians.com/iWeb/Website-Hosting.html -
I have forgot the security code from my ipad 2. Is there any way to eliminate the code and unlock my ipad?
Yeah you Can restore it to the last backup you took on the computer if you didn't take any then restore it to facotry default
If there was any other Way a thier WHO stole your iOS device could access All your personal data using that Way -
So my mom set restrictions on my ipod and she forgot the code is there any way of retriving the code
so my mom set restrictions on my ipod and now she cant remember the code is there any way of getting that code
Abbieyoyo wrote:
so my mom set restrictions on my ipod and now she cant remember the code is there any way of getting that code
No.
To remove the Restrictions passcode you will need to either...
Restore the Device as New...
http://support.apple.com/kb/HT4137
OR...
from a Backup created Before the Restrictions Code was set....
Restore from Backup
http://support.apple.com/kb/ht1766 -
Is there any way to control an iPod with a lock via USB cable?
I have an iPod touch 4th generation, but I dropped it. The touchscreen no longer works, which is most likely a hardware error (I've tried resetting it). I plan to get a new device, but before that, I would like to be able to unlock it to access certain files and transfer codes inside. I know the lock password to my iPod; is there any way I could control it with my computer?
Thanks.You may be able to get some info from the restored/erased iPod by:
How to perform iPad recovery for photos, videos
Wondershare Dr.Fone for iOS: iPhone Data Recovery - Wondershare Official
http://www.amacsoft.com/ipod-data-recovery.html
iPod recovery software to restore lost music files
http://www.pcrecoverytools.com/ipod-data-recovery.html
-iPod touch Deleted Photo Recovery Tips You Should Know -
I have an external hard drive of the brand Western Digital.
Before I got my iMac I moved a lot of my important files from my PC to the hard drive and today I went on and connected it to my iMac to move my files over to it.
When it had connected a window popped up that asked if I wanted to use this hard drive with the program Time Machine and create backups. Without thinking it trough enough and reading the warning properly (I'm stupid I know) I clicked "yes". I then realised how stupid it was and cancelled the formatting of the hard drive. But somehow the program still managed to delete all my important files and can't find any way to get them back. Neither can I connect the hard drive to my PC anymore so I can't check if the files are still there (which I doubt they are since I can't see them on my iMac either).
And now I wonder: is there any way for me to get back my lost files or are they lost forever?
Thank you in advance!
//GinaA data recovery specialist or some data recovery programs should be able to help. Most format simply rewrite the directory tree saying no files are on this disk. The bits that represent the files are still flipped appropreiately so they still exists, you just don't have the location info to get at them. Secure formats and erases rewrite each bit to a zero or 1 or random so the data is then truely gone. This type of format takes a long time to complete.
I'm not making a recomendation of a particular program but here is one company that does what you ask:
http://www.remosoftware.com/mac-recovery The cost is pretty high but I'm sure they don't sell many copies and need to cover their development costs.
Good luck and don't write anything on the freshly formatted disk until you decide what to do. -
i don't have a wireless keyboard or mouse for my 2007 iMac, is there any way that can use remote desktop and access it from my 2010mbp
Hi champrider,
You can use an application such as Apple Remote Desktop to control your iMac remotely. See this article -
OS X Mavericks: Allow access using Apple Remote Desktop
This help page will provide you with some other useful resources for Apple Remote Desktop -
Remote Desktop Help
Thanks for using Apple Support Communities.
Best,
Brett L -
i lost my appletv remote & can no longer connect to it with my iphone app. is there any way that i can reconnect with my iphone app without having to buy a new remote?
Doubtful - why did the Remote app lose connection?
-
Is there any way to edit and save an existing spreadsheet file that was not created from my iPad? I get excel spreadsheets emailed to me and would love to edit them on my iPad and not ever use my PC.
Thanks. I tried an app called Office2HD and it does exactly what I need. I can even email my edited file from this app.
Maybe you are looking for
-
Hello. I have a problem with OEL 6.5 and ocfs2. When I mount ocfs2 with mount -a command all ocfs2 partitions mount and work, but when I reboot no ocfs2 partitions auto mount. No error messages in log. I use DAS FC and iSCSI FC. fstab: UUID=32130a0b-
-
Drag-and-drop no longer working in FF
All drag-and-drop features stopped working on my FF 21. That is, I can no longer: - Drag items to bookmarks or rearrange the bookmarks - Drag words to the search box or links to the URL box - Change the order of tabs - Rearrange items on toolbars - M
-
Creating short photo gallery using previous and next frame A3.0
I'm creating a simple photo gallery. Can someone tell me the right code this is what I'm remember. I forgot. next_btn.addEventListener(MouseEvent.CLICK, goNext); previous_btn.addEventListener(MouseEvent.CLICK, goBack); function goNext(e:MouseEvent):v
-
I have what seems like a pretty straight forward problem. I have a table, say TAB_A that has a NAME, PHONE, SSN along with some other values (no primary key...I know, don't start with me. That's just the way it is.) I want to retrieve records where t
-
I was using 2g data on my BB9700 but couldnt use Facebook app without BIS Recently activated and registered I noticed a few new items on servicebook too.Now I can use Facebook too But the Internet browser still uses carrier's 2g data and I get charge