LDB PSJ Selection field CN_ACTVT problem.
Hi Guys,
I recently discovered that in LDB PSJ selection field CN_ACTVT is empty in the program, if program runs in background. Do any body know the work around, so that values are passed into program from the LDB selection screen to the program.
Thanks.
Try to create your own selection and use fm LDB_PROCESS
instead of putting LDB name in the program attributes
a®
Similar Messages
-
Want to insert select-options field in between LDB nodes selection fields
Hi Guys,
I want to add a select-options field in between the LDB nodes selection fields. Please let me know how I can do this.
Thanks,Use SELECTION-SCREEN BEGIN OF LINE,
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: PERIODO LIKE QPPNP-PABRP,
ANIO LIKE QPPNP-PABRJ.
SELECTION-SCREEN END OF LINE. -
Hi,
I am trying to use the LDB PSJ in one of my custom Reports,
We are interested only in the "Dynamic Selections" part of the LDB.
Right now the report works fine without any LDB assigned,but once the LDB is assigned,
the report code does not get executed. Am assuming the LDB is doing some check and exiting
without executing the report code.
The selection screen is not modified, i.e it still displays my custom Selection screen
and not one by the LDB.
Is there some way of disabling this selection or this check.
and also how do I go about programming to use the fields selected in the dynamic selection
for my select statments.
Am assuming will be able to get the fieldname once the user selects it ,and then will be able to us them
Appreciate any input
Thank u
LalithaHad u got the solution , i am facing the same problem
Thanks -
Problem with selection fields in SAP Quick Viewer
Hi Friends
I am using SQVI t-code to develop the SAP queries. I have developed a query using tables KNA1, VBAK and VBAP. Initially I used customer number, customer name, city, document creation data, document type and document number as selection fields. Now I have removed customer name, city, document creation data, document type from selection fields. I am executing this query through a Function module "RSAQ_REMOTE_QUERY_CALL". While passing the data to selection table, even after deleting the 4 selection fields, still I have to pass the sales document number positioning as 6. Is there any way to solve this and make its position as 2.
I have gone through the FM "RSAQ_IMPORT_QUERY", there one table parameter O_DBSE will retrieve the values for selection fields are designed for that query, again its tedious process, I have create a customized function module and make the required changes. Instead of using this FM, is there any table which stores the data of the selection fields of a query. I have tried for the table and I failed to find that.
Please help me in this regards
Regards
PraveenHello, I am trying to create LSMW to upload KP06 also, we have been uploading by copying and pasting once we run the iverview layout and then save. The problem is that we can only do this by G/L account. We want to use one file to upload all. Can you give me some tips how you were able to accomplished. I am familiar with LSMW, but tcode KP06 behaves in different ways. Do you use the flexible upload to load the fiel thru LSMW? Can you tell me which fields you touch in KP06 when you were recording?
Thanks You, -
Code order in sq02, Problem in the selection fields in sq01
Hi all,
I'm writing a query with sq01 and sq02.
In sq02 I have some joined tables, and 2 extras fields named: "TIME" and "LEFT_ER".
in this fields I wrote a code to calculate something from fields in the tables.
The problem is:
1. When I write the code in the coding section "Additional field/structure" for each field, If I want to use this fields in the selection fields (in sq01) the query can't find any record.
But if I run this query without any selection in this fields, I get all the records, with my calculated fields.
2. I tried to write this code in the coding section "Record processing", and it seems that I can use this fields in the selection fields (in sq01), and get all the records I wanted.
But in the sq02 I get a Warning messages:
"Access error in code for additional field *GET******
*GET****** has sequence number 00
Access to LEFT_ER with sequence number 00"
In this case my field LEFT_ER has no code.
And when I change the order of the sequence number, I didn't get the Warning message, but I could not use my fields in the selection fields (in sq01), like at the beginning.
HELP ME PLEASE.
Itzhak.
Message was edited by: Itzhak TanamiHi,
i've an idea .
pls define your help-fields :
1) as sel-option : s_f1 for bseg-dmbtr
and
2) as calculate-field : c_f1 for bseg-dmbtr
so for event e.g. GET BSEG .
you <b>1st</b> calculate your field .
e.g.
if bseg-shkzg = 'H'.
c_f1 = Bseg-wrbtr * -1.
else.
c_f1 = Bseg-wrbtr.
endif.
and 2nd your restriction from sel-screen:
<b>check c_f1 in s_f1.</b>
good luck
Andreas -
Hiding field in LDB PERAS selection screen
Hi all,
I need to generate a report on which I wanted to use the LDB PERAS to help me for the data selection.
But I don't want to use the "selection criteria" selection block of LDB PERAS selection screen.
On which there are criteria such as:
1. Personnel Number
2. Employment Status
3. Personal Area
4. Personal Subarea
5. Employee Group
6. Employee Subgroup.
Is there anyway to hide the "selection criteria" selection block?
Many ThanksHi,
Test the following Sample Code it is working Fine for me.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
if screen-name = '%_PNPPERNR_%_APP_%-TEXT' " For Text Lable
or screen-name = 'PNPPERNR-LOW' " For Text Field
or screen-name = '%_PNPPERNR_%_APP_%-VALU_PUSH'. " For Extension Button
screen-active = '0'.
screen-invisible = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
Please Reply if any Issue,
Best Regards,
Faisal -
Customizing user selection fields of Logical database PNP
Dear Gurus,
I had made a z-copy of payslip program for incorporation of Logo. Now we need to put this report in Enterprise Portal (EP). Now since we would not want any user to view any other person's payslip, I need to disable the selection field (PERNR) for user selection.
Problem is this field for user selection is coming from standard Logical Database (LDB - PNP) used in the program. So how can I make this field hardcoded as sy-uname and non-modifiable without making z-copy of LDB-PNP.
Also I wish to harcode Payroll Area writing some code (from table PA000) but again I cannot write this in std. PNP LDB and writing it in driver program will not help.
Thanks in advance.
Regards,
AmitWrite the highlighted coding in initialization ...
initialization .
select single pernr from pa0105
into pernr-pernr
where usrid = sy-uname.
if sy-subrc = 0.
PNPPERNR-sign = 'I'.
PNPPERNR-option = 'EQ'.
PNPPERNR-LOW = pernr-pernr.
Append PNPPERNR.
endif.
loop at screen.
if screen-name = 'PNPPERNR-LOW' or
screen-name = 'PNPPERNR-HIGH'.
screen-input = '0'.
endif.
modify screen.
endloop.
at selection-screen output.
loop at screen.
if screen-name = 'PNPPERNR-LOW' or
screen-name = 'PNPPERNR-HIGH'.
screen-input = '0'.
endif.
modify screen.
endloop. -
Project Systems Selection Field change in Screen of S_ALR_87013557
Hi ABAP'ers
I need to add a new field namely 'PLFAZ' of table 'PROJ' to my dynamic selection screen, hence i tried to achieve it through selection field modification of the logical database PSJ in SE36, but my problem is ,the field is not displayed in the dynamic selection screen even after assigning function group and checking the preselect option against the field, plz suggest what is to be done to display the field in the dynamic selection screen.Hi
Please check the Corresponding Screen Number of The Screen which you want to Enhance.
After the Getting Screen number Check the Enhancement Possibilities. -
Lockbox User Exit Selection Fields and Matching Open Items in CustomerAccts
Dear SAP Gurus,
I have an issue with lockbox process. The problem is selecting the customer open item for clearing. Our Client uses standard SAP USER EXIT (FEBLB001).
Our billing document number does not equal to the financial accounting document number all the time. We store our billing document number in the Assignment field some times, and so this is the number the customer will reference when remitting payment. I have not been able to find a way to make the SAP system to use the customer's reference number (e.g. Assignment field) to clear the open item.
I m not sure how to resolve this issue. As far as my knowledge, we have to add selection field ZUONR to USER EXIT apart from XBLNR, BELNR. Please help me with this problem by providing me some basic knowledge. I would greatly appreciate for help.
ThanksPlease Anybody,
I m waiting for anybody to give their expertize.
Thanks -
BTCUSTOMERH fields in Problem (SM 7.1 SP10)
Hello experts!
I have SM 7.1 SP10. I created Z fields in BTCUSTOMERH of Incident using AET.
I want to add created BTCUSTOMERH fields in Problem document, but this BTCUSTOMERH fields are not present in Context:
How to add BTCUSTOMERH to AIC_PROBLEM_H?Hello Dmitry,
Go to BSP_WD_CMPWB transaction, on field Component write "AIC_IM_REQ_H" and select display.
Once the next screen is open, on the left side you can see a tree with all reference object related to that component, search and open "Views" -> "AIC_IM_REQ_H/IncidentOV" .
on the right side you can see 3 tabs, "View Structure" / "RT Rep Details of View" / "Configuration"
On "Configuration" Tab you can see the current configuration for your view, using an Enhacement I think that you can edit that view as your need.
I never edit that view so i don't kno how to delete "title 2" block as you need, but maybe if you ask some developer he can do it for you using some code Enhacement .
Regards,
Luis -
How to make default values in selection field?
hi,
i have selection field date , using data element 'QENTST' using following code in view INIT Method. i get the input selection field when i test application.
DATA: LT_RANGE_TABLE TYPE REF TO DATA.
CALL METHOD WD_THIS->M_HANDLER->CREATE_RANGE_TABLE
EXPORTING
I_TYPENAME = 'QENTST'
RECEIVING
RT_RANGE_TABLE = LT_RANGE_TABLE.
CALL METHOD WD_THIS->M_HANDLER->ADD_SELECTION_FIELD
EXPORTING
I_ID = 'QENTST'
IT_RESULT = LT_RANGE_TABLE
I_OBLIGATORY = ABAP_TRUE.
What i need now , to make default value in this selection field( low = sy-datum and high = sy-datum + 10 ) . I have checked , i found one method called... SET_RANGE_TABLE_OF_SEL_FIELD. Bt i m not able to understand how to assign values to input table parameter in this method?
Thanks In Advance.
Saurin ShahHi,
Refer this Article by Thomas on how to make default values in Select Options:
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60474842-91ca-2b10-3390-d2fd30f335fd
I hope it would solve your problem. -
How to bring the non-mandatory selection field in Portal
Hi Expert,
I have created an query in Bex. when i run it one selection field is coming like Material,
vendor etc, but in this selection field all are option, non of them is mandatory.
My problem is that when i am creating iview on that query in 7.0 flow and executing/preview
that iview it directly bring the output. it is not bring the selection paremeter like material, vendor,
etc. But same case is not happened with ivew for which query has mandatory field
I want that en spite of running directly it ask the optional selection parameter.
Thanks and Regards
Lalit KumarHi
Check it in SPRO- sap img- material management- logistics invoice verification- incoming invoice- activate direct posting to g/l accounts.then save. It will work.
Regards,
Raman -
HR-How to use dynamic selection fields in prog ..?
Hii
I have written a prog to select data pertaining to details of all employees who belong to a particular country . For this i have provided a dynamic selection field for selecting country (through Selection View).But when i am getting all the records for all countries.
How to use the dynamic selection fields in program or they behave in the same way as the standard selection given by the LDB .As if we enter a value in the std screen then the GET event acts accordingly .
Ajitabh PradhanHi Ajitabh,
First off, is the Dynamic Selection working? If so, try the following code.. I am assuming, you only want to look at Permanent Address.
tables: pernr.
infotypes: 0001,0006.
start-of-selection.
get pernr.
rp-provide-from-last p0001 space pn-begda pn-endda.
check pnp-sw-found eq 1.
rp-provide-from-last p0006 1 pn-begda pn-endda.
check pnp-sw-found eq 1.
write:/ pernr-pernr,p0001-ename,p0006-land1.
end-of-selection.
Regards,
Suresh Datti -
Hr report category remove selection fields..
hi again All,
I am facing a problem again. I tried generating a new category for my report. Now again after creating the category i do not see how to add fields and remove selection fields. I need only company code in my selection criteria and nothing else.
can neone help me?
suresh and sarika, i m expecting lot of you..
please help..
Reena..Reena,
Pl follow these steps..
1.In the Program Attributes, click on the pushbutton 'HR Report Category'.Click on the 'Create' icon in the pop-up window that comes up.
2. On the next screen click on the 'New entries ' pushbutton in the menu bar.
3. In the next screen enter a anme for the report Category, say, 0COMPCODE.
4.On the same screen, you have a Navigation tree to the left hand side, click on the Allowable selection Criteria Node
5. On the next screen, click on the New Entriees pushbutton
6. On the next screen enter 'PNPBUKRS'.
7. You will be prompted to tie it to a Transaport Request. Attach it to the sam ereq that your Report is tied to.
8. SAVE it & attach it to your Program.
~Suresh -
Significance of DB PROFILE button in using LDB PSJ
Hi Guys,
I am currently changing a Z report program which using LDB PSJ from Project System. When I run this program I see buttons u201CDB Profileu201D in Application toolbar for changing DB profile. What is the significance of DB profile when using LDB.
Thanks,
miniYou use profiles to stipulate:
· View in which the data is displayed - for example, by profit center
· Origin of the data
You can specify which data the system should look for in the database or archive.
· Operative data
. Version data
· Archive data
· Standard structures
· Which objects are selected by the database
By specifying selection criteria in the database profile for objects, you can restrict the scope of the data selected. For example, you can stipulate that only the WBS elements and all activities assigned to a particular WBS element are selected.
Maybe you are looking for
-
ITunes says computer is not authorized to play file, but it definitely is
Hello. I recently bought Ministry of Sound's 90s Anthems 2 on iTunes. All the files have downloaded, but certain ones won't play. When I try to click them, I get the error message: 'This computer is not authorized to play X. Would you like to authori
-
How can i rest my ipad if i forget the password then the ipad been diabled?
<Edited by Host>
-
How can I get a new battery cov
I lost my battery cover to my GB Muvo TX FM recently and I'm wondering whats the best way to go about getting a replacement for it's
-
I purchased an album off my iPhone using iTunes last night and now I can't get it to open in iTunes on my computer. It shows the album, but it's greyed out and I can't play any of the music. I have my settings set to sync all of my music to my phon
-
Problem Occurs when CFL is added with User defined field
form-672-BOM item-3-datagrid U_EmpNo - user defined field column if i will give following codes under form load event will CFL bound with U_EmpNo or else plz suggest me with write codes oForm = SBO_Application.Forms.Item("672") oItem = oF