Call standard SAP transaction in BSP
Hi guys,
I am working in WAS 6.20.
We have separate server for WAS and records fetched from R/3 server.
Now the requirement is i have to call a standard SAP transaction and the output of the standard transaction should be displayed in the BSP output.
Is it possible to call a SAP standard transaction in WAS 6.20.
Is it possible to display the same output in the BSP screen.
Above to all, displayed output should be refreshed automatically for every 20 minutes.
I come with lot of doubts, expecting your reply.
Hopefully waiting for yours reply.
Saravanan. V
Hi,
Pls check threads like
calling STD SAP transaction in BSP
Calling R/3 Transaction from BSP
Calling standard R/3 transaction from BSP
Calling an SAP transaction from a BSP page
Calling ITS transaction from BSP
Can we call standard transaction from bsp
Eddy
Pimp up the S(D)N site and earn points. Check this <a href="/people/eddy.declercq/blog/2007/02/01/pimp-up-the-jam log</a> for details
Similar Messages
-
Calling STD SAP transaction in BSP
Hi All,
I am new to BSP.
Is it possible to call SAP standard transaction in the BSP page, browser should be Internet Explorer.
I have tried for mm03 but when I use call transactio it opens STD SAP Session with given paramerers (material number).
And the problem is that . I want to call it in Internet
Explorer
if yes.
Can anyone tell me tell me how it is possible.
Thanks in Advance,
DhananjayThanks Raja,
I am in 4.7 E
This is my code for VF03 ,
this is layout code of page
<%@page language="abap"%>
<<html>
<body bgcolor = "silver">
<form>
<input style="Z-INDEX: BACKGROUND-COLOR: #FFFFFF;
BORDER-BOTTOM: black 1px groove; BORDER-LEFT: black 1px groove;
BORDER-RIGHT: black 1px groove; BORDER-TOP: black 1px groove;
FONT-FAMILY: Verdana, arial; FONT-SIZE: 8pt; TEXT-DECORATION: none"
type="text" name="number" value = "" maxlength = 10>
<INPUT style="Z-INDEX: 103; BACKGROUND-COLOR: whitesmoke" type="submit"
name="onInputProcessing(select)" value="Display" action = "tcode.htm">
</form>
</body>
</html>
This is its event handler(OnInputProcessing)
event handler for checking and processing user input and
for defining navigation
case event_id.
when 'select'.
navigation->set_parameter( 'number' ).
navigation->next_page( 'tcode' ).
set parameter id 'VF' field number.
endcase.
*****This is code for next page
Layout
<%@page language="abap"%>
<html>
<body BGCOLOR="#f5f5f5">
<h2> Your Customer search </h2>
<%
if number is initial.
%>
<h3> Sorry, we found no matches for <%= number %>. </h3>
<%
else.
%>
<%
endif.
%>
Event Handler(OnInitialization)
if number is not initial.
SET PARAMETER ID 'VF' FIELD number.
call transaction 'VF03'.
else.
number = '%'.
endif.
Plesae check it, I am waiting Or Give me sample code for any TCODE.
Thanks,
Dhananjay -
Calling a Standard SAP transaction VA03 from another web dynpro application
Hi All,
I have a requirement wherein I need to call the standard SAP transaction VA03 whenever a sales order is selected in some other we dynpro application so that the sales order gets displayed.
No regarding usage of OBN for the above functionality I have certain queries:
1. In order to call VA03 do I need to create a transactional iview for it or is there any direct method.Also how to pass this sales order number as parameter to the T.Code.
2. Can we use standard business object BUS2032 for OBN or a new Business object is created.What exactly is the purpose of these standard business objects in portal and when should they be used.
Thanks in advance
Aman GuptaHi Aman - Do you have a portal team in your project or you have to create the IVIEWS yourself?
I do have a portal team and I dont know how they create the IVIEWs but for example, I will go to my portal team and I will ask them to create an IVIEW for TCODE VA03, they will created and they will tell me the input parameters they entered for the IVIEW so I can call OBN and display in webdynpro.
SAP in SRM has webdynpro e.g. for BUS2121 and they have an IVIEW already implemented in the portal context pointing to the webdynpro of BUS2121 so we can used the IVIEW by calling OBN and passing the parameters; in my case the object_type will be 'shc' and the operation will be 'display' and the paremeters itab will be the GUID of my shopping cart, that way the OBN can understand which Shopping cart open and in which operation mode.
I also did something like your requirement, I need it to display a specific case in Records Management but SAP has a standard IVIEW for records management 'RMREGEDIT' that didn't work for my requirement so I went to SE38 created a program that displayed the case based on GUID and I created a TCODE of my custom program. Portal team created a custom IVIEW of my custom TCODE and they told me the input parameters to call the TCODE in OBN and I pass in the itab parameter the GUID of the case using the FM that I post before.
The action to call the OBN is in the event handler ON_CLICK of my ALV and the action is getting trigger when the user actually clicks a HYPERLINK in the ALV.
Hope this helps you!
Please feel free to ask me more details if you need.
Jason PV -
Calling SAP Transaction from BSP
I wonder whether it is possible to call SAP transaction from BSP application and pass to it some data; e.g., PO# when calling VA02?
The called transaction could appear in a separate MS IE Window (like in some Portal applications) or in SAP GUI.
Any help will be appreciated.
Thank you in advanceI have launched the Java SAPGui from BSP pages before. I used SNC so that the users were logged on via Single Sign On. I store the Java Gui in the Mime directory. You can force the startup transaction. Theorectically you could also Gui Scripting to try and control the Gui and force in the default value for your PO field. I have not tried that however. You will probably want to check the Service Marketplace for documents on the Gui Scripting. The following is the code from my BSP page to launch the Java Gui in the Browser as an applet:
<%@page language="abap"%>
<%@extension name="htmlb" prefix="htmlb"%>
<HTML>
<HEAD>
<TITLE>SAPGUI for the Java Environment</TITLE>
<STYLE type="text/css">
body { margin-left:0px; margin-right:0px; margin-top:0px; margin-bottom:0px; }
</STYLE>
</HEAD>
<BODY scroll="no">
<SCRIPT language="JavaScript">
// user configurable part starts here
var pluginurl = '';
var scriptable = 'true';
var codebase = '.';
var jnlp = 'platin.jnlp';
var keepalive = 'true';
var frog = 'true';
var trace = '';
var tracefile = '';
var connectionData = 'conn=/M/nts163/S/3620/G/SPACE/&tran=SE80&clnt=088&fast=true&sncon=true&sncname=p:[email protected]&sncqop=9';
// user configurable part ends here
// verify if Java Plugin as control in Internet Explorer or Java Plugin for Netscape or native JRE of browser must be used
var jre = 'control';
if(navigator.platform.indexOf("Mac") > -1)
jre = 'native';
else if (navigator.appName.indexOf("Netscape") != -1)
jre = 'plugin';
document.open();
switch (jre)
case 'control':
document.writeln('<OBJECT CLASSID = "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" ');
document.writeln(' ID = "PlatinGUI" ');
document.writeln(' CODEBASE = "j2re-1_3_1_02-win-i.exe#Version=1,3,1,0" ');
document.writeln(' WIDTH = "100%" ');
document.writeln(' HEIGHT = "100%" ');
document.writeln(' BORDER = 0> ');
document.writeln('<PARAM NAME = "TYPE" VALUE = "application/x-java-applet;jpi-version=1.3.1"> ');
document.writeln('<PARAM NAME = "SCRIPTABLE" VALUE = "', scriptable,'"> ');
document.writeln('<PARAM NAME = "code" VALUE = "com.sap.platin.GuiApplet2"> ');
document.writeln('<PARAM NAME = "codebase" VALUE = "', codebase,'"> ');
document.writeln('<PARAM NAME = "jnlp" VALUE = "', jnlp,'"> ');
document.writeln('<PARAM NAME = "archive" VALUE = "GuiStartS.jar"> ');
document.writeln('<PARAM NAME = "keepalive" VALUE = "', keepalive,'"> ');
document.writeln('<PARAM NAME = "frog" VALUE = "', frog,'"> ');
document.writeln('<PARAM NAME = "trace" VALUE = "', trace,'"> ');
document.writeln('<PARAM NAME = "tracefile" VALUE = "', tracefile,'"> ');
document.writeln('<PARAM NAME = "connectionData" VALUE = "', connectionData,'"> ');
document.writeln(' ');
document.writeln('This page requires a Sun Java Plugin 1.3 and a SAPGUI for Java to view. ');
document.writeln(' ');
document.writeln('</OBJECT> ');
break;
case 'plugin':
document.writeln('<EMBED TYPE = "application/x-java-applet;version=1.3" ');
document.writeln(' PLUGINURL = "', pluginurl,'" ');
document.writeln(' WIDTH = "100%" ');
document.writeln(' HEIGHT = "100%" ');
document.writeln(' ALIGN = "BASELINE" ');
document.writeln(' code = "com.sap.platin.GuiApplet2" ');
document.writeln(' codebase = "', codebase,'" ');
document.writeln(' jnlp = "', jnlp,'" ');
document.writeln(' archive = "GuiStartS.jar" ');
document.writeln(' keepalive = "', keepalive,'" ');
document.writeln(' frog = "', frog,'" ');
document.writeln(' trace = "', trace,'" ');
document.writeln(' tracefile = "', tracefile,'" ');
document.writeln(' connectionData = "', connectionData,'" ');
document.writeln(' <NOEMBED> ');
document.writeln(' </NOEMBED> ');
document.writeln(' </EMBED> ');
break;
case 'native':
document.writeln('<APPLET CODEBASE = "', codebase,'" ');
document.writeln(' ARCHIVE = "GuiStartS.jar" ');
document.writeln(' CODE = "com.sap.platin.GuiApplet2" ');
document.writeln(' WIDTH = "100%" ');
document.writeln(' HEIGHT = "100%"> ');
document.writeln('<PARAM NAME = "SCRIPTABLE" VALUE = "', scriptable, '"> ');
document.writeln('<PARAM NAME = "jnlp" VALUE = "', jnlp, '"> ');
document.writeln('<PARAM NAME = "keepalive" VALUE = "', keepalive, '"> ');
document.writeln('<PARAM NAME = "frog" VALUE = "', frog, '"> ');
document.writeln('<PARAM NAME = "trace" VALUE = "', trace, '"> ');
document.writeln('<PARAM NAME = "tracefile" VALUE = "', tracefile, '"> ');
document.writeln('<PARAM NAME = "connectionData" VALUE = "', connectionData, '"> ');
document.writeln('</APPLET> ');
break;
document.close();
</SCRIPT>
</BODY>
</HTML> -
How to call a standard sap transaction in workflow
Dear All,
I want to know how to call a standard sap transaction inside my workflow , please tell me how to get this done .
Kind Regards,
Anshu KumarHi,
You can use the FM - ABAP4_CALL_TRANSACTION u2013 Initiates a transaction in a separate window
inside the method in the BO.
Implement that BO and the method in the Activity of the WF..!!
Use the FM like this:-
CALL FUNCTION 'ABAP4_CALL_TRANSACTION'
EXPORTING
tcode = 'ZSCREEN_884' - T-Code
SKIP_SCREEN = ' '
MODE_VAL = 'A'
UPDATE_VAL = 'A'
EXCEPTIONS
CALL_TRANSACTION_DENIED = 1
TCODE_INVALID = 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.
If you do not want to use the FM u can use this Statement:-
call transaction 'ZSCREEN_884'. - T_CODE
Check the following links:-
https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/delegationandRedefiningmethodsofbusinessobject+BUS1001
https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/workflow%252bscenario
Let me know if you still face any issues..!!
Regards,
Kanika -
How to add button in standard SAP transaction
Hi All,
I would like to know how to add a button in the application toolbar of the standard SAP transaction CO01/CO02. Is there a screen exit for this?
Hope you can help. Thanks
Regards,
AprilCheck Enhancment CCOWB001. If not then u can search the below list, all of which are called from the T-code.
CCOWB001 Customer exit for modifying menu entries
COIB0001 Customer Exit for As-Built Assignment Tool
COZF0001 Change purchase req. for externally processed operation
COZF0002 Change purchase req. for externally procured component
PPCO0001 Application development: PP orders
PPCO0002 Check exit for setting delete mark / deletion indicator
PPCO0003 Check exit for order changes from sales order
PPCO0004 Sort and processing exit: Mass processing orders
PPCO0005 Storage location/backflushing when order is created
PPCO0006 Enhancement to specify defaults for fields in order header
PPCO0007 Exit when saving production order
PPCO0008 Enhancement in the adding and changing of components
PPCO0009 Enhancement in goods movements for prod. process order
PPCO0010 Enhancement in make-to-order production - Unit of measure
PPCO0012 Production Order: Display/Change Order Header Data
PPCO0013 Change priorities of selection crit. for batch determination
PPCO0015 Additional check for document links from BOMs
PPCO0016 Additional check for document links from master data
PPCO0017 Additional check for online processing of document links
PPCO0018 Check for changes to production order header
PPCO0019 Checks for changes to order operations
PPCO0021 Release Control for Automatic Batch Determination
PPCO0022 Determination of Production Memo
PPCO0023 Checks Changes to Order Components
STATTEXT Modification exit for formatting status text lines -
Adding field in standard SAP transaction output results.
Hi,
I have to add a new field in standard SAP transaction output results.
Can any one tell me what are the ways (brief explanation) that I can do this?
If using exists - then what kind of exists I have to use? And how to find out the possibility with user exists?
Thanks for your time.
Thanks.
Chris.Hi,
There are so many ways to find out the user exits.
Hi,
To see SAP Exits -> Use Tcode SMOD
To See create a project for Customer Exits -> Use Tcode CMOD
There are projects to which Exits are assigned. Selects the relevant projects.
What is User Exit:
http://www.sap-img.com/abap/what-is-user-exits.htm
How to find then:
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
All Exits List:
http://www.easymarketplace.de/userexit.php
Do a search on SAP Exits, Customer Exits, enhancements, etc
Step 1 :- Execute transaction
step 2 :- Click on Status Menu
step 3 :- Double click on the program (screen) __?????___
Step 4 :- Search source code for the 'Customer-Function' string using the find button. Remember to select 'In main program'.
Step 5 :- A list of search results should be displayed indicating where all function exits can be found.
You can now double click on each of them to go to its position in the source code. This also
allows for the insertion of breakpoints so that you can test if the exits are called in the
appropriate place.
Step 6 :-Once you have found the Function Exit within the source code (Find Function Exit) you need to
access the actual function module it executes. This is done using the following steps:
Step 6.1 :-
Step 1
Locate desired 'Call Customer-function' statement within source code.
Step 2
If code is not within main program (module pool) e.g. SAP* then you will need to find this
out by selecting 'Main Program' from the 'GOTO' menu. The Main program for transaction
Step 3
The actual function module name can now be calculated based on the information retrieved,
it is defined by the following format:
EXIT_<Program name>_<Exit number>
eg :- 'EXIT_SAPLMR1M_004'.
Step 7.1:-
Once you have found the Exit function module
Step 1
Execute transaction CMOD
Step 2
Select 'SAP Enhancements' from the 'Utilities' menu.
Step 3
Select 'All selections' from the 'Edit' menu.
Step 4
Now populate the Component name field with the exit function module and press
the execute button.
Step 5
A list of all Exits(Enhancements) containing that function module should now be displayed.
Step 5
You can now double click on the desired exit to display a detailed description of its uses and a list of all
components contained in it.
Implementing Function Exit
This is required in-order to activate Function exit:
Step 1
The first step is to enter source code into function module in the usual way i.e. via SE37.
There will already be an include declaration within the code with the following
format: Include zx*.
Double click on this to create it, source code can then be entered within here.
Although it is good practice to create another include with this to store your
code, this allows separation of difference enhancements allowing them to be easlity
removed without de-activating the enhancement.
Step 2
Execute transaction CMOD and create new Enhancement. Enter name and press the create
Button.
Step 3
The following screen should be displayed, enter short text then click on the 'Enhancement
Step 4
Now enter the Exit name (enhancement) which contains the desired Function Exit.
Step 5
Return to initial screen of CMOD and press the activate icon. The exit is now ready for use.
Please Mark The Helfull Answers & close the thread.
regards
dj
reward for all useful answers. -
How to pass variable value to field of standard sap transaction.
Hi Experts,
i want to pass the value of variable to field of standard sap transaction. but that field is not having the parameter ID. so please tell me how i pass the value to field.
thanks in advance.You might like to provide a few more details of which field and transaction you are trying to interact with... typical solutions involve user exits / BAdIs / Enhancements, or transaction variants, or building a BDC to part fill the screens of the Tcode you are calling.
Jonathan -
Calling a R3 transaction in BSP
Hi,
I want to call an R3 Transaction and pass the screen parameter inside an BSP Page and i am working in WAS620. Is this possible?
If yes, How the CALL TRANSACTION command i handled in BSP?
Is there any other way to call an SAP transaction like VA02 etc?
Thanks in advance
arunAlthough I'm not sure you can get the same level of parameter passing as with the regular SAPGui shortcut files, you might also want to have a look a the Java SAPGui. It can be opened as an applet in a web browser. The following is some sample code from a BSP. I even store the installation in the Mime repository. This example uses SNC for Single Sign On and takes you directly to SE80.
<%@page language="abap"%>
<%@extension name="htmlb" prefix="htmlb"%>
<HTML>
<HEAD>
<TITLE>SAPGUI for the Java Environment</TITLE>
<STYLE type="text/css">
body { margin-left:0px; margin-right:0px; margin-top:0px; margin-bottom:0px; }
</STYLE>
</HEAD>
<BODY scroll="no">
<SCRIPT language="JavaScript">
// user configurable part starts here
var pluginurl = '';
var scriptable = 'true';
var codebase = '.';
var jnlp = 'platin.jnlp';
var keepalive = 'true';
var frog = 'true';
var trace = '';
var tracefile = '';
var connectionData = 'conn=/M/nts163/S/3620/G/SPACE/&tran=SE80&clnt=088&fast=true&sncon=true&sncname=p:[email protected]&sncqop=9';
// user configurable part ends here
// verify if Java Plugin as control in Internet Explorer or Java Plugin for Netscape or native JRE of browser must be used
var jre = 'control';
if(navigator.platform.indexOf("Mac") > -1)
jre = 'native';
else if (navigator.appName.indexOf("Netscape") != -1)
jre = 'plugin';
document.open();
switch (jre)
case 'control':
document.writeln('<OBJECT CLASSID = "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" ');
document.writeln(' ID = "PlatinGUI" ');
document.writeln(' CODEBASE = "j2re-1_3_1_02-win-i.exe#Version=1,3,1,0" ');
document.writeln(' WIDTH = "100%" ');
document.writeln(' HEIGHT = "100%" ');
document.writeln(' BORDER = 0> ');
document.writeln('<PARAM NAME = "TYPE" VALUE = "application/x-java-applet;jpi-version=1.3.1"> ');
document.writeln('<PARAM NAME = "SCRIPTABLE" VALUE = "', scriptable,'"> ');
document.writeln('<PARAM NAME = "code" VALUE = "com.sap.platin.GuiApplet2"> ');
document.writeln('<PARAM NAME = "codebase" VALUE = "', codebase,'"> ');
document.writeln('<PARAM NAME = "jnlp" VALUE = "', jnlp,'"> ');
document.writeln('<PARAM NAME = "archive" VALUE = "GuiStartS.jar"> ');
document.writeln('<PARAM NAME = "keepalive" VALUE = "', keepalive,'"> ');
document.writeln('<PARAM NAME = "frog" VALUE = "', frog,'"> ');
document.writeln('<PARAM NAME = "trace" VALUE = "', trace,'"> ');
document.writeln('<PARAM NAME = "tracefile" VALUE = "', tracefile,'"> ');
document.writeln('<PARAM NAME = "connectionData" VALUE = "', connectionData,'"> ');
document.writeln(' ');
document.writeln('This page requires a Sun Java Plugin 1.3 and a SAPGUI for Java to view. ');
document.writeln(' ');
document.writeln('</OBJECT> ');
break;
case 'plugin':
document.writeln('<EMBED TYPE = "application/x-java-applet;version=1.3" ');
document.writeln(' PLUGINURL = "', pluginurl,'" ');
document.writeln(' WIDTH = "100%" ');
document.writeln(' HEIGHT = "100%" ');
document.writeln(' ALIGN = "BASELINE" ');
document.writeln(' code = "com.sap.platin.GuiApplet2" ');
document.writeln(' codebase = "', codebase,'" ');
document.writeln(' jnlp = "', jnlp,'" ');
document.writeln(' archive = "GuiStartS.jar" ');
document.writeln(' keepalive = "', keepalive,'" ');
document.writeln(' frog = "', frog,'" ');
document.writeln(' trace = "', trace,'" ');
document.writeln(' tracefile = "', tracefile,'" ');
document.writeln(' connectionData = "', connectionData,'" ');
document.writeln(' <NOEMBED> ');
document.writeln(' </NOEMBED> ');
document.writeln(' </EMBED> ');
break;
case 'native':
document.writeln('<APPLET CODEBASE = "', codebase,'" ');
document.writeln(' ARCHIVE = "GuiStartS.jar" ');
document.writeln(' CODE = "com.sap.platin.GuiApplet2" ');
document.writeln(' WIDTH = "100%" ');
document.writeln(' HEIGHT = "100%"> ');
document.writeln('<PARAM NAME = "SCRIPTABLE" VALUE = "', scriptable, '"> ');
document.writeln('<PARAM NAME = "jnlp" VALUE = "', jnlp, '"> ');
document.writeln('<PARAM NAME = "keepalive" VALUE = "', keepalive, '"> ');
document.writeln('<PARAM NAME = "frog" VALUE = "', frog, '"> ');
document.writeln('<PARAM NAME = "trace" VALUE = "', trace, '"> ');
document.writeln('<PARAM NAME = "tracefile" VALUE = "', tracefile, '"> ');
document.writeln('<PARAM NAME = "connectionData" VALUE = "', connectionData, '"> ');
document.writeln('</APPLET> ');
break;
document.close();
</SCRIPT>
</BODY>
</HTML> -
Calling Standaard SAP transaction in a split screen
Hello,
Can someone please help me with following problem?
I want to create a screen like in program DEMO_ABAP_OBJECTS_SPLIT_SCREEN but instead of an ALV when selecting a flight I want to call a standard SAP transaction like VA01 ... etc. ( The same as SE80 but with SAP transactions )
I want to see the SAP transaction where you can see the alv in the demo program.
Thank you very much for your help.Hi,
look report DD_ADD_FORM_INPUT
and this german link:
http://www.apentia-forum.de/viewtopic.php?t=3741&highlight=se80+dynpro
pls reward useful answers
A. -
What method, BAPI, etc. is used to launch a standard SAP transaction?
Hello friends,
Is there a simple way of finding out what method, BAPI, FM, etc. is used to launch a standard SAP transaction?
I was told that instead of CALL TRANSACTION using BDCDATA stuff, I can use the method or BAPI or FM, or whatever to get the same results. The problem is I don't know how to find out this information.
Apparently using BDCDATA for a CALL TRANSACTION form within an ABAP program can be hazardous because of SAP's upgrades, new releases etc... If one of the screens is modified during the next release, then the BDCDATA will no longer work. So I need to launch a transaction from within my ABAP without having to worry about future changes implemented by SAP.
Any ideas?
Your help is greatly appreciated,Hi,
It depends on which transaction you are looking for. Usually it comes by experience. You can search in SE37 or transaction BAPI to find out relevant BAPI suitable for you. All BAPI FMs starts with name BAPI.
eg: If you want to findout the BAPI for VA01 transaction, try like this.
SE37=> enter BAPIsalescreate* and click F4.
You can see below list of FMs.
BAPI_SALESDOCU_CREATEFROMDATA
BAPI_SALESORDER_CREATEFROMDAT1
BAPI_SALESORDER_CREATEFROMDAT2
BAPI_SALESORDER_CREATEFROMDATA
BAPI_SALES_DEL_SCHEDULE_CREATE
BAPI_SALESORDER_PROXY_CREATE
BAPI_SALESDOCU_CREATEFROMDATA1
BAPI_SALESDOCU_CREATEWITHDIA
By looking at the name we can identify upto 60%. Just go through the FM documentation and see if it works for u and how to use it.
SCN is always there to help us out. But before posting to ask for a BAPI, please search and give a try to findout:)
Thanks,
Vinod. -
Uploading File into SAP Transaction using BSP
Hi Everybody,
I would like to know how to save the file into SAP Transaction thro BSP. I have one requirement,For example,the captured file from the web should be attached into the Equipment master (Transaction Code IE02).Its possible via SAP GUI.But i would like to know how it can be done from BSP.The same example applicable to sales order also..
Also i wondering where these files get stored.
Anybody could help me out of this issue please?...
Naga BokkisamYou can do that using BDS..But you need to find the Business object to store it under Equipment Master or Sales order.
Here is the example where i stored the document under Warranty process, ie sub set of Equipment master:
Here BUS2222 is business object for Warranty Process:
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
BUFFER = STR_FILE_CONTENT
TABLES
BINARY_TAB = I_FILE_CONTENT.
CALL FUNCTION 'BDS_BUSINESSDOCUMENT_CREA_TAB'
EXPORTING
CLASSNAME = 'BUS2222' "classname_select
CLASSTYPE = 'BO'" classtype_select
CLIENT = SY-MANDT
OBJECT_KEY = OBJECT_KEY
BINARY_FLAG = 'X'
TABLES
SIGNATURE = I_SIGNATURE
COMPONENTS = I_COMPONENTS
CONTENT = I_FILE_CONTENT
EXCEPTIONS
NOTHING_FOUND = 1
PARAMETER_ERROR = 2
NOT_ALLOWED = 3
ERROR_KPRO = 4
INTERNAL_ERROR = 5
NOT_AUTHORIZED = 6
OTHERS = 7 .
Let me know if you need any detail..
<i>*Reward each useful answer</i>
Raja T -
How to call a sap transaction in Internet Service
Hi,
I have a requirement to call a sap transaction code in the Internet Service. By donig this, the SAP transaction will be called in the web browser via ITS.
Internet Service has HTML Templates - inside html templates I want to call the sap transaction based on a button event.
Below is the transaction code. When I enter below link in the browser then it works fine. The same I need to call progrmatically in html template on some event.
http://xxxxxxxxxxx/sap/bc/gui/sap/its/webgui?~transaction=me23n
Thanks,Hello Sal.
This does not look like an ABAP issue, but rather JavaScript, JQuery or whatever you are using to handle the button-click-event in your "Internet Service" web application.
You might try window.open("http://xxx...me23n","_self").
Best regards,
Frank. -
Adding fields/text on standard SAP transaction screens
Hi,
How do we add the fields on standard SAP transaction screens?
For example, if I have to add field on transaction FB01 screen or change text of existing fields, how does it works?
Please let me know.
Thanks ,
Yogitahi
every standard sap transaction have enhancement options you can add fields there
try this program to find the field-exits of the standard transaction.
[https://wiki.sdn.sap.com/wiki/display/Snippets/howtogettheuser-exitsofa+transaction]
regards
sarves -
Changing the text of Text field in standard SAP transaction.
Hi expert,
I have a requirement in which i have to change the text of Text field in standard SAP transaction.
Is it possible? If so, how?
Any pointers will be highly appreciated.Hi,
I think you want to change the field label of the text field.
For ex in tcode MM01, you can change the field label of Material text field.
The description of the field label comes from the data element it is associated with. To change the text of the field label, you have to change the field label of the data element.
But it will effect all the fields associated with this data element.
To change the field label of the data element go to tcode CMOD. Then click on GOTO->TEXT ELEMENTS->KEYWORDS->CHANGE.
Then enter the data element which is to be changed. In the next screen, change the field label and save it.
Regards,
Vinod
Maybe you are looking for
-
Could I pre-order an iPhone 5 in my local apple store and I have it mailed to my house?
Is it possible for me to go to my local apple store and pre order an iphone 5 and have it mailed to my home address? If I was to pre order it at the apple store would I have to go through AT&T to buy the phone or could I just buy the phone? Would tha
-
Iphone 4s error when syncing with iPhoto on Macbook Pro
Hello everyone, The screen on my wife's iPhone 4s went out so I am trying to sync the pictures to iPhoto on our Macbook Pro. She has 6,000+ pictures on the iPhone but when syncing to the computer iPhoto is able to read them all. The problem is that
-
How to maually import add-ons?
Im trying to manually import some add-ons into firefox: i have an off-line computer i use for development, i cant add any add-ons from the firfox site to this computer as it is off-line, so i use FEBE environment back up to export the add-ons from th
-
Need help in the below command excution
Hi Champs, Can any one help with the below command, It is not working. Get-CsUser | Where-Object {$_.dialplan -eq "USDAL"} | Grant-CsLocationPolicy -PolicyName "Dallas Location Policy" Regards Vijendhar
-
I'm getting an error when using insertxml and my xml document has dates in it. I have set the procedure "setDateFormat" to the appropriate date mask. I have tried many different date formats and the only way I can get it to work is when there are no