Problem of variante
Hi,
We have modify a zone of selection screen of program.
But now there is a problem of selection variant.
When i choose a variant, I have a message : "Variant XXX of program XXX is not the current version"
I find a program RSVARFIT to regenerate a variant but it treats 30 variants and there 1500 variants.
Is it an another solution ?
Thanks.
Hi
My upgrade is from 3.1h to ECC 6 .
After upgrade when i run the program RSVARDOC_610 it goes for dump.
Is your program working when you run with no inputs given in selection screen.
With Regards
Kamesh
Similar Messages
-
Problem WIth Variant in a report program
I have a z report program with couple of variants , the problem is the varaints display onlt name of the variant and description when the varaint button is pressed.
The changed by , date etc details are not getting displayed.
Thanks
ArunHi Arun,
You will not get those data directly from the program execution screen. If you want to get those details, please check table VARID for that variant or program.
Regards,
Sourav -
Hi everibody
I am nephiew with labview and i am trying to use "to variant" block.
In the atteachment there is a picture of my VI.
Where am i wrong?!
Best regards
Giovanni
Attachments:
variant.png 39 KBYou are right but the problem is more complex.
This is only a short vi.
I am communicating with a PLC and to do that i have used a .NET library.
The problem is that the library gives me some data from the plc in a To string variable. See the atteachment.
Trhough the variable datatype i select the corrisponding case. In the case of boolean is not a metter. In the case of an int16 i don't know how i can do. I would like to make a different thing for all type of variables...
is it clear?!
in the atteachment there is the vi and two screenshot of it.
Attachments:
variant2.png 14 KB
variant.png 11 KB
Untitled 2.vi 33 KB -
Dear All,
I have written Z program to change the values of the variant and save it again.
This report changes time period for variant of program /SAPAPO/RTSCOPY and /SAPAPO/RTSINPUT_CUBE .
The problem occurs in program /SAPAPO/RTSCOPY accordingly to your program.
To reproduce:
1. run /SAPAPO/RTSCOPY with suppose variant 0101-2-1-02-01. it will be successful
2. run your program with variant 0101-2-1-02-01 in the variant name
3. run again /SAPAPO/RTSCOPY with variant 0101-2-1-02-01. you will get the error message
4. open selection conditions and close it with the green button
5. save the variant in /SAPAPO/RTSCOPY
6. run /SAPAPO/RTSCOPY with variant 0101-2-1-02-01. it will be successful
7. leave transaction, start again, select variant 0101-2-1-02-01, it will be successful
If you do not save in point 5, it will fail again.
In my Z program I am using RS_VARIANT_CONTENTS and RS_CHANGE_CREATED_VARIANT to read an save the variant respectively.Dear All,
I have written Z program to change the values of the variant and save it again.
This report changes time period for variant of program /SAPAPO/RTSCOPY and /SAPAPO/RTSINPUT_CUBE .
The problem occurs in program /SAPAPO/RTSCOPY accordingly to your program.
To reproduce:
1. run /SAPAPO/RTSCOPY with suppose variant 0101-2-1-02-01. it will be successful
2. run your program with variant 0101-2-1-02-01 in the variant name
3. run again /SAPAPO/RTSCOPY with variant 0101-2-1-02-01. you will get the error message
4. open selection conditions and close it with the green button
5. save the variant in /SAPAPO/RTSCOPY
6. run /SAPAPO/RTSCOPY with variant 0101-2-1-02-01. it will be successful
7. leave transaction, start again, select variant 0101-2-1-02-01, it will be successful
If you do not save in point 5, it will fail again.
In my Z program I am using RS_VARIANT_CONTENTS and RS_CHANGE_CREATED_VARIANT to read an save the variant respectively. -
Authorization message problem with variant transaction
Hello everybody, I have created a transaction variant ZMM01 from transaction MM01. In the role I specified this new transación (ZMM01) in S-TCODE.
I can create the material but at the end, instead of the message "material zzz created" I received the message "you are not authorised to MM01".
Does anybody know how to solve this problem?
Thanks in advance.
MariaThanks for your quick answer but if I run SU53 the result is the following:
Object class AAAB Cross-application Authorization Objects
Authorization Obj. S_TCODE Transaction Code Check at Transactio Start
Authorization Field TCD Codi de transacció MM01.
If I include this I allow the user to access transction MM01, but I don´t want to. -
Problem creating variant variable
Hello!
I have issues with the filetype VARIANT and the Excel function Excel_WorkbookSaveAs.
I am getting the following error:
159, 5 error: unexpected type name 'VARIANT': expected expression
Below you will finde an excerpt of my code. I am creating the VARIANT var to store the filename of an Excel Workbook. To concert a string to variant I am using CA_VariantSetCString. I assume the reason for the error is a missing header file where the type VARIANT is defined, but I couldn't figure out which one.
Does anyone has an idea how to fix this error?
Thanks!
#include "excelreport.h"
#include "excel2000.h"
#include <cvirte.h>
#include <userint.h>
VARIANT vFilename;
CA_VariantSetCString(&vFilename,"Test_xlsx_xls");
Excel_WorkbookSaveAs(workbookHandle, NULL,vFilename, CA_DEFAULT_VAL, CA_DEFAULT_VAL, CA_DEFAULT_VAL, CA_DEFAULT_VAL, CA_DEFAULT_VAL, ExcelConst_xlNoChange, CA_DEFAULT_VAL,CA_DEFAULT_VAL,CA_DEFAULT_VAL,CA_DEFAULT_VAL);From the code excerpt you posted it's not possible to understand what that error means; neither we know on which line the error arises...
VARIANT type is defined in OAIdl.h file: nevertheless, I discourage you from including this file alone, since you may be missing some other necessary include. Additionally, simply including excel2000dem.h should be enough for the program to compile successfully. In my opinion the error is not in a missing include, especially if you are using VARIANT type elsewere in the code without similar errors: it possibly lies in some problem in the lines immediately preceding the offending one (e.g. a missing semicolon or something like that).
BTW, the filename you are using is missing the necessary extension: this can prevent automatically opening the file once created and could ultimately generate runtime errors while running the code (I don't remember how tolerant is Excel automation in this respect).
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos? -
hi,
while working on the project
I m getting the same problem again and again with the variants i.e "Maintain the variants for the deletion program first".
as the main requirement of the project is to archive the documents through the Transaction SARA .
pls help.Hi,
For archiving the things first you need to maintain the variant in which the details regarding material document has to be put.
suppose you want to archive material codes then first you have to go to MM71 and provide material codes by creating variants and then you can go to SARA and do rest of the procedure.
Regards,
sunny -
Hi SDN experts,
what is the Transaction variant ? and Screen variant?Hi,
Use transaction variant to make your fields mandatory, hidden or display. You can hide unwanted screens and fields in any of the standard SAP programs without changing any of the standard programs. Additional features such as making the variant as default on the standard SAP transaction code is only available on 4.6x.
Steps:
Transaction SHD0 - Create a variant for the required transaction bychanging the layout through hiding fields and screens.
Transaction SE93 - Create a variant transaction (e.g. for VA02 you canname it as ZA02). Next allocate the transaction variant to this varianttransaction.
Create and change the Zxxx area menu with the new transaction variant. In this way, the user does have to remembers any extra transaction codes.
In 4.6c, you can default your transaction variant as the standard variant. (SHD0 - Edit -> Activate/Deactivate asstandard variant)
An example for using transaction variant (restricting the field displayfor CO11N - Goods movement) :-
If you want to restrict changes to the fields in Goods movement forone group of users.
1. Create a transaction variant for CO11N
2. Create a new transction code for the transaction variant and assign an authorization object to it
3. Divide the users into this two transaction code. Those who can change the field using CO11N. For those that have limited
field change, give them the authorizationfor ZCO11 (this is a new transaction code you have to create).
For more information, please check this links:
http://help.sap.com/saphelp_webas620/helpdata/en/eb/5fab41d79b11d296190000e82de14a/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/43/132f9803d76f40e10000000a422035/content.htm
http://www.sapgenie.com/abap/tvar.htm
Regards,
Ferry Lianto -
hello,
what does VARIANT mean?How can I use it in VC++?
Who can give me some details about VARIANT?
thanks.
帖子被nicolasdai在09-26-2006 04:10 AM时编辑过了Variant data do not conform to a specific data type and can contain attributes. LabVIEW represents variant data with the variant data type. The variant data type differs from other data types because it stores the control or indicator name, information about the data type from which you converted, and the data itself, which allows LabVIEW to correctly convert the variant data type to the data type you want.
Use the Variant functions to create and manipulate variant data. You can convert flattened data and LabVIEW data to variant data and convert variant data to LabVIEW data.
The variant data type allows you to store attributes of the data. An attribute is information about the data that you define and the variant data type stores. For example, if you want to know the time when a piece of data was created, you can store the data as variant data and add an attribute called Time to store the time string. The attribute data can be of any type. You also can delete or retrieve attributes from variant data. -
Problems with variant configuration using BAPI on Business connector
Hi every body I need help.
Steps.
1.- I created an RFC with BAPI_SALESORDER_CREATEFROMDAT2 and then a commit function,
I call this RFC via SAp business connector
Im triying to create a Configure order(With characteristics) I fill all configuration structures exactly like note 567348.
I created a sales order but when i checked ti in VA01 transaction the order quantys are diferents at configuration tables, if the function is executed on directly on SAP this work fine the error is only in a SAP Business Connector
Is necesary to send another parameter when i Execute Bapis on SAPBC?
\[removed by moderator\]
Edited by: Jan Stallkamp on Jun 27, 2008 4:21 PMHi,
Just debug your SAP BC service in which you are calling the RFC and check if proper values are getting mappend to your input variables of RFC.
If that is correct than there wont be much chances of problem in BC.
\[removed by moderator\]
Regards,
Siddhesh S.Tawate
Edited by: Jan Stallkamp on Jul 1, 2008 4:32 PM -
Problems with Variant to Data in LabVIEW 8.5
I am having some issues using the variant to data function. In case of NULL variants, the function returns the last known value. Any known fix for this issue. The Database Variant to Data function also exhibits a similar behavior.
Please advise.
One other bug in the Database toolkit is with the Get Column Properties.vi wherein the wires for the actual size and defined size need to be swapped.Hi VipersView
VipersView wrote:
I am having some issues using the variant to data function. In case of NULL variants, the function returns the last known value. Any known fix for this issue. The Database Variant to Data function also exhibits a similar behavior.
What type of data is your variant and what type of data are you converting to? Do you have any simple examples that demonstrate this behavior? What version of LabVIEW is this?
VipersView wrote:
One other bug in the Database toolkit is with the Get Column Properties.vi wherein the wires for the actual size and defined size need to be swapped.
This was reported to R&D (# 2YBA9P7N) for further investigation. Thanks for the feedback!
Mike Lyons
National Instruments
http://www.ni.com/devzone -
Problems with variant transaction zme51n
Hi,
I have created a variant transaction zme51n.
But I can only start the transaction when I add the original transaction 'me51n'
in T_Code in profile generator.
Any ideas why?
Thanx for your help in advance.
ThomasHallo Rob,
thanx for your help. I think we're on the right track...
Greetings.
Thomas -
Error in Variant Configuration CO684
Hello, friends !
Back in the forum, now with a problem in Variant Configuration.
I was able to carry out the whole process up to the creation of the production order. There I have the error message CO 684 "You cannot make an assignment to make to order stock" .
All the configuration stuff seems to be OK.
I created a sales order configuring the product.
The MRP creates a planned order in the Customer Segment of the MD04.
The components have the special stock E.
I have tried with stock available in warehouse and also tranferring to E using MB1B movement type 412 E.
But the error still remains !!
Any tip or clue ??
Thanks in advance.
DarioRajesha,
for the KMAT we have:
strategy group: 25
Individual: 1
In the sales Order:
Item Category: TAC
Requirement Type: KEK (in the procurement Tab); class should be 046.
However, in the controlling for sales order there is no entry for:
TAC " " 046 , only for Class 041, in the Assignment of Requirements Type to transaction.
In the planned order: Account Assigmnment: M (it takes from strategy 25)
Settlement Profile (In the order Type) SD1.
Result Analysis Key: ?? (where can I find it??)
Regards -
How to change the values of variant dynamically
hi
I am working on building a wrapper program which sets the background job for another transaction CFM1.
I have a small problem, the variant attributes for a particular field MATNR has been manually changed such that it picks up values from TVARVC. The variable name in TVARVC is MATERIAL.
If I want to programatically set the selection variable as 'T' and variable name as MATERIAL which table do I need to change.
please let me know <b><REMOVED BY MODERATOR></b>
Message was edited by:
Alvaro Tejada GalindoHi,
If your problem is not solved try this.
For the particular variant.
Select the variable 'T' and the field , u call it, MATERIAL. In the code fill the value of this paritcular MATERIAL variable in the TVARVC table i.e the LOW field in the table.
Now pass the variant along with the program which u want to run in the background.
Hope this helps.
If you have tried any other way let me know.
Regards,
Anand Patil -
Problems when printing help topics from OHJ
We have encountered some persistent problems when printing help topics from Oracle Help for Java (Ice Browser).
NOTE: When we print the same source files from Oracle Help for the Web, the printing problems are gone.
(1) Spacing Errors (all printers had identical results)
Text with special formatting (<b>, <i>) often has either too much space or not enough space.
Links often have extra spaces underlined before or after the link, itself.
(2) When printing multiple help topics from the TOC (an entire branch in the tree):
On some printers, no graphics print correctly, but instead print as one of the following: 1. empty box the size of one character, 2. black box the size of one character, 3. black box the size of the original graphic. We could not detect a pattern that caused 1, 2, or 3.
NOTE: all graphics are bit maps (screen captures) that were generated in the same manner.
NOTE: if these same help topics are printed one at a time form Oracle Help for Java, the graphics print fine.
Is this a problem with the Ice Browser?
Thanks for the help,
Wendy StudinskiThere are a known issue with the ICEBrowser printing in some circumstances. The laying out of text by the ICE Browser relies on font metrics (being able to measure the width of a run of text in a given font). On screen it looks great, but when printing, even though the GraphicsConfiguration for the printer is being used, these widths are sometimes off, which can result in text running together at boundaries between text styles. We're not sure what to do about this problem, and we've reported it to IceSoft.
Not every font has this problem, so varying the font you are using might help the appearance when printed.
The other problem you report, problems with the images when printing multiple topics, is something that we will look into.
Maybe you are looking for
-
hi, my pc can print anything except smartform. i can print from words, from sap, from anything, Except smartform from my SAP. Please kindly advise because no one in my company know how to solve. -_- thanks alot.
-
How are Title styles sorted in The Title Styles panel?
The Title Styles panel has many varied styles but I am unable to determine how they are sorted. It doesn't seem like they're alphabetically sorted. And... they doesn't appear to be a highlight around the font style of the style visible in the Titler
-
Custom Picture Settings for Insignia 42" NS-L42Q-10A
Does anyone wish to share their custom picture settings (contrast, brightness etc.) for the Insignia 42" NS-L42Q-10A? The vivid default is to bright, so I have been trying to come up with a custom setting and would like to hear what has worked for ot
-
Video conversion from .avi to .mp4
Now that I am resigning to the fact that the bright decision of Apple is to only allow playing of one format, which is the best tool to convert avi and mkv files into a format the intelligent iTunes and AppleTV can work with? Tried Handbrake. It does
-
hello, I'm noticing the following behaviour on both Flex Builder 3 and Flash Builder 4. If anybody can, please help. When I try to test my flex app on Internet Explorer, if an exception happens then the well known box with the details is showing. The