When is EXIT_SAPLMEREQ_002 triggered?
Hi all xperts,
I've seen on [this page|http://sapass.metro.client.jp/UserExit/MEREQ001.htm] many interesting userexits that in my system (46C) can't get to trigger.
One of these is EXIT_SAPLMEREQ_002. I've seen that the INCLUDE contained, ZXM02U02, is an empty report on the system I'm working on ... and it's also a LOCAL one ($TMP object). I simply added some lines of code just to put a breakpoint in it and check in the development system when the FM is triggered.
Obviously I did activated the code (even if saved as local) and started a ME52N transaction. I can't get this FM to trigger (and similarly, EXIT_SAPLMEREQ_001 and EXIT_SAPLMEREQ_003) and I don't understand why; can anyone provide me hints/ suggestions about this strange behaviour? These exits should represent a way of connection between the standard report and the screen, so they should trigger every time PAI/PBO module is executed, or at least, I hope once the transaction starts.
Hello Matteo,
well, i know, a real programmer tries to solve everything in exits or own programs.
But you could have a second look into customizing -transaction SPRO:
under Materials Management-> Purchasing-> Purchase Requisition you'll find the point 'Define screen layout on document level'.
EPSTP would be ' item category' in 'basic data Item' where you could simply switch to display.
Regards Wolfgang
Similar Messages
-
How to get af:commandbutton id in java code when it is triggered?
Hi All
In my application's homepage, I am using 2 af:commandbuttons and each using action attribute to call a method. Both are calling the same method, and based on its id, it should perform different operations. Could anyone please tell me how to get command buttons id in java code, when it is triggered.
Regards
VenkatVenkat,
why not call different methods from each button?
public String actionButton1()
return doAction("button1");
public String actionButton2()
return doAction("button2");
public String doAction(String aBuuton)
if ("button1".equalsIgnoreCase(aButton))
// do work for button 1
return "abc";
}else {
// do work for button 2
return "abc";
}Now you user actionbutton1 for the first button and actionButton2 for the second.
Or you directly implement two different methods in the bean and call each one directly from the button.
Timo -
Error when creating journal triggers
I have table with 138 columns. When i try to generate journal triggers, HSU utility fails with error 6502 - numeric or value error. I was able to create journal triggers after i've deleted 30 rows. Are there any restrictions in number of columns when creating journal triggers?
Hi,
I wonder if you have a solution to the problem other than manually correcting the generated code. We are experiencing the same problem and no good solution yet
(see post Journalling BR, error in CAPI (HSU 6523)
kind regards
Geert Verschueren -
Email being sent multiple times (3 times) when actions are triggered after creating an incident.
Below is the snip of "Scheduled Actions" of the created Incident.Hi Ritesh
Email is triggered based upon conditions and you set
on closer look it is 3 different email on three 3 different requirement for e.g
email triggered to reporter on new status
email trigerred to processor on Proposed solution and New status
Therefore, check the start condition for above 2 email actions and refer below blog
Sending E-Mail from Support Message
Thanks
Prakhar -
System variables in R/3 when badi is triggered from portal
Hi,
How can we know the action from the portal,i mean from the create expense report i want to throw an error message if the user press "Review" button based on my validation. i have written in the badi,but when the user press "Previous step" button also this badi is getting triggered and as per the validation it is throwing an error message, i cannot go back. Are there any system variables that we can capture which button he pressed from the portal so that i can control to throw an error message only when the user press "Review" button.
Thanks & Regards,
Anil kumarResolved
-
Debugging customized function module when Idoc is triggered via ALE
Hi,
Whenever we save the billing document, an outbound idoc is triggered via ALE. The logic for the data to be included in the idoc is written in a customized function module.
However we are making some changes and would like to include some more data in the idoc. But we find that when we put a breakpoint in the function module, on saving the billing document, the flow does not stop at the break point. We are 100% sure that the code in the function module gets executed based on the data in the idoc.
How do we get into debug mode and break the flow in the function module so that we can debug in the function module?
Any help would be greatly appreciated.
Thanks in advance,
MickHi Mick, this might be of some help 4 u.
ALE IDOC
Sending System(Outbound ALE Process)
Tcode SALE - for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 - Create Model View
Tcode BD82 - Generate partner Profiles & Create Ports
Tcode BD64 - Distribute the Model view
Message Type MATMAS
Tcode BD10 - Send Material Data
Tcode WE05 - Idoc List for watching any Errors
Receiving System(Inbound ALE )
Tcode SALE - for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 - Check for Model view whether it has distributed or not
Tcode BD82 -- Generate partner Profiles & Create Ports
Tcode BD11 Getting Material Data
Tcode WE05 - Idoc List for inbound status codes
ALE IDOC Steps
Sending System(Outbound ALE Process)
Tcode SALE ?3 for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 - Create Model View
Tcode BD82 - Generate partner Profiles & Create Ports
Tcode BD64 - Distribute the Model view
This is Receiving system Settings
Receiving System(Inbound ALE )
Tcode SALE - for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 - Check for Model view whether it has distributed or not
Tcode BD82 -- Generate partner Profiles & Create Ports
Tcode BD11 Getting Material Data
Tcode WE05 - Idoc List for inbound status codes
Message Type MATMAS
Tcode BD10 - Send Material Data
Tcode WE05 - Idoc List for watching any Errors
1)a Goto Tcode SALE
Click on Sending & Receiving Systems-->Select Logical Systems
Here Define Logical Systems---> Click on Execute Button
go for new entries
1) System Name : ERP000
Description : Sending System
2) System Name : ERP800
Description : Receiving System
press Enter & Save
it will ask Request
if you want new request create new Request orpress continue for transfering the objects
B) goto Tcode SALE
Select Assign Client to Logical Systems-->Execute
000--> Double click on this
Give the following Information
Client : ERP 000
City :
Logical System
Currency
Client role
Save this Data
Step 2) For RFC Creation
Goto Tcode SM59-->Select R/3 Connects
Click on Create Button
RFC Destination Name should be same as partner's logical system name and case sensitive to create the ports automatically while generating the partner profiles
give the information for required fields
RFC Destination : ERP800
Connection type: 3
Description
Target Host : ERP000
System No:000
lan : EN
Client : 800
User : Login User Name
Password:
save this & Test it & RemortLogin
3)
Goto Tcode BD64 -- click on Change mode button
click on create moduleview
short text : xxxxxxxxxxxxxx
Technical Neme : MODEL_ALV
save this & Press ok
select your just created modelview Name :'MODEL_ALV'.
goto add message type
Model Name : MODEL_ALV
sender : ERP000
Receiver : ERP800
Message type :MATMAS
save & Press Enter
4) Goto Tcode BD82
Give Model View : MODEL_ALV
Partner system : ERP800
execute this by press F8 Button
it will gives you sending system port No :A000000015(Like)
5) Goto Tcode BD64
seelct the modelview
goto >edit>modelview-->distribute
press ok & Press enter
6)goto Tcode : BD10 for Material sending
Material : mat_001
Message Type : MATMAS
Logical System : ERP800
and Execute
7)goto Tcode : BD11 for Material Receiving
Material : mat_001
Message Type : MATMAS
and Execute --> 1 request idoc created for message type Matmas
press enter
Here Master Idoc set for Messge type MATMAS-->press Enter
1 Communication Idoc generated for Message Type
this is your IDOC
Change Pointers
I know how to change the description of a material using ALE Change Pointers.
I will give the following few steps
1) Tcode BD61---> check the change pointers activated check box
save and goback.
2) Tcode BD50---> check the MATMAS check box save and comeback.
3) Tcode BD51---> goto IDOC_INPUT_MATMAS01 select the checkbox save and comeback.
4) Tcode BD52---> give message type : matmas press ok button.
select all what ever you want and delete remaining fields.
save & come back.
5) 5) go to Tcode MM02 select one material and try to change the description and save it
it will effects the target systems material desciption will also changes
6) goto Tcode SE38 give program Name is : RBDMIDOC and Execute
give Message type : MATMAS and Executte
ALE/IDOC Status Codes/Messages
01 Error --> Idoc Added
30 Error --> Idoc ready for dispatch(ALE Service)
then goto SE38 --> Execute the Program RBDMIDOC
29 Error --> ALE Service Layer
then goto SE38 --> Execute the Program RSEOUT00
03 Error --> Data Passed to Port ok
then goto SE38 --> Execute the Program RBDMOIND
12 Error --> Dispatch ok
Inbound Status Codes
50 Error --> It will go for ALE Service Layer
56 Error --> Idoc with Errors added
51 Error --> Application Document not posted
65 Error --> Error in ALE Service Layer
for 51 or 56 Errors do the following steps
goto WE19 > give the IDOC Number and Execute>
Press on Inbound function Module
for 65 Error --> goto SE38 --> Execute the Program RBDAPP01 then your getting 51 Error
cheers,
Hema. -
WHEN-LIST-CHANGED Triggers Works Only Once ??
hi
i have a form with the 2 list ITEMS
And i have some trigger WHEN-LIST-CHANGED For the
first LIST item which Populates the Second List
Based on the Value selected in First List
Its Works Fine For the First time.
But for second time Onward , it Does change the Value of the items in List2.
Do i have to first clear and then repopulate, i tried this but then i get a total
Blank , please help.
jaiFrom one of our support notes:
List Items populated from Record Groups are extremely useful when you need to
give your users a choice of items to choose from. This note will show you how
to create two list items that have a "master-detail" relationship, i.e., the
items appearing in the "detail" list item will depend on what is chosen in the
"master" list item.
CREATING THE LIST ITEMS
Create two list items called DEPT_LIST and ENAME_LIST. Allow them to remain
the default type of List Item, Poplists. For this situation we will not make
them base table items. Go to the property pallet of each list item, click on
the elements in list property and choose more. The cursor should be in the
very topmost item under List_Elements. Depress CTRL+SHIFT+< to remove this
default element and depress the OK button. Since you are going to populate the
list item with RG values at runtime you do not need this element. This will
avoid an "FRM-30351: No list elements defined for list item" error when
running the form.
CREATING THE RECORD GROUPS
For this example, we will use the dept and emp tables. We have a choice of
creating the Record Groups (RG) dynamically at runtime or at design
time. In this case, the easiest option is to create them at design time.
First create a RG called DEPT_GROUP with the following select statement:
SELECT TO_CHAR(DEPTNO) A,TO_CHAR(DEPTNO) B
FROM DEPT
If you are unfamiliar with the structure of the RG required when it will be
used to populate a list item please note the following:
1. A list item has both a label and a value. For this reason the select
statement brings back two fields, one which will be the label name and the other
the label value.
2. TO_CHAR is used to convert numeric values to character as the list item
contains character values.
Second, create a RG called ENAME_GROUP with the following select statement:
SELECT ENAME A, ENAME B FROM EMP ORDER BY ENAME
Note that depending upon your applications logic you may want to use the
distinct operator to prevent duplicate names. But you should be aware that
this will result in the overhead for sorting. Also, since ENAME is a VARCHAR2
data type, the to_char function is not needed.
POPULATING THE GROUPS AND LIST ITEMS
You can populate the RGs and list items from a number of triggers but the most
common is the WHEN-NEW-FORM-INSTANCE trigger. Place the following code in this
trigger:
DECLARE
V_DEPT_GROUP NUMBER;
V_ENAME_GROUP NUMBER;
BEGIN
V_DEPT_GROUP:=POPULATE_GROUP('DEPT_GROUP');
V_ENAME_GROUP:=POPULATE_GROUP('ENAME_GROUP');
POPULATE_LIST('DEPT_LIST','DEPT_GROUP');
POPULATE_LIST('ENAME_LIST','ENAME_GROUP');
END;
Note that this code is needed to initially populate both RGs and both List
Items.
If you run the form at this time you will see that DEPT_LIST contains all the
departments in Dept and ENAME_LIST contains ALL the enames in the emp table.
As our original goal was to populate ENAME_LIST depending upon what was chosen
from DEPT_LIST, we will now add the code to do this. In this situation we will
add the code to a WHEN-LIST-CHANGED trigger on DEPT_LIST. The code should
look as follows:
DECLARE
V_NUMBER NUMBER;
V_QUERY VARCHAR2(512);
BEGIN
V_QUERY:='SELECT ENAME A, ENAME B FROM EMP
WHERE DEPTNO = '||:DEPT_LIST||' ORDER BY ENAME';
V_NUMBER:=POPULATE_GROUP_WITH_QUERY('ENAME_GROUP',V_QUERY);
POPULATE_LIST('ENAME_LIST','ENAME_GROUP');
END;
First we will build a query that will contain the currently chosen department
in DEPT_LIST. This is basically the same query we created in RG ENAME_GROUP
but we are adding the where clause restriction. We then use the
populate_group_with_query built-in to repopulate the RG and then populate the
list again.
Run the form again and test. Choose department 10 from the DEPT_LIST list item
and then choose the ENAME_LIST item. You will note that the enames appearing
in ENAME_LIST will be those in department 10. This should work for any
department you choose. -
When is TS14508045 triggered by changing?
Hello guys,
I have a question about the Workflow WS 14500015 in SRM 4.0.
When is TS14508045 (Workitem for creator when an approval rejects or changes) triggered, when an approver changes? Which changes of fields cause that the workitem goes back to the creator? (TS14508045)
thanks already for help!
JasminHi Masa,
thanks for answering. I know, that task is triggered when the approval rejects. But it is also triggered when somebody changes special fields. I would like to know, which field exactly has to be changed that this task is triggered?
Thanks for help already!
best regards,
Jasmin -
Populate body of the mail when smartform is triggered.
Hi Guru's,
i have configured the smartform, and when i execute the transaction the smartform is being triggered and i am getting the smartform as pdf in a mail.
i want to populate the body of the mail. i am not using the function modules like to convert smartform to pdf then triggering mail. it is triggering from output options.
how to poulate the body of the mail
Best regards,
Chetan.Hello all,
I recently did an object which sends an email with the body.
Step 1.
Do not send the email directly by SAP functionality using smartform function module.
Set the parameter control_parameters-getotf = 'X' of the smartform function module.
step 2.
Use function module CONVERT_OTF
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
IMPORTING
bin_filesize = lf_bin_filesize
BIN_FILE =
TABLES
otf = gs_job_output_info-otfdata
lines = gt_lines
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
err_bad_otf = 4
OTHERS = 5.
Step 3
Use function module QCE1_CONVERT
CALL FUNCTION 'QCE1_CONVERT'
TABLES
t_source_tab = gt_lines
t_target_tab = outbin.
Step 3.
Fill up the details for Email Body + Attachment for the function module SO_NEW_DOCUMENT_ATT_SEND_API1
internal table objtxt will have body of email (txt format)
DESCRIBE TABLE objtxt LINES tab_lines.
READ TABLE objtxt INDEX tab_lines.
docdata-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objtxt ).
CLEAR objpack-transf_bin.
objpack-head_start = 1.
objpack-head_num = 0.
objpack-body_start = 1.
objpack-body_num = tab_lines.
objpack-doc_type = 'HTM'.
APPEND objpack.
Packing Info Attachment
att_type = 'PDF'
DESCRIBE TABLE objbin LINES tab_lines.
READ TABLE outbin INDEX tab_lines.
objpack-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objbin ).
objpack-transf_bin = 'X'.
objpack-head_start = 1.
objpack-head_num = 0.
objpack-body_start = 1.
objpack-body_num = tab_lines.
objpack-doc_type = att_type.
objpack-obj_name = 'ATTACHMENT'.
objpack-obj_descr = 'description'.
APPEND objpack.
docdata-obj_name = name.
docdata-obj_descr = description.
step 4 :- use function module 'SO_NEW_DOCUMENT_ATT_SEND_API1'
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = docdata
put_in_outbox = 'X'
TABLES
packing_list = objpack
object_header = objhead
contents_bin = objbin
contents_txt = objtxt
receivers = reclist
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
Hope this helps. Let me know if you have any questions -
SmartForm not printing some values when output type triggered automatically
Output type 'ZD00' for billing is created and configured in NACE with 'send immediately (when saving the application)'. I'm creating a billing document in VF01, then this output type is triggering perfectly. But when I check the form output in spool price and discount values are not displaying. And for the same billing document, when I go to VF03 and selects issue output to and execute the same output type its giving all the perfectly.
What could be the problem ?there we go, you might want to have a look at RVADIN01 which is the standard driver program for invoice printing.
Your main interest should be to see how they select their prices, and then learn from it and adopt your program accordingliy.
Yeah RVADIN01 is a SAP-SCRIPT driver program, but the selection of data is the same as in SMARTFORMS, so dont be afraid to use their logic.
regards. -
When will the triggers added to keynote
Hello. I was using powerpoint for long. Now I try to use keynote, but there are some properties keynote doesn't have
1-Triggers. In powerpoint i can animate any object when i click another specified objects
2- There's no equation editor in keynote, or at least i couldn't find it. (At least may be latex)
3-I can' repeat animation in keynote until the page turns. For example want an object rotate until i pass to next slide,
but I couldn't find how to do it.
Thanks for or repliesHello Gary
Thanks for the answer. I'm upset that keynote doesn't have these properties.
I'm physics teacher, so i love to prepare slides and animations for my class.
And in most of the topics I need triggers and of course equations.
I think it will be wonderfull if you will add these properties for the next versions of keynote. -
Error when parsing SQLServer triggers tot Oracle Model
After capturing the SQLServer database into the Oracle Migration Work Bench repository (omwb) I have migrated the SQLServer sourccode to the Oracle Model (also in the
omwb repository). But...
when migrating SQLServer sourcecode to Oracle9i database some of the triggers are not migrated into the Oracle Model: triggers like :
----------->
create trigger dbo.tr_nev_del_audittable
on event_spare_memofield
instead of delete
as
begin
<-----------
are not migrated.
Can someone tell me why?
I am only getting the message:
Error occured on line 9:
oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 9, column 10. Encountered: ofHi there,
I'm sure this is still a bug, bug you should change or comment out the offending lines and reparse the triggers. This way, you will get it into the oracle model and can start finsihing off the migration.
Barry -
When is Individualization Triggered?
Individualization is the process by which Adobe Access creates a unique Machine Identity for your client machine, as well as a Secure Store for protecting licenses and other sensitive assets. All licenses issued by Adobe Access License Servers are bound (cryptographically tied to) your unique Machine Identity, unless the License Server issues a domain-bound license. This is the crux of DRM (Digital Rights Management), in that only authorized devices may consume and use content licenses.
Individualization happens on the very first playback of Adobe Access content. This happens automatically, without any user intervention or API call. A single roundtrip HTTP/POST message is sent to http://individualization.adobe.com/flashaccess/i15n/v1 to complete the Indiv process, and roughly 200-300k of total data is transferred from the indiv server to the client.
After the first first playback of Adobe Access content, there may be events which may cause the client device to re-individualize. The purpose of this posting is to list those triggerring (and non-triggerring events)
Triggering event that can be initiated by the Client Machine
First time playing Adobe Access protected content on Desktop (Flash Player or AIR), Mobile (iOS or Android or BlackBerry), or Devices (Set Top Box, Smart TV, Roku, etc...)
Each time a browser plays protected content in incognito/private-browing mode. This happens because the browser is sandboxed as to not allow any artifacts to be written to disk, including Adobe Access individualization and license artifacts.
Multiple users in use on single system. For instance, if a Windows or Linux machine has a user account "Bob", Bob will indiv the first time he attempts playback of protected content. On the same machine, "Mary" will also have to indiv.
This also holds true across different browsers on the same machine/account; they will all indiv on first playback of protected content for Bob. Then if Mary logs onto the machine, each of these new browser instances will indiv the first time they play protected content. After that point, switching between Bob and Mary using the same browsers will not result in a re-indiv unless any of the other events listed in these tables are met.
The above also holds true across different profiles of a user on the same machine/account
If enough hardware on a machine is replaced at one time, Adobe Access will no longer recognize the machine's hardware signature and disable all licenses (which were originally issued to the machine's previous hardware profile).
Perform 'Reset License Files' in the Flash Player "Protected Content Playback Settings" panel of the Flash Player Global Settings webpage. To securely delete your License Files, your Indiv Protected Store must be torn down. Tearing down the Protected Store destroys your unique Machine Identity, requiring a re-indiv.
Perform 'Deauthorize This Computer...' on the Flash Player settings panel. This is the same panel as the Flash Player Global Settings webpage, but in later version of Flash Player, this panel was moved into the System Settings area (for Windows) or System Preferences (for Mac).
Clearing your browser data with 'Deauthorize content licenses' option in the Google Chrome browser
Using same Google account from different machines. This is because the individualizatin process is tied to the device, and not the user account.
Non-Triggering Event
Uninstall/Re-Install Flash player
Flash Player Update
Chrome/ ChromeOS Update
Windows Update on Win 8 / Win RT
Native application update on iOS or Android (built from the Adobe Video Engine)
Native application update that uses the Adobe AIR runtime
Triggering Event that can only be initiated by Adobe Systems, Inc.
Revocation of Adobe's Intermedia Certificate Authority certificates. In the unplanned event that the Adobe Intermediate CA certificates are rolled to new certificates, the prior certificates will be revoked (as per good Certificate Management practice). This will cause existing clients to re-individualize.
Revocation of Indiv server transport certificate. Individualization does not require SSL to secure the transport layer, as Adobe encrypts the traffic using an Indiv "transport" certificate. In the case that this certificate is rolled & revoked, existing clients will have to be re-individualized.
Expiration of Production ICA or Root CA certificates. Not to happen for a very long time, expiration of the Intermediate CA and/or Root CA will require Adobe to roll and revoke the current certificates, causing existing clients to re-individualize.
Indiv Server hostname changes. In the case that the individualization hostname is ever changed from individualization.adobe.com, existing clients will re-individulize.
DRM certificate in Flash Player or AIR runtime is updated. During each major release of Flash Access (this is NOT the same as a major release of Flash Player), the DRM certificate in Flash Player and AIR is updated. When the client device upgrades Flash Player and a new DRM certificate is found, the client device will re-individualize.Alain,
When you "individualize", your device gets a "Machine Certificate" that is valid for 10 years. When that expires, your machine will simply re-individualize.
For your testing - just to get terminology in Adobe Access speak - I think you want to validate Policy Expiration dates. In other words, if your policy has an end date of Dec 1, you want to make sure that if you move your clock foward to Dec 2, you get a "content expired" DRM Error Event (#3303: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/runtimeErrors.html). This should be easy enough for you to create a policy with this restriction, package such content, and then verify a 3303 is dispatched by your player when you play it.
However, if you're seeing some other error code when you move your clock ahead more than 2 months (an error code or description of the failure here would help), you may be running into another issue. Regardless - the DRMErrorEvent that your player dispatches will tell you what Adobe Access is angry about.
cheers,
/Eric. -
Hi,
In my Smartforms driver/print program for deliveries, I am using a function module 'RSPO_FRONTEND_PRINTERS_FOR_DEV' to fetch the list of front-end printers.
When i try to print the delivery output from vl03n by using 'Issue Delivery Output' option, I can print the output to the designated printer whose value is fetched from this FM 'RSPO_FRONTEND_PRINTERS_FOR_DEV'.
But when i try to print the output by triggerring the output type (using 'Repeat output' from delivery), the FM 'RSPO_FRONTEND_PRINTERS_FOR_DEV' is failing to fetch the list of printers, and is sending
an error message to SAP inbox saying 'cannot read the list of printers'.
When i further debugged the FM 'RSPO_FRONTEND_PRINTERS_FOR_DEV' when triggerring the output by using "Repeat output' option, i could see that inside this FM, it is calling another RFC/FM 'RSPO_LIST_FRONTEND_PRINTERS' destination 'SAPGUI' and one more with destination 'LOCAL_PRINT', where both this calls are failing in this scenario. But the same function calls to this FM 'RSPO_LIST_FRONTEND_PRINTERS' destination 'SAPGIU'/'LOCAL_PRINT' are working correctly when i try to print the docuemnt using 'Issue Delviery Output' option.
If you look into the code of FM 'RSPO_LIST_FRONTEND_PRINTERS', there is no code inside this FM. It is just a remote function call.
Can you please let me know how can i retrieve the front-end printers in this scenario (scenario: when output/print is triggered by using 'Repeat output')...???
Thanks!Hi,
In my Smartforms driver/print program for deliveries, I am using a function module 'RSPO_FRONTEND_PRINTERS_FOR_DEV' to fetch the list of front-end printers.
When i try to print the delivery output from vl03n by using 'Issue Delivery Output' option, I can print the output to the designated printer whose value is fetched from this FM 'RSPO_FRONTEND_PRINTERS_FOR_DEV'.
But when i try to print the output by triggerring the output type (using 'Repeat output' from delivery), the FM 'RSPO_FRONTEND_PRINTERS_FOR_DEV' is failing to fetch the list of printers, and is sending
an error message to SAP inbox saying 'cannot read the list of printers'.
When i further debugged the FM 'RSPO_FRONTEND_PRINTERS_FOR_DEV' when triggerring the output by using "Repeat output' option, i could see that inside this FM, it is calling another RFC/FM 'RSPO_LIST_FRONTEND_PRINTERS' destination 'SAPGUI' and one more with destination 'LOCAL_PRINT', where both this calls are failing in this scenario. But the same function calls to this FM 'RSPO_LIST_FRONTEND_PRINTERS' destination 'SAPGIU'/'LOCAL_PRINT' are working correctly when i try to print the docuemnt using 'Issue Delviery Output' option.
If you look into the code of FM 'RSPO_LIST_FRONTEND_PRINTERS', there is no code inside this FM. It is just a remote function call.
Can you please let me know how can i retrieve the front-end printers in this scenario (scenario: when output/print is triggered by using 'Repeat output')...???
Thanks! -
Adjusting time stamp of AI waveform when using pause triggering
Hi Everybody,
I've written a VI that acquires data (AI) at specified time intervals
by using pause triggering and a counter signal, but the resulting time
stamps associated with the data points in the AI waveform are NOT the
actual time relative to the start of the initial acquisition. I was
thinking of modifying the time stamps (post-acquisition) for each set
of data points per interval by adding the "off" time as set by the
counter signal, thereby adjusting the time stamps of the data to real
time. I then have a subVI that will convert the time stamps to elapsed
time. I also have an AO waveform being generated at the same time, and
was wondering if I could somehow use those time stamps values if they
were synced to the AI somehow, although this seems more difficult. The
adjustment does not need to be extremely accurate, and can vary on the
order of seconds (e.g., the last data point could be at 9990 seconds
for an acquisition that actually ended after 10000 seconds). Any
suggestions?
As an aside, the important point of this part of my program is to
reduce the amount of data being collected. I need a high sampling rate
to acquire waveforms with pulse widths on the order of milliseconds,
but typically run the experiment overnight (+12 hrs.) so the files get
really big (e.g., 3 GB!). I could try writing to binary files, but I
haven't figured out how to read the file and then split the data into
smaller files of user-defined size that can then be converted to
text/.xls files. If you have any ideas on how I might do this as well,
I'd greatly appreciate the help! Thanks!
UnagiUnagi,
I am not exactly sure what you are trying to do, but I can
take a guess. When performing analog input measurements the waveform is
composed of t0, dt and Y. You can manipulate any of these values after
the data has been acquired. If you set up the task the waveform should
contain an absolute time, not relative. If relative is required, as you
suggested, this can be done post acquisition with the build waveform components
vi.
I do not understand exactly what you want do with the
timestamps for the analog output. Do you
want to use the relative time computed from the analog input data for the
analog output waveform? If so, you could
build a waveform and use the t0, dt from the analog input processed/relative
time waveform. Again this would be done with the build waveform components
vi.
Finally, a binary file would reduce the amount of memory
required when saving your data. A binary file is fairly simple to save
and open in LabVIEW. There are a couple examples in NI Example Finder (i.e.
Write Binary File and Read Binary File) that show you how to write and read
binary files. If you write the data to a binary file during acquisition,
and modify/split it later you could open the binary file, retrieve the data in
LabVIEW, and write a small subset to a text file. Alternatively, you could
perform some analysis of the data during acquisition and only save the set of
data that you require post acquisition.
Regards,
Jesse O.
Application Engineering
National Instruments
Jesse O. | National Instruments R&D
Maybe you are looking for
-
Setting the charset from an adapter module
Hi folks, I'm trying to set the charset encoding of a payload using an adapter module (I know there is a TextCodepageConverterBean, but I want to set the charset for a message that hasn't one yet). The problem is probably more clear using an example.
-
Adding space in front of unique number?
I downloaded photos from camera and renamed the files with the 'Rename files to:' function. How can I add a space between the file name and the unique number which is added to the name? If I write name "On the lake", the filenames will be "On the lak
-
COMPLETE audit detail not possible
Hi, working on OWB10g on 10g Db. I'm having problems with a map which doesn't return any rows. I was trying to trap the errors so I switched on the "COMPLETE" audit detail execution parameter. But the map run returned the following error after a whil
-
I am interested in publishing a children's book through IAuthor. What has been your experience with the company? As a first time author, what pitfall should I avoid? Can I learn about the terms of the contract before entering into an agreement?
-
Photo duplication recognition software
After moving around file structures, I lost all my photos in iPhoto 6. The great people at Apple were able to fish them out of the trash and cyber world, and for that I am so thankful...BUT It seems that every photo has been duplicated - that means I