Problem in creating Variant
Hi all,
We have a problem in creating variant for selection screen of the report program, when variant is created for one of the fields in the selection screen the selection should be in non-editable mode, for achieving this while creating a variant there is an check box Protect field for all the fields in the selection, if it is checked and saved, whenever user uses that particular variant the protected field values will in Non-editable mode, the problem we are facing here is if we are giving multiple values for the protected field and saving it, then last entered value is replacing the first entered value.
Closing the thread. Not sure of the solution as I dint get a chance to check it out.
Thanks for the answers received.
Regards
Barada
Similar Messages
-
Problem in creating transaction variant
Hi all,
I am trying to create transaction variant for F- 41 transaction . it's giving an error message .
Variants are possible only for dialog transactions.
Message no. MS417
Diagnosis
You cannot create variants for variant or parameter transactions.
Procedure
Variant transaction: Adjust the variant
Parameter transaction: Adjust the parameter(s)
i need to disable the filed 'document type' .
Guide me.
Regards,
RaviHi,
You can copied into SAP standard program to Zprogram and then use the Loop at screen....Endloop to disable the Documnet type.
FYI...If you go for F.14 transaction there you find Sytesm----> status .. there you will find SAP standard program. Make a copy to Zprogarm and try to disable it.
Regards
Thiru -
Error while creating variants in article master
Hi,
I m getting an error while trying to create variants in Matrix Screen in DM. While i mark the variant check boxes and try to save the data, i get following error msg.
"Update failed. Problem while adding a new record to table 'Products' Original problem: AddRecord error Error code: -5631993. Error message (according to error code): The field cannot be edited"
Any idea on what i could be missing or how i can de code this error message to know the exact problem
Manishpartially resolved
-
I have a problem in creating a Process Chain(PC).
Hi GURU's
I have a problem in creating a Process Chain(PC). The PC should run on first 3 business days of the month for six times i,e 6am, 7am,8am, 9am,10am,11am.
For this i have created 3 PC like BD1, BD2, BD3, and i selected the Factory calender provided workday 1, 2 , 3 and time for three chains.
Now should i schedule it for 6times in a day.
I tried creating a new job for one of PC's but i have to change the timings for every month (this is not the proper solution).
Please help me.
Regds
LajwanthHi Friend,
For the days part, you can create a new factory calendar with first 3 business days of each month only as working days.
Then in the scheduling -> Restrictions; you can mention that Factory Calendar id and select radio button for "Move job to next working day". Schedule the chain as Periodic "Hourly".
Then for the Time part -> You can insert process type "Decision between multiple alternatives" after the start variant.
After you insert this process type you can create a formula in it to check for system time. In the if condition check for system time i.e., whether it is between 6 - 11. If only the system time is between 6 AM to 11 AM only then the decision step would turn to green and go to the successor step in the process chain.
Process chain would be like:
Start variant -> Decision Step -> Rest of the chain.
So in short the factory calendar will take care of which days the chain will run and decision step will take care of the timings.
Regards
Hemant Khemani -
Problem in creating part time work schedules
Hello All,
I have to create some part time work schedules rules for part time employees
Work: Tuesdays to Fridays
a)Tues-Thurs 6.5 hours per day i.e. 9.30 to 5
9:30 u2013 14:30 work
14:30 u2013 15:30 - 1hr lunch break
3:30 u2013 17:00
b) Friday - 7 hours (9:30 to 14:30)
Total hours per week are= 26.5
1) I created one fixed break schedule 14:30 u2013 15:30 (unpaid)
2) I created 2 Daily work schedules
Tuesday to Thursday u2013 NOR & (created variant A)
Only Friday u2013 NOR1
3) I created one Period work schedule u2013
P/Time u2013 Mon is FREE, Tue to Thursday as NOR , Fridayas NOR1 & Sat, Sun as FREE
4) When I try to create Work schedule rule I got stuck in between:
I configured weekly working hours as 26.5
I configured monthly & annually working hours.
But I had problem to put daily working hours???
because Tue u2013 Thurs are 19.5 hours (6.5 into 3) & Friday (7Hrs) =26.5
Hence how to I club both the working patterns in one Work schedule rule???
Please help me out in same
Regards,
Nithiniti
actually i dont have SAP Login here
in the Table V_T508A
u define the annul working hours , Monthly working hours right
Can u tell wht are the other feilds there
26.5 hrs is the Combination of two Periodic Work Schedule right ..........if yes
26.5/31 31 is ur working days
Edited by: Sikindar on Apr 6, 2009 10:10 AM -
I am having problems with creating my apple id. On the phone it is advising me that the ID is not created and then when i do it online it says that it has been created. Can you advise me on what to do please?
Apple ID FAQ http://support.apple.com/kb/HE37
-
Facing some problems in creating a custom tabs in CRMD_ORDER Transaction
Hi Friends,
I am facing some problems in creating a custom tabs in CRMD_ORDER Transaction code in Solution Manager of SAP.
Actually my requirement is adding of two tabs(one is header & another is item tab) in the above Transaction, i was able to put one tab i.e header tab but i was not able to keep item tab. i found a badi CRM_CUSTOMER_I_BADI in which documentation was given & i processed in the same way.
For information i used the Badi CRM_CUSTOMER_H_BADI for header tab which i was able to add the tab & all functions like change, save working Good.
But i want how to add custom tab in which item details were to be attached.
i was done with the necessary SPRO settings(or Tcode CRMV_SSV) & able to see the 2 tabs thats it, but the functionality save is not working for the second tab & not saving in table CRMD_CUSTOMER_I (in this table there is one CI include where we added our item fields).
And also i had a doubt whether to use ALV or Table Control. And if possible can any one can sent me the screen design & the code for the above requirement in detail.
can any one who have knoweldge in Solution Manager & in the above Badi implementation can give me a right solution which will help me a lot.
Thanks a lot in advance.
Thanks
Ravi.
can any one give the solution regarding to the above one.
Edited by: ravikanth on Jul 23, 2008 8:13 AMHello Priyanka,
I have the same problem by using Service Ticket in SAP CRM 5.0.
Did you already solved this issue? If so, can you please provide the solution!?
How can I activate and check the transfer log?
Thanks and regards
Alex -
Dll Created In: - MFC VC
6.0
Application Exe Developed In:
- VC 6.0, C# and VB.net (Applications which are using dll)
OS: - Windows XP sp2 32bit
/ Windows Server 2008 64 bit
Problem: - Facing problem in creating socket
in a method from an already deployed application exe while same method is working from another exe from same environment from same location.
Description: - We have product component which
has an exe component and from exe we invoke a method, which is defining in dll, and that dll is developed in MFC VC6.0. In the dll we have a method which downloads images from another system after making socket connection. But every time we are getting Error
code 7, it is not giving desire result while same method is working from another exe from same environment from same location. And also me dll is deployed on many systems and giving proper output from same application.
Already Attempt: - Because error is coming on
client side so what we did, we created a driver in C# which invokes same method from same environment(on client machine) using same dll and we are astonished because it worked fine there.
Kindly Suggest: -
We are not able to figure out root cause because nothing is coming in windows event logs but what I did, for finding the problem line, I wrote logs on each line and found the exact line in application exe which is not working,
actually it is not executing Create () method,
I will give snippet of the code for understanding the problem because we are not finding any kind solution for it.
Kindly assist us in understanding and fixing this problem.
Code Snippet: -
Int Initialize (LPTSTR SiteAddress, short PortId)
try
CClientTSSocket *m_pJtsSockto;
m_pJtsSockto = new CClientTSSocket;
LONG lErr = m_pJtsSockto->ConnectTS(csIPAddress,PortId);
ErrorLog (0, 0, "--------ConnectTS has been called ------------","" );
catch(...)
DWORD errorCode = GetLastError();
CString errorMessage ;
errorMessage.Format("%lu",errorCode);
ErrorLog (0, 0, "Image System", (LPTSTR)(LPCTSTR)errorMessage);
return IS_ERR_WINDOWS;
Note: -
CClientTSSocket extends CAsyncSocket
IS_ERR_WINDOWS is a macro error code which value I found 7.
LONG ConnectTS(CString strIP, UINT n_Port)
ErrorLog(0,0,"ConnectTS is calling Create [is going to call]","");
if(!Create())
ErrorLog(0,0,"ConnectTS is calling [Create not called successfully] ","");
n_Err = GetLastError();
ErrorLog(n_Err,0,"ConnectTS is calling1111111111111111Erorrrrrrrrrrrrr","");
return NET_INIT;
ErrorLog(0,0,"ConnectTS is calling2222222222222222222","");
if(!AsyncSelect(0))
n_Err = GetLastError();
return NET_INIT;
if(!Connect(strIP,n_Port))
n_Err = GetLastError();
ErrorLog(n_Err,0,"ConnectTS","");
return SERVER_NOT_CONNECTED;
Code description: -
From
int GETImage_MT() method we call Initialize() method and pass client machine IP and Port and there we call
ConnectTS() method, In this method we Create() method and finally it returns the error code as mention in macro 7.
Logs after running the program: -
--------ConnectTS has been called ------------
ConnectTS is calling Create [is going to call]
Image System
0
Note: - According to logs, problem is coming in Create method().
Here 0 is errorMessage received in catch block. And from catch block it returns macro value 7. And when we run same method individually from same machine, same environment through same dll
from different exe, it is working fine and we are facing any kind of problem. While same problem application was working properly earlier but now continuously it showing problem.
Kindly assist us to resolve the issue.Pointer variable was already initialized; I have mention in code; kindly assist us.
Dll Created In: - MFC VC 6.0
Application Exe Developed In: - VC 6.0, C# and VB.net (Applications which are using dll)
OS: - Windows XP sp2 32bit / Windows Server 2008 64 bit
Problem: - Facing problem in creating socket
in a method from an already deployed application exe while same method is working from another exe from same environment from same location.
Description: - We have product component
which has an exe component and from exe we invoke a method, which is defining in dll, and that dll is developed in MFC VC6.0. In the dll we have a method which downloads images from another system after making socket connection. But every time we are getting
Error code 7, it is not giving desire result while same method is working from another exe from same environment from same location. And also me dll is deployed on many systems and giving proper output from same application.
Already Attempt: - Because error is coming
on client side so what we did, we created a driver in C# which invokes same method from same environment (on client machine) using same dll and we are astonished because it worked fine there.
Kindly Suggest:
- We are not able to figure out root cause because nothing is coming in windows event logs but what I did, for finding the problem line, I wrote logs on each line and found the exact line in application exe which is not
working, actually it is not executing Create () method, I will give snippet of the code for understanding
the problem because we are not finding any kind solution for it. Kindly assist us in understanding and fixing this problem.
Code Snippet: -
Int Initialize (LPTSTR SiteAddress, short PortId)
try
CClientTSSocket *m_pJtsSockto;
m_pJtsSockto = new CClientTSSocket;
LONG lErr = m_pJtsSockto->ConnectTS(csIPAddress,PortId);
ErrorLog (0, 0, "--------ConnectTS has been called ------------","" );
catch(...)
DWORD errorCode = GetLastError();
CString errorMessage ;
errorMessage.Format("%lu",errorCode);
ErrorLog (0, 0, "Image System", (LPTSTR)(LPCTSTR)errorMessage);
return IS_ERR_WINDOWS;
Note: - CClientTSSocket extends CAsyncSocket
IS_ERR_WINDOWS is a macro error code which value I found 7.
LONG ConnectTS(CString strIP, UINT n_Port)
ErrorLog(0,0,"ConnectTS is calling Create [is going to call]","");
if(!Create())
ErrorLog(0,0,"ConnectTS is calling [Create not called successfully] ","");
n_Err = GetLastError();
ErrorLog(n_Err,0,"ConnectTS is calling1111111111111111Erorrrrrrrrrrrrr","");
return NET_INIT;
ErrorLog(0,0,"ConnectTS is calling2222222222222222222","");
if(!AsyncSelect(0))
n_Err = GetLastError();
return NET_INIT;
if(!Connect(strIP,n_Port))
n_Err = GetLastError();
ErrorLog(n_Err,0,"ConnectTS","");
return SERVER_NOT_CONNECTED;
Code description: - From int GETImage_MT() method
we call Initialize() method and pass client machine IP and Port and there we call ConnectTS() method, In
this method we Create() method and finally it returns the error code as mention in macro 7.
Logs after running the program: -
--------ConnectTS has been called ------------
ConnectTS is calling Create [is going to call]
Image System 0
Note: - According to logs, problem is coming in Create method(). Here
0 is errorMessage received in catch block. And from catch block it returns macro value 7. And when we run same method individually from same machine, same environment through same dll from different exe, it is working fine and we are facing any kind of problem.
While same problem application was working properly earlier but now continuously it showing problem.
Kindly assist us to resolve the issue. -
Problem in creating a WebService
hi ... i am having a problem in creating a web service using netbeans .. i am using net beans 6 and glass fish v2 ... when i run the clinet appllication an exception comes that is
javax.xml.ws.WebServiceException: Provider com.sun.xml.ws.spi.ProviderImpl not found
but i have followed right steps ... why this exception is coming ..? plz help.....Hi
please try recreating the EJB , just check whether the home and remote interfaces and the business methods in the home and bean classes are defined properly .Also check whether the ejb editor is showing all the business methods
hope this helps ,please do ot forget to reward points
regards
rajeshkr -
Problem in creating a JDBC System on VC7.1 portal ( CE7.1 SP3)
I have a problem in creating a JDBC System on VC7.1 portal (CE7.1 SP3)
I get the following error:
Test Details:
The test consists of the following steps:
1. Retrieve the default alias of the system
2. Check the connection to the back-end application using the connector defined in this system object
Results
Default alias retrieved successfully
Connection failed. Make sure user mapping is set correctly and all connection properties are correct.
Could you please let me know if there are any guides on SAP Library; I was not able to find any documentation nor any threads discussing this on VC7.1
Although, I saw this thread Can Visual Composer talk to/connect to any Database?..
which says that VC7.1 can connect to SAP backend
and web services only, and there is no direct connection to the db.
Help needed please.Hi Dharmi
Here is a quote of Dafna's post in [another thread in this forum|Re: Copy VC controls]
CE7.1.1 will be released at September 2008 for ramp-up customers.
There are many improvements and new capabilities in the new release of Visual Composer for CE7.1.1. Among the new features you can find:
The missing features from Visual Composer 7.0 (Html view, portal Eventing support (EPCM), JDBC, Undo/Redo, and more..)
Many layout & modeling improvements
Additional ALV table functionality - export to Excel, switch to chart, configure ALV behavior at design time
Integration of Visual Composer in Eclipse - additional entry point to the Visual Composer models from the NWDS. This integration provides the option to add a WD component (in case of missing functionality in Visual Composer), as a black box component to the Visual Composer model. Right-clicking the component will open the Web Dynpro perspective for creating/modifying the component.
Regards,
Shai -
Problem in creating a build.xml for weblogic portal application
Team ,
I am facing problem in creating the build.xml using weblogic.BuildXMLGEN tool .
a) Below is the structure of my portal application
SrcCode
--- .metadata (eclipse plugins folder)
--- B2BApp ( Ear Content)
--- b2bPortal ( portal related file(controllers,jsp)
--- b2bsrc (java src)
b) Now I executed below utility to generate the build.xml "
java weblogic.BuildXMLGen -projectName B2BApp -username weblogic -file build.xml -password welcome1 F:\srcCode"
c) Based on the above step , build.xml got generated .
d) when I execute "ant compile" target from the command prompt , I see the below exception
ant compile
Buildfile: build.xml
compile:
+[wlcompile] [JAM] Warning: failed to resolve class AbstractJspBacking+
+[wlcompile] [JAM] Error: unexpected exception thrown:+
+[wlcompile] com.bea.util.jam.internal.javadoc.JavadocParsingException: Parsing failure in F:\b2bNew\b2bPortal\src\portlets\b2b\dmr\Picker\PickerController.java at line 58.+
e) I suspect , the problem is bcoz of classpath issues , as I generated build.xml donot have the references to dependent lib's.As build.xml looks like below :
+<target name="compile" description="Only compiles B2BApp application, no appc">+
+<wlcompile srcdir="${src.dir}" destdir="${dest.dir}">+
+<!-- These referenced libraries were not found -->+
+<!-- <library file="p13n-core-web-lib" /> -->+
+<!-- <library file="jersey-web-lib" /> -->+
+.....+
+....+
Please help me to reslove these issues .
PS: I able to deploy the application using 10.3.2 weblogic workshop ( i.e inbuilt eclipse )i JaySen ,
thanks for your response. As mentioned we added all the necessary library within the -librarydir but still we see the same error :
+[JAM] Error: unexpected exception thrown:+
com.bea.util.jam.internal.javadoc.JavadocParsingException: Parsing failure in F:\b2bNew\b2bPortal\src\portlets\typeAhead\TypeAheadController.java at line 70. Most likely, an annotation is declared whose type has not been imported.
at com.bea.util.jam.internal.javadoc.JavadocTigerDelegateImpl_150.getAnnotationTypeFor(JavadocTigerDelegateImpl_150.java:410)
at com.bea.util.jam.internal.javadoc.JavadocTigerDelegateImpl_150.extractAnnotations(JavadocTigerDelegateImpl_150.java:176)
at com.bea.util.jam.internal.javadoc.JavadocTigerDelegateImpl_150.extractAnnotations(JavadocTigerDelegateImpl_150.java:152)
at com.bea.util.jam.internal.javadoc.JavadocClassBuilder.addAnnotations(JavadocClassBuilder.java:404)
at com.bea.util.jam.internal.javadoc.JavadocClassBuilder.populate(JavadocClassBuilder.java:359)
===================
a) this is a upgrade project [ upgrading from wlp 8.1.4 to 10.3.2 ]
i.e we are using weblogic portal 10.3.2 version.
b) Searched some sites/forums regarding the above error, and it says something related to "jwsc" ant task [ i.e while compiling a webservice(JWS) ], but we see this error while compiling a normal controller(jpf) class :(
c) we are using "ant compile" target which internally calls wlcompile task , while executing wlcompile this error is thrown .
Help Appreciated
Thx,
Sarat -
Problem in creating table maintenance generator for 61 fields in table
Hi Experts,
I am facing problem in creating a table maintenance genarator for a ZTABLE which has 61 fields
i am using below details whicle creating the TMG
in Maintenance screen
i am giving maintenance type as two step
Maint screen no overview screen 2
single screen 3
Dialog Data Transport details
Recording routine standard recording routine
but it is giving following error
screen SAPL<ZTABLE NAME> 0003 could not be generated
In DYNPFIELD_ATTR mandatory field LINE has no value
please let me know how to sort out these errors.
Is there any limit on the number of fields for which we can create table maintenance generetor.
Thanks a lot in advance
SudiptoHi Sudipto,
There is not limit to the number of fields of the Table which can be used in TMG for generation. But, from the usability point of view this will horrible.
I created a Z table and added 64 fields and was able to generate the TMG with the screens perfectly. So, I guess there should not be any problem.
Well, have a look at the Function Group. I guess the screen numbers are already used by some other screens. You can set the system to propose freely available screen numbers from the pool.
Also, check whether proper authorization is assigned or not.
And if nothing is working, you can degenerate all the generated screens and then can have a new regeneration of it.
Hope these tips will work.
Thanks,
Samantak -
Problem in Creating Check boxes as a column in a table using MVC
I am trying to display a table format using the Model view controlers, with 1st column as a checkbox. if the user chooses some check boxes and submit the screen then i need to update the information in a custome table.
I am having a problem in creating the check boxes, also pls tell me how to catch the line items checked by the user in the table...
SriHI Srinivas
I am not getting what the exact problem is.....
I am giving you a work around.....to me it does not seems to be an Ideal Solution..But Probably it will solve your problem....
Changes To be Made in Page Layout...
In Pagelayout
<htmlb:tableView id = "tvX" width = "100%" visibleRowCount = "8" fillUpEmptyRows = "X" selectedRowIndexTable = "<%= selectedRowIndexTable %>"
<b>selectedrowindex = "<%= selectedrowindex %>"
onrowselection = "select"</b>
selectionMode = "MULTISELECT" table = "<%= sflight %>" />
<b>selectedindexrow is an attribute of type INT4</b>
In Do handle event.....instead of using the previous code use this one...
if event->id = 'SUBMIT'.
DATA: WA TYPE INT4.
LOOP AT SELECTEDROWINDEXTABLE INTO WA.
*Here you can read your table of TABLEVIEW with index *equal to WA into a workarea and then use that workarea *to update the customer table ENDLOOP.
elseif event->id = 'tvX'.
tv ?= CL_HTMLB_MANAGER=>GET_DATA( request = request name = 'tableView' id = 'tvX' ).
IF tv IS NOT INITIAL.
table_event = tv->data.
selectedRowIndex = table_event->SELECTEDROWINDEX.
append selectedrowindex into SELECTEDROWINDEXTABLE.
endif.
ENDIF.
Meanwhile..Let me check why that code does not work.....
Hope it solve your problem....
Cheers:)
Mithlesh -
How to create variant for table/view ?
Hi,
When I go through SM30, I find a radio button called variant. I don't know the effect.
Can anyone tell me how to create variant for table / view ?
I want to know when we need to create variant for table/view.
Best regards,
Chris Guhi ,
Whenever you start a program in which selection screens are defined, the system displays a set of input fields for database-specific and program-specific selections. To select a certain set of data, you enter an appropriate range of values.
For further information about selection screens, refer to Selection Screens in the ABAP User's Guide.
If you often run the same program with the same set of selections (for example, to create a monthly statistical report), you can save the values in a selection set called a variant
Procedure
To create a new variant:
1. On the ABAP Editor initial screen, enter the name of the program for which you want to create a variant, select Variants, and choose Change.
2. On the variant maintenance initial screen, enter the name of the variant to be created.
Note the naming convention for variants (see below).
3. Choose Create.
If the program has more than one selection screen, a dialog box for screen assignment appears. The dialog box does not appear if the program only has one selection screen. The selection screen appears in this case.
4. If there is more than one selection screen, select the screens for which you want to create the variant
5. Choose Continue.
The (first) selection screen for the report appears.
If your program has more than one selection screen, use the scroll buttons in the left-hand corner of the application toolbar to navigate between them and to fill the fields with values. If you keep scrolling forwards, the Continue button appears on the last selection screen.
6. Enter the desired selection values, including multiple selection and dynamic selection.
7. Choose Continue. -
HOW TO Create variants for transaction MASS on LFA1 object?
hOW TO Create variants for transaction MASS on LFA1 object?
Edited by: cheppalliakr on Nov 10, 2011 1:09 PM
Moderator message: please do more research before asking, show what you have done yourself and provide more information when asking.
Edited by: Thomas Zloch on Nov 10, 2011 3:10 PMHi Oscar ,
You need to create optional date prompt variable in BW which fills your requirement .
Ex : If you require report should always run for 1st of the month to last of month .Then create Optional date variable in BW with interval .write customer exit ,
if from date is left blank it should take 1st of the month and if todate is left blank it should take last of the month .
when creating webi schedules , leave prompts as blank.
Maybe you are looking for
-
Trying to understand Bluetooth with printers
I have a DV7T laptop, Bluetooth enabled. I have older HP printers, Photosmart 8750 and Photosmart 8450. I bought 2 non-HP bluetooth adaptors. The 8450 works fine, I can find that bluetooth device when I plug the adaptor into the USB on the 8450.
-
I mistakenly thought I'd be able to use the VGA adapter to view the screen of my iPad mirrored on a monitor. However, the VGA adapter only supports video output from certain applications. There is no way to simply view a Safari web page on the monito
-
I have an imac that has erratic scrolling, it just scrolls to the bottom of the page or in whatever area the cursor is positioned at. It comes and goes and sometimes it's just best to shut the computer down to solve the issue. Any suggestions?
-
We want to use Session information in our application. How do I use XSQL-SEt-Session-param ? Do I have to create another servlet to manage session and call the XSQLServlet from that session servlet or can I use XSQL-session elements ? Please help on
-
How to download from iPhone to LR, and then delete on Phone keeping photo in LR
Hi How to download photos from iPhone to Lightroom, then save them, not just sync them, and finally remove them from iPhone ( or from the folder "All synced Photographs") and still have the photo in Lightroom? Found one workaround, exporting from fol