In a query, for the selection field 'KNB1-ZWELS' a match-code isn't availab
Hi All,
Creating a query, for the selection field 'KNB1-ZWELS' a match-code isn't available.
Could anyone tell me the reason?
Thanks
Gandalf
Hi,
Match Code Object is not available for the field ZWELS. If required, You need to contact a Developer for creating one .
Similar Messages
-
Foreign key cannot be created for the selected field A907-MWSKZ
Dear Guru's,
I am having the requirement for creation of access sequence having country/Plant/vendor/tax code but during creation of condition table i am getting the error as
Foreign key cannot be created for the selected field A907-MWSKZ.
Anything i am missing please let me know.
Regards,
UmeshHi Umesh,
Actually i am also facing exactly the same problem as mentioned by you that is "Foreign key cannot be created for the selected field A769-MWSKZ ".
I think you found some solution regarding this..can you please help me to solve it.
Looking forward for your prompt reply..
Thanks & Regards,
Sandeep Sharma -
Deleting some of the entries in the Combo-box for the selection field
Hi All,
We are running on SRM 4.0(Classic).I have a query reagarding the List of values which get populated in the comb-box for the field "Status" on the SC screen when i click on the "CHECK STATUS" link.
I need to delete some of these entries which appear in the combo-box.Can anyone tell me how this can be done(partcularly with some info on how these values are getting populated and from where?).Points will be awarded.
Thanks & regards,
Disha.Hi Disha,
you will have to change standard ABAP code for this.
SC status list for CHECK STATUS is build in FORM status_mixed_text_fill in include LBBP_PDH_SEARCHF27.
Rgds
Christophe
PS: please reward points for helpfull answers -
Calling the selection screen of report with data for the selection field
I have the selection screen with 2 fileds.
sales order and payment terms.
My requirement is to update the payment terms into the ztable for the given order.
Sometimes the payment terms will be there ie already maintained ,in that case i need to show to the user the existing payment term ,so that he can modify and save that one.If the payment term is not existing then simply i can go inside the program and update the payment term.
What I thought of doing is , writing a report program and then after the user inputs the selection screen ie order number , I Will check in the ztable and if the payment terms is found then i will use the key word leave list processing. But i dont know how to populate the payement term in the selection screen oncegaing from the programHi shiva,
when the user enters sales order number on screen, in parameter 1,
you want to show payment term, on selection screen itself, in parameter 2.
We can use the event
AT SELECTION-SCREEN.
Eg. PO Number <----
> User
Below is sample code for same.
If you enter PO Number, the system will show the corresponding user in parameter2.
Just copy paste.
REPORT YAM_TEMPA09.
PARAMETERS : EBELN LIKE EKKO-EBELN.
PARAMETERS : ERNAM LIKE EKKO-ERNAM.
AT SELECTION-SCREEN.
ERNAM = ''.
SELECT SINGLE ERNAM
FROM EKKO
INTO ERNAM
WHERE EBELN = EBELN.
regards,
amit m. -
Foreign key cannot be created for the selected field S999-PRCTR
Hi there,
Why is there Profit Center be a characteristics field when it comes to LIS?? Anyone tried to assign Profit Center field as a char field for the LIS structure?
Thanks.
Regards,
AndrewDepending on what chars do you bring in from LIS.
If "that" is related to profit centre, then you can.
Ravi Thothadri -
User exit/BADI required for coding for the selection custom fields in RSA3
Hi,
I have a requirement in the Datasource extractor. I need to add custom Z fields in the Data souce of the 2LIS_02_SCL and need to include in the selection part. So I have added the custom filed in the append structure and include the check in the selection checkbox in the transaction LBWE under the datasource specified above. For the corresponding custom fields, to be populated in the ALV list, I have written the code in corresponding user exit ZXRSAU01.
Now I can view my custom Z fields in the list as well as on the selection fileds while executing the transaction RSA3. But I need to write code for the selection criteria part. On entering value in the selection criteria of my custom z field, no values are selected to the corresponding query. Please let me know where should i write the coding part for the selection criteria of the Z fields for the Datasource.
On debugging, to my understanding only the standard fields are alone getting filtered by providnig the values in the selection part of the RSA3 tcode. It is called in Macros : Sel < Datasorce> .... and the fetch cursor is included inside the macros.
Please let me know any user exits or Badi;s available for it.
Thanks in advanceHi shivu,
you might try the BAdI RSU5_SAPI_BADI. A good introduction can be found in the following document:
[Enhancing DataSources with BAdI RSU5_SAPI_BADI|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/3001894b-b1fb-2910-77ba-e80b6f2053b7]
The BAdI is called at the time of extraction, so this would be the right place to populate your additional fields.
Best,
Chris -
SAP Query; change the name of the selection fields
Hi,
I created a SAP query using SQ01. When I execute the report, the selection field are the names of the table fields. As an example, I would like to change the selection field name «Customer number 1» for «Customer number». How can I change this selection field name in a SAP Query?
Thanks,
JulienCheck Page Number 8 of this below mentioned document
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40bec8da-4cd8-2910-27a9-81f5ce10676c
a® -
Providing F4 help for the same field on selection screen
Hello Experts,
My requirement is :
There are 2 radio buttons and a parameter "p_file" on my selection scree.
1. rb_appl
2. rb_pres
If the radio button rb_appl = 'X', I need to place the logic of F4 help of application server for the field p_file. Else if the rb_pres = 'X', then I need to place the logic of F4 help of presentation server for the same field p_file.
I have written the code in the below manner
PARAMETERS: rb_appl RADIOBUTTON GROUP rad DEFAULT 'X',
rb_pres RADIOBUTTON GROUP rad ,
p_file TYPE ibipparms-path.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
IF rb_appl = 'X'.
PERFORM f_applictn_server_filenm.
ELSEIF rb_pres = 'X'.
PERFORM f_presentation_filenm.
ENDIF.
But I am getting the F4 help for only the radio button for which i have placed the default value in the parameters.
So please let me know how to define the F4 help for the same field based on the radio buttons.Hi,
You can acheive the same by the addition of [USER-COMMAND fcode].
RADIOBUTTON GROUP group [USER-COMMAND fcode] - The addition USER-COMMAND can be used to assign a function code fcode to the first parameter in a radio button group. The function code fcode must be specified directly, and have a maximum length of 20 characters. When the user selects any radio button of the radio button group on the selection screen, the runtime environment triggers the event AT SELECTION-SCREEN and transfers the function code fcode to the component ucomm of the interface work area sscrfields.
So you code should be altered as
PARAMETERS: rb_appl RADIOBUTTON GROUP rad
USER-COMMAND radclick "Addition which you have to make.
DEFAULT 'X',
rb_pres RADIOBUTTON GROUP rad ,
p_file TYPE ibipparms-path.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
IF rb_appl = 'X'.
PERFORM f_applictn_server_filenm.
ELSEIF rb_pres = 'X'.
PERFORM f_presentation_filenm.
ENDIF.
Thanks & Regards,
Harish -
How to write selection Query for the following requirment.
Hi All,
I am new to ABAP, I need a help ,
I need to select all plants(WERKS) from MARC at Plant/Material level,
then I need to take all sales organozation(VKORG) from T001w,
then I need the company code(BUKRS) from TVKO based on VKORG,
then I need the currency key(WAERS) from T001 based on BUKRS,
Can any one help me in writing selection Query for the same?
Thanks All,
Debrup.Hi,
Its easy for you if you learn SELECT with JOIN to complete your task. So SEARCH the forum with SELECT statement and you will get a lot of examples using which you can write your own.
If you struck up anywhere revert back.
Regards
Karthik D -
I need use conditions in the select fields of a query.
Hello,
Is possible, that I can have conditions in the select fields of a query? In a invoice when the type is cancellation I want to put *-1 to price and if is other type the price is normally.
If VBRK.FKART = 'S1' THEN KWERT*-1 else KWERT .
Thank you very much.you can do two things:
1. select the data into internal table and loop through the internal table and do the necessary changes
SELECT fkart kwert
FROM vbrk
INTO TABLE itab
WHERE ...
LOOP AT itab.
IF itab-fkart EQ 'S1'.
itab-kwert = itab-kwert * -1 .
MODIFY itab.
ENDIF.
ENDLOOP.
2. use select-endselect and change the data acc. to your needs inbetween and append the internal table.
SELECT fkart kwert
FROM vbrk
INTO wa
WHERE ...
IF wa-fkart EQ 'S1'.
wa-kwert = wa-kwert * -1 .
ENDIF.
APPEND wa TO itab.
ENDSELECT.
(The first approach is probably faster.) -
Order of the selection fields in SAP QUERY
Hello All,
How can we set the order of the selection fields in SAP QUERY!
Regards!
AshishHi,
You can go into infoset and change the order.
Or you can select 1 by 1 in the same order, you want to display.
Below is the link which might help you:
help.sap.com/printdocu/core/Print46c/EN/data/.../BCSRVQUE.pdf
Please revert, if needed more clarifications
Regards,
Yashwin -
Infoset Query- F4 help missing for few selection fields
Dear Experts,
While creating Infoset/ Quick view queries, I find few fields of the selection screen are not having F4 help.
How this happens and How to correct this?
Regards
Jogeswara RaoJogeswara Rao,
In case when the reference table field doesn't contain a match code / Search help,You should be assign Match code object to the selection field while defining the same. When you define the selection criteria in the info sets, use the "Extras" field there to assign a specific match code for the work center object . (In your case MATCHCODE OBJECT CRAM. CRAM is the search help for work center field).
Regards
Narasimhan -
ERROR: Select Currency/UoM field for the selected analyzed fields
Hi all
I am currently creating Business Rules in GRC PC 10.0 for the Automated Monitoring Framework.
After completing the Basic Information page, I click [Next] and get to the Data for Analysis page.
If ever I select any field that contains a value for Currency or Unit of Measure, I receive the following error and cannot proceed with creating the Business Rule:
Select Currency/UoM field for the selected analyzed fields
Does anyone have any information/SAP Notes/documentation on what this error is and how to solve it?
Any help will be gratefully accepted.
Kind regards
Gregory Huddlehttp://service.sap.com/sap/support/notes/1904313
-
Bex 2004s - Disabling Selection Sreen of a Query for the purpose of Views
Hi,
Is there possibility in Bex 2004s, where in we can disable Selection Sreen of a Query for the purpose of creating multiple Views.
Thanks
PraveenHi,
There is no posibility to disable the selection secren if there are any variables defined on a query. it can be done on the web applications side by inserting the command VARIABLESCREEN=" ". in this also it is only possible if there are no mandatory variables defined on the query.
thanks -
Problem writing a sql query for a select list based on a static LOV
Hi,
I have the following table...
VALIDATIONS
ID Number (PK)
APP_ID Number
REQUESTED Date
APPROVED Date
VALID_TIL Date
DEPT_ID Number (FK)
I have a search form with the following field item variables...
P11_DEPT_ID (select list based on dynamic LOV from depts table)
P11_VALID (select list based on static Yes/No LOV)
A report on the columns of the Validations table is shown based on the values in the search form. So far, my sql query for the report is...
SELECT v.APP_ID,
v.REQUESTED,
v.APPROVED,
v.VALID_TIL,
d.DEPT
FROM DEPTS d, VALIDATIONS v
WHERE d.DEPT_ID = v.DEPT_ID(+)
AND (d.DEPT_ID = :P11_DEPT_ID OR :P11_DEPT_ID = -1)
This query works so far. My problem is that I don't know how to do a search based on the P11_VALID item - if 'yes' is selected, then the VALID_TIL date is still valid. If 'no' is selected then the VALID_TIL date has passed.
Can anyone help me to extend my query to include this situation?
Thanks.Hello !
Let's have a look at my example:create table test
id number
,valid_til date
insert into test values( 1, sysdate-3 );
insert into test values( 2, sysdate-2 );
insert into test values( 3, sysdate-1 );
insert into test values( 4, sysdate );
insert into test values( 5, sysdate+1 );
insert into test values( 6, sysdate+2 );
commit;
select * from test;
def til=yes
select *
from test
where decode(sign(trunc(valid_til)-trunc(sysdate)),1,1,0,1,-1)
=decode('&til','yes',1,-1);
def til=no
select *
from test
where decode(sign(trunc(valid_til)-trunc(sysdate)),1,1,0,1,-1)
=decode('&til','yes',1,-1);
drop table test; It's working fine, I've tested it.
The above changes to my first idea I did because of time portion of the DATE datatype in Oracle and therefore the wrong result for today.
For understandings:
1.) TRUNC removes the time part of DATE
2.) The difference of to date-values is the number of days between.
3.) SIGN is the mathematical function and gives -1,0 or +1 according to an negative, zero or positiv argument.
4.) DECODE is like an IF.
Inspect your LOV for the returning values. According to my example they shoul be 'yes' and 'no'. If your values are different, you may have to modify the DECODE.
Good luck,
Heinz
Maybe you are looking for
-
Users accessing sites they do not have permissions to
We just upgraded our sites to SharePoint 2013. We are using host named site collections and custom master pages with the publishing feature turned on for each site collection. The problem I am facing is users can now access some sites they should not
-
Best way to archive a project when it's "finished"
I was wondering what the best way is to store a project that is finished, but you still want the option of going back and modifying for other purposes. Do you create one high quality movie and save it? Do you create separate clips of everything used
-
Php emptying $_post
hello i am having a play trying to create a simple shopping checkout, using code, no specialist software. everything is working fine, except when i add or delete an item, and refresh the page, the add/delete is being repeated. which is obviousley bad
-
Hi All, We are configuring the password Sync in https. In http works and the password was send to the queue. In Https the Password Sync Test function works but when there is a change password it returns an error and the password wasn't send to the qu
-
Which system will I get when I do R&R?
Hello everyone, I have a Lenovo T61 that came preloaded with windows Vista buisness. After a couple of years of using this, lots of junk has gathered up on my computer and rather than going through and deleting thousands of files manually I want to r