Help in Calling the C Functions in ECC 6.0
Hi All,
We are in process of Upgrading from 4.6C to ECC 6.0.
There is a particular report which calls the C function 'C_DIR_READ_NEXT' .
In this the Parameter " ID 'TYPE' FIELD FILE-TYPE" is showing as (???)not getting the file type in ECC 6.0 where as in 4.6C it was working fine.
Can any body please tell me why this so and is there any other C function which i can use in the place of this .
Awaiting a favourable reply
wih rgds
A.K.Ranjith Singh
Hi Ranith,
i know there is a new authotity-Object S_C_FUNCT included in this Function.
Look at Note 766771.
If you search in OSS with C_DIR_READ_NEXT, there are some Notes too.
Hope it helps.
Regards, Dieter
You cal also look in RSWATCH0 (AL11) the use of this FM.
Regards, Dieter
Message was edited by:
Dieter Gröhn
Similar Messages
-
Error in calling the Remote Function Module
Hi all,
I am trying to call the Remote function Module which is in CRM from ECC .
But we are not able to detect the function module as it is showing the error as Function Module not found.
Can anybody help us in calling the Remote Function Module .
Regards,
MadhaviPlease check the foll 2 things :
RFC radio button clicked in se37 for that FM
RFC connection established with the remote server in SM59
Thanks -
I want to call the WinAPI function-animatewindow in user32.dll to produce some special effect when showing or hidding windows, but i don't know how to using this Win API to achieve my purpose?
Does anyone have an example VI about this application?
Thanks in advance for your help.You have to use the Call Library Function Node to call Windows API functions. The animatewindow function itself has some pretty simple parameters. You first need to get the window handle. There are a set of Windows API Function Utilities (32-bit) for LabVIEW that you can use. In there there is a VI (Get Window Refnum) that gets the window handle. It's a simple call to a Windows API function. You would call the animatewindow function in the same way. In this case there are 3 parameters: the window handle (returned by a FindWindow API call), a DWORD (32-bit integer) for the duration, and another DWORD for the flags.
-
NSArray of UIButtons calling the same function
I've been thinking and searching and I can't figure it out. I've come across these two threads which seem to be pieces of my issue:
http://discussions.apple.com/message.jspa?messageID=7891554
http://discussions.apple.com/thread.jspa?threadID=1985019&tstart=0
I'm basically attempting to create an array of 9 UIButtons which will all call the same function, but I need to know which button was clicked.
I'm not entirely sure how to create the NSArray of buttons, and when I include (id)sender with the selectSquare function, it doesn't work. Any help is much appreciated!
// Square a1
a1 = [UIButton buttonWithType:UIButtonTypeRoundedRect];
[a1 setFrame:CGRectMake(0.0f, 0.0f, 70.0f, 70.0f)];
[a1 setBackgroundImage:[UIImage imageNamed:@"black.png"] forState:UIControlStateNormal];
[a1 setCenter:CGPointMake(60.0f, 200.0f)];
[a1 addTarget:self action:@selector(selectSquare) forControlEvents:UIControlEventTouchUpInside];
[self.view addSubview:a1];
// I currently have the previous "a1" button code repeated 9 times, each
// with a different button name... I want to put all these in a single
// array instead
-(void) selectSquare:(id) sender {
if(turn == x) {
[sender setBackgroundImage:[UIImage imageNamed:@"x_button.png"] forState:UIControlStateNormal];
statusImage.image = [UIImage imageNamed:@"o_image.png"];TicTacToe indeed!
The positions I have for my buttons seemed to be perfect when I tested them, so I just went with that vs. using IB.
As for the tag property, would it just be an int? Like:button1.tag = 5And then use the tag as that button's index in the array? So the button with tag 5 would be the 6th element?
Also, I'm still not sure on why -(void) selectSquare:(id) sender; doesn't work. When I click on "a1" (the current button with an action assigned to it), the simulator does nothing and then brings Xcode to the front... But when I take out (id)sender, it works fine.
In the second thread I posted, somebody mentioned something about unbinding and rebinding control actions to fix this, but I'm not too sure what that process entails.
Here is my interface for that controller:#import <UIKit/UIKit.h>
@interface TicTacToeViewController : UIViewController {
UIImageView *statusImage;
UIButton *playButton;
UIButton *a1;
UIButton *a2;
UIButton *a3;
UIButton *b1;
UIButton *b2;
UIButton *b3;
UIButton *c1;
UIButton *c2;
UIButton *c3;
//IBOutlet UILabel *gameText;
//IBOutlet UILabel *x_score;
//IBOutlet UILabel *o_score;
//IBOutlet UILabel *round;
NSInteger turn;
//NSInteger xscorevalue;
//NSInteger oscorevalue;
@property(nonatomic,retain) IBOutlet UIImageView *statusImage;
@property(nonatomic, retain) UIButton *playButton;
@property(nonatomic, retain) UIButton *a1;
@property(nonatomic, retain) UIButton *a2;
@property(nonatomic, retain) UIButton *a3;
@property(nonatomic, retain) UIButton *b1;
@property(nonatomic, retain) UIButton *b2;
@property(nonatomic, retain) UIButton *b3;
@property(nonatomic, retain) UIButton *c1;
@property(nonatomic, retain) UIButton *c2;
@property(nonatomic, retain) UIButton *c3;
//@property(nonatomic,retain) IBOutlet UILabel *gameText;
//@property(nonatomic,retain) IBOutlet UILabel *x_score;
//@property(nonatomic,retain) IBOutlet UILabel *o_score;
//@property(nonatomic,retain) IBOutlet UILabel *round;
@property(nonatomic) NSInteger turn;
//@property(nonatomic) NSInteger x_score;
//@property(nonatomic) NSInteger o_score;
//-(void)reset:(BOOL) newGame;
-(void) selectSquare:(id) sender;
@end -
Where should i call the rfc function module? in xi or in r/3
where should i call the rfc function module?
for the synch scenario: file < -- > xi <---> rfc
i know the type of rfc is tcp/ip; but i'm not sure with the followings,
and with some trials i can not even see any message via rwb even all the setting
can be activated without errors.
where should i create the rfc destination? in r/3 or xi
where should i call the rfc via abap program? in r/3 or xi
i guess the calling program should belong to the different server with the rfc itself....
so confused....
Thanks for your reply!!
Junif i create the destination in xi point to r/3, then i call the rfc use the destination in r/3 right ?
The call doesnt use the destination in R3. XI has the RFC destination which is just used to connect to the R3 system
but where i need to create the fm via se37? in xi or r/3 ?
In R3
Regards,
Prateek -
Can anyone help me find the airplay function on my Macbook air (new)
Can anyone help me find the airplay function on my Macbook air (new)
Hi there,
I would recommend taking a look at the troubleshooting steps found in the article below.
Troubleshooting AirPlay and AirPlay Mirroring
http://support.apple.com/kb/TS4215
-Griff W. -
Error while calling the Mapping function module for BW Extraction
Hi
iam getting runtime error while calling the BW mapping function
The error description is as shown below.
Runtime Errors CALL_FUNCTION_UC_STRUCT
Except. CX_SY_DYN_CALL_ILLEGAL_TYPE
<b>Short text</b>
Type conflict during structure parameter transfer at CALL FUNCTION.
<b>What happened?</b>
Error in the ABAP Application Program
The current ABAP program "GP466CV1Y7W2VML1PJ3VB80KDOP" had to be terminated
because it has
come across a statement that unfortunately cannot be executed.
<b>Error analysis</b>
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was
not caught in
procedure "CALL_MAPPING_FUNCTION" "(FORM)", nor was it propagated by a RAISING
clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
In the function "CMS_CB_BW_MAP", the STRUCTURE parameter "EXTRACT_DATA" is
typed in such a way
that only actual parameters are allowed, which are compatible in Unicode
with respect to the fragment view. However, the specified actual
parameter " " has an incompatible fragment view.
I am passing the EXTRACT_DATA parameter as specification LIKE with the associated type - corresponding structure
Please let me know how can i resolve this issue
Regards
LeonDear benarji ,
I'm having the same problem help me to correct . I have mentioned below as what error i got.
Runtime Errors CALL_FUNCTION_UC_STRUCT
Except. CX_SY_DYN_CALL_ILLEGAL_TYPE
Short text
Type conflict during structure parameter transfer at CALL FUNCTION.
What happened?
Error in the ABAP Application Program
The current ABAP program "ZDLROUTSTANDING_COPY" had to be terminated because it
has
come across a statement that unfortunately cannot be executed.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was
not caught in
procedure "PDF" "(FORM)", nor was it propagated by a RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
In the function "/1BCDWB/SF00000080", the STRUCTURE parameter "IT_WORKS_SF" is
typed in such a way
that only actual parameters are allowed, which are compatible in Unicode
with respect to the fragment view. However, the specified actual
parameter "SFTWORKS" has an incompatible fragment view.
Missing RAISING Clause in Interface
Program ZDLROUTSTANDING_COPY
Include ZDLROUTSTANDING_COPY
Row 876
Module type (FORM)
Module Name PDF
Trigger Location of Exception
Program ZDLROUTSTANDING_COPY
Include ZDLROUTSTANDING_COPY
Row 894
Module type (FORM)
Module Name PDF
Source Code Extract
Line SourceCde
864 ** i_logo = 'ENJOYSAP_LOGO'
865 * IT_LIST_COMMENTARY = I_LIST_COMMENTS1.
866
867 ENDFORM. "alv_top_of_page1
868 *&---------------------------------------------------------------------*
869 *& Form PDF
870 *&---------------------------------------------------------------------*
871 * text
872 *----------------------------------------------------------------------*
873 * --> p1 text
874 * <-- p2 text
875 *----------------------------------------------------------------------*
876 FORM pdf .
877
878 * *** Smartforms & PDF ***
879
880 ssfctrlop-no_dialog = 'X'.
881 ssfctrlop-preview = 'X'.
882 ssfctrlop-getotf = 'X'.
883 ssfcompop-tddest = 'ERP7'.
884 DATA : mcheck LIKE sy-subrc.
885 CLEAR : fm_name.
886
887 "Get Function module name for given smartform
888 CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
889 EXPORTING
890 formname = 'ZSFDLOS1'
891 IMPORTING
892 fm_name = fm_name.
893
>>>> CALL FUNCTION fm_name
895 EXPORTING
896 control_parameters = ssfctrlop
897 output_options = ssfcompop
898 mrefno = mrefno
899 * P_TITLE = MTITLE
900 IMPORTING
901 document_output_info = st_document_output_info
902 job_output_info = st_job_output_info " IT_OTF_DATA
903 job_output_options = st_job_output_options
904 TABLES
905 it_works_sf = sftworks
906 EXCEPTIONS
907 formatting_error = 1
908 internal_error = 2
909 send_error = 3
910 user_canceled = 4
911 OTHERS = 5.
912
913 IF sy-subrc NE 0.
Advance Thanks -
Please help in correcting the Decode function
DECODE(p_resp_key,'||'''AP'''||',LINT_LOGI_STG_ITEM_DETAILS_PKG.GET_AP_ITEM_CATEGORY_DTL(ol.inventory_item_id),ldmf_istore_order_pkg.get_wwdb_prod_description(ol.inventory_item_id)) AS description
I am getting parsing errors during runtime.I believe that something is incorrect in Decode statement.I am calling this Decopde statement in the package.Please help.
Regards
MThanks Sven for replying i am pasting the full function kindly tell me which will be the proper manner to correct teh decode statement.Please look for "--CO73977 iStore product description change start by manish" in the belwo defintion there i have used decode function.Kindly help.
v_statement := 'SELECT /*+ FIRST_ROWS */ DISTINCT ooh.order_number AS "Order Number",
NVL(bill_cas.attribute5,hp.party_name) AS "Customer Name",
TO_CHAR(ooh.ordered_date,'||'''DD-MON-YYYY'''||') AS "Order Date",
TO_CHAR(ooh.booked_date,'||'''DD-MON-YYYY'''||') AS "Booked Date",
TO_CHAR(ol.request_date,'||'''DD-MON-YYYY'''||') AS "Requested Date",
oel.meaning AS "Order Status",
ooh.cust_po_number AS "PO Number",
ooh.transactional_curr_code AS currency,
terms.NAME AS "Payment Terms",
freight.meaning AS "Freight Term",
fob.meaning AS "FOB",
ooh.sales_channel_code AS "Sales Channel",
bill_to.LOCATION AS "Bill To Location",
ship_to.LOCATION AS "Ship To Location",
terr.segment1 AS "Sales Territory - Country",
ott.NAME AS "Order Type",
oe_totals_grp.get_order_total (ooh.header_id,NULL,'||'''ALL'''||')* DECODE (ooh.order_category_code, '||'''RETURN'''||', -1, 1) AS "Order Total",
CONCAT(CONCAT(ol.line_number,'||'''.'''||'),ol.shipment_number) AS "Line Number",
ol.ordered_item AS "Item Number",
ldmf_get_customer_item(ol.sold_to_org_id,ol.inventory_item_id,ol.invoice_to_org_id,ol.ship_to_org_id) AS "Customer SKU",
--ldmf_istore_order_pkg.get_wwdb_prod_description(ol.inventory_item_id) AS description,
--CO73977 iStore product description change start by manish
--DECODE(p_resp_key,'||'''AP'''||',LINT_LOGI_STG_ITEM_DETAILS_PKG.GET_AP_ITEM_CATEGORY_DTL(ol.inventory_item_id),ldmf_istore_order_pkg.get_wwdb_prod_description(ol.inventory_item_id)) AS description,
--CO73977 iStore product description change end by manish
LINT_LOGI_STG_ITEM_DETAILS_PKG.GET_AP_ITEM_CATEGORY_DTL(ol.inventory_item_id) AS description,
ol.ordered_quantity AS "Ordered Quantity",
ol.shipped_quantity AS "Shipped Quantity",
TO_CHAR(ol.schedule_ship_date,'||'''DD-MON-YYYY'''||') AS "Schedule Ship Date",
ol.unit_selling_price AS "Unit Price",
ol.ordered_quantity * ol.unit_selling_price AS "Extended Amount",
ol.tax_value "taxes_total",
ldmf_istore_order_pkg.get_freight_charges(ooh.header_id,ol.line_id) AS "Freight Charges",
ldmf_istore_order_pkg.get_pallet_charges (ooh.header_id,ol.line_id) AS "Pallet Surcharge",
oe_oe_totals_summary.line_charges (ooh.header_id, ol.line_id ) AS "Total Charges",
DECODE(oell.meaning,'||'''Awaiting Shipping'''||','||'DECODE(TO_CHAR(LDMF_ISTORE_ORDER_PKG.CHK_DELIVERY_LN_EXISTS(ol.header_id,ol.line_id)),'||
'''1'''||','||'''Picked'''||','||
'''2'''||','||'''Picked Partial'''||','||'oell.meaning)
,oell.meaning) AS "Line Status",
TO_CHAR(ol.actual_shipment_date,'||'''DD-MON-YYYY'''||') AS "Ship Date",
(SELECT ware_house.NAME
FROM hr_all_organization_units_tl ware_house
WHERE ware_house.organization_id = NVL(ol.ship_from_org_id,ooh.ship_from_org_id)) AS WAREHOUSES,
LDMF_ISTORE_ORDER_PKG.GET_TRACKING_NUMBER(ol.header_id,ol.line_id) AS "Tracking Number",
LDMF_ISTORE_ORDER_PKG.GET_WAYBILL_NUMBER(ol.header_id,ol.line_id) AS "Waybill Number",
LDMF_ISTORE_ORDER_PKG.GET_DELIVERY_NUMBER(ol.header_id,ol.line_id) delivery_number,
LDMF_ISTORE_ORDER_PKG.GET_PRO_NUMBER(ol.header_id,ol.line_id) AS "Pro Number",
LDMF_ISTORE_SALESREP_PKG.LDMF_ISTORE_CHECK_HOLDS(hcaa.cust_account_id,ooh.header_id,ol.line_id) AS "Hold Applied",
LDMF_ISTORE_ORDER_PKG.GET_CONV_RATE(ol.ordered_item_id,ooh.org_id) AS "Pallet Qty",
ROUND(ol.ordered_quantity/DECODE(LDMF_ISTORE_ORDER_PKG.GET_CONV_RATE(ol.ordered_item_id,ooh.org_id),0,1,LDMF_ISTORE_ORDER_PKG.GET_CONV_RATE(ol.ordered_item_id,ooh.org_id)),2) AS "Pallet#",
ldmf_istore_order_pkg.get_invoice_number(ooh.order_number,ol.line_id) AS "Invoice Number",
ldmf_istore_salesrep_pkg.get_promonum(ooh.header_id,ol.line_id) AS "Promo Number",
ol.line_number,ol.shipment_number,ooh.header_id,ooh.ordered_date,
LDMF_ISTORE_ORDER_PKG.GET_SHIP_METHOD_MEANING(ol.header_id,ol.line_id) AS SHIP_METHOD_CODE,
terms.description AS "Payment_Term_Desc",
TO_CHAR((LDMF_ISTORE_ORDER_PKG.GET_ESTI_ARR_DATE(ol.ACTUAL_SHIPMENT_DATE,
ol.SHIP_FROM_ORG_ID,
ol.SHIP_TO_ORG_ID,
ol.SHIPPING_METHOD_CODE )),'||'''DD-MON-YYYY'''||') AS "Arrival_Date",
DECODE (LDMF_ISTORE_ORDER_PKG.GET_ORD_AMDMT_STATUS(ooh.header_id,ol.line_id),1 ,'||'''YES'''||',NULL) AS "Pending_Approval"
FROM oe_order_headers_all ooh,
oe_order_lines_all ol,
hz_cust_accounts_all hcaa,
oe_transaction_types_all otta,
oe_transaction_types_tl ott,
hz_parties hp,
hz_party_sites hps,
oe_lookups oel,
oe_lookups oell,
ra_terms terms,
fnd_lookup_values freight,
fnd_lookup_values fob,
wsh_new_deliveries dl,
wsh_delivery_details dd,
wsh_delivery_assignments da,
oe_order_holds_all holds,
hz_cust_site_uses_all bill_to,
hz_cust_acct_sites_all bill_cas,
hz_cust_site_uses_all ship_to,
hz_cust_acct_sites_all ship_cas,
hz_locations loc,
ra_territories terr,
org_organization_definitions ware_house,
wsh_carrier_services wcs
WHERE ooh.header_id = ol.header_id
AND ooh.sold_to_org_id = hcaa.cust_account_id
AND wcs.ship_method_code(+) = ol.shipping_method_code
AND hcaa.party_id = hp.party_id
AND hps.party_id = hp.party_id
AND loc.location_id = hps.location_id
AND ship_cas.party_site_id = hps.party_site_id
AND ooh.order_type_id = otta.transaction_type_id
AND ooh.order_type_id = ott.transaction_type_id
AND terms.term_id(+) = ooh.payment_term_id
AND da.delivery_id = dl.delivery_id (+)
AND dd.delivery_detail_id = da.delivery_detail_id(+)
AND ship_to.cust_acct_site_id = ship_cas.cust_acct_site_id
AND ship_to.site_use_id = ooh.ship_to_org_id
AND ware_house.organization_id(+) = ol.ship_from_org_id
AND bill_to.cust_acct_site_id = bill_cas.cust_acct_site_id
AND bill_to.site_use_id = ooh.invoice_to_org_id
AND bill_to.territory_id = terr.territory_id
AND ol.header_id = dd.source_header_id(+)
AND ol.line_id = dd.source_line_id(+)
AND ol.line_id = holds.line_id(+)
AND freight.lookup_type = '||'''FREIGHT_TERMS'''||'
AND freight.LANGUAGE =USERENV('||'''LANG'''||')
AND freight.lookup_code = ooh.freight_terms_code
AND ott.LANGUAGE = USERENV('||'''LANG'''||')
AND fob.lookup_code = ooh.fob_point_code
AND fob.lookup_type = '||'''FOB'''||'
AND fob.LANGUAGE =USERENV('||'''LANG'''||')
AND NVL(otta.attribute10,'||'''Y'''||') <> '||'''N'''||'
AND oel.lookup_code = ooh.flow_status_code
AND oel.lookup_type = '||'''FLOW_STATUS'''||'
AND oell.lookup_code = ol.flow_status_code
AND oell.lookup_type = '||'''LINE_FLOW_STATUS'''||'
AND ol.line_category_code <> '||'''RETURN'''||'
AND ooh.order_category_code IN ('||'''ORDER'''||','||'''MIXED'''||')
AND ooh.sold_to_org_id = '||p_sold_to_org_id
|| ' AND TRUNC(ooh.ordered_date) >= TRUNC(SYSDATE - '||p_no_of_days||')';
v_statement := v_statement || ' ORDER BY ooh.ordered_date DESC,ooh.header_id,ol.line_number,ol.shipment_number ';
OPEN p_data FOR v_statement;
EXCEPTION
WHEN OTHERS THEN
errbuf := SQLERRM ;
retcode := SQLCODE ;
END ORDER_TRACKER_DAYS;
--This Procedure fetches the Order details between the given from date and to date.
PROCEDURE ORDER_TRACKER_BETWEEN_DAYS( p_sold_to_org_id IN NUMBER
,p_search_by IN VARCHAR2
,p_start_date IN DATE
,p_end_date IN DATE
,p_resp_key IN VARCHAR2
,p_data OUT shop_cartdownload
,errbuf OUT VARCHAR2
,retcode OUT NUMBER
) AS
v_start_date VARCHAR2(1000);
v_end_date VARCHAR2(1000);
v_search_by VARCHAR2(1000);
BEGIN
SELECT ''''||p_start_date||'''' INTO v_start_date FROM dual;
SELECT ''''||p_end_date||'''' INTO v_end_date FROM dual;
v_statement := NULL;
v_statement := 'SELECT /*+ FIRST_ROWS */ DISTINCT ooh.order_number AS "Order Number",
NVL(bill_cas.attribute5,hp.party_name) AS "Customer Name",
TO_CHAR(ooh.ordered_date,'||'''DD-MON-YYYY'''||') AS "Order Date",
TO_CHAR(ooh.booked_date,'||'''DD-MON-YYYY'''||') AS "Booked Date",
TO_CHAR(ol.request_date,'||'''DD-MON-YYYY'''||') AS "Requested Date",
oel.meaning AS "Order Status",
ooh.cust_po_number AS "PO Number",
ooh.transactional_curr_code AS currency,
terms.NAME AS "Payment Terms",
freight.meaning AS "Freight Term",
fob.meaning AS "FOB",
ooh.sales_channel_code AS "Sales Channel",
bill_to.LOCATION AS "Bill To Location",
ship_to.LOCATION AS "Ship To Location",
terr.segment1 AS "Sales Territory - Country",
ott.NAME AS "Order Type",
oe_totals_grp.get_order_total (ooh.header_id,NULL,'||'''ALL'''||')* DECODE (ooh.order_category_code, '||'''RETURN'''||', -1, 1) AS "Order Total",
CONCAT(CONCAT(ol.line_number,'||'''.'''||'),ol.shipment_number) AS "Line Number",
ol.ordered_item AS "Item Number",
ldmf_get_customer_item(ol.sold_to_org_id,ol.inventory_item_id,ol.invoice_to_org_id,ol.ship_to_org_id) AS "Customer SKU",
--ldmf_istore_order_pkg.get_wwdb_prod_description(ol.inventory_item_id) AS description,
--CO73977 iStore product description change start by manish
DECODE(p_resp_key,'||'''AP'''||',LINT_LOGI_STG_ITEM_DETAILS_PKG.GET_AP_ITEM_CATEGORY_DTL(ol.inventory_item_id),ldmf_istore_order_pkg.get_wwdb_prod_description(ol.inventory_item_id)) AS description,
--CO73977 iStore product description change end by manish
ol.ordered_quantity AS "Ordered Quantity",
ol.shipped_quantity AS "Shipped Quantity",
TO_CHAR(ol.schedule_ship_date,'||'''DD-MON-YYYY'''||') AS "Schedule Ship Date",
ol.unit_selling_price AS "Unit Price",
ol.ordered_quantity * ol.unit_selling_price AS "Extended Amount",
ol.tax_value "taxes_total",
ldmf_istore_order_pkg.get_freight_charges(ooh.header_id,ol.line_id) AS "Freight Charges",
ldmf_istore_order_pkg.get_pallet_charges (ooh.header_id,ol.line_id) AS "Pallet Surcharge",
oe_oe_totals_summary.line_charges (ooh.header_id, ol.line_id ) AS "Total Charges",
DECODE(oell.meaning,'||'''Awaiting Shipping'''||','||'DECODE(TO_CHAR(LDMF_ISTORE_ORDER_PKG.CHK_DELIVERY_LN_EXISTS(ol.header_id,ol.line_id)),'||
'''1'''||','||'''Picked'''||','||
'''2'''||','||'''Picked Partial'''||','||'oell.meaning)
,oell.meaning) AS "Line Status",
TO_CHAR(ol.actual_shipment_date,'||'''DD-MON-YYYY'''||') AS "Ship Date",
(SELECT ware_house.NAME
FROM hr_all_organization_units_tl ware_house
WHERE ware_house.organization_id = NVL(ol.ship_from_org_id,ooh.ship_from_org_id)) AS WAREHOUSES,
LDMF_ISTORE_ORDER_PKG.GET_TRACKING_NUMBER(ol.header_id,ol.line_id) AS "Tracking Number",
LDMF_ISTORE_ORDER_PKG.GET_WAYBILL_NUMBER(ol.header_id,ol.line_id) AS "Waybill Number",
LDMF_ISTORE_ORDER_PKG.GET_DELIVERY_NUMBER(ol.header_id,ol.line_id) delivery_number,
LDMF_ISTORE_ORDER_PKG.GET_PRO_NUMBER(ol.header_id,ol.line_id) AS "Pro Number",
LDMF_ISTORE_SALESREP_PKG.LDMF_ISTORE_CHECK_HOLDS(hcaa.cust_account_id,ooh.header_id,ol.line_id) AS "Hold Applied",
LDMF_ISTORE_ORDER_PKG.GET_CONV_RATE(ol.ordered_item_id,ooh.org_id) AS "Pallet Qty",
ROUND(ol.ordered_quantity/DECODE(LDMF_ISTORE_ORDER_PKG.GET_CONV_RATE(ol.ordered_item_id,ooh.org_id),0,1,LDMF_ISTORE_ORDER_PKG.GET_CONV_RATE(ol.ordered_item_id,ooh.org_id)),2) AS "Pallet#",
ldmf_istore_order_pkg.get_invoice_number(ooh.order_number,ol.line_id) AS "Invoice Number",
ldmf_istore_salesrep_pkg.get_promonum(ooh.header_id,ol.line_id) AS "Promo Number",
ol.line_number,ol.shipment_number,ooh.header_id,ooh.ordered_date,
LDMF_ISTORE_ORDER_PKG.GET_SHIP_METHOD_MEANING(ol.header_id,ol.line_id) AS SHIP_METHOD_CODE,
terms.description AS "Payment_Term_Desc",
TO_CHAR((LDMF_ISTORE_ORDER_PKG.GET_ESTI_ARR_DATE(ol.ACTUAL_SHIPMENT_DATE,
ol.SHIP_FROM_ORG_ID,
ol.SHIP_TO_ORG_ID,
ol.SHIPPING_METHOD_CODE )),'||'''DD-MON-YYYY'''||') AS "Arrival_Date",
DECODE (LDMF_ISTORE_ORDER_PKG.GET_ORD_AMDMT_STATUS(ooh.header_id,ol.line_id),1 ,'||'''YES'''||',NULL) AS "Pending_Approval"
FROM oe_order_headers_all ooh,
oe_order_lines_all ol,
hz_cust_accounts_all hcaa,
oe_transaction_types_all otta,
oe_transaction_types_tl ott,
hz_parties hp,
hz_party_sites hps,
oe_lookups oel,
oe_lookups oell,
ra_terms terms,
fnd_lookup_values freight,
fnd_lookup_values fob,
wsh_new_deliveries dl,
wsh_delivery_details dd,
wsh_delivery_assignments da,
oe_order_holds_all holds,
hz_cust_site_uses_all bill_to,
hz_cust_acct_sites_all bill_cas,
hz_cust_site_uses_all ship_to,
hz_cust_acct_sites_all ship_cas,
hz_locations loc,
ra_territories terr,
org_organization_definitions ware_house,
wsh_carrier_services wcs
WHERE ooh.header_id = ol.header_id
AND ooh.sold_to_org_id = hcaa.cust_account_id
AND wcs.ship_method_code(+) = ol.shipping_method_code
AND hcaa.party_id = hp.party_id
AND hps.party_id = hp.party_id
AND loc.location_id = hps.location_id
AND ship_cas.party_site_id = hps.party_site_id
AND ooh.order_type_id = otta.transaction_type_id
AND ooh.order_type_id = ott.transaction_type_id
AND terms.term_id(+) = ooh.payment_term_id
AND da.delivery_id = dl.delivery_id (+)
AND dd.delivery_detail_id = da.delivery_detail_id(+)
AND ship_to.cust_acct_site_id = ship_cas.cust_acct_site_id
AND ship_to.site_use_id = ooh.ship_to_org_id
AND ware_house.organization_id(+) = ol.ship_from_org_id
AND bill_to.cust_acct_site_id = bill_cas.cust_acct_site_id
AND bill_to.site_use_id = ooh.invoice_to_org_id
AND bill_to.territory_id = terr.territory_id
AND ol.header_id = dd.source_header_id(+)
AND ol.line_id = dd.source_line_id(+)
AND ol.line_id = holds.line_id(+)
AND freight.lookup_type = '||'''FREIGHT_TERMS'''||'
AND freight.LANGUAGE =USERENV('||'''LANG'''||')
AND freight.lookup_code = ooh.freight_terms_code
AND ott.LANGUAGE = USERENV('||'''LANG'''||')
AND fob.lookup_code = ooh.fob_point_code
AND fob.lookup_type = '||'''FOB'''||'
AND fob.LANGUAGE =USERENV('||'''LANG'''||')
AND NVL(otta.attribute10,'||'''Y'''||') <> '||'''N'''||'
AND oel.lookup_code = ooh.flow_status_code
AND oel.lookup_type = '||'''FLOW_STATUS'''||'
AND ol.line_category_code <> '||'''RETURN'''||'
AND ooh.order_category_code IN ('||'''ORDER'''||','||'''MIXED'''||')
AND oell.lookup_code = ol.flow_status_code
AND oell.lookup_type = '||'''LINE_FLOW_STATUS'''||'
AND ooh.sold_to_org_id = '||p_sold_to_org_id ;
IF p_search_by = '1' THEN
v_search_by := ' AND TRUNC(ooh.ordered_date) ';
ELSIF p_search_by = '2' THEN
v_search_by := ' AND TRUNC(ol.request_date) ';
ELSIF p_search_by = '3' THEN
v_search_by := ' AND TRUNC(ol.actual_shipment_date) ';
ELSIF p_search_by = '4' THEN
v_search_by := ' AND TRUNC(ol.schedule_ship_date) ';
END IF;
v_statement := v_statement || v_search_by;
v_statement := v_statement ||' >= '|| v_start_date || v_search_by ||' <= '||v_end_date;
v_statement := v_statement || ' ORDER BY ooh.ordered_date DESC,ooh.header_id,ol.line_number,ol.shipment_number ';
OPEN p_data FOR v_statement;
EXCEPTION
WHEN OTHERS THEN
errbuf := SQLERRM ;
retcode := SQLCODE ;
END ORDER_TRACKER_BETWEEN_DAYS; -
Can we call DMS Attachment Function from ECC to SRM
Hello All,
We have the below requirement.
a) User Create the RFx(SRM) from PR(ECC) vai CPPR functionality.Now during creation we need to copy the DIR Links of PR to RFx .
b) In SRM RFx ,at item level we need to place a button called "DIR" ,when user click on the button , we need to bring the DMS Attachment POP UP from ECC to SRM , where user can add new DIR or Delete the DIR.
Can we do the requirement "b" ? , is there way we can call the "DMS Attachment Function" from SRM? . Kindly share your thoughts.
Thanks
Channa.
DMS Attachment Function"Dear Channa,
due to your screenshot I saw that you are still working with old object link dynpros.
To grant that allways the currenct screens and authorizations were called please maintain also the value "1" into the "Authorization" column. For further informations on this maintainance please see the attached note 1066915. It's important that you not enter the mentioned screen number wihtout the leading "1" as this number is added automatically by the system (e.g. object MARA 1201 maintain like MARA 201). You can do this in customizing under:
Transaction SPRO
> Cross-Application-Component
> Document Management
> Control Data
> Define screen for object links
If you need the dynpro number or object you will find all standard SAP objects and their screen number in function module CV130 (Screens) by transaction SE80. Please maintain all necessary SAP objects.
Best regards,
Christoph -
Need help to call a simple function from within another function?
I created a movieclip which has a function in its one and only frame.
function testx() {
x = x+2};
This movieclip is in the main timeline (in its own layer).
In another layer on the timeline I have created a single keyframe with a button instance called myBtn
myBtn.onRelease = function() {
var x
x =2
testx(2);
trace (x);
What I want to do is call the function in the movieclip frame from the button press function. However, I can't seem to reference it properly.
Can anyone help me to basically call a simple function from within another function?Yes am using CS4. Have saved it as CS3 now. Ok the file is somewhat complicated and what I am testing is not what I ultimately want to do but if I can pass that variable I can figure it out. In terms of describing the file I think the only parts of importance are what I put in my previous post (please let me know if there is something I should be telling you that I have missed). I am 99.9% sure that I am using the correct instance name.
Scene1 Layer3 Frame1 has the function call for the button.
myBtn.onRelease = function() {
var x
x = 2
testx(2);
trace (x);
Slideshow layer //Actions Frame1 has the function
function testx(x) {
x = x+2};
thank you so much for helping me. -
How to call the 'DETAIL' function in ALV for a program?
Dear Friends,
I have a prf_tree (TYPE REF TO cl_gui_alv_tree), and I added below codes to add an new button for displaying the detail record, it works fine:
CALL METHOD prf_toolbar->add_button
EXPORTING
fcode = prf_tree->mc_fc_detail
icon = icon_detail
butn_type = cntb_btype_button
text = ''
quickinfo = 'Show Details'.
Everytime I click this new button, a window will popup and display the record details.
My question is: how to call this standard function ('DETAIL' function) in a program? for example:
CASE ldf_ok_code.
WHEN gcf_okcode_save.
PERFORM okcode_save.
WHEN 'SHOW_DETAIL'.
CHECK gdf_nodkey_9003 IS NOT INITIAL.
PERFORM SHOW_DETAIL.(How to write this code to display the detail data of the selected record?)
Thanks a lot!Hi,
Go for Interactive Reporting
like When u click on the output then it will show the Detail report u want .
for that purpose Pls
Use Hide command .
And call another report
by using SUBMITT Program -
'Control parameters' when call the smartform function module
Hi all,
I want to know what we have to export as value to control papameter while calling the fm of smartform.
Plz also let me know the various parameters in CONVERT_OTF.
Thanks in advance.WA_CONTROL_PARAMETERS-GETOTF = 'X'.
the above is needed if you want OTF data, to convert it to PDF
WA_CONTROL_PARAMETERS-LANGU = 'E'.
Language of smartform
WA_CONTROL_PARAMETERS-DEVICE = 'PRINTER'.
*default o/p device
WA_CONTROL_PARAMETERS-NO_DIALOG = 'X'.
if you dont want the pop up screen , that asks you for printing make the value as 'X' .
other wise make it as space or clear it.
WA_CONTROL_PARAMETERS-PREVIEW = SPACE.
if u want the print preview , make it as 'X' , otherwise SPACE
Below code shows how you can convert the OTF data to PDF data.
calling the smartform.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = 'Z_SMARTFORM'
IMPORTING
FM_NAME = WF_FUNCMODULENAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
CALL FUNCTION WF_FUNCMODULENAME
EXPORTING
CONTROL_PARAMETERS = WA_CONTROL_PARAMETERS "Control Params
OUTPUT_OPTIONS = WA_OUTPUT_OPT "Output Options
WF_CARRID = WF_CARRID
WF_CONNID = WF_CONNID
WF_FLDATE = WF_FLDATE
IMPORTING
DOCUMENT_OUTPUT_INFO = WA_DOCUMENT_OUTPUT_INFO
JOB_OUTPUT_INFO = WA_JOB_OUTPUT_INFO
JOB_OUTPUT_OPTIONS = WA_JOB_OUTPUT_OPTIONS
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
CALL FUNCTION 'CONVERT_OTF_2_PDF'
EXPORTING
ARCHIVE_INDEX = WA_ARC_IDX
IMPORTING
BIN_FILESIZE = WF_NUMBYTES
TABLES
OTF = WA_JOB_OUTPUT_INFO-OTFDATA[]
DOCTAB_ARCHIVE = TB_DOCTAB_ARCHIVE[]
LINES = TB_LINES[]
EXCEPTIONS
ERR_CONV_NOT_POSSIBLE = 1
ERR_OTF_MC_NOENDMARKER = 2
OTHERS = 3. -
Where to call the javascript function
Hi,
I am using JSF and ADF.
I have a javascript function called by the body onload.
The javascript is to set the first the first column of a table fixed.
But when I click the next page link which is generated by defaut,
the function from the javascript disappears.
Can I call a javascript function when pressing the next page link which is
generated by default ?
Thanks.
IvanHi Frank,
My javascript function is to make the first column of the table fixed which
is something like the function in the Excel.
The function is called by body onload.
But when the 'next page' link is clicked, it will not refresh the whole page.
The above cannot be called.
So I wanna add it during the action of pressing the link.
any alternatives ?
Ivan -
How to call the DLL functions through Java
Hello,
I have already got a VC++ generated DLL. It has serveral functionalities. I need to call those functions from my Java Application. Now i know that it can be possible only through writing Java JNI Interfaces.
Everywhere i only see they give an example where in they tell to create an DLL. Now how do i will call if an DLL is ready and exists.
If anyone can give an example then it will be very helpful to me. Please mail me at [email protected] .
Thank you
vvpatroYou can't call functions in an arbitary DLL form Java. You need to use JNI to produce a 'wrapper' DLL that maps Java methods to the methods in the target DLL. The purpose of the wrapper is to allow type conversion between Java types and C/C++ types. The complexity of this task depends largely on the types used in th target DLL. If the targer DLL uses only primitive types such as char, byte, int, long, string, the translation is simple and the wrapper DLL will be 'thin'. If however, the target DLL passes arrays and objects, or employs callbacks, these more work to do, and the wrapper will be correspondingly 'thicker'.
Hope this helps. -
How to create context sensitive help and call the role based help from my Java Project?
Hello All,
I am new to Robo Help. I have created a Robo help for my Java Web Applicaion. My application is role base i.e some user's will not see some of the pages of the application. So I want to hide those pages in Robo help as well. I tried creating multiple TOC for different Roles.
My Question is
How to call robo Help from my application?(I will be calling using java script. If it is with RoboHelp_CSH.js where can I get that and How to implement it in my project)
How to implement role based help?
Thanks,
Siva.I answered that. My point in asking whether it matters was that if it does, then you cannot use content categories and point different users to different categories and not allow them to see the others.
The alternative, as I said, would be to produce different outputs for each role.
As it does matter, then using webhelp you will have to use your RoboHelp project to produce a number of outputs, one for each category. Your app would install each webhelp into different folders and when your app determines the user role, you will link to the appropriate help.
There is another thread running where it has been explained by Willam van Weelden that you can achieve what you want using browser based AIR help. If that form of help can be considered, then the thread is at http://forums.adobe.com/message/4914753?tstart=0#4914753
Browser based AIR help must be run from a web server. It cannot be installed locally.
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge
Maybe you are looking for
-
Syncing contacts/calendars on multiple iPod Touch using 1 Apple ID
My wife and I each have an iPod Touch (5th gen) connected to a single Apple ID. We each have our own calendars and contacts and do not want to mix them together. Unfortunately, I had already upgraded our iMac to 10.9. Contacts and calendars now go th
-
Grid binding throws error.
Hi Experts! When I bind a table to a dataprovider. It throws throws the following error. Please help me in soving the problem. Exception Details: org.apache.jasper.JasperException java.sql.SQLException: execute() never called Thanks in advance
-
MacBookPro 15" CPU whine: how to test, samples as .mp3
My W8614- MacBook Pro 15" still has the CPU whine, both with the power adapter plugged in (lower volume) and unplugged (higher volume). It emanates from both speakers even when the speakers are muted (volume zero). My guess for the root cause is not
-
I have Shared a small iMovie 09 project via Media Browser. I am trying to burn it to a DVD using iDVD 09 where it will play immediately. I drag it into the theme window but it doesn't play when I press the preview button. This should be simple. Wha
-
Dreamweaver CS3 trial question
First and only to make sure I don't come out looking totally stupid, is the Dreamweaver CS3 compatible with Vista? If so, why can I NOT use it? I click the I want to try for 30 days and it gives me an error. I also tried the Photoshop CS3 trial a few