Pls advice........its urgent
Please advice any FM that takes excel sheet file from local drive and convert the data present in excel sheet into text tab delimited as the output.......My input file should be excell sheet only.......i will call gui upload to get the file.but later after uploading i need the output to be displayed in text tab delimited file...........
Note : Requirement is input file should be excel sheet only....i dnt want to convert the excel sheet as tab delimited file and thn upload......
pls advice........thanks in advance
You can use FM ALSM_EXCEL_TO_INTERNAL_TABLE and check this link for sample code.
http://www.sapdevelopment.co.uk/file/file_upexcel2.htm
Here is sample program.
REPORT ZDBLV_UPLOAD_EXCEL_TEST.
data: begin of itab occurs 0,
name(20) type c,
addre(20) type c,
end of itab.
dATA : ITAB1 LIKE ALSMEX_TABLINE OCCURS 0 WITH HEADER LINE.
DATA : B1 TYPE I VALUE 1,
C1 TYPE I VALUE 1,
B2 TYPE I VALUE 100,
C2 TYPE I VALUE 9999.
CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
EXPORTING
FILENAME = 'C:\test.xls'
I_BEGIN_COL = B1
I_BEGIN_ROW = C1
I_END_COL = B2
I_END_ROW = C2
TABLES
INTERN = itab1
EXCEPTIONS
INCONSISTENT_PARAMETERS = 1
UPLOAD_OLE = 2
OTHERS = 3.
IF SY-SUBRC 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
loop at itab1.
write:/ itab1.
Endloop.
Similar Messages
-
Http Scenario. Pls advice very urgent
Hi All,
My Scenario is
a. HTTP sends data to XI Synchronously.
b. XI opens Socket Connection in User Defined Function (UDF)
of Message Mapping and gets response back from Socket
in UDF. For Socket Connection request and response I will
write java code in UDF
c. XI needs to send back Socket response to HTTP as XI has
received data from HTTP Synchronously.
d. XI also needs to send back Socket response to File.
How to make this approach in XI using BPM.
Pls expain urgent
RegardsHi Praveen,
Steps in BPM I have done :
1. One Rec step with Open S/A mode.
Abstract Sync Message Interface for HTTP Request and
HTTP Response.
2. Transformation Step (Mapping in BPM)
HTTP Request and Socket Response
3. Fork Step -- Necessary Branch 2
4. Branch 1st --
a. Transformation Step(Mapping in BPM)
Socket Response and HTTP Response
b.One Send Step with Close S/A mode for HTTPResponse
back
5. Branch 2nd --
a. Transformation Step (Mapping in BPM)
Socket Response and File Response
b. One Send Step for File Response back.
Pls advice is it ok ?
Regards -
Hi friends,
Is there any BAPI for uploading data of CC02 ?
Regards..
BalajiHi,
Use this FM.
BDS_BUSINESSDOCUMENT_CREATEF
BAPI_ECMORD_CREATE BAPI
RFC_CREATE_CHANGE_MASTER
<b>Reward points</b>
Regards -
WebService Receiver Problem. Pls advice urgent.
Hi All,
I have R/3 (RFC) -- XI -- R/3(WebService) Scenario.
Now when I test my WebService in R/3 using wsadmin command it works fine.
But If I import my webservice as wsdl file and use it in Soap Receicer Adapter and use XI I get error:
<SAP:Category>XIAdapterFramework</SAP:Category>
<SAP:Code area="MESSAGE">GENERAL</SAP:Code>
<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: sapd03ci.alkhaliji.bank</SAP:AdditionalText>
Pls advice very urgent
regardsHi RAC,
May I know where this R/3 webservice located.
In your landscape or not?
Thanks
Gujjeti -
UDF in message mapping instead of Java Mapping. Pls advice urgent
Hi All,
My scenario
CRM --- XI -- CRM
In XI I have to open socket connection.
Pls refer link:
/people/saravanakumar.kuppusamy2/blog/2005/12/15/socket-integration-with-xi
Can Java Mapping code given in above link for socket connection can be used in Message Mapping (CRM -- CRM)UDF?
Pls advice urgent
RegardsHi Henry,
I understood your requirement.
But as per the architecture of XI/PI some message has to trigger your scenario.
In this case there is no adapter where you can directly communicate with CRM system.
Do one thing configure a dummy scenario on the sender side.
Use File adapter for simplicity. once it pools the file with some dummy data in the file it comes to Interface mapping(message mapping) of the PIPELINE steps. Now use the code as you mentioned above(within UDF) for opening socket to CRM system and implement you business logic within that program and write the response to target interface which will infact talk with CRM system.
Dont forget to do the coding in an infinite loop with some delay (if required). Other wise every time you have to put a message for File Adapter for triggering purposes.
You can also acheive the same if you use Java Mapping instead of Graphical mapping with UDF(code for Opening socket and business logic). I suggest you to use Java Mapping.
I dont know how you will comunicate with CRM system on receiver side.?
Thanks,
Gujjeti -
XI to WebService . Pls advice urgent
Hi All,
Scenario:
There is some response from System A back into XI.
I need to send response from XI to System B and get response back to XI.
System B has Synchronous Web Service and has provided its WSDL to XI.
Question:
1. Do I need to Import Webservice WSDL as External Defination in XI.?
2.Do I need to use only Soap Receiver Adapter in XI as it is Synchronous Web Service and XI can get response back from that System or also I need Soap Sender Adapter ?
RegardsHi Sudeep,
I am sending this xml from runtime workbench:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_REQ_TEST xmlns:ns0="http://CRM">
<MobileNo>1</MobileNo>
<Message>2</Message>
<ActivationCode>3</ActivationCode>
<StrService>4</StrService>
<StrFrom>5</StrFrom>
<StrOptions>6</StrOptions>
</ns0:MT_REQ_TEST>
The below XML forms after mapping
<?xml version="1.0" encoding="UTF-8" ?>
- <ns1:SendMessageSoapIn xmlns:ns1="urn:MMWebSrvService">
<strFrom>XI</strFrom>
<strTo>1</strTo>
<strMessage>2</strMessage>
<strSubject>3</strSubject>
<strService>abc</strService>
<nOptions>0</nOptions>
</ns1:SendMessageSoapIn>
In Soap Receiver Adapter
URL -- http://172.20.80.11/MMWebService/MMWebSrv.asmx
Soap action -- #SendMessage
The error I am getting now:
<SAP:AdditionalText>soap fault: Server was unable to read request. ---> There is an error in XML document (1, 97). ---> <SendMessageSoapIn xmlns='urn:MMWebSrvService'> was not expected.</SAP:AdditionalText>
Pls advice
Regards -
Webservice sender and Receiver. Pls advice urgent
Hi All,
My Scenario
System A (WebService) -- XI -- System B (WebService)
Pls let me know
1. What does it mean by WebService needs WebServer?
2. For System A (WebService) -- XI
Do I require WebServer to be installed at System A or XI?
3. For XI -- System B (WebService)
Do I require WebServer to be installed at System B or XI?
Pls advice urgent.
RegardsHi Piyush,
Hi Piyush,
System A (WebService) -- XI --- System B (WebService)
I know the flow -- like both webservices will be impoted as External Definations and will me mapped.
I was asking about Webserver.
a. XI --- System B (WebService)
System B is providing wsdl.
WebServer is required at System B -- fine.
b. System A (WebService) -- XI
System A is providing WebService(wsdl) to XI
XI is NOT providing WebService to System A.
So It is a webservice(wsdl) of System A. It will be given to XI and XI will import it as wsdl.
So do we or not require require Webserver in
System A or XI?
Pls tell System A (WebService) -- XI
Webserver part.
Regards -
HTTP adapter. Pls advice urgent
Hi,
Some cleint wants to send data to PI (7.0) through HTTP.
Now should that client send through HTTP or it can also use
HTTPS.
Pls advice urgent.
RegardsHi,
All XI runtime components using the HTTP protocol support the encryption of the HTTP data stream by means of the SSL protocol, also known as HTTPS. HTTPS data streams are completely transparent to the Exchange Infrastructure
HTTPS (Hyper Text Transfer Protocol Secure) is a secure version of the Hyper Text Transfer Protocol (http). Secure means of transferring data using the https protocol in the World Wide Web where secure ecommerce transactions, such as online banking transactions and other financial transactions are involved.
Https encrypts the session with a digital certificate i.e., HTTP over SSL (Secure Sockets Layer) which can be used by Web browsers and HTTPS - capable client programs.
If the website begins with https:// instead of http://, it is a secure site. Almost 99% of the browsers can connect to web servers either using http or https. The address bar in the browser will begin with https instead of http, if a web site is secured.
HTTPS Protocol work with the combination of programs including the browser programs which takes care of the encryption/decryption routines that exist on the web hosting servers.
HTTP data is sent over TCP/IP port 80, whereas HTTPS data is sent over port 443.
HTTPS comes in two flavors, both ensuring the confidentiality of data sent over the network
1)Server authentication :
Only the HTTP server identifies itself with a certificate that is to be verified by the client.
2)Client authentication:
Additionally, the HTTP client identifies itself with a certificate that is to be verified by the server
Regards,
sangeetha -
I have Mac Air , I am trying to download latest OS yosemite from App store . But i am unable to download as its showing error. Pls advice is there any other options to download . Thanks
get an error message.
Care to share what the error says? My mind reading skillz are nill this early in the morning. -
Its urgent pls help me .
how can i call a portal from webdynpro application
my requirment is
i was created webdynpro application.
in that i was created one view . in that i was created one button (go).
if i click that button i want move some other portal.
how can i acchive pls help me.
its urgent.
pls send any example programe
Message was edited by:
madipadiga nagaraju
Message was edited by:
madipadiga nagarajuhi,
there is no direct tcode for going to webdynpro component/interfaces in ecc 6.0.
but u have se58 in ecc 5.0,as webdynpro convertor.u give ur program name and click web dynpro convertor button then it takes u to se80 .but this wda(webdynpro abap) component comes as in application tree hierarchy .
i can say in wda component refers a class .if u select webdynpro component/interface,it ask u to create a class or interface.
after that it automatically generate component controller(it is also a class),
interface view and windows.all these 3 are classes.for every window one interface view will be created.ie.. window is internal visible where as interface view is external visible.
u create view and embed these views in windows.by going to the window layout,right click on the window name and click embed view.u can enbed as many view as u wish.in order to navigate from one view to other view ,click "create navigation" by right clicking the view plugs.
by default windows and view have inbound plugs.this is literally a event of that class.
if u want to navigate from view1 to view2 ,create outbound plug for view1,the click outbound plug of view1 and right click the click create navigation the select inbound plug of view2.
then create a application .this is simillar of creating an object.
click on this object and test .this will open in browser.
for deploying u have use "sap webdynpro iview". -
Delete duplicate entriess from the internal table its urgent pls help.
Hi friends,
Hope everybody is doing good,Here is m query on delete duplicate data from the intenal table.
I have an internal table which contain data in the following format.
Doc No Comp Cod Vendor Assignment
1500000009 JM11 00000000
1500000008 JM11 20070212(Repeating)
1500000007 JM11 20070212
1500000006 JM11 00000000
1500000005 JM11 00000000
1500000004 JM11 00000000(Repeating)
1500000003 JM11 00000000 (Repeating)
1500000002 JM11 00000000
1500000001 JM11 20050302
1500000000 JM11 00000000
1500000003 JM11 10000088
1500000001 JM11 10000088
1500000030 JM11 10006260
1500000010 JM11 10006269
1500000008 JM11 10006269
1500000006 JM11 10006269
1500000004 JM11 10006269
if you see the document numbers,there are some document number which are repeating here,there are some document numer which contain vendor number but not the assignments,some of the document numbers contain the assignments but not the vendors.
If my internal table contain this kind of data with repeted document numbers than i want the document number which contains only the vendor number.
Pls help me with the appropriate logic,its urgent.
Thanks a lot
mrutyun^Hi,
<u><b>Deleting Adjacent Duplicate Entries</b></u>
To delete adjacent duplicate entries use the following statement:
DELETE ADJACENT DUPLICATE ENTRIES FROM <itab>
[COMPARING <f1> <f2> ...
|ALL FIELDS].
The system deletes all adjacent duplicate entries from the internal table <itab>. Entries are
duplicate if they fulfill one of the following compare criteria:
Without the COMPARING addition, the contents of the key fields of the table must be
identical in both lines.
If you use the addition COMPARING <f1> <f2> ... the contents of the specified fields <f1>
<f2> ... must be identical in both lines. You can also specify a field <fi> dynamically as
the contents of a field <ni> in the form (<ni>). If <ni> is empty when the statement is
executed, it is ignored. You can restrict the search to partial fields by
specifying offset and length.
If you use the addition COMPARING ALL FIELDS the contents of all fields of both lines
must be identical.
You can use this statement to delete all duplicate entries from an internal table if the table is
sorted by the specified compare criterion.
If at least one line is deleted, the system sets SY-SUBRC to 0, otherwise to 4.
Examples
DATA: BEGIN OF LINE,
COL1 TYPE I,
COL2 TYPE I,
END OF LINE.
DATA ITAB LIKE HASHED TABLE OF LINE WITH UNIQUE KEY COL1.
DO 4 TIMES.
LINE-COL1 = SY-INDEX.
LINE-COL2 = SY-INDEX ** 2.
INSERT LINE INTO TABLE ITAB.
ENDDO.
LINE-COL1 = 1.
DELETE TABLE ITAB: FROM LINE,
WITH TABLE KEY COL1 = 3.
LOOP AT ITAB INTO LINE.
WRITE: / LINE-COL1, LINE-COL2.
ENDLOOP.
The output is:
2 4
4 16
The program fills a hashed table with a list of square numbers. The DELETE
statement delete the lines from the table where the key field COL1 has the contents 1 or 3.
Regards,
Bhaskar -
Same Sender and Receiver File Name. Pls advice urgent
Hi All,
My sender file name is auto generated number so
it is dynamic in nature.
ex. "abc1.txt"
"abc2.txt"
Now In my Sender File Adapter I cannot give
File Name hard coded as my sender file name is auto generated number.
Also I want same file name received at receving end.
File Sender -- "abc1.txt"
File Receiver -- "abc1.txt"
File Sender -- "abc2.txt"
File Receiver -- "abc2.txt"
Pls advice.
RegardsHi Rider,
All your sender files have .txt extension but the name is not constant(dynamic in nature).Than in this case to pick ur file u can use the *.txt as ur sender file name.Than all the files with .txt extension in the source folder specified would be picked.
Than u can proceed in the same way given in this blog
/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
Please let me know if u need any information
Thanks,
Bhargav
Note:Award points if found useful -
hi experts'
i have to generate asset utilization report in webdynpro
inputs for report are some rfcs
i get result from rfcs
i need to float report i used bussinessgraphic object
its not interactive
if i go for tables
how to create tables with drill down inside table
how to set color for each cell of table depending on condition
please help me
its urgent
and send me code n linkHi Vani,
Your requirement has many things
1. How to call RFCs
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/28113de9-0601-0010-71a3-c87806865f26?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#15 [original link is broken]
2. Once you have data, how to work with BusinessGraphics ?
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ba2db0e5-0601-0010-9790-e271902f2c38
(This docs contatins all the required info on webDynpro UIElements)
3.Tables
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/28113de9-0601-0010-71a3-c87806865f26?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#46 [original link is broken]
Regards,Anilkumar -
Hi All, How we can handle a table control in bdc - in detail its urgent pls
Hi All, How we can handle a table control in bdc - in detail its urgent. Please send me the explanation in detail.
Thanks®ards.
Bharathi,
Create Table Control
Step 1 (Create new structure for table control)
Type is name of structure (ZTC_EKKO) and press create
Step 2 (Create Program)
Goto transaction SE80(Object Navigator) -> Repository Browser -> Program.
Enter your program name, please ensure that is begins with SAPMZ as this is a module pool (dialog program).
Press enter to create, and press yes!
Ensure that you create a top include, and press Enter.
Accept the name created for the top include.
Press Enter.
Press Save
Step 3 (Create TOP include)
Double click on the top include and enter following ABAP code:
Tables: ZTC_EKKO.
controls: tc100 type tableview using screen 100.
data: ok_code type sy-ucomm.
data: it_ekko type standard
table of ZTC_EKKO initial size 0,
wa_ekko type ZTC_EKKO.
data: ok_code type sy-ucomm.
Press Save and Activate
Step 4 (Create screen)
Right click the program to create a screen 100 for the dialog. Enter Short description, set screen type to Normal and enter 0 or blank into Next screen. Then move to Element List tab and enter the OK code as OK_CODE (i.e. the same as what you declared in the top include with data: ok_code type sy-ucomm).
Step 5 (Create table control)
Press the Layout button to bring up the screen painter editor.
Press table control button and drag it on to the screen, enter the name of table control created in TOP include (TC100). Now press the yellow button for attributes and set the table control as below options
Step 6 (Populate table control )
Press the orange button (Fields). On the next screen enter ZTC_EKKO and press the Get from Dict button. Select the fields you want (all) and press enter. Now drag them onto your Table Control.
Below is the result, there will been syntax errors if we check now! So Save and go back into the flow logic tab.
Step 7 (Create flow control )
Within the flow logic of screen 100 and create two modules, one to select the data from the database and the other to move the selected fields into the table control. Also insert the two loop statements to populate and retrieve the lines of the table control.
PROCESS BEFORE OUTPUT.
MODULE STATUS_0100.
module data_retrieval.
loop at it_ekko into wa_ekko with control TC100.
module populate_screen.
endloop.
PROCESS AFTER INPUT.
loop at it_ekko.
endloop.
MODULE USER_COMMAND_0100.
Double click the module data_retrieval to create and click yes to get past the popup. Ensure that a new include is created to hold all the PBO modules (default). Press enter.
Select 10 rows of data from the EKKO table and load into the internal table it_ekko. Go back to the flow logic to load this data into the Table Control.
check this one
REPORT ZCALL_TRANS_TAB1 .
TABLES: LFA1,LFBK,lfb1.
data: BEGIN OF it_vendor occurs 0,
LIFNR LIKE LFA1-LIFNR,
bukrs like lfb1-bukrs,
END OF it_vendor.
DATA: BEGIN OF IT_BANK occurs 0,
LIFNR LIKE LFA1-LIFNR,
BANKS LIKE LFBK-BANKS,
BANKL LIKE LFBK-BANKL,
BANKN LIKE LFBK-BANKN,
koinh like lfbk-koinh,
END OF IT_BANK.
data: it_bdcdata like bdcdata occurs 0 with header line.
data: it_messages like bdcmsgcoll occurs 0 with header line.
*selection screen.
selection-screen: begin of block b1 with frame.
parameters: p_file like rlgrap-filename default 'c:/vendor.txt'
obligatory.
parameters: p_file1 like rlgrap-filename default 'c:/xyz.txt'
obligatory.
selection-screen: end of block b1.
*at selection screen.
at selection-screen on value-request for p_file.
perform f4_help using p_file.
at selection-screen on value-request for p_file1.
perform f4_help1 using p_file1.
*start of selection
start-of-selection.
*******uploading file
perform upload_file using p_file P_FILE1.
******open session.
perform populate_data.
*& Form f4_help
form f4_help using p_p_file.
data: l_file type ibipparms-path.
call function 'F4_FILENAME'
importing
file_name = l_file.
p_file = l_file.
endform. " f4_help
*& Form POPULATE_DATA
form populate_data .
DATA: L_STRING TYPE STRing.
DATA: L_COUNTER(2) TYPE n.
loop at it_vendor.
perform bdc_dynpro using 'SAPMF02K' '0106'.
perform bdc_field using 'BDC_CURSOR'
'RF02K-D0130'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'RF02K-LIFNR'
it_vendor-lifnr.
perform bdc_field using 'RF02K-BUKRS'
it_vendor-bukrs.
perform bdc_field using 'RF02K-D0130'
'X'.
perform bdc_dynpro using 'SAPMF02K' '0130'.
perform bdc_field using 'BDC_CURSOR'
'LFBK-bankn(03)'.
perform bdc_field using 'BDC_OKCODE'
'=UPDA'.
*********bank details
CLEAR l_COUNTER.
LOOP AT IT_BANK WHERE LIFNR = IT_VENDOR-LIFNR.
l_COUNTER = l_COUNTER + 1.
clear l_string.
CONCATENATE 'lfbk-banks(' l_counter ')' into l_string.
perform bdc_field using l_string
it_bank-banks.
clear l_string.
CONCATENATE 'lfbk-bankl(' l_counter ')' into l_string.
perform bdc_field using l_string
it_bank-bankl.
clear l_string.
CONCATENATE 'lfbk-bankn(' l_counter ')' into l_string.
perform bdc_field using l_string
it_bank-bankn.
endloop.
******CALL TRANSACTION.
call transaction 'FK02' using it_bdcdata mode 'A'
messages into it_messages.
write:/ sy-subrc.
perform format_messages.
clear it_bdcdata.
refresh it_bdcdata.
endloop.
endform. " POPULATE_DATA
*& Form FORMAT_MESSAGES
form format_messages .
data: l_msg(100).
loop at it_messages.
call function 'FORMAT_MESSAGE'
exporting
id = it_messages-msgid
lang = sy-langu
no = it_messages-msgnr
v1 = it_messages-msgv1
v2 = it_messages-msgv2
v3 = it_messages-msgv3
v4 = it_messages-msgv4
importing
msg = l_msg
exceptions
not_found = 1
others = 2
write:/ l_msg.
endloop.
endform. " FORMAT_MESSAGES
*& Form bdc_dynpro
form bdc_dynpro using value(p_program)
value(p_screen).
it_bdcdata-program = p_program.
it_bdcdata-dynpro = p_screen.
it_bdcdata-dynbegin = 'X'.
append it_bdcdata.
clear it_bdcdata.
endform. " bdc_dynpro
*& Form bdc_field
form bdc_field using value(p_fnam)
value(p_fval).
it_bdcdata-fnam = p_fnam.
it_bdcdata-fval = p_fval.
append it_bdcdata.
clear it_bdcdata.
endform. " bdc_field
*& Form upload_file
form upload_file using p_p_file
p_p_file1.
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
CODEPAGE = ' '
FILENAME = P_P_FILE
FILETYPE = 'DAT'
HEADLEN = ' '
LINE_EXIT = ' '
TRUNCLEN = ' '
USER_FORM = ' '
USER_PROG = ' '
DAT_D_FORMAT = ' '
IMPORTING
FILELENGTH =
TABLES
data_tab = IT_VENDOR
EXCEPTIONS
CONVERSION_ERROR = 1
FILE_OPEN_ERROR = 2
FILE_READ_ERROR = 3
INVALID_TYPE = 4
NO_BATCH = 5
UNKNOWN_ERROR = 6
INVALID_TABLE_WIDTH = 7
GUI_REFUSE_FILETRANSFER = 8
CUSTOMER_ERROR = 9
NO_AUTHORITY = 10
OTHERS = 11
IF sy-subrc <> 0.
MESSAGE I000(ZZ) WITH 'UNABLE TO UPLOAD'.
STOP.
ENDIF.
*******UPLOADING BANK DETAILS
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
CODEPAGE = ' '
FILENAME = P_P_FILE1
FILETYPE = 'DAT'
HEADLEN = ' '
LINE_EXIT = ' '
TRUNCLEN = ' '
USER_FORM = ' '
USER_PROG = ' '
DAT_D_FORMAT = ' '
IMPORTING
FILELENGTH =
TABLES
data_tab = IT_BANK
EXCEPTIONS
CONVERSION_ERROR = 1
FILE_OPEN_ERROR = 2
FILE_READ_ERROR = 3
INVALID_TYPE = 4
NO_BATCH = 5
UNKNOWN_ERROR = 6
INVALID_TABLE_WIDTH = 7
GUI_REFUSE_FILETRANSFER = 8
CUSTOMER_ERROR = 9
NO_AUTHORITY = 10
OTHERS = 11
IF sy-subrc <> 0.
MESSAGE I000(ZZ) WITH 'UNABLE TO UPLOAD'.
STOP.
ENDIF.
endform. " upload_file
*& Form f4_help1
-->P_P_FILE1 text
form f4_help1 using p_p_file1.
data:l_file1 type ibipparms-path.
CALL FUNCTION 'F4_FILENAME'
IMPORTING
FILE_NAME = l_file1.
p_file1 = l_file1.
endform. " f4_help1
http://sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
Regards,
Sankar -
HTTP Synchronous Scenario. Pls advice urgent
Hi All,
My scenario
System A -- XI --- System B
This is Synchronous HTTP scenario.
I tested in XI RWB.
a. I took Message Mapping Source xml structure and sent from RWB it worked fine.
b. I took xsd of Request Data Type and sent from RWB it shows error
"MAPPING">EXCEPTION_DURING_EXECUTE"
Now In real scenario System A will send data to XI.
So does it mean that I need to send Message Mapping Source xml structure to System A and not xsd of Request Data Type
Pls advice
RegardsHi,
Check the message status in SXMB_MONI and let me know the trace and error message.
the below message shows that there is some problem in mapping, u have not done the correct mapping between source and target.
EXCEPTION_DURING_EXECUTE"
test the message in message mapping using test tab and let me know the result.
chirag
Maybe you are looking for
-
I have always used the same 3 passwords for everything. 3 are too many for me. I forget them and need to reset. Now, I can no longer use passwords I know and can remember. The new requirements for length, types of characters and stuff is really hard.
-
Asset value for Calculation of Tax Depreciation
We have been told that many of the assets created as of 1/1/2008 have a different (lower) tax value than their beginning book value. Book value is correct for standard book depreciation. Is there a process to update the tax value of assets creat
-
[iphone] how to do a fade out/in transition on switch to landscape
In my app when I switch from portrait to landscape I completely change the view. Right now it does the normal animated transition from portrait to landscape and then paints in my new view. This looks kind of stupid.... so what I want is when I switch
-
How to set a checkbox in a datagrid's itemrenderer
Hello. I've a spark datagrid. In a column there is a checkbox. In another column (I need to add it dynamically with actionscript) I've another checkbox (inside an itemrenderer). Cliccking on the first checkbox, I need to enable/disable the second che
-
Can't grant permissions to protection domains
Hi, I'm trying to grant some permissions to a couple of protection domains using Visual Administrator (Security Provider item). I follow these steps: 1) I select protection domain, for instance, a jar file 2) I select the permission I want to grant 3