Can i call Standard Subscreen into my custom transactioscreen or Subscreen?
Hi,
Please let me know, is it possible toi call Standard Subscreen into my custom transaction screen or Subscreen?
if you have a code ,help me please.
Thanks & regards
Vishnuvardhan
Hi Vishnuvardhan,
You can call standard subscreen into your custom transaction Subscreen area.
Because when you are calling subscreen you have to mention subscreen number and program name . It may be a standard one or custom one
Regrds,
Raghava Channooru.
Similar Messages
-
Calling standard report to my custom report
Hi ALL,
i need to call a standard report into my custom report
for example :
i am having a report with all PR related data
now i am having nearly 20000 purchase requisitons and there related data .
now i will get all the Source of supply for each PR
using bapi BAPI_SOURCEDETERMINE_GETSOS.
now i am having all the PR's and source of supply
then i need to assign source of supply .
using the standard report RM06BZ00.
then how to call this report and assign source of supply .
Will be there any performance considerations for calling this report in a loop (20000)
and how to catch the result
if source of supply was assigned ok
if not how.
Thanks in advance .
sivaHi Prabhu,
Use the Submit Statement for calling the standard report u can use the options available with the submit statement for passing any parameters ,
for reference u can refer following code....
MOVE: 'S_LIFNR' TO seltab_wa-selname,
'S' TO seltab_wa-kind, " SELECT-OPTION
'I' TO seltab_wa-sign,
'EQ' TO seltab_wa-option,
ct1_key-lifnr TO seltab_wa-low.
APPEND seltab_wa TO seltab.
CLEAR seltab_wa.
MOVE: 'S_DOCNO' TO seltab_wa-selname,
'S' TO seltab_wa-kind, " SELECT-OPTION
'I' TO seltab_wa-sign,
'EQ' TO seltab_wa-option,
ct1_key-docno TO seltab_wa-low.
APPEND seltab_wa TO seltab.
CLEAR seltab_wa.
MOVE: 'S_DOCTYP' TO seltab_wa-selname,
'S' TO seltab_wa-kind, " SELECT-OPTION
'I' TO seltab_wa-sign,
'EQ' TO seltab_wa-option,
ct1_key-doctyp TO seltab_wa-low.
APPEND seltab_wa TO seltab.
CLEAR seltab_wa.
MOVE: 'P_CT1' TO seltab_wa-selname,
'P' TO seltab_wa-kind, " SELECT-OPTION
'I' TO seltab_wa-sign,
'EQ' TO seltab_wa-option,
'X' TO seltab_wa-low.
APPEND seltab_wa TO seltab.
CLEAR seltab_wa.
SUBMIT zexc_ct1_prg
via selection-screen
WITH SELECTION-TABLE seltab. -
Error while calling standard OAF page from custom Oracle Form
Hi,
I am calling standard OAF page from custom oracle form using the following code.
FND_FUNCTION.EXECUTE(FUNCTION_NAME=>'FUN_TRX_ENTRY_OUT_VIEW_BATCH',
OPEN_FLAG =>'Y',
SESSION_FLAG =>'N' ,
OTHER_PARAMS =>'&ViewBatchID = "' || NAME_IN('FUN_AGIS_LINE_D.BATCH_ID') ||
'&CallingFunction = "' || 'MANEXPINQ' ||'"');
But I am getting this error.
oracle.apps.fnd.framework.OAException: This request was not processed as the request URL %2FOA_HTML%2FOA.jsp%3Fpage%3D%2Foracle%2Fapps%2Ffun%2Ftransaction%2Fentry%2Fwebui%2FViewOutBatchPG%26OAPB%3DFUN_PRODUCT_BRAND%26OAHP%3DFUN_SSWA_MENU%26OASF%3DFUN_TRX_ENTRY_OUT_SEARCH%26_ti%3D1217029204%26language_code%3DUS%26%26ViewBatchID%20%3D%20%22203148%26CallingFunction%20%3D%20%22MANEXPINQ%22%26CallFromForm%3D%27Y%27%26oas%3DqZqg3tmdEdUNyw_HtskVow.. contained potentially illegal or un-encoded characters. Please try again by submitting a valid URL or contact your systems administrator for assistance.
Please let me know any thing I missed out here.
Any suggestion will highly appreciated.
Thanks & Regards,
SunitaI am using FND_FUNCTION.EXECUTE to call a OAF page from PLSQL in R12. I am getting following error"Error(9,23): PLS-00302: component 'EXECUTE' must be declared"
-
How to call standard form from your custom forms
Hi,
I submits concurrent program(SRS) from custom form and then i would like to call view requests standard form rather navigating manually?
Please can anyone tell me how to do above?
Thanks
ESLHi Esl ;
Please check [this search|http://forums.oracle.com/forums/search.jspa?forumID=475&threadID=&q=call+standard+form+from+custom+forms&objID=c84&dateRange=all&userID=&numResults=15&rankBy=10001]
Please also check those and see helpful:
Forms Customization
Re: Enable Submit Button at User Level and Disable at Block Level
Forms Personalization Document
Re: Forms Personalization Document
Regard
Helios -
How to call standard ITS service from custom ITS service
Hi,
I have a requierement in ITS where I need to call standard ITS service(CATW) from custom service upon clicking on Accept button. how to achieve this?
Thanks in advance.Hi Sarada Nukala,
You can call the service url from first service button. To get this url, from SICF transaction, test service and a browser is opened.
Hope this helps,
Iván. -
Error while calling standards OAF page from Custom page
Hi,
Using personalization, from a custom page, I am trying to open a standard Iexpense page using the following inthe Destincation URI in messagestyledtext as
OA.jsp?OAFunc=OIEMAINPAGE&startFrom=ActiveSubmitted&ReportHeaderId=380705855&OIERefreshAM=Y
The original page has OA.jsp?OAFunc=OIEMAINPAGE&startFrom=ActiveSubmitted&ReportHeaderId={!ReportHeaderId}&OIERefreshAM=Y in the message styled text
But when click on this from the custom page, the page opens with tabbed regions above and then gives error as below. Please let me know how to resovle this issue.
Profiles 1) FND_VALIDATION_LEVEL and 2) FND_FUNCTION_VALIDATION_LEVEL are already set to None.
Error is:
Page Security cannot be asserted. The page has either expired or has been tampered. Please contact your System Administrator for help.
Thanks,
SrikanthHi,
R u still facing the issue?
If So can you please tell me:
Have u added your called function to the current user? That means by navigating to the responsibility you can access the same page directly, with out doing any transaction? If so then create your custom function with your required URL and attach to a menu ; then check if you are able to view that page from the menu navigation?If these thing is not working then I think you need to create a custom page that will extend the std region , that time hopefully it will work.
Please post your result/thought!!
Regards
Apurba K Saha -
Calling standard reports into zreport
Hello Everybody,
I got a requirement, regarding asset scheduling.
The are many standard ALV reports for aSset scheduling,
Out of which i have to combine two alv output's into one smartform.
Is there any solution for the above, where i can call a standard report in my Z program, with out displaying the data, and getting the data into a internal table.
Regards
SunilHi,
For that first you need to take a zcopy of the both reports and put them together(commenting the ALV part) so that you can pass the required inputs and then collect the internal table so that you can pass it to a smartform.
Regards
Karthik D -
Can we call standard transaction from bsp
Hi,
Can anyone tell me how to call a standard transaction(va01) from bsp.
Points will be awarded,
Ugandhar.Hello,
check out this coding in a new bsp page and give it a try in your system landscape. It creates an sap short cut file with the .sap extension writes dynamically to the server cache and get the url back.
Regards, Bernd
Layout:
<%@page language="abap" %>
<%@extension name="htmlb" prefix="htmlb" %>
<htmlb:content design="design2003" >
<htmlb:page title="Start SAP GUI Transaction via BSP" >
<htmlb:form>
<htmlb:textView text = "Start SAP GUI Transaction via BSP"
design = "header1" />
<htmlb:textView layout = "paragraph"
text = "Fill in fields and press the button to create the link." />
<table width=200>
<tr>
<td>
<htmlb:label for = "client"
text = "Client" />
</td>
<td>
<htmlb:inputField id = "client"
value = "<%= client %>" />
</td>
</tr>
<tr>
<td>
<htmlb:label for = "sysid"
text = "SystemID" />
</td>
<td>
<htmlb:inputField id = "sysid"
value = "<%= sysid %>" />
</td>
</tr>
<tr>
<td>
<htmlb:label for = "userid"
text = "UserID" />
</td>
<td>
<htmlb:inputField id = "userid"
value = "<%= userid %>" />
</td>
</tr>
<tr>
<td>
<htmlb:label for = "transactioncode"
text = "Transaction Code" />
</td>
<td>
<htmlb:inputField id = "transactioncode"
value = "<%= transactioncode %>" />
</td>
</tr>
<tr>
<td colspan="2">
<htmlb:button id = "myButton"
text = "Create Link to start SAP Transaction"
onClick = "create_mime" />
</td>
</tr>
</table>
<%
if display_url is not initial.
%>
<htmlb:textView layout = "paragraph"
text = "Click the link to start SAP GUI Transaction." />
<htmlb:link id = "mylink"
reference = "<%= display_url %>"
text = "Link to Start SAP Transaction" />
<%
endif.
%>
</htmlb:form>
</htmlb:page>
</htmlb:content>
Page Atributes:
file_content TYPE STRING
guid TYPE GUID_32
host TYPE STRING
isolangu TYPE T002-LAISO
page_name TYPE STRING
parameters TYPE TIHTTPNVP
port TYPE STRING
sapworkdir TYPE SDOK_CHTRD
sysid TYPE SYSYSID
transactioncode TYPE TCODE
userid TYPE XUBNAME
OnInputProcessing:
* event handler for checking and processing user input and
* for defining navigation
* event handler for data retrieval
event = cl_htmlb_manager=>get_event( runtime->server->request ).
IF event->name = 'button' AND event->event_type = 'click'.
button_event ?= event.
IF button_event->server_event NE 'create_mime'.
RETURN.
ENDIF.
* get users workdir
CALL FUNCTION 'IW_C_GET_SAPWORKDIR'
IMPORTING
sapworkdir = sapworkdir.
* get iso language
CALL FUNCTION 'LANGUAGE_CODE_SAP_TO_ISO'
EXPORTING
sap_code = sy-langu
IMPORTING
iso_code = isolangu.
CONCATENATE
'[System]'
cl_abap_char_utilities=>cr_lf
'Name='
sysid
cl_abap_char_utilities=>cr_lf
'Description='
cl_abap_char_utilities=>cr_lf
'Client='
client
cl_abap_char_utilities=>cr_lf
'[User]'
cl_abap_char_utilities=>cr_lf
'Name='
userid
cl_abap_char_utilities=>cr_lf
'Language='
isolangu
cl_abap_char_utilities=>cr_lf
'Password='
cl_abap_char_utilities=>cr_lf
'[Function]'
cl_abap_char_utilities=>cr_lf
'Title='
cl_abap_char_utilities=>cr_lf
'Command='
transactioncode
cl_abap_char_utilities=>cr_lf
'[Configuration]'
cl_abap_char_utilities=>cr_lf
'WorkDir='
sapworkdir
cl_abap_char_utilities=>cr_lf
'[Options]'
cl_abap_char_utilities=>cr_lf
'Reuse=1'
INTO file_content.
CREATE OBJECT cached_response TYPE cl_http_response EXPORTING add_c_msg = 1.
cached_response->set_cdata( file_content ).
cached_response->set_header_field( name = if_http_header_fields=>content_type
value = 'application/octet-stream ' ).
cached_response->set_status( code = 200 reason = 'OK' ).
cached_response->server_cache_expire_rel( expires_rel = 180 ).
CALL FUNCTION 'GUID_CREATE'
IMPORTING
ev_guid_32 = guid.
CONCATENATE guid
'.sap'
INTO page_name.
* get server information
CALL METHOD cl_http_ext_webapp=>create_url_for_bsp_application
EXPORTING
bsp_application = runtime->application_url
bsp_start_page = page_name
bsp_start_parameters = parameters
IMPORTING
abs_url = display_url.
cl_http_server=>server_cache_upload( url = display_url
response = cached_response ).
ENDIF. -
How can I call BW Report into SAP R/3
Dear Friends,
Is there any way to call a BW Report in SAP R/3.
The BW Report is Customer Equipment Revenue .
Please Suggest me .
Thanks
Regards,
AshokHi,
Have you seen Raja's weblog series 'execute bw query using abap' ?
/people/durairaj.athavanraja/blog/2005/04/03/execute-bw-query-using-abap-part-i
/people/durairaj.athavanraja/blog/2005/04/03/execute-bw-query-using-abap-part-ii
/people/durairaj.athavanraja/blog/2005/12/05/execute-bw-query-using-abap-part-iii
hope this helps.
Regards,
San!
if helpful, assign points -
How to Call standard iView from WebDynpro custom iView
Hello all Experts
I want to know whether there is any way to call (navigate to) standard iView from my cutom WebDynpro iview or not?
If yes please tell me how to code it.
(Points will be awarded for helpful answers)Hi Vinod,
read this document (from pages 7 ).
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b5380089-0c01-0010-22ae-bd9fa40ddc62">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b5380089-0c01-0010-22ae-bd9fa40ddc62</a>
In addition lok at these links: (Navigation Between Web Dynpro Applications in the Portal)
<a href="http://help.sap.com/saphelp_erp2005/helpdata/en/ae/36d93f130f9115e10000000a155106/frameset.htm">http://help.sap.com/saphelp_erp2005/helpdata/en/ae/36d93f130f9115e10000000a155106/frameset.htm</a>
<a href="http://help.sap.com/saphelp_erp2004/helpdata/en/b5/424f9c88970f48ba918ad68af9a656/frameset.htm">http://help.sap.com/saphelp_erp2004/helpdata/en/b5/424f9c88970f48ba918ad68af9a656/frameset.htm</a>
It may be helpful for you.
Best regards,
Gianluca Barile -
How can I call login.java into mainform.java
how MainForm.java call in Login.java.I think first close login.java & then call MainForm.java.
Login.java
package hajipur.gui;
public class Login extends org.eclipse.swt.widgets.Composite {
private Text text1;
private Text text2;
private Label label2;
static private Button button1;
private Label label4;
private Label label3;
private Button button4;
private Button button3;
private Button button2;
private Label label1;
String user,pass;
int i;
//Register as a resource user - SWTResourceManager will
//handle the obtaining and disposing of resources
SWTResourceManager.registerResourceUser(this);
* Auto-generated main method to display this
* org.eclipse.swt.widgets.Composite inside a new Shell.
public static void main(String[] args) {
showGUI();
* Auto-generated method to display this
* org.eclipse.swt.widgets.Composite inside a new Shell.
public static void showGUI() {
Display display = Display.getDefault();
Shell shell = new Shell(display);
Login inst = new Login(shell, SWT.NULL);
Point size = inst.getSize();
shell.setLayout(new FillLayout());
shell.setText("Login Form");
shell.setForeground(SWTResourceManager.getColor(228, 10, 10));
shell.setDefaultButton(button1);
shell.layout();
if(size.x == 0 && size.y == 0) {
inst.pack();
shell.pack();
} else {
Rectangle shellBounds = shell.computeTrim(0, 0, size.x, size.y);
shell.setSize(shellBounds.width, shellBounds.height);
shell.open();
while (!shell.isDisposed()) {
if (!display.readAndDispatch())
display.sleep();
public Login(org.eclipse.swt.widgets.Composite parent, int style) {
super(parent, style);
initGUI();
private void initGUI() {
try {
this.setLayout(null);
this.setSize(371, 209);
this.setBackground(SWTResourceManager.getColor(135, 247, 154));
this.setLocation(new org.eclipse.swt.graphics.Point(200, 200));
text1 = new Text(this, SWT.BORDER);
text1.setBounds(217, 21, 133, 35);
text1.setTextLimit(6);
text1.setForeground(SWTResourceManager.getColor(200, 30, 30));
text1.setFont(SWTResourceManager.getFont("Utopia", 11, 3, false, false));
text1.setToolTipText("Enter UserID");
text2 = new Text(this, SWT.BORDER);
text2.setBounds(217, 77, 133, 35);
text2.setTextLimit(6);
text2.setForeground(SWTResourceManager.getColor(200, 30, 30));
text2.setFont(SWTResourceManager.getFont("Utopia", 11, 3, false, false));
text2.setToolTipText("Enter Password");
text2.setEchoChar('*');
label1 = new Label(this, SWT.CENTER);
label1.setText("UserID");
label1.setBounds(42, 28, 98, 28);
label1.setBackground(SWTResourceManager.getColor(135, 247, 154));
label1.setForeground(SWTResourceManager.getColor(200, 30, 30));
label1.setFont(SWTResourceManager.getFont("Utopia", 11, 3, false, false));
label2 = new Label(this, SWT.CENTER);
label2.setText("Pasword");
label2.setBounds(42, 84, 98, 28);
label2.setBackground(SWTResourceManager.getColor(135, 247, 154));
label2.setForeground(SWTResourceManager.getColor(200, 30, 30));
label2.setFont(SWTResourceManager.getFont("Utopia", 11, 3, false, false));
button1 = new Button(this, SWT.PUSH | SWT.CENTER);
button1.setText("&Ok");
button1.setBounds(70, 147, 84, 35);
button1.setForeground(SWTResourceManager.getColor(200, 30, 30));
button1.setFont(SWTResourceManager.getFont("Utopia", 11, 3, false, false));
button1.setToolTipText("Alt+O is Shortcut Key");
button1.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent evt) {
button1WidgetSelected(evt);
button2 = new Button(this, SWT.PUSH | SWT.CENTER);
button2.setText("&Cancel");
button2.setBounds(196, 147, 84, 35);
button2.setForeground(SWTResourceManager.getColor(200, 30, 30));
button2.setFont(SWTResourceManager.getFont("Utopia", 11, 3, false, false));
button2.setToolTipText("Alt+C is Shortcut Key");
button2.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent evt) {
button2WidgetSelected(evt);
this.layout();
} catch (Exception e) {
e.printStackTrace();
private void button2WidgetSelected(SelectionEvent evt) {
this.getShell().dispose();
private void button1WidgetSelected(SelectionEvent evt) {
if(this.text1.getText().equals("")){
while(true){
MessageBox box = new MessageBox(this.getShell(),
SWT.CANCEL|SWT.APPLICATION_MODAL|SWT.ERROR_CANNOT_GET_ITEM);
box.setText("Error");
box.setMessage("Your userID field is blank ");
if(box.open() == SWT.CANCEL){
this.text1.setFocus();
break;
}else if(this.text2.getText().equals("") ){
while(true){
MessageBox box = new MessageBox(this.getShell(),
SWT.CANCEL|SWT.APPLICATION_MODAL|SWT.ERROR_CANNOT_GET_ITEM);
box.setText("Error");
box.setMessage("Your Password field is blank ");
if(box.open() == SWT.CANCEL){
this.text2.setFocus();
break;
}else{
user = this.text1.getText();
pass = this.text2.getText();
Client client = new Client();
// i = client.testBean(user,pass);
// if(i>= 0 && i<=2){
{this.getShell().dispose();
MainForm mainform = new MainForm(this.getShell(), SWT.NULL);
MainForm.java
package hajipur.gui;
public class MainForm extends org.eclipse.swt.widgets.Composite {
private Menu menu1;
private MenuItem aboutMenuItem;
private MenuItem contentsMenuItem;
private Menu helpMenu;
private MenuItem helpMenuItem;
private MenuItem exitMenuItem;
private MenuItem closeFileMenuItem;
private MenuItem saveFileMenuItem;
private MenuItem newFileMenuItem;
private MenuItem openFileMenuItem;
private Menu fileMenu;
private MenuItem fileMenuItem;
//Register as a resource user - SWTResourceManager will
//handle the obtaining and disposing of resources
SWTResourceManager.registerResourceUser(this);
public MainForm(Composite parent, int style) {
super(parent, style);
initGUI();
* Initializes the GUI.
private void initGUI() {
try {
this.setSize(new org.eclipse.swt.graphics.Point(400,300));
this.setBackground(SWTResourceManager.getColor(192, 192, 192));
GridLayout thisLayout = new GridLayout(1, true);
thisLayout.marginWidth = 5;
thisLayout.marginHeight = 5;
thisLayout.numColumns = 1;
thisLayout.makeColumnsEqualWidth = true;
thisLayout.horizontalSpacing = 5;
thisLayout.verticalSpacing = 5;
this.setLayout(thisLayout);
menu1 = new Menu(getShell(), SWT.BAR);
getShell().setMenuBar(menu1);
fileMenuItem = new MenuItem(menu1, SWT.CASCADE);
fileMenuItem.setText("File");
fileMenu = new Menu(fileMenuItem);
openFileMenuItem = new MenuItem(fileMenu, SWT.CASCADE);
openFileMenuItem.setText("Open");
newFileMenuItem = new MenuItem(fileMenu, SWT.CASCADE);
newFileMenuItem.setText("New");
saveFileMenuItem = new MenuItem(fileMenu, SWT.CASCADE);
saveFileMenuItem.setText("&Save");
closeFileMenuItem = new MenuItem(fileMenu, SWT.CASCADE);
closeFileMenuItem.setText("Close");
exitMenuItem = new MenuItem(fileMenu, SWT.CASCADE);
exitMenuItem.setText("Exit");
fileMenuItem.setMenu(fileMenu);
helpMenuItem = new MenuItem(menu1, SWT.CASCADE);
helpMenuItem.setText("Help");
helpMenu = new Menu(helpMenuItem);
contentsMenuItem = new MenuItem(helpMenu, SWT.CASCADE);
contentsMenuItem.setText("Contents");
aboutMenuItem = new MenuItem(helpMenu, SWT.CASCADE);
aboutMenuItem.setText("About");
helpMenuItem.setMenu(helpMenu);
this.layout();
}catch (Exception e) {
e.printStackTrace();
* Auto-generated main method to display this
* org.eclipse.swt.widgets.Composite inside a new Shell.
public static void main(String[] args) {
Display display = Display.getDefault();
Shell shell = new Shell(display);
MainForm inst = new MainForm(shell, SWT.NULL);
Point size = inst.getSize();
shell.setLayout(new FillLayout());
shell.layout();
if(size.x == 0 && size.y == 0) {
inst.pack();
shell.pack();
} else {
Rectangle shellBounds = shell.computeTrim(0, 0, size.x, size.y);
shell.setSize(shellBounds.width, shellBounds.height);
shell.open();
while (!shell.isDisposed()) {
if (!display.readAndDispatch())
display.sleep();
}Are you trying to say you want to open MainForm.java from Login.java???
Wes -
Combine of 3 BAPIs into one Custom BAPI
Hi All,
I have a requirement to combine 3 standard BAPI into a Custom BAPI.
What is the procedure or the steps that has to be followed to do this.
Help and Suggestions will be much Appreciated.
Thanks.
Ram.Hi,
Please check the source code of a function module I have created where I have called a BAPI, please check the parameters I have I have passed in the commented format on the top.
FUNCTION zvmat_avilability_check.
""Local Interface:
*" IMPORTING
*" VALUE(SALESDOCUMENT) TYPE BAPIVBELN-VBELN
*" EXPORTING
*" VALUE(ENDLEADTME) TYPE BAPICM61M-WZTER
*" VALUE(AV_QTY_PLT) TYPE BAPICM61V-WKBST
*" VALUE(DIALOGFLAG) TYPE BAPICM61V-DIAFL
*" TABLES
*" WMDVSX STRUCTURE BAPIWMDVS
*" WMDVEX STRUCTURE BAPIWMDVE
DATA : p_ans TYPE c,
v_txt1 TYPE char35,
v_txt2 TYPE char10,
v_txt TYPE char50,
v_txt3 TYPE char35,
v_txt4 TYPE char10,
v_txt5 TYPE char50.
parameters LIKE spar OCCURS 0 WITH HEADER LINE.
DATA: v_usrlines TYPE i,
v_begrow TYPE sy-curow VALUE 1,
v_ans LIKE sy-tabix.
TYPES: BEGIN OF ty_wf,
plant TYPE werks_d,
material TYPE matnr,
unit TYPE meinh,
lgort TYPE lgort_d,
KWMENG TYPE KWMENG,
END OF ty_wf.
TYPES: BEGIN OF ty_final,
material TYPE matnr,
plant TYPE werks_d,
unit TYPE meinh,
KWMENG TYPE KWMENG,
av_qty_plt TYPE bapicm61v-wkbst,
END OF ty_final.
DATA: wa_wf TYPE ty_wf,
wa_final TYPE ty_final.
DATA: it_wf TYPE STANDARD TABLE OF ty_wf,
it_final TYPE STANDARD TABLE OF ty_final.
CLEAR wa_wf.
SELECT werks
matnr
meins
lgort
KWMENG
FROM vbap
INTO TABLE it_wf
WHERE vbeln EQ salesdocument.
IF sy-subrc EQ 0.
LOOP AT it_wf INTO wa_wf.
CALL FUNCTION 'BAPI_MATERIAL_AVAILABILITY'
EXPORTING
plant = wa_wf-plant
material = wa_wf-material
unit = wa_wf-unit
CHECK_RULE =
stge_loc = wa_wf-lgort
BATCH =
CUSTOMER =
DOC_NUMBER =
ITM_NUMBER =
WBS_ELEM =
STOCK_IND =
DEC_FOR_ROUNDING =
DEC_FOR_ROUNDING_X =
READ_ATP_LOCK =
READ_ATP_LOCK_X =
MATERIAL_EVG =
IMPORTING
endleadtme = endleadtme
av_qty_plt = av_qty_plt
dialogflag = dialogflag
RETURN =
TABLES
wmdvsx = wmdvsx
wmdvex = wmdvex .
wa_final-plant = wa_wf-plant.
wa_final-material = wa_wf-material.
wa_final-unit = wa_wf-unit.
wa_final-av_qty_plt = av_qty_plt.
wa_final-KWMENG = wa_wf-KWMENG.
APPEND wa_final TO it_final.
ENDLOOP.
DESCRIBE TABLE it_final LINES v_usrlines.
v_usrlines = v_begrow + v_usrlines.
CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'
EXPORTING
endpos_col = 60
endpos_row = v_usrlines
startpos_col = 1
startpos_row = v_begrow
titletext = 'USER DISPLAY'
IMPORTING
choise = v_ans
TABLES
valuetab = it_final
EXCEPTIONS
break_off = 1
OTHERS = 2.
IF sy-subrc EQ 0.
READ TABLE it_final INTO wa_final INDEX v_ans.
v_txt1 = 'MATERIAL QUANTITY AVAILABLE IS'.
v_txt2 = wa_final-av_qty_plt.
v_txt3 = 'MATERIAL QUANTITY ORDERED'.
v_txt4 = wa_final-KWMENG.
CONCATENATE v_txt1 v_txt2 INTO v_txt.
CONCATENATE v_txt3 v_txt4 INTO v_txt5.
CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT'
EXPORTING
titel = 'MATERIAL AVAILABILTY STATUS'
textline1 = v_txt5
TEXTLINE2 = v_txt
start_column = 25
start_row = 6.
ENDIF.
ELSE.
MESSAGE i001(zd) WITH 'No material ordered for for the current sales order'.
ENDIF.
ENDFUNCTION.
With best wishes,
Murthy. -
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. VHi,
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 -
Requirement : We have a requirement to reuse the standard Activity subcomponents Appointments, Tasks, Phone Calls and Emails within a custom work centre. The requirement is to leverage and copy all sub functionalities Appointments, Tasks, Phone Calls and Emails available within the standard activity work center. This feature is available within Accounts, Opportunities, Leads etc. (Refer screenshot: Std_Act_Screen.jpg)
We are unable to consume/embed the standard Activity (Work center) sub components Appointments, Tasks, Phone Calls and Emails within the custom work center. This is because of backend consistency check violation UI designer error message displayed. (Refer screenshot:Error while consuming standard activities.jpg)
Ø Open Question:
a. Is there a limitation to consume/embed the standard Activity (Work center) subcomponents Appointments, Tasks, Phone Calls and Emails within a custom work center? We have noticed that this standard Activity Work center subcomponents Appointments, Tasks, Phone Calls and Emails has been repeatedly reused within the application in Account, Opportunity, Sales lead, Lead, Sales Quote Objects.
b. Is there an alternative way in which we can call [Through API etc..] the standard Activity Work center subcomponents Appointments, Tasks, Phone Calls and Emails?
We need your guidance to overcome the error to enable the reuse of the standard Activity Work center sub-components Appointments, Tasks, Phone Calls and Emails within our custom work center or suggest a suitable workaround on how this can be achieved.
Regards .. Dheeraj SainiWhenever you find out let me know. I wanted to assign a text tone to someone and now in iOS 7 i can't. Or I haven't figured this out yet.
-
How to call Report 6i/9i Oracle Standard Report into Discoverer 10g
How to call Report 6i Standared report into Duscoverer 10g as there is a requirement to create or transfer Oracle Standard report into Discoverer.
1) Account Analysis Subledger Details(180 Char) - Standard Report 6i as i want the same report in Discoverer 10g.
2) Aging Report -- 7 bucket --Standard report in 6i,how to transfer in Discoverer 10g.
Is is possible to Transfer from Report 6i to Discoverer or How to Create this report in Discoverer 10g.
Please advice,
SushantWell, if I had to do it, here's how I'd start.
1. Get the SQL from the Oracle Report and then create a database view that's more generic based on the SQL but still gets the answers.
For example, you'd not code many conditions, etc. but the database view would be pointing to the correct Oracle Apps tables / views.
Once you've got the view, bring it in to Disco Admin, etc. and create a report from it that now adds the extra conditions needed. That way you can use the underlying concept without hard coding things like dates, etc. which you would ask the user at run time.
However ... as you may well know ... Oracle Reports can do some 'strange and/or powerful things' on the fly and, for example, it may be something like a temporary table generated for the report, etc. so may become a much bigger issue.
2. If you have NoetixViews views then they'll most likely already have the views for these queries already created as they're reasonable for what's needed in an Oracle environment.
3. I'd see if there is already a pre-defined BIS view that covers this as well. Again, you're in an area that's pretty popular so if a BIS view already covers much of the same info then you've got a create view 'head start' already. Check views owned by Apps starting with the application plus FV or FG (the one you'd really want) such as: GLFG_Budgets_To_Actuals to see what I mean.
Russ
Maybe you are looking for
-
How do I log in if I don't know password and my apple id doesn't work?
-
My trash in iPhoto has no thumbnails in it, however, it says I have over 31K photos in it. I have already "put back" over 35K photos to Events. How can I delete from iPhoto photos that are not in a thumbnail? Also, I have been deleting these for o
-
Vendors,customers and assets for profit center
hi all, we are implementing version 6.00 only FI and CO. we would like to track the vendors, customers and assets for profit center is it possible. thanks. regards, Pranav
-
Dear all, I am executing FAGLF101, reclasification of vendor payables. The system does not proprose an adjustment posting in FAGLF101 transaction. There are payables with due date longer than 1 year and the program is supposed to offer a reclasifict
-
HT5840 Can you change the tab name? If can, how?
Can you change a tab name?