VBA code that calls the Send Active Work Sheet function
Hi There,
I would like to know if it is possible to have a button that calls some VBA code that does the same as the u201CSend Active Work Sheetu201D function from the BPC action pane. I am developing a custom workbook, but would like to have a button that calls the send active worksheet and returns the status window . "MNU_ESUBMIT_REFSCHEDULE_SHEET_REFRESH" sends the active worksheet but does not return a status window.
Kind Regards
Daniel
I am unaware of any other "undocumented" features that might perform the exact scenario you are needing. Perhaps this is an enhancement request.
If you only need to display a generic informational dialog that data has been sent and not include the specifics of the data that was sent (ie: number records sent, accepted, rejected...). Perhaps you could use one of the MNU_eSUBMIT_SHEET options that doesn't provide the results feedback and then in an AFTER_SEND() function pop-up a msgbox informing the user that data has been sent?
Or, investigate the use of MNU_eSUBMIT_VALIDATE prior to the MNU_eSUBMIT_SHEET.....I personally have never used that option.
Similar Messages
-
My imessage suddenly quit working. We have done resets and restored it and still nothing. Even created a new Apple ID but have noticed that in the send & received part of settings, it does not show my phone number, only my email address!! Never had a problem before today!
You can have a separate AppleID only for iMessage and keep using the other one for iTunes.
Just change the AppleID used for iMessage in Settings > Messages > Receive At -
The BEx Analyzer cannot generate VBA code due to the security settings
Hello experts,
when I try to open a query in BEx Analyser I get this error message for each Item of the Query:
Diagnosis
The BEx Analyzer cannot generate VBA code due to the security settings.
System Response
VBA code is not generated.
Procedure
Choose Tools -> Macro -> Security.
On the Trusted Publishers tab page, select Trust access to Visual Basic project.
Choose OK.
Close the BEx Analyzer and continue working as before.
Access to Visual Basic project is only needed when generating VBA code.
This only takes place in design mode or when 3.x workbooks are upgraded.
Of course I did exactly what was recommanded in the "procedure-section" of this error message. But BEx ist still not working!
I use SAP NetWeaver 7.0 together with MS Excel 2007
Thanks
AxelHello experts,
I am an additional person interested in the way this issue was solved.
I confirm that the issue is coming from the SP2 of Microsoft Office (I have another environnement without the SP2 and everything works well), and I am in a situation where I can't remove the update.
Regards
Guillaume P.
EDIT :
Solution found : I applied the bi710sp10p_1001-10004472.exe patch
(downloaded via the download maanger : Support Packages and Patches - Entry by Application Group" SAP Frontend Components" BI ADDON FOR SAP GUI" BI 7.0 ADDON FOR SAP GUI 7.10)
Edited by: GUILLAUME PETIAUX on Apr 13, 2010 10:29 AM -
Error saying "Enter the sender activity type also"
While trying to upload the HR details from NON SAP to SAP through SE38, an error reflects asking to enter the sender activity type.
Can any body help me.Hi,
Please refer to the online documentation help whose link is listed below :
http://help.sap.com/saphelp_erp60_sp/helpdata/en/c3/c6c2a40f4f11d2956400a0c930669b/content.htm
This link mentions four different data entry scenarios that can be configured for data entry profile in CATS.
if you want to have the activity transfered to HR, you have to activate this Controlling object for pers. cost assignment in your
customizing:
- Personnel Time Management
- Time Data Recording and Administration
- Integrating Time Management with Other R/3 Applications
- Recording Personnel Costs
- Enter Controlling objs permitted for pers. cost assignment
here you can find in the documentation:
'In this step, you specify which Cost Allocation or Funds Management objects the personnel costs can be assigned to.
and, in addition, for account assignment to activity type:
COBL-LSTAR Activity type
In cac1 'cost accounting variant' is set to 'Assignment of personnel costs to master cost center'. In this case, the cost center is not transferred to HR. Activity allocation is done directly from cats through the other (non-hr) components. Check for 'activity allocation' in the online documentation.
the cost assignment variant 'B' (Assignment of personal costs to sender) needs a receiving accounting object.
If there is no receiving object the cost assignment variant changes to '0'.
regards
Waman -
What are the T-codes that contain the master data for material and vendor?
what are the T-codes that contain the master data for material and vendor?
hi ,
- Display Material tcodes...
MM01 - Create Material
MM02 - Change Material
MM03 - Display Material
MM50 - List Extendable Materials
MMBE - Stock Overview
MMI1 - Create Operating Supplies
MMN1 - Create Non-Stock Material
MMS1 - Create Service
MMU1 - Create Non-Valuated Material
ME51N - Create Purchase Requisition
ME52N - Change Purchase Requisition
ME53N - Display Purchase Requisition
ME5A - Purchase Requisitions: List Display
ME5J - Purchase Requisitions for Project
ME5K - Requisitions by Account Assignment
MELB - Purch. Transactions by Tracking No.
ME56 - Assign Source to Purch. Requisition
ME57 - Assign and Process Requisitions
ME58 - Ordering: Assigned Requisitions
ME59 - Automatic Generation of POs
ME54 - Release Purchase Requisition
ME55 - Collective Release of Purchase Reqs.
ME5F - Release Reminder: Purch. Requisition
MB21 - Create Reservation
MB22 - Change Reservation
MB23 - Display Reservation
MB24 - Reservations by Material
MB25 - Reservations by Account Assignment
MB1C - Other Goods Receipts
MB90 - Output Processing for Mat. Documents
MB21 - Create Reservation
MB22 - Change Reservation
MB23 - Display Reservation
MB24 - Reservations by Material
MB25 - Reservations by Account Assignment
MBRL - Return Delivery per Mat. Document
MB1C - Other Goods Receipts
MB90 - Output Processing for Mat. Documents
MB1B - Transfer Posting
MIBC - ABC Analysis for Cycle Counting
MI01 - Create Physical Inventory Document
MI02 - Change Physical Inventory Document
MI03 - Display Physical Inventory Document
MI31 - Batch Input: Create Phys. Inv. Doc.
MI32 - Batch Input: Block Material
MI33 - Batch Input: Freeze Book Inv.Balance
MICN - Btch Inpt:Ph.Inv.Docs.for Cycle Ctng
MIK1 - Batch Input: Ph.Inv.Doc.Vendor Cons.
MIQ1 - Batch Input: PhInvDoc. Project Stock
MI01 - Create Physical Inventory Document
MI02 - Change Physical Inventory Document
MI03 - Display Physical Inventory Document
MI31 - Batch Input: Create Phys. Inv. Doc.
MI32 - Batch Input: Block Material
MI33 - Batch Input: Freeze Book Inv.Balance
MICN - Btch Inpt:Ph.Inv.Docs.for Cycle Ctng
MIK1 - Batch Input: Ph.Inv.Doc.Vendor Cons.
MIQ1 - Batch Input: PhInvDoc. Project Stock
MI01 - Create Physical Inventory Document
MI02 - Change Physical Inventory Document
MI03 - Display Physical Inventory Document
MI31 - Batch Input: Create Phys. Inv. Doc.
MI32 - Batch Input: Block Material
MI33 - Batch Input: Freeze Book Inv.Balance
MICN - Btch Inpt:Ph.Inv.Docs.for Cycle Ctng
MIK1 - Batch Input: Ph.Inv.Doc.Vendor Cons.
MIQ1 - Batch Input: PhInvDoc. Project Stock
MI21 - Print physical inventory document
MI04 - Enter Inventory Count with Document
MI05 - Change Inventory Count
MI06 - Display Inventory Count
MI09 - Enter Inventory Count w/o Document
MI34 - Batch Input: Enter Count
MI35 - Batch Input: Post Zero Stock Balance
MI38 - Batch Input: Count and Differences
MI39 - Batch Input: Document and Count
MI40 - Batch Input: Doc., Count and Diff.
MI08 - Create List of Differences with Doc.
MI10 - Create List of Differences w/o Doc.
MI20 - Print List of Differences
MI11 - Physical Inventory Document Recount
MI07 - Process List of Differences
MI37 - Batch Input: Post Differences
for vendor..
XKN1 Display Number Ranges (Vendor)
XK01 Create vendor (centrally)
XK02 Change vendor (centrally)
XK03 Display vendor (centrally)
XK04 Vendor Changes (Centrally)
XK05 Block Vendor (Centrally)
XK06 Mark vendor for deletion (centrally
XK07 Change vendor account group
XK11 Create Condition
XK12 Change Condition
XK13 Display Condition
XK14 Create with cond. ref. (cond. list)
XK15 Create Conditions (background job)
reward points if useful,
venkat. -
I was given an iMac without iPhoto. Have updated to OS to 10.6.8. How do I get a version of iPhoto that will the updates will work with? Downloaded 9.2.1 and it looked for 9.1; downloaded 9.1 and it looked for 9.0??
You can Purchase iPhoto in the Apps Store...
-
T-code that resets the counts in the storage bins
hello,
is there any T-code that resets the counts in the storage bins.
As we do our weekly counts it keeps a running total of how many bin are completed and allows us to track the warehouse's progress.
Regards
GouthamOf cource, very sorry to waste your time,
I didn't even notice LOL
But your question is a easy question so I am sure some one will respond with a good answer for you.
our program name is RLREOLPQ
not sure if the program is custon or just t-code
gl
Edit: may be a bad sign for you, maybe no standard t-code if we had to create a custum one
Edited by: Arakish on Apr 1, 2010 10:32 PM -
Question - How does the Priority feature of the Send Port work?
How does the Priority feature of the Send Port work?
The Priority setting of the Transport Advanced Options controls the order in which messages are removed from the messageBox. Ports with higher priority will be processed earlier than the ports with lower prioirty making the higher priority ports more important
relative to other send ports within a single host.
Refer:
Send Port Priority
The highest prioirty is 1, and the lowest is 10. The default value is 5.
Rachit -
Hi Experts,
I am using one FM "SO_NEW_DOCUMENT_SEND_API1" to send mail form my program.
In the receipient inbox under from address the mail is showing
the USER ID in which that program has been executed .
*Is it possible to send a hard coded value as a sender instead of the sap user id in the sender address * .
Regards
sarmistha
Edited by: sarmistha das on May 6, 2008 11:18 AMHi,
Using FM SO_NEW_DOCUMENT_SEND_API1 you cannot have hard coded sender address.
You can create your Z fm that is copy of the above fm and implement an option to have sender address.
Or you can implement below logic to send an email in your program.
*TABLES : ypgtest.
DATA: send_request TYPE REF TO cl_bcs.
DATA: text TYPE bcsy_text.
DATA: xtext TYPE STANDARD TABLE OF solix .
DATA: document TYPE REF TO cl_document_bcs.
DATA: sender TYPE REF TO if_sender_bcs.
DATA: recipient TYPE REF TO if_recipient_bcs.
DATA: bcs_exception TYPE REF TO cx_bcs.
DATA: sent_to_all TYPE os_boolean.
DATA: conlength TYPE i ,
conlengths TYPE so_obj_len ,
result_content TYPE string .
subject TYPE so_obj_des .
DATA: e_r_page TYPE REF TO cl_rsr_www_page.
DATA: content_length TYPE w3param-cont_len ,
content_type TYPE w3param-cont_type,
return_code TYPE w3param-ret_code .
DATA: html TYPE STANDARD TABLE OF w3html .
DATA: server TYPE string ,
port TYPE string .
DATA: wa_rec TYPE ad_smtpadr .
DATA: bcs_message TYPE string .
DATA : reply TYPE REF TO if_recipient_bcs.
DATA: tmp_str TYPE string .
data: v_sender like SENDER_ID.
v_sender = SENDER_ID.
IF NOT recepients[] IS INITIAL .
CLEAR result_content.
CLEAR : server, port .
CALL FUNCTION 'TH_GET_VIRT_HOST_DATA'
EXPORTING
protocol = 1
virt_idx = 0
LOCAL = 1
IMPORTING
hostname = server
port = port
EXCEPTIONS
not_found = 1
internal_error = 2
OTHERS = 3 .
CLEAR tmp_str .
CONCATENATE 'http://' server ':' port '/sap/public/' INTO tmp_str .
REPLACE ALL OCCURRENCES OF '/sap/public/' IN result_content WITH
tmp_str .
CLEAR tmp_str .
CLEAR: conlength,conlengths .
REFRESH text .
text[] = email_body[].
TRY.
CLEAR send_request .
send_request = cl_bcs=>create_persistent( ).
CLEAR document .
document = cl_document_bcs=>create_document(
i_type = 'HTM'
i_text = text
i_length = conlengths
i_subject = subject ).
add document to send request
CALL METHOD send_request->set_document( document ).
CLEAR sender .
sender = cl_cam_address_bcs=>create_internet_address( SENDER_ID ).
CALL METHOD send_request->set_sender
EXPORTING
i_sender = sender.
CLEAR sender .
reply = cl_cam_address_bcs=>create_internet_address( reply_id ).
CALL METHOD send_request->set_reply_to
EXPORTING
i_reply_to = reply.
CLEAR wa_rec .
LOOP AT recepients INTO wa_rec .
CLEAR recipient .
recipient = cl_cam_address_bcs=>create_internet_address(
wa_rec ).
add recipient with its respective attributes to send request
CALL METHOD send_request->add_recipient
EXPORTING
i_recipient = recipient
i_express = 'X'.
ENDLOOP .
CALL METHOD send_request->set_status_attributes
EXPORTING
i_requested_status = 'E'
i_status_mail = 'E'.
CALL METHOD send_request->set_send_immediately( 'X' ).
---------- send document ---------------------------------------
CALL METHOD send_request->send(
EXPORTING
i_with_error_screen = 'X'
RECEIVING
result = sent_to_all ).
IF sent_to_all = 'X'.
APPEND 'Mail sent successfully ' TO return .
ENDIF.
COMMIT WORK.
* exception handling
* replace this very rudimentary exception handling
* with your own one !!!
CATCH cx_bcs INTO bcs_exception.
bcs_message = bcs_exception->get_text( ).
APPEND bcs_message TO return .
EXIT.
ENDTRY.
ELSE .
APPEND 'Specify email address for sending' TO return .
ENDIF .
Regards,
Shravan G. -
Sample code that allows System.inheritedChannel() to work?
Hi,
I would like to create a C program, which will launch a Java runtime. I want the C program to open a listening socket, then pass that listening socket to the started Java VM.
I should be able to do this, and have the java VM inherit the listening socket, and then in the Java program, I should be able to get the listening socket with System.inheritedChannel().
In theory, anyway, all the docs seem to state that this is possible. But the problem is that I haven't found any code that does this. I'm not sure how I should setup the listening socket so that its the one that is picked by the inheritedChannel() call. What happens if my C program has multiple sockets, both connected and listening? How is the correct one determined? And do I have to have any special implementation of SelectorProvider?
Finding a working sample would really help me figure this out. Or, just any program that already uses this mechanism somewhere.
Can someone point me to such a sample?
Thanks,
GregThe following 'c' code will first create a LISTEN socket then pass it to the Java application following. This, with the previous post show both passing connected clients as-well-as service sockets to java via System.inheritedChannel().
#include "stdnet.h" // platform specific network headers
int
main(int argc,char *argv[])
pid_t childPid = (pid_t)-1;
// setServiceOnHostPort() creates bound LISTEN socket
int service = setServiceOnHostPort("127.0.0.1",13333);
fprintf(stderr,"service socket is %d, on port %d\n",
service,getServicePort(service));
// create child process in which to start the jvm
if ((pid_t)0 > (childPid = fork()))
fprintf(stderr,"Cannot fork(), errno = %d\n",errno);
exit(-1);
} else if ((pid_t)0 != childPid) {
// close replace the tty fd with our service (LISTEN) socket
dup2(service,STDIN_FILENO);
// close the others, just in case
dup2(-1,STDOUT_FILENO);
dup2(-1,STDERR_FILENO);
// stdin == service so we can close service now
close(service);
execvp(argv[1],&argv[1]);
/* Failed to start application, pause before exiting w/ 123 */
_exit(123);
} /* if ((pid_t)0 > (childPid = fork())) */
// parent can leave now, of course its better to see if jvm actially
// started here by looking for child's exit code of 123.
return(0);
} /* int main(int argc,char argv[]) /
Now the java code.
import java.io.File;
import java.io.PrintStream;
import java.net.ServerSocket;
import java.net.Socket;
import java.nio.channels.ServerSocketChannel;
import java.nio.channels.SocketChannel;
public class jInetdApp
public static void main(String[] args)
throws Exception
System.setOut(new PrintStream(new File(
System.getProperty("user.dir") + "/java-inetd.out")));
System.setErr(new PrintStream(new File(
System.getProperty("user.dir") + "/java-inetd.err")));
Object stdInObject = (Object)System.inheritedChannel();
// started w/ connected socket
if (stdInObject instanceof SocketChannel)
SocketChannel channel =
(SocketChannel) stdInObject;
Socket socket = channel.socket();
System.err.println("channel: " + channel);
System.err.println("socket: " + socket);
PrintStream ps =
new PrintStream(socket.getOutputStream());
ps.println("Hello world");
ps.flush();
ps.close();
socket.shutdownInput();
socket.shutdownOutput();
socket.close();
// started with service (LISTEN) socket
} else if (stdInObject instanceof ServerSocketChannel) {
ServerSocketChannel channel =
(ServerSocketChannel) stdInObject;
ServerSocket socket =
(ServerSocket)channel.socket();
System.err.println("channel: " + channel);
System.err.println("socket: " + socket);
Thread.sleep(30000);
socket.close();
// started from command line??
} else {
System.err.println("stdInObject: " + stdInObject);
} if (stdInObject instanceof SocketChannel)
System.err.flush();
System.out.flush();
} // public static void main(String[] args)
} // public class jInetdApp
I hope this is helps.
cj -
On my IChat accountn when I send a message to someone it shows a name, for example.
John Doe (IM):
Hello
John doe is not my name. Mine for the sake of discussion will be
Jim Nabors
Why is John Doe showing up on my sent ICHAT texts when its not associated with my account?Hi,
Can I check I have Understood this correctly ?
You are saying if You send the IM the Buddy sees the name "John Doe" instead of "Jim Nabors" ?
If this is an AIM login name there can be several reasons for this.
1) AIM allow Display names to be used.
Most people will remember setting this and tend to add Capitals and Spaces to their "Name"
If you Visit AIM Settings you can check your Display Name (if there is one)
Mine look like this when I have signed in
I have it set to display iChat Guru
2) iChat takes the naes in the Buddy List you have and combines that with the Address Book entries (an entry has to list a person's Screen Name)
That causes the iChat Buddy List to display their "Real Name" (or whatever you added as their "First Name, Last Name")
It could be that your Buddy calls you "John Doe" in their Address Book.
The only way you can be sure is to have them take a Screen Shot of the chat and send it to you.
(best to use some phrase or pic so you are certain is going to be you only)
Example Bonjour Chat with me at both ends.
I have the View Menu > Messages set to to display Names and Buddy Pics so the left hand "Buddy" shows my name as in the Address Book on the other computer (even though I use the same pic)
This leads on to what iChat shows you at your end.
In the header it can show your your "Handle" (Screen Name) or your Real Name as it appears in the address Book at the My Card entry.
The Address Book tends to have the name in the My Card of the person that created the Mac User Account.
This can mean that if your are logged on to the Mac as someone else that this will display at your End.
Only your Screen Name is sent to the other end.
10:00 PM Thursday; January 26, 2012
Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
G4/1GhzDual MDD (Leopard 10.5.8)
MacBookPro 2Gb (Snow Leopard 10.6.8)
Mac OS X (10.6.8),
"Limit the Logs to the Bits above Binary Images." No, Seriously -
Code to retrive the sender and receiver interface names using custome adapter module
Hello Team,
I want to develop an custom adapter module which could retrieve the names of the sender and receiver interfaces of the scenario and for that i am trying to use com.sap.aii.af.service.administration.api.monitoring.ProcessContextFactory.ParamSet but i don't know whether this API will support or not and also i don't know how to develop the code using this API so please suggest me some code for it so that i could retrieve the names.
Thanks you all in advance.
Regards,
Avinash.Hi,
Just ASMA setting will do the needful. Are you planning to rename your target file name. If yes then only you will require UDF.
Update: Since your directory name will be taken from source file name then you have to use mapping for this, else it will not be possible.
I don't know if creating a new module for this will help you solve the issue, but in that case rather creating adapter module, mapping will be easier.
Regards,
Sarvesh
Edited by: Sarvesh Singh on Dec 7, 2009 3:04 PM -
Inherited code that has the terminals all placed as icons
IMHO, the stupidest thing that we deal with in LabView is neophytes creating programs and using terminals placed as icons. Space on a diagram is already at a premium.... Anyway, off my soapbox. I have inherited code from a person who has used "View as Icon" terminals ALL OVER the diagrams. Our standard is to not do that and rather than click on EVERY SINGLE terminal (there are a lot), is there anyway that I can do a mass property change of all the terminals so they are not viewed as icons?
Note to NI.... get rid of that option. However, I am not opposed if some can tell me a good reason for maintaining that option and having large icons all over the place that to the uninitiated are easily confused with the similarly sized sub-vis.
Thanks.altenbach wrote:
Personally I would prefer something a little bit less radical than "...everything in folder and subfolders...". How about something that can be placed in the menu which then would apply the action to the current VI only?
The original poster sounded like he needed something that would be a one-shot fix for everything in his hierarchy. For those of you who wish to write your own tool to do this, here is a subVI you can call that takes in a VI reference and performs the non-icon view conversion on that VI. It has a boolean input to specify whether or not you want to save the VI after the conversion. Saved in 8.0.
-D
Darren Nattinger, CLA
LabVIEW Artisan and Nugget Penman
Attachments:
Change Terminals to Non-Icon View (Single VI).vi 24 KB -
Release code that approved the PO.
Hi All,
Really appreciate your reply and help on this.
I have a release strategy set for my PO and there are 2 release codes(A1, A2) set, either of which can release the PO. If one releases the status of the PO is set to "Final released".
I want to find out who release the PO, A1 or A2? Can you please suggest which table to look in to for this information or what is the logic to use to find this information.
Thanks a lot.
Regards,
ArunHi Arun,
here are the tables related to release procedures,
T16FG-release groups
T16FC-release codes
T16FS-release strategies
T16FW-release work flow
if you want to get the release code, which releases the PO,
you can get the data in the table CDHDR,where all the header changes stored
rgds
chenna -
How can we identify the coupon code that triggered the promotion discount in the order?
Hi,
As we can create the coupons and assign the promotions to them to give discounts.How can we identity the coupon code that is added the promotion which caused the discount in the order?
Regards,
ChedeI'm giving you an example. Here is how you do it starting with order level promotions. OrderImpl object API below give you orderpirceinfo and second link gives adjustments.
http://docs.oracle.com/cd/E35319_01/Platform.10-2/apidoc/atg/commerce/order/OrderImpl.html#getPriceInfo()
From OrderPriceInfo which extends AmountInfo, the following method gives adjustments
http://docs.oracle.com/cd/E35319_01/Platform.10-2/apidoc/atg/commerce/pricing/AmountInfo.html#getAdjustments()
Now iterate through adjustments, to get pricingmodel(which is promotion) and coupon applied on order
PricingAdjustment (ATG Java API)
PricingAdjustment (ATG Java API)
Hope this gives you an idea where to start with.
-karthik
Maybe you are looking for
-
Automator "Connect to Server" doesn't work with spaces in volume name
I'm trying to use an old Automator Workflow I had set up in Snow Leopard that connected to a list of specified server mounts (both Windows smb:// and Apple afp://). It works fine for most of them, until it hits a mount point that has a space in it, w
-
Making the x-axis intersect y-axis at zero
Hi, I think this is probably a simple question but couldn't find it answered anywhere. Basically I have some data I want to plot on a graph which has some of the 'y values' as negative. I have tried to make a scatter chart which works, but it puts th
-
My Firefox will not search for websites
My Firefox will not search for websites etc. I put in a parameter and it will not do anything. When I use anything else (such as Yahoo! search) it works fine. I type in a word/website/name etc. into the search box on Firefox and nothing happens. I ha
-
Baseline applications in BPC 7.0 NW version...
Somewhere in the forum thread I was reading (a response from Jeffrey Holdeman I think) that the initial content of APSHELL has legal application delivered with it. I don't see it in my installation. Is there a way to get access to the Legal Applicati
-
I want to install osx 10.5 server on emac g4 but a single layer dvd is smal
hello i want to install osx 10.5 server edition on my emac g4 for learning purposes but 1 dvd is to small to burn osx 10.5 to so my question what must i do to get osx 10.5 server on my emac g4?