Field combination
Dear Gurus
in vd03>by Partner functions TAB>there is a 'sales employee'' function PE
I want to see this also as 'table fields for selection' in SE16 for table KNA1VV. this field is not there , how can I bring this field in the 'table fields for selection' list on this table.
or basically, I want to see a combination of [ Customer number + A/c group + Partner function 'sales employee''(PARVW) ]
Can someone guide me here.
Kind Regards
Thanks, but I still am a bit confused
but should it not be a table join with KNA1VV and KNVP.
the field PARVW is in table KNVP. I want to see all data present in the databse with these 3 fields in action.
I did not understand how creating a new master record data in PA30 shall show me this query result from a populated database
can you please explain.
Kind Regards
Similar Messages
-
Lowest value from 2 date fields combined
Morning!
Need a way to combine two separate date fields to determine the lowest combined value. The idea being finding an empno's overall seniority by looking at seniority date and birthdate, birthdate settles the tie in the event two empno's have the same seniority date.
Can't find a way to do this using two date fields, only a single date field.
I also need a way to continue finding the next empno in seniority after that, and so on. Need to increment some value or get the nextval somehow to find the next highest in seniority until the entire table has been reviewed.
Thanks folks.Hey Thanks!!
Table= Requests
Fields: Empno, LastNme, FirstNme, Seniority_DT, Birth_DT,ReqDate,ReqTime,ChoiceNum
Field values: vchar, vchar, vchar, date,date,date,date-time,vchar
Examples in above order: 36525,smith,bob,08-jun-80,23-sep-60,15-mar-10,14:00,1
The idea is that we assign (1) single day per month per employee of overtime based on seniority, and in case of a tie the birthdate settles seniority. Employees make more than one request per month so their empno appears in the table multiple times. Also a single empno can ask for one of two start times per requested day. At most, a single employee can make requests for any one of (12) days per month, on days Sun-Thu they can ask for one of (2) start times and on Fri-Sat they can ask for one of 3 start times. The "choice" field lets them indicate start time in order of preference.
On each day on each start time, (2) different people work together, so for days 1-5 there are (2) shifts of (2) people each, total of (4) people assigned per day 1-5 and (6) people assigned on days 6-7.
The needed output is that for Sunday-Thursday (2) people start at 14:00 and another (2) start at 18:00.
On Friday-Saturday (2) people start at 14:00, (2) people start at 18:00 and (2) people start at 20:00.
The idea for the report would be:
Saturday, 13 March 2010
1400 Bob Smith, Seniority Date
1400 Ted Jones, Seniority Date
1800 Tom Williams, Seniority Date
1800 Karen Hu, Seniority Date
2000 Mike Smith, Seniority Date
2000 Jim Thomas, Seniority Date
Sunday, 14 March 2010
1400 Ed Davis, Seniority Date
1400 Ron Thomas, Seniority Date
1800 Tiger Woods, Seniority Date
1800 Joe Davis, Seniority Date
Each person may only work one day per month. In the event that there is a hole where no one put a request in, we need to go back over the remaining requests to fill them in. The original idea was to do this by:
All choice #1 first, then start over looking at choice #2 and so on until all the days in the upcoming month are full.
That's about the best I can explain it. The only way I can see is to do it by seniority and choice# then go around again if there's a hole. I just can't figure out how to look at both the seniority date and birthdate to ensure seniority nor can I figure the logic necessary to find the person, check if the spot is available and assign him or if not go to his next preference for that day and check if it's available and then continue to the next guy.
It may have been simpler to explain the need in detail and ask that the structure and code be done from scratch but that's asking way too much so I thought I'd ask how to solve this problem and keep working on it from there.
Thanks in advance again!
ps... Haven't started the coding yet.... just need the code to accomplish finding seniority based on two date fields combined, then I'll start coding the entire thing.
Edited by: user9320509 on Mar 10, 2010 5:33 AM -
PE51 Rules - table/field combinations
Hi all,
I need to add some employee subgroups to Rules section in our payslip (hr form editor).
However, the table field combination currently being used here isn't available in F4 dropdown, P0001/PERSK, although this field does exist in the structure. Therefore I can not save new entries with this combination..
Does anyone know how I can add new field selections for a given table, e.g. P0001.
Any insights much appreciated.
thanks
ps. I have tried maintaining the search helps in SE11 for the table field aswell (PPE51_7000), but it does not allow to maintain.
Edited by: minttea on Nov 26, 2010 12:52 PMGo to T code PE51_CHECKTAB and enter country grouping and form class CEDT ...give the reference country and form class as 99 and CEDT.Goto Change here you can add in the table in table tab and field in Field tab..
Use that fields in your rules.
Mohan -
Different inspection point field combination for each operation ?
Hi
I see that i can choose inspection point user field combination in the inspection plan header.
But what i need is to define different combinations for each operation,
Is this possible?
If not do u have any other suggestions?
Thanks,
Alper,Dear Alper,
I just meant in config .SPRO > Quality Management > Quality Planning >Inspection Planning >Define Identifier for Inspection Points
you can make use of all the identification field for your purpose ( Text length 18, text length 10, Number length 10, number length 3 )
operation wise what is needed to enter you make use of it
Only a suggestion
Regards
gajesh -
Text fields combining when PDF is saved and reopened
This has been a source of great frustration for not just me, but my coworkers working on the same documents. I individually create text fields in a spreadsheet/table format either initially in MS Word and converting to PDF, or create them in Acrobat while editing the document.
After I save the document and open it later to edit, the text fields are combined arbitrarily, usually close or touching fields are combined, such as parts of a column, but sometimes single letters from other fields get combined. At the same time, some other text fields will sometimes get split into individual rows.
Beyond looking messy when I want to edit these fields, the main problem i have in these cases is that whenever i try to edit these now combined text fields, the text and/or format of the field will get jumbled, thus making it impossible to edit.
Anyone else had this problem or know how to prevent it?Hi - yes Iv'e tried in in several events inc 'Initialize' anbd 'Layout Ready', 'Doc Ready' - just cant seem to get it to work.
Here is the troublesome portion of the form, if you add some impact ratings the color will change, then save and close the form, reopen and the color formatting is lost
Dropbox - BIA Impacts for forum.pdf
Any help appreciated
Thanks
E -
SHD0 & GUIXT moving fields / combining Tabs
Do you know if it is possible to use a screen variant to combine fields from two screens into one?
I have created a screen variant for VD51 to make over and under tolerances required. However, I have to force the user to go to the detail screen in order to get the required field error. If the user remains on screen 200 the program doesn't recognize that the required field is empty. I had to also create a screen variant for VD52 because this screen allows create as well as change. For this transaction (VD52) I made all fields in screen 200 display only -- changes can only be made in screen 300.
It would be better to move the two fields and associated text/descriptions to screen 200 instead hiding the control icons on the main menu (save, back, exit, cancel icons on screen 200 are all disabled).
My question is:
Is it possible to move fields from one screen to another using SHD0? If yes, can anyone provide some guidance on how to do this -- I'm guessing that it will require code in GUIXT.
Thanks in advance!Hello,
Following are the BAdI available. Screen Enhancement should help you to add extra filed on the standard SAP Screen. Look for the documentation of following BAdI. And see, which one suits your requirement.
BADI_SA_DEFINE_GLOBAL_ATTR
BADI_SA_HIDE_TYPES_ON_TABS
BADI_SA_OBJECT_TYPE_ACTIVATION
SOLAR_DOCUMENT_CHECK_USAGE
SOLAR_STRUCTURE_TRANSPORT
You can search for these BAdI for documentation in the transaction <i><b>SE18.</b></i>. In the search help for BAdI's give Package as <i><b>AI_SOLAR</b></i> as the search term. And execute. You will get list of BAdIs in your system. If you don't get all above BAdI's then you might need to apply some SAP Notes. Refer SAP on servicemarketplace and get the note details.
Other way is to search from <i><b>SPRO</b></i> transaction IMG Settings suiting your requirements.
Hope this helps.
PS If the answer solves your query, plz close the thread by marking it Solved and rewarding each reply.
Regards -
Create Query with New Field combined with Existing InfoCube Data (BW 3.5)
Hi Everyone!
How would you recommend I handle the following situation?
I have a custom InfoCube (which I will call ZCUBE) that has been deployed to production. The business would like a new query that combines Current Standard Price along with data currently stored in ZCUBE.
Now, Current Standard Price is uniquely identified by the Material and Plant to which it is associated. These InfoObjects (Material and Plant) are characteristics of ZCUBE.
I am strugglig since the business will not allow any changes in the design of the InfoCube (i.e. add any new characteristics/key figures).
Is there a way to combine the two data sets? I attempted to use a Multi-Provider using ZCube and a custom ODS, but had no luck since the characteristics were so different. (ZCUBE has almost 50 characteristics defined)
I also have tried adding the attribute Standard Price to InfoObject Plant Material (0MAT_PLANT) but that was not helpful since 0MAT_PLANT is not included in ZCUBE.
From what I can tell I should create an InfoSet using ZCUBE and potentially a new ODS, but that isn't going to work since you can create InfoSets using InfoCubes in BW 3.5.
So... I am at a loss now. Any assistance would be appreciated!
Thanks-
NathalieThank you very much for your responses!
I went ahead and created a custom ODS (Z_ODS) that contained the keys Material and Plant and had the data field Standard Price. I then created a Multi-Provider to sit on top of the custom cube and the custom ODS. Unfortunately, I am not getting the correct response since the Multi-Provider returns a union of the two infoproviders.
Z_ODS
0Material (key)
0Plant (key)
Standard Price
Z_Cube
0Material (char)
0Plant (char)
Char1 (char)
Char2 (char)
Char3 (char)
0FiscalYear
Key1....
MultiCube
0Material = 0Material
0Plant = 0Plant
Char1
0FiscalYear
Standard Price
Key 1
If I run a query just using Material and Plant in the return, the Standard Price and Key1 are returned correctly. If I include Fiscal Year in the query, the standard price is returned in a row associated to a blank Fiscal Year. See example below.
Query 1
Plant1 Material1 StandardPrice1 Key1
Plant2 Material2 StandardPrice2 Key2
Query 2
FiscalYear2009 Plant1 Material1 #(blank StandardPrice) Key1
FiscalYear2009 Plant2 Material2 #(blank StandardPrice) Key2
FiscalYear# (blank) Plant1 Material1 StandardPrice1 #(Blank Key1)
FiscalYear# (blank) Plant2 Material2 StandardPrice2 #(Blank Key2)
I know I should be using an InfoSet, but we are on BW 3.5... so I can't include a cube in an InfoSet.
I believe that the solution will be to add all relevant characteristics to the custom ODS... but that is going to be a much bigger challenge then originally expected. Please let me know if I am missing something... a silver bullet would be much appreciated
Thanks everyone!
Nathalie -
Custom search for Catalog based on UDF fields combination
Can we customize in OIM 11g R2 PS1 to search catalog items based on multiple fields (similar to User search scenarios). If someone has to search based on combination of 2-3 custom attributes e.g. UDF fields , is it possible ? do we need to do complex changes in code through Catalog APIs ?
Edited by: Shashi kiran on May 15, 2013 9:45 AM
Edited by: Shashi kiran on May 15, 2013 9:49 AMIn my scenario , i have to customize catalog search with combination of 2-3 attributes including UDF attributes with standard attributes (Application Instance, Role and Entitlement). As, these 3 attributes (Application Instance, Role and Entitlement) are by default out of box ,present for catalog search we can use their combination for catalog search.
But, what if along with these standard attributes ,if there are other custom attribute like UDFs (e.g. : Sub application,Domain,etc) in combination ?
Is this customization for catalog search is possible through UI or do we have to make changes in Source Code exposing catalog APIs to work this scenario out ?
Edited by: Shashi kiran on May 16, 2013 12:06 PM -
SQL Expression Field - Combine Declared Variable With Case Statement
Hello All, I have been using Crystal & Business Objects for a few months now and have figured out quite a bit on my own. This is the first real time I have struggled with something and while I could do this as a Formula Field I would like to know how to do this as a SQL Expression. Basically I want to create a SQL Expression that uses a CASE statement but I wanted to make the code a little more efficient and employ a variable to hold a string and then use the variable in the CASE statement. The expression editor accepts the CASE statement OK but I don't know how to declare the variable. Please assist with the syntax?
This is what I have:
CASE
WHEN u201CDatabaseu201D.u201DFieldu201D = u2018Hu2019 THEN u2018Hedgeu2019
WHEN u201CDatabaseu201D.u201DFieldu201D = u2018Pu2019 THEN u2018PVIu2019
ELSE u2018Noneu2019
END
This is what I want:
DECLARE strVar AS VARCHAR(25)
strVar = u201CDatabaseu201D.u201DFieldu201D
CASE
WHEN strVar = u2018Hu2019 THEN u2018Hedgeu2019
WHEN strVar = u2018Pu2019 THEN u2018PVIu2019
ELSE u2018Noneu2019
ENDHi Todd,
Please use the following for loop; your problem will be solved.
Local StringVar str := "";
Local NumberVar strLen := Length ({Database.Field});
Local NumberVar i;
For i := 1 To strLen Do
if {Database.Field} <i> = "H" then str := "Hedge"
else if {Database.Field} <i> = "P" then str := "PVI"
else str := "None"; exit for
str
Let me know once done!
Thank you,
Ashok -
How do I have a text field combined with a date field?
I want to add in a series of blank boxes to fill in - that have a date option next to each box. Does anyone know how to do this?
Currently we only support a table of fields or multiple fields on one line. In late january we will be providing the ability to put multiple fields on one line. I think that might meet your needs.
Randy -
Hi there,
In my SharePoint 2010 Custom List - I have a SharePoint Designer workflow that sends emails to a Person Type column called "Notify". However when I type several users here in NewForm.aspx in Notify field - two of the users do NOT get email. On
checking logs it so turns out that email is being sent to: [email protected]; [email protected]@c.com; [email protected]; [email protected];
Now the bold text above is an invalid email address (without the semi colon between two users) and user2 and user3 do NOT get any email.
The way it is implemented in SharePoint Designer workflow is pretty straightforward - see Notify field below.
Any help will be appreciated on how to fix this? This seems to be an SPD bug?
Thanks.Hi,
According to your post, my understanding is that you wanted to send email to a person field.
I try to reproduce the issue, however, I can send email to five people correctly.
I recommend to create workflow as below:
Then when you open the email, you can find that it cc to five users.
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
Having problems with JPassword fields combined with terminalIO
i copy pasted the code from the java tutorials of the JPasswordField program PasswordDemo. the code is found here... http://java.sun.com/docs/books/tutorial/uiswing/components/examples/PasswordDemo.java
then i went to the part that defines what the program does if the password is correct and copy pasted one of my programs in. i did this twice. one with a terminalIO program and one with a JOptionPane program. for some reason the JOptionPane works but the TerminalIO freezes the program and does not allow me to type anything into it. Does anybody have any sugestions on how to fix this other than translating the code to a JOptionPane program?
any help is greatly appreciated.and this is the whole program so that you can put it into an editor:
import TerminalIO.KeyboardReader;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
/* PasswordDemo.java requires no other files. */
public class PasswordDemo extends JPanel
implements ActionListener {
private static String OK = "ok";
private static String HELP = "help";
private JFrame controllingFrame; //needed for dialogs
private JPasswordField passwordField;
public PasswordDemo(JFrame f) {
//Use the default FlowLayout.
controllingFrame = f;
//Create everything.
passwordField = new JPasswordField(10);
passwordField.setActionCommand(OK);
passwordField.addActionListener(this);
JLabel label = new JLabel("Enter the password: ");
label.setLabelFor(passwordField);
JComponent buttonPane = createButtonPanel();
//Lay out everything.
JPanel textPane = new JPanel(new FlowLayout(FlowLayout.TRAILING));
textPane.add(label);
textPane.add(passwordField);
add(textPane);
add(buttonPane);
protected JComponent createButtonPanel() {
JPanel p = new JPanel(new GridLayout(0,1));
JButton okButton = new JButton("OK");
JButton helpButton = new JButton("Help");
okButton.setActionCommand(OK);
helpButton.setActionCommand(HELP);
okButton.addActionListener(this);
helpButton.addActionListener(this);
p.add(okButton);
p.add(helpButton);
return p;
public void actionPerformed(ActionEvent e) {
String cmd = e.getActionCommand();
if (OK.equals(cmd)) { //Process the password.
char[] input = passwordField.getPassword();
if (isPasswordCorrect(input))
KeyboardReader reader = new KeyboardReader();
System.out.println("Enter a number: ");
int theInteger = reader.readInt();
System.out.println(theInteger);
else {
JOptionPane.showMessageDialog(controllingFrame,
"Invalid password. Try again.",
"Error Message",
JOptionPane.ERROR_MESSAGE);
//Zero out the possible password, for security.
for (int i = 0; i < input.length; i++) {
input[i] = 0;
passwordField.selectAll();
resetFocus();
} else { //The user has asked for help.
JOptionPane.showMessageDialog(controllingFrame,
"You can get the password by searching this example's\n"
+ "source code for the string \"correctPassword\".\n"
+ "Or look at the section How to Use Password Fields in\n"
+ "the components section of The Java Tutorial.");
* Checks the passed-in array against the correct password.
* After this method returns, you should invoke eraseArray
* on the passed-in array.
private static boolean isPasswordCorrect(char[] input) {
boolean isCorrect = true;
char[] correctPassword = { 'b', 'u', 'g', 'a', 'b', 'o', 'o' };
if (input.length != correctPassword.length) {
isCorrect = false;
} else {
for (int i = 0; i < input.length; i++) {
if (input[i] != correctPassword) {
isCorrect = false;
//Zero out the password.
for (int i = 0; i < correctPassword.length; i++) {
correctPassword[i] = 0;
return isCorrect;
//Must be called from the event-dispatching thread.
protected void resetFocus() {
passwordField.requestFocusInWindow();
* Create the GUI and show it. For thread safety,
* this method should be invoked from the
* event-dispatching thread.
private static void createAndShowGUI() {
//Create and set up the window.
JFrame frame = new JFrame("PasswordDemo");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
//Create and set up the content pane.
final PasswordDemo newContentPane = new PasswordDemo(frame);
newContentPane.setOpaque(true); //content panes must be opaque
frame.setContentPane(newContentPane);
//Make sure the focus goes to the right component
//whenever the frame is initially given the focus.
frame.addWindowListener(new WindowAdapter() {
public void windowActivated(WindowEvent e) {
newContentPane.resetFocus();
//Display the window.
frame.pack();
frame.setVisible(true);
public static void main(String[] args) {
//Schedule a job for the event-dispatching thread:
//creating and showing this application's GUI.
javax.swing.SwingUtilities.invokeLater(new Runnable() {
public void run() {
createAndShowGUI(); -
Table Combination for SERIALNO Field - 101 Document No
Dear friends,
Kindly provide us a table link for the Feild SERIALNO for the given 101 Documentno(MBLNR). The serialNo can be viewed in Migo T.code. Also, Provide us with a Primary Field combination table or FM to Fetch the data for a report.
Thanks in Advance.
Moderator message: please do more research before asking, show what you have done when posting.
Edited by: Thomas Zloch on Feb 14, 2012Try this one:
SELECT T1.CardCode Customer, T1.CardName 'Customer Name', Case T0.InvType WHEN '13' THEN 'INVOICE' WHEN '14' THEN 'CR Memo' END AS 'TYPE', T0.DocEntry AS 'Invoice/CR#', T1.DocCurr AS 'BY',Case WHEN T1.DocCurr = '$' THEN T0.SumApplied ELSE T0.AppliedFC END AS 'Paid Amount', CASE WHEN T1.CashSum > 0 THEN 'Cash' WHEN T1.CreditSum > 0 THEN 'CC' WHEN T1.TrsfrSum > 0 THEN 'WIRE' ELSE 'Check' END AS 'Method', T1.DocNum AS 'RC#', T1.DocDate AS 'Posted'
FROM dbo.ORCT T1 INNER JOIN dbo.RCT2 T0 ON T1.DocNum = T0.DocNum WHERE Month(T1.DocDate) = Month(GetDate()) AND Year(T1.DocDate) = Year(GetDate()) AND T1.JrnlMemo != 'Cancelled' AND T1.NoDocSumSy > 0.02
Thanks,
Gordon -
Hi,
I'm mysql, PHP and DW
I have a table named 'people' made of three columns, id , first_name and last_name.
I need to run a sql sentence where i get the id field as it is and the other 2 fields combined together as fullname.
i tried this as a recordset in DW5 but i got an error message:
Select people.id, people.first_name&' '& people.last_name As fullname
from poeple,
thanks for help
JoeSELECT id, CONCAT(first_name, ' ', last_name) As fullname FROM people
The correct term is concatenate, not combine. That's probably why you didn't find anything by searching.
http://www.google.com/search?q=concatenate+sql+table+fields -
Key Fields and Data Fields in ODS
Hi Guru's ,
Can u Explain what are Key Field's and Data Field's in ODS,and How they work.
Thanx in Advance.Hi Pradeep,
An ODS key fields forms a unique combination of chars according to which data in the ODS will be summed up. Data fields are additional fields, chars or key figures.
For example, you have the following key fields:
Doc No, Doc line item (item no in the doc) and you load the following data:
Doc# Item# Amount CALDAY
1234 1 100 26.09.2005
1234 1 150 27.09.2005
1234 2 300 27.09.2005
1235 1 400 27.09.2005
The first two rows with the same key fields (1234-1) will be aggregated and into ODS will go amount of 250.
What I said is true if for Amount key figure the Add option is set.
But if you set an Overwrite option, then the second record will overwrite the first one and only amount of 150 will go to ODS!
But if CALDAY is also a key field, then into ODS will go all records without any aggregation, because key fields combination is different for all records.
So, ODS key fields choice and KFs settings are very important for data aggregation in the ODS.
Best regards,
Eugene
Maybe you are looking for
-
What's new in Premiere Elements 13?
Premiere Elements 13 is more of a refinement than a major overhaul of Adobe's consumer video editing program. Though there are a couple of cool new features worth noting: • New Guided Edits. Version 13 adds more tasks to its library of Guided Edits
-
What happened to Alignment Guides? #APPLE are you being serious?! The new Pages 5 is a joke.
-
PDF characters displayed backwards
I am using cfreport to generate PDF reports. When I view these reports in my browser with Adobe Reader 7, all the characters are displayed in reverse|mirror image. It seems to be just me, because my coworker can view the files with his Adobe Reader 7
-
Compressor 4 files not showing up in Batch Monitor
Appartenly Batch monitor doesn't work with compressor 4. Using a droplet and I can't monitor the progress. Any thoughts?
-
Printer wireless for Mac Pro and I pad.?
Need to get a printer wireless for Mac Pro also can be use with the IPad this is possible? Thank you