FUNCTION 'CALL_FB08' without export parameter reversal doc nr
In FUNCTION 'CALL_FB08' (SE37) there is no export parameter for the created reversal document. Any idea for another FM that would provide the created reversal document?
Hello ,
what kind of export parameters do you need , do you want to capture created reversal document ? , sorry i'm not clear abt your requirement.
if you want to know the created reversal document , then check system params ( sy-msgv1,sy-msgv2...etc ) to know the posted reversal document.
regards
Prabhu
Similar Messages
-
Badi without export parameter for messages
Hi Guru's
I am using a HR related badi for one validation. As per my requirement, In BADI "HRECM00_CONSISTENCY" i need to perform validations.
If some mismatch in the condition, then i will pass error message and warning messages.
But in BADI there is no export parameter to give the error message to Portal.
This messages should be displayed in HR MSS tab in compensation tool managed. I have one parameter in Import with "TYPE REF"(message handler). I am not sure whether that field will help or not.
Please clarify this.
If it is not could you please suggest any alternate way to populate the message to portal.
Thanks & Regards,
Ganesh R KHello Ganesh,
try to call this FM to Added Messages.
call function 'HR_ECM_ADD_MESSAGE'
exporting
message_handler = message_handler
msgty = 'E'
msgid = 'messageid'
msgno = 'Message No'
msgv1 = 'Prabhu' .
regards
Prabhu -
RFC function module without RETURN parameter thows error in XI. Please help
Hi Experts,
I have a File to RFC scenario in XI. The RFC function module that I am using at the receiving end does not have "RETURN" parameter. So when I test my scenario I get "RETURN" parameter not found error on SXMB_MONI.
So is it mandatory that RFC function module must have RETURN parameter when used in XI?
Is there any work around to avoid the error without changing the RFC function module?
Please help!
Thanks
GopalIn my senario the QOS is best effort because it is a Sync.
But the function module is sync in nature as it is returning a parameter called SO_Docs and Ret_Msg. The Ret_Msg contains the error info but it not of BAPIRET2 type.
So is there any way to avoid this error when my QOS is best effort?
Please help!
Gopal -
Fetch data from table(ET_) which is exporting parameter of function module
Hi,
I m new to ABAP programming.
I have to develop a smartform that has to be filled in with fields from few tables.
These tables have the naming convention ET_<XXX> (i.e. exporting parameter of function module).
I m not able to directly view its contents in se11 or use select query for it.
I have a report program which i can execute to view these parameter names.
Now, how do i fetch data from these parameters/tables and pass it from my driver program to smartform??
Someone pls guide me...
Thank You.Hi,
I have done that using Field-Symbols.
Thanks,
Preetha -
Use of exporting parameter VIA_T777D in function module RH_READ_INFTY
Hi,
Can any one explain me the use of exporting parameter VIA_T777D in the function module RH_READ_INFTY.
Regards,
AravindClosing.
-
Receiver Type Function Module in SWE2 use of export parameter.
i am trying to understand the underlying concept in following things:(neednot to say i have searched alot and read sap documentation already).
In event type linkage table say i have an entry for BOR -> AFVC_PM.
As per sap Documentation says all these FM will trigger in following way.
1 Check Function Module (to place any validations/checks)
2 Receiver Type Function Module ()
3 Receiver Function Module.
Thats fine.
This is what documentation says about Receiver Type FM(2nd FM) not Receiver FM(3rd FM).
This FM has 1 export paramter
Export parameters
RECTYPE type SWETYPECOU-RECTYPE Receiver type( Result of the evaluation by the receiver type function module.)
if i am understanding this right, in this FM receiver type will be decided .
i have placed BREAK-POINT in this FM and passing value WS90000024 (Workflow with simple mail step) in export parameter RECTYPE.
after everything executed successfully why i can't see that mail in my inbox.
Please correct me if i had misunderstood the concept .ok,indeed i was missing this thing.
i got the mails in inbox.
but why i can't see this value WS90000024 of this workflow ()which is going to be triggered ) in parameter RECTYPE.(its empty).
it is empty after the receiver type function module execution is complete.
below is workflow template, -
After install Lightroom 5.3 we cannot resized a pict in export function with "bord etroit" parameter. It's good with "bord large"!...
Regards
JacquesDanCarr wrote:
I'm sure this was working in the previous version......
Yep - new bug in Lr5.3 (presumably will be fixed in Lr5.4).
More info here:
http://feedback.photoshop.com/photoshop_family/topics/publish_service_harddisk_ignores_ima ge_sizing_resize_to_fit_short_edge_setting_when_source_image_is_a_dng_on_lightroom -
Function Modul export parameter
hi
i need help...
i have programing a function modul.
the type from the export parameter is during runtime to known.
how i do assign my export parameter the right type during runtime and output in same format?
function z_wwi_get_st_kg.
*"*"Lokale Schnittstelle:
*" IMPORTING
*" REFERENCE(PF_MATNR) TYPE MATNR
*" EXPORTING
*" REFERENCE(P_ST_GE)
*" REFERENCE(P_EINHEIT)
data lf_yykeid type ymm_keid.
data lf_meinh type lrmei.
data lf_brgew type brgew.
data lf_gewei type gewei.
data lf_umrez type umrez.
"Konsumenteneinheit lesen
select single yykeid
from mara
into lf_yykeid
where matnr eq pf_matnr.
"Wenn nicht KG dann ST
if lf_yykeid ne 'KG'.
lf_meinh = 'ST'.
else.
lf_meinh = lf_yykeid.
endif.
"Stückartikel oder Gewichtsartikel
case lf_meinh.
when 'ST' .
select single umrez
from marm
into lf_umrez
where matnr eq pf_matnr
and meinh eq 'HE'.
clear lf_meinh.
lf_meinh = 'CU'.
* get reference of lf_umrez into p_st_ge.
* get reference of lf_meinh into p_einheit.
when 'KG'.
select single brgew gewei
from marm
into (lf_brgew, lf_gewei)
where matnr eq pf_matnr
and meinh eq 'HE'.
* get reference of lf_brgew into p_st_ge.
* get reference of lf_gewei into p_einheit.
endcase.
endfunction.
thx anu
Edited by: marty anujit on May 18, 2009 3:02 PMHi,
function module is fixed and reuse component..
you will not decide the export parameter is during runtime ..
instead you can assign the structure having field name and field value..
so the export paramater is now having field name and field value you can use this in the programm by
field name..
Regards,
Prabhudas -
How to pass select-option filed to Function Module Exporting Parameter
Hi,
How to pass select-option filed to Function Module Exporting Parameter.
ThanksHi,
DATA: BEGIN OF ITAB5_WRK OCCURS 0,
KUNNR TYPE KNKK-KUNNR, "CUSTOMER #
SBGRP TYPE KNKK-SBGRP, "CREDIT REP
KLIMK TYPE KNKK-KLIMK, "CREDIT LIMIT
NAME1 TYPE KNA1-NAME1, "CUSTOMER NAME
SKFOR TYPE KNKK-SKFOR, "TOTAL A/R
AMT1 TYPE KNKK-SKFOR, "CURRENT
AMT2 TYPE KNKK-SKFOR, "01-30
AMT3 TYPE KNKK-SKFOR, "31-60
AMT4 TYPE KNKK-SKFOR, "61-90
AMT5 TYPE KNKK-SKFOR, "91-120
AMT6 TYPE KNKK-SKFOR, "OVR 120
BZIRK TYPE KNVV-BZIRK,
END OF ITAB5_WRK.
SELECT-OPTIONS P_COMP FOR T001-BUKRS
SELECT KUNNR SBGRP FROM KNKK
INTO TABLE ITAB5_WRK
WHERE SBGRP IN P_REP
AND KUNNR GE '0001000000'
AND SKFOR NE 0.
LOOP AT ITAB5_WRK.
DELETE ADJACENT DUPLICATES FROM ITAB5_WRK COMPARING KUNNR.
ENDLOOP.
PERFORM GET_CREDIT_LIMITS.
*=======================================================================
IF P_DIST NE SPACE.
LOOP AT ITAB5_WRK.
SELECT SINGLE * FROM KNVV WHERE KUNNR EQ ITAB5_WRK-KUNNR
AND VKORG EQ P_COMP
AND VTWEG EQ '20'
AND SPART EQ '10'
AND BZIRK IN P_DIST.
IF SY-SUBRC EQ 0.
MOVE KNVV-BZIRK TO ITAB5_WRK-BZIRK.
MODIFY ITAB5_WRK.
ELSE.
DELETE ITAB5_WRK.
ENDIF.
ENDLOOP.
ENDIF.
*==============================================================
LOOP AT ITAB5_WRK.
MOVE: 'F/S' TO WRK-KKBER,
ITAB5_WRK-KUNNR TO WRK-KUNNR.
PERFORM AGING.
ADD: W_SNFAE TO ITAB5_WRK-AMT1,
W_SFAE1 TO ITAB5_WRK-AMT2,
W_SFAE2 TO ITAB5_WRK-AMT3,
W_SFAE3 TO ITAB5_WRK-AMT4,
W_SFAE4 TO ITAB5_WRK-AMT5,
W_SFAE5 TO ITAB5_WRK-AMT6,
W_SFAEL TO ITAB5_WRK-SKFOR,
W_SNFAE TO ITAB5_WRK-SKFOR.
MOVE: 'SPEC' TO WRK-KKBER,
ITAB5_WRK-KUNNR TO WRK-KUNNR.
*PERFORM AGING.*
ADD: W_SNFAE TO ITAB5_WRK-AMT1,
W_SFAE1 TO ITAB5_WRK-AMT2,
W_SFAE2 TO ITAB5_WRK-AMT3,
W_SFAE3 TO ITAB5_WRK-AMT4,
W_SFAE4 TO ITAB5_WRK-AMT5,
W_SFAE5 TO ITAB5_WRK-AMT6,
W_SFAEL TO ITAB5_WRK-SKFOR,
W_SNFAE TO ITAB5_WRK-SKFOR.
MODIFY ITAB5_WRK.
ENDLOOP.
FORM AGING.
*CALL FUNCTION 'CUSTOMER_DUE_DATE_ANALYSIS'*
EXPORTING
BUKRS = P_COMP
KKBER = WRK-KKBER
KUNNR = WRK-KUNNR
RASID = 'FEND'
KLIMP = 'X'
IMPORTING
SFAE1 = W_SFAE1
SFAE2 = W_SFAE2
SFAE3 = W_SFAE3
SFAE4 = W_SFAE4
SFAE5 = W_SFAE5
SFAE6 = W_SFAE6
SFAEL = W_SFAEL
SNFA1 = W_SNFA1
SNFA2 = W_SNFA2
SNFA3 = W_SNFA3
SNFA4 = W_SNFA4
SNFA5 = W_SNFA5
SNFA6 = W_SNFA6
SNFAE = W_SNFAE
EXCEPTIONS
NO-AGING_SCHEDULE = 1
NO_TABLE_INPUT = 2.
CASE SY-SUBRC.
WHEN 1.
MESSAGE E999 WITH 'PLEASE ENTER AGING SCHEDULE'.
WHEN 2.
MESSAGE E999 WITH 'DO NOTHING ??'.
ENDCASE.
ENDFORM. "AGING
Thanks -
Exporting parameter "name" of the FUNCTION 'SDIXML_DATA_TO_DOM'?
We've got one question for the Exporting parameter "name" of the FUNCTION 'SDIXML_DATA_TO_DOM' show below:
CALL FUNCTION 'SDIXML_DATA_TO_DOM'
EXPORTING
name = 'anything?'
dataobject = it_tab[]
IMPORTING
data_as_dom = l_dom
CHANGING
document = m_document
EXCEPTIONS
illegal_name = 1
OTHERS = 2.
We've got two questions about this function:
1. What is this function for? Just convert a SAP internal table to a document content?
2. What would be the value for the Exporting parameter "name"? We can give it any string value? or it just has to be the internal table name?
Thanks and we will give you reward points!hi check this..
parameters: file type rlgrap-filename.
types: begin of t_itab,
vbeln type vbap-vbeln,
posnr type vbap-posnr,
matnr type vbap-matnr,
matwa type vbap-matwa,
end of t_itab.
data: itab type standard table of t_itab with header line.
start-of-selection.
itab-vbeln = '0123456'.
itab-posnr = '00010'.
itab-matnr = 'Sreekanth'.
itab-matwa = 'Gollamudi'.
append itab.
clear itab.
itab-vbeln = '067890'.
itab-posnr = '00020'.
itab-matnr = 'Sachin'.
itab-matwa = 'Tendulkar'.
append itab.
clear itab.
itab-vbeln = '834580'.
itab-posnr = '00010'.
itab-matnr = 'Saurav'.
itab-matwa = 'Ganguly'.
append itab.
clear itab.
perform output_xml.
*& Form OUTPUT_XML
Out put XML
form output_xml .
data: l_dom type ref to if_ixml_element,
m_document type ref to if_ixml_document,
g_ixml type ref to if_ixml,
w_string type xstring,
w_size type i,
w_result type i,
w_line type string,
it_xml type dcxmllines,
s_xml like line of it_xml,
w_rc like sy-subrc.
data: xml type dcxmllines.
data: rc type sy-subrc.
data: begin of xml_tab occurs 0,
d like line of xml,
end of xml_tab.
class cl_ixml definition load.
g_ixml = cl_ixml=>create( ).
check not g_ixml is initial.
m_document = g_ixml->create_document( ).
check not m_document is initial.
write: / 'Converting DATA TO DOM 1:'.
*-- Here we will transfer the actual internal table to XML document
call function 'SDIXML_DATA_TO_DOM'
exporting
name = 'SALES ORDER'
dataobject = itab[]
importing
data_as_dom = l_dom
changing
document = m_document
exceptions
illegal_name = 1
others = 2.
if sy-subrc = 0.
write 'Ok'.
else.
write: 'Err =',
sy-subrc.
endif.
check not l_dom is initial.
w_rc = m_document->append_child( new_child = l_dom ).
if w_rc is initial.
write 'Ok'.
else.
write: 'Err =',
w_rc.
endif.
call function 'SDIXML_DOM_TO_XML'
exporting
document = m_document
importing
xml_as_string = w_string
size = w_size
tables
xml_as_table = it_xml
exceptions
no_document = 1
others = 2.
if sy-subrc = 0.
write 'Ok'.
else.
write: 'Err =',
sy-subrc.
endif.
loop at it_xml into xml_tab-d.
append xml_tab.
endloop.
call function 'WS_DOWNLOAD'
exporting
bin_filesize = w_size
filename = file
filetype = 'BIN'
tables
data_tab = xml_tab
exceptions
others = 10.
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. " OUTPUT_XML
regards,
venkat. -
Looking for a program that can handel import and export of palm doc files
I am looking for a program that can handel the import and export of palm doc Files that can convert them to to either txt or RTF files for Vista 32, running Palm Desktop 7.1.
Could anyone give me a few suggestions of any plug-ins that would be good me?
Hearns
Post relates to: Palm IIIxe
This question was solved.
View Solution.Ok, you need to clean uninstall Palm desktop 6.2. Install Palm desktop 4.1.4 and download and install documents to go version 6.
Here are the clean uninstall instructioins for Vista.
You should first make a copy of your data to have just in case something
happens. You can find your data files by going to Start --> Documents -->
Palm OS Desktop. Highlight your Palm Desktop username and right click and
copy. Then go to your PC desktop right click on a blank spot and select paste.
If this is the first time you are installing Palm desktop and encountering a problem, skip the previous step.
Now you want to uninstall Palm Desktop and remove everything that has to do
with Palm Desktop from your computer.
Go to the following locations on the PC and delete the folders listed below.
C:\Program Files\Palm or Palm One
C:\Users\[Vista Login Name]\appdata\local\virtualstore\Program Files\Palm or
PalmOne
C:\Users\[Vista Login Name]\appdata
*Note you may need to view hidden folders to get to appdata. To do that go
into your control panel and open folder options. Go to view tab and uncheck
hide hidden files.
Once this is done you will need to delete some registry keys from your PC Operating System.
Word of warning, going here and deleting the wrong thing can cause your PC
from starting up, crashing and deletion of programs and data. If you feel
you are unsure of yourself, see if you have a friend that can help you or a
PC technician that you can pay to help you. This procedure will show them everything they need to delete. To make sure we have a good copy of the current registry, we need to do a backup of the Registry.
Go to start on the PC, in the search field type "regedit.exe" without quotes.
Highlight COMPUTER, go to File --> Export. Should pop up with a Save As box.
Current location is fine, should be in My Documents or save to a location you will remember. In the file name on the bottom type "backup[todaysdate]" i.e. backup07072008. Next, the hard part.
The easiest way to make sure your working with the correct key, highlight the key i.e. palm quick install, and press delete on your keyboard. It will ask you, are you sure. Say yes. Do the same thing for all keys below.
If you make a mistake, stop what you are doing. And call a PC technician.
BUT do not turn off your computer.
The reg keys are as follows (Note: some of theses reg keys will not be here
but if they are delete them)
* HKEY_CURRENT_USER\Software\U.S. Robotics\Palm Quick Install
* HKEY_CURRENT_USER\Software\U.S. Robotics\PalmOne File Transfer
* HKEY_CURRENT_USER\Software\U.S. Robotics\Pilot Desktop
* HKEY_CURRENT_USER\Software\Palm
* HKEY_CURRENT_USER\Software\Palm, Inc.
* HKEY_CURRENT_USER\Software\PalmDesktopAutorun
* HKEY_CURRENT_USER\Software\palmOne
* HKEY_CURRENT_USER\Software\PalmSource
* HKEY_LOCAL_MACHINE\Software\PalmSource or anything else that says palm
Next reboot your computer.
Then reinstall your palm desktop from the CD and do a hotsync. Use the username that is on the handheld. -
How to use select-options in the function module of import parameter ?
Hi ...
I have created a BAPI and tested in SWO1 tcode , by giving the single value for an company code ( BUKRS ) , it executed properly .
Same thing is working after implementing in a program .
so now it is working for fetching a single company code details .
My requirement is : I want to use select-options in program as well as in function module IN IMPORT PARAMETER.
Program :
REPORT ZTEST.
TABLES : T001 , ZBAPI_STR .
TYPES : BEGIN OF TY_ITEM .
INCLUDE STRUCTURE ZBAPI_STR .
TYPES : END OF TY_ITEM .
DATA :WA_ITEM TYPE TY_ITEM ,
ITEM LIKE STANDARD TABLE OF WA_ITEM INITIAL SIZE 0 .
PARAMETER : BUKRS TYPE ZBAPI_STR-BUKRS.
call function 'ZBAPI_FMT001'
exporting
bukrs = BUKRS
IMPORTING
RETURN =
tables
itemtab = ITEM
IF ITEM IS NOT INITIAL .
LOOP AT ITEM INTO WA_ITEM .
WRITE : / WA_ITEM-BUKRS , WA_ITEM-BUTXT , WA_ITEM-ORT01 , WA_ITEM-LAND1 .
ENDLOOP.
ENDIF.
FUNCTION MODULE :
FUNCTION ZBAPI_FMT001.
""Local Interface:
*" IMPORTING
*" VALUE(BUKRS) TYPE EFG_TAB_RANGES
*" EXPORTING
*" VALUE(RETURN) TYPE BAPIRET2
*" TABLES
*" ITEMTAB STRUCTURE ZBAPI_STR
SELECT BUKRS BUTXT ORT01 LAND1 FROM T001 INTO TABLE ITEMTAB WHERE BUKRS = BUKRS .
ENDFUNCTION.
Regards
Deepa.I have given a similiar example which i did
Declare a
Table type:Z_TT_PONUM
Short text : Select options PO Number
in SE11 tcode with row type eg: Z_ST_PONUM
create a structure (this will be the row type)
Structure Z_ST_PONUM
Short text Select Options Field PO number
Compenent Compent type
SIGN BAPISIGN Inclusion/exclusion criterion SIGN for range tables
OPTION BAPIOPTION Selection operator OPTION for range tables
LOW EBELN Purchasing Document Number
HIGH EBELN Purchasing Document Number
In the function module import
give as
I_PO_NUM TYPE Z_TT_PONUM opt pass value Select options PO Number
Hope this is exactly what you want to know.
So you create a structure simliar to mine but the low an high whould be your component
then a table type and then include that in the BAPI.
Then pass your select-option value to this BAPI when you call this BAPI in the program -
Problem with Function returned without value -
all i am having a problem w/ jdev passing the values. when hardcoded it works. when i remove to pass the 2 vals for doc_type and doc_num the params are being passed to the impl but the String sql = " BEGIN :5 := scotts_test_proc.get_log(:1, :2, :3, :4 ); END; "; is not sending the values to the pkg. to verify i am getting data i created a table to store the data being passed/retrieved by function. i am getting the log_pieces posted when hard coded so i know that works. but when i try to pass the doc_type and doc_num it errors w/ function returend without value . am i passing the params correctly from co to impl to func to get the return l0g_piece. thats for the help
calling package
spec
function Get_Log( -- rmode IN NUMBER , rmode IN STRING, doc_type IN VARCHAR2 DEFAULT 'TEL',
doc_id IN VARCHAR2 DEFAULT NULL , doc_num IN VARCHAR2 DEFAULT NULL
-- , p_out out varchar2
) -- IS --proc
RETURN varchar2 IS --function
body
l_doc_type := 'TEL';- remove this hardcoded
l_doc_type := doc_type ; --to pass the param
IF l_doc_type = 'TEL' THEN
-- l_log_pieces := Get_TEL(TRIM(3524204)); --change 3524204 to doc_num hardcoded presently
l_log_pieces := Get_TEL(TRIM(doc_num)); --to pass the param
-- (doc_num);
l_log_piece := l_log_pieces(1);
-- p_out := l_log_piece ;
insert into isitthere (doc_type, doc_num, isitthere) VALUES (doc_type, doc_num, l_log_piece); commit;
return l_log_piece; -- function -- return p_out; -- function p_out := l_log_piece ; proc
END IF; --if doc type is TEL
FROM CO
System.out.println("CO Passing paramDOC_TYPE for -------> " +docAbbr.getValue(pageContext) ); -- passing TEL
System.out.println("CO Passing paramDOC_NUM for -------> " + paramDOC_NUM ); -- passing 88
String getDocAbbrForHTML = docAbbr.getText(pageContext);
System.out.println("Passing CO getDocAbbrForHTML for -------> " + getDocAbbrForHTML ); -- passing TEL
Serializable paramDocLocatorParamList [] = {paramRMODE, getDocAbbrForHTML , paramDOC_ID, paramDOC_NUM , p_out };
OAApplicationModule am = (OAApplicationModule)pageContext.getApplicationModule(webBean);
OADBTransaction dbtrans;
OAViewObject docLocator = (OAViewObject)am.findViewObject("DocLocatorVO1");
Serializable paramABC = "TELNET";
paramABC = am.invokeMethod("getHTMLString", paramDocLocatorParamList);
rtxt0.setValue(pageContext, "here it is 12354" + paramABC.toString() );
// docLocator.executeQuery();
// --------------- End getHTMLString ----------------- //
FROM AM IMPL
public String getHTMLString ( String paramRMODE, String getDocAbbrForHTML , String paramDOC_ID, String paramDOC_NUM, String p_out )
System.out.println("Entering The AM Impl");
System.out.println("Passing getDocAbbrForHTML in IMPL -------> " +getDocAbbrForHTML ); -- got TEL in param
System.out.println("Passing paramDOC_NUM in IMPL -------> " + paramDOC_NUM ); -- got 88 in param
CallableStatement st = null;
OADBTransaction txn = (OADBTransaction)getDBTransaction();
Connection conn = txn.getJdbcConnection();
String sql = " BEGIN :5 := scotts_test_proc.get_log(:1, :2, :3, :4 ); END; ";
CallableStatement cs = txn.createCallableStatement(sql,1);
String ErrorExist = "";
String getHTML = "";
try
cs.setString(1, paramRMODE); // cs.setInt(1, paramRMODE.intValue()); // cs.setInt(1,Integer.parseInt(paramRMODE));
cs.setString(2, getDocAbbrForHTML); //paramDOC_TYPE);
cs.setString(3, paramDOC_ID);
cs.setString(4, paramDOC_NUM);
// cs.setString(5,p_out); // --param
/* cs.registerOutParameter(1,Types.CHAR);
cs.registerOutParameter(2,Types.CHAR);
cs.registerOutParameter(3,Types.CHAR);
cs.registerOutParameter(4,Types.CHAR);*/
cs.registerOutParameter(5,Types.VARCHAR);
cs.execute();
getHTML = cs.getString(5 ) ;
p_out = getHTML;
//this string is to see my results. only......
String x ="abc 123";/*"<BR><font face=Verdana ><b>TEL Document Action History <BR><font color=#336699>(3524204 Nosulina, Yelena N COMPLETE)</b></font></font><br><br><table border=1 width=100% cellspacing=0 cellpadding=2 bordercolor=#EEEEDC> <tr bgcolor=#F7F7E7>"
+ " <td width=11% valign=top align=left><font face=Verdana size=2 color=#336699><b>Action</b></font></td> <td width=17% valign=top align=left ><font face=Verdana size=2 color=#336699><b>Approver UserName</b></font></td> <td width=14% valign=top align=left ><font face=Verdana size=2 color=#336699><b>Date/Time </b></font></td> <td width=56% valign=top align=left ><font face=Verdana size=2 color=#336699><b>Notes</b></font></td> "
+" </tr> <!-- loop thru this set of rows ---> <tr bgcolor=#FFFFFF> <td width=11% valign=top align=left ><font face=Verdana size=2 > </font></td> <td width=17% valign=top align=left ><font face=Verdana size=2> </font></td> <td width=14% valign=top align=left ><font face=Verdana size=2>Dec-20-2011 03:01:23 PM </font></td> <td width=56% valign=top align=left ><font face=Verdana size=2>DOCUMENT CREATED </font></td> </tr> <!-- end loop--> "
+ " <tr bgcolor=#FFFFFF> <td width=11% valign=top align=left ><font face=Verdana size=2 > </font></td> <td width=17% valign=top align=left ><font face=Verdana size=2>McCombs, Tracey L </font></td> <td width=14% valign=top align=left ><font face=Verdana size=2>Dec-30-2011 01:12:10 PM </font></td> <td width=56% valign=top align=left ><font face=Verdana size=2>Requestor </font></td> </tr> <!-- end loop--> <tr bgcolor=#FFFFFF> "
+" <td width=11% valign=top align=left ><font face=Verdana size=2 >WF STARTED </font></td> <td width=17% valign=top align=left ><font face=Verdana size=2>Workflow </font></td> <td width=14% valign=top align=left ><font face=Verdana size=2>Dec-30-2011 01:12:21 PM </font></td> <td width=56% valign=top align=left ><font face=Verdana size=2>Workflow Started </font></td> </tr> <!-- end loop--> <tr bgcolor=#FFFFFF> "
+"<td width=11% valign=top align=left ><font face=Verdana size=2 > </font></td> <td width=17% valign=top align=left ><font face=Verdana size=2>McCombs, Tracey L </font></td> <td width=14% valign=top align=left ><font face=Verdana size=2>Dec-30-2011 01:12:21 PM </font></td> <td width=56% valign=top align=left ><font face=Verdana size=2>SUBMIT </font></td> </tr> <!-- end loop--> <tr bgcolor=#FFFFFF> "
+"<td width=11% valign=top align=left ><font face=Verdana size=2 >NOTIFICATION SENT </font></td> <td width=17% valign=top align=left ><font face=Verdana size=2>Workflow </font></td> <td width=14% valign=top align=left ><font face=Verdana size=2>Dec-30-2011 01:12:21 PM </font></td> <td width=56% valign=top align=left ><font face=Verdana size=2>Notification sent to User Approvals Level 1, Org ID: 455 311402400 Med - Infectious Diseases </font></td> "
+" </tr> <!-- end loop--> <tr bgcolor=#FFFFFF> <td width=11% valign=top align=left ><font face=Verdana size=2 > </font></td> <td width=17% valign=top align=left ><font face=Verdana size=2>Brownlow, Lana Jill </font></td> <td width=14% valign=top align=left ><font face=Verdana size=2>Jan-03-2012 08:49:48 AM </font></td> <td width=56% valign=top align=left ><font face=Verdana size=2>Approved : </font></td> </tr> <!-- end loop--> <tr bgcolor=#FFFFFF> "
+" <td width=11% valign=top align=left ><font face=Verdana size=2 >USER APPROVED </font></td> <td width=17% valign=top align=left ><font face=Verdana size=2>Workflow </font></td> <td width=14% valign=top align=left ><font face=Verdana size=2>Jan-03-2012 08:49:48 AM </font></td> <td width=56% valign=top align=left ><font face=Verdana size=2>Completed all User Approvals </font></td> </tr> <!-- end loop--> <tr bgcolor=#FFFFFF> "
+ " <td width=11% valign=top align=left ><font face=Verdana size=2 >CENTRAL APPROVED </font></td> <td width=17% valign=top align=left ><font face=Verdana size=2> </font></td> <td width=14% valign=top align=left ><font face=Verdana size=2>Jan-03-2012 08:49:48 AM </font></td> <td width=56% valign=top align=left ><font face=Verdana size=2>Completed Central Approval Process </font></td> </tr> <!-- end loop--> <tr bgcolor=#FFFFFF> "
+" <td width=11% valign=top align=left ><font face=Verdana size=2 > </font></td> <td width=17% valign=top align=left ><font face=Verdana size=2> </font></td> <td width=14% valign=top align=left ><font face=Verdana size=2>Jan-03-2012 02:17:07 PM </font></td> <td width=56% valign=top align=left ><font face=Verdana size=2>DOCUMENT REASON CHANGED TO COMPLETE. DATA LOADED IN BASE TABLES. </font></td> </tr> <!-- end loop--></table>";
getHTML = x;
System.out.println("getHTML 1234 is " + getHTML ); -- testing output to get returned
cs.close();
catch (SQLException sqle)
try { cs.close(); }
catch (Exception e) {}
throw OAException.wrapperException(sqle);
return getHTML;when return is encountered your function terminates.
-
ABAP for Super Dumps: Import- & Export-Parameter for a Table in a FM
Hello ABAP Profs,
sorry I am BW.
<b>Import- & Export-Parameter for a Table in and out of an Function Modul.</b>
I want to import a table into a Function Module, change it and export it again.
How do I have to define the Import- and Export- Parameters in the FM ?
The table looks looks this:
DATA: zvpshub_tab TYPE SORTED TABLE OF /bic/pzvpshub WITH UNIQUE KEY
/bic/zvpshub objvers /bic/zvpsoursy INITIAL SIZE 0.
Thanks a lot
Martin SautterHi Clemens,
<u>in SE11</u> I defined a datatype of Type Structure: ZVPSHUB_ROW.
<u>in SE11</u> I defiend a datatype of Type Tabletype: ZVPSHUB_TAB,
bases on Rowtype ZVPSHUB_ROW.
<u>in SE 80</u> I creates an FM with a CHANGEING Parameter referencing ZVPSHUB_TAB:
FUNCTION ZVP_SHUB_TAB_LOAD.
""Lokale Schnittstelle:
*" CHANGING
*" VALUE(SHUB_TAB) TYPE ZVPSHUB_TAB
<u>in RSA1</u> in BW in the Startroutine of the Upload Rules in defined the table:
DATA:shub_tab TYPE zvpshub_tab.
<u>in RSA1</u> in BW in the Startroutine of the Upload Rules in defined the table:
DATA:shub_tab TYPE zvpshub_tab.
<u>in RSA1</u> in BW in the Startroutine i called the FM
CALL FUNCTION 'ZVP_SHUB_TAB_LOAD'
CHANGING
shub_tab = shub_tab.
and it works ..
Thank You
Martin Sautter -
Regarding export parameter in rule
Hi everbody,
i have created rule and i am using this rule in User decision step... for determining agents, when i excuted the worklfow it's working perfectly..
i am using deadline montoring(Modeled) so here i want to pass the agent in sdend mal step to receive the deadline montoring message.. so i have created one container but export parameter checkbox has been disabled...
please let me know whether i can't able to create container wirh export parameter in rule if yes then how to pass the value from rule to send mail step....
Thanks in advance
ramHi prasanth,
i have used this FM already, i am getting the value in AGENTS, but in the worklfow this method fails..
and going to error.
please let me know after geting the value in agents then what i should do...
CALL FUNCTION 'RH_GET_ACTORS'
EXPORTING
act_object = 'AC90300002'
" ACT_TASK = 'TS00008267'
ACT_WI_ID =
ACT_PLVAR =
SEARCH_DATE = SY-DATUM
ACTOR_CONTAINER_OO =
tables
" ACTOR_CONTAINER = adressstrings
EXCLUDED_AGENTS =
actor_tab = AGENTS
ERROR_TAB =
EXCEPTIONS
NO_ACTIVE_PLVAR = 1
NO_ACTOR_FOUND = 2
EXCEPTION_OF_ROLE_RAISED = 3
NO_VALID_AGENT_DETERMINED = 4
NO_CONTAINER = 5
OTHERS = 6
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Maybe you are looking for
-
I had a series of eight bookmarks which loaded every time I use Firefox. (Three versions of www.facebook.com.). It appears that something is overriding these. They appear instead to be going through https://fbstatic-a.akamaihd.net. So even though whe
-
Apple mobile device support unable to install
I have windows 8.1 and itunes "11.1.5.5". I have tried uninstalling itunes and everything else that has to do with apple on my system many times and still get this error. I have also tried what I found in other discussions about installing apple mob
-
Download to 4.2 timing out--why?
I have a Verizon and Cricket Wi-Fi card for my internet (no other high speed where I live). I'm trying to download OS 4.2 within iTunes and the download says it will take 4-6 hours and keeps timing out after about an hour. I get a message that the se
-
Photo flow object not using thumbnails, only the primary image
I'm currently evaluating the trial version of this to see if it's something we can tweak to the way we'd like it, and I can't seem to get the object to use the thumbnail views (presumably for the angled views to either side of the centered image). W
-
Does Version 10.1.2.0.2 of oracle portal support WSDL
I was able to deploy my JSR 168 portlet through OEM and not through JDeveloper and other issue is that when I try to Register a Provider I don't see an option for WSDL in the Implementation Style when registering a provider. I have Version 10.1.2.0.2