PS Module : Missing matnr in prps table
Hi ,
I am working on PS module. for material i m using resb table. my report is working fine on development.
problem on quality, here time out and show error on resb table selection .
i have question :
Is material maintained in PRPS table?
Is this a configuration issue ?
Regards
kamal kishore
Hi,
it is executed on development or quality both. request has no problem at all .
The problem is solved by myself.
This is not configuration issue, actually material is updated in network activity.
Edited by: kamal_kishore_sah on Dec 6, 2011 8:14 AM
Similar Messages
-
Bapi function module to update PRPS table
Hi ,
Presently i have a requirement which needs to update some data from ZIOS table into PRPS table. Can any one tell me what is the Bapi function module for updating data into PRPS table.
<REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>
Thanks,
Satish Raju
Edited by: Alvaro Tejada Galindo on Jan 12, 2010 11:46 AMThese ZZ fields are specific to your application, use the EXTENSION parameters.
Look in BAPI_PS_INITIALIZATION documentation, there is an explanation how-to fill specific fields.
For the BAPIs used to create and change project definitions, WBS
elements, networks, activities, and activity elements, you can
automatically fill the fields of the tables PROJ, PRPS, AUFK, and AFVU
that have been defined for customer enhancements in the standard system.
For this purpose, help structures that contain the respective key
fields, as well as the CI include of the table are supplied. The BAPIs
contain the parameter ExtensionIN in which the enhancement fields can be
entered and also provide BAdIs in which the entered values can be
checked and, if required, processed further.
CI Include Help Structure Key
CI_PRPS BAPI_TE_WBS_ELEMENT WBS_ELEMENT
Procedure for Filling Standard Enhancements
Before you call the BAPI for each object that is to be created or
changed, for which you want to enter customer-specific table enhancemen
fields, add a data record to the container ExtensionIn:
o STRUCTURE: Name of the corresponding help structure
+o VALUEPART1: Key of the object + start of the data part+
o VALUEPART2-4: If required, the continuation of the data part
VALUPART1 to VALUPART4 are therefore filled consecutively, first with
the keys that identify the table rows and then with the values of the
customer-specific fields. By structuring the container in this way, it
is possible to transfer its content with one MOVE command to the
structure of the BAPI table extension.
Note that when objects are changed, all fields of the enhancements are
overwritten (as opposed to the standard fields, where only those fields
for which the respective update indicator is set are changed).
Therefore, even if you only want to change one field, all the fields
that you transfer in ExtensionIn must be filled.
You have to use these parameters in BAPI_BUS2054_GETDATA as well as in BAPI_BUS2054_CHANGE_MULTI.
Regards -
Hi all,
i have written a simple report :
SELECT PSPNR POSID USR11 FROM PRPS INTO CORRESPONDING FIELDS OF
TABLE LT_PRPS WHERE USR11 = 'X' .
i have kept break-point at the select statement..i have found one strange thing..values of PSPNR(in Debugging)
is showing as ' 00032880' for T-99822700.F002(actuall PRPS table value) and for POSID showing as ' T99822700F002' for T-99822700.F002(in Debugging)
..why it is showing internally like this..once i press F8(finish debugging) when i am getting actuall PRPS values...why internally it is showing some different values??
ThanksHi
This is due the coversion exit applicable at the field in PRPS table.
use Function module - conversion exit - CONVERSION_EXIT_ABPSN_OUTPUT for PRPS-POSID field
use Function module - conversion exit - CONVERSION_EXIT_ABPSP_OUTPUT for PRPS-PSPNR field
Regards
- Atul -
BAPI/FM to modify PRPS table
Is there any BAPI or normal Function Module that would modify selected PRPS table fields.
Thanks in Advance.Hi ,
Check with the following fm's, this might help,
MAP_BAPI_WBS_ELEMENT_2_PRPS
MAP_BAPI_WBS_ELEMENT_2_PRPS_UP
Rgds, -
Insert old missing data from one table to another(databaase trigger)
Hello,
i want to do two things
1)I want to insert old missing data from one table to another through a database trigger but it can't be executed that way i don't know what should i do in case of replacing old data in table_1 into table_2
2)what should i use :NEW. OR :OLD. instead.
3) what should i do if i have records exising between the two dates
i want to surpress the existing records.
the following code is what i have but no effect occured.
CREATE OR REPLACE TRIGGER ATTENDANCEE_FOLLOWS
AFTER INSERT ON ACCESSLOG
REFERENCING NEW AS NEW OLD AS OLD
FOR EACH ROW
DECLARE
V_COUNT NUMBER(2);
V_TIME_OUT DATE;
V_DATE_IN DATE;
V_DATE_OUT DATE;
V_TIME_IN DATE;
V_ATT_FLAG VARCHAR2(3);
V_EMP_ID NUMBER(11);
CURSOR EMP_FOLLOWS IS
SELECT EMPLOYEEID , LOGDATE , LOGTIME , INOUT
FROM ACCESSLOG
WHERE LOGDATE
BETWEEN TO_DATE('18/12/2008','dd/mm/rrrr')
AND TO_DATE('19/12/2008','dd/mm/rrrr');
BEGIN
FOR EMP IN EMP_FOLLOWS LOOP
SELECT COUNT(*)
INTO V_COUNT
FROM EMP_ATTENDANCEE
WHERE EMP_ID = EMP.EMPLOYEEID
AND DATE_IN = EMP.LOGDATE
AND ATT_FLAG = 'I';
IF V_COUNT = 0 THEN
INSERT INTO EMP_ATTENDANCEE (EMP_ID, DATE_IN ,DATE_OUT
,TIME_IN ,TIME_OUT,ATT_FLAG)
VALUES (TO_NUMBER(TO_CHAR(:NEW.employeeid,99999)),
TO_DATE(:NEW.LOGDATE,'dd/mm/rrrr'), -- DATE_IN
NULL,
TO_DATE(:NEW.LOGTIME,'HH24:MI:SS'), -- TIME_IN
NULL ,'I');
ELSIF V_COUNT > 0 THEN
UPDATE EMP_ATTENDANCEE
SET DATE_OUT = TO_DATE(:NEW.LOGDATE,'dd/mm/rrrr'), -- DATE_OUT,
TIME_OUT = TO_DATE(:NEW.LOGTIME,'HH24:MI:SS'), -- TIME_OUT
ATT_FLAG = 'O'
WHERE EMP_ID = TO_NUMBER(TO_CHAR(:NEW.employeeid,99999))
AND DATE_IN <= (SELECT MAX (DATE_IN )
FROM EMP_ATTENDANCEE
WHERE EMP_ID = TO_NUMBER(TO_CHAR(:NEW.employeeid,99999))
AND DATE_OUT IS NULL
AND TIME_OUT IS NULL )
AND DATE_OUT IS NULL
AND TIME_OUT IS NULL ;
END IF;
END LOOP;
EXCEPTION
WHEN OTHERS THEN RAISE;
END ATTENDANCEE_FOLLOWS ;
Regards,
Abdetu..INSERT INTO SALES_MASTER
( NO
, Name
, PINCODE )
SELECT SALESMANNO
, SALESMANNAME
, PINCODE
FROM SALESMAN_MASTER;Regards,
Christian Balz -
How to get missing records from one table
I have one table with many records in the table. Each time a record is entered the date the record was entered is also saved in the table.
I need a query that will find all the missing records in the table.
so if I have in my table:
ID Date Location
1 4/1/2015 bld1
2 4/2/2015 bld1
3 4/4/2015 bld1
I want to run a query like
Select Date, Location FROM [table] WHERE (Date Between '4/1/2015' and '4/4/2015') and (Location = bld1)
WHERE Date not in
(Select Date, Location FROM [table])
and the results would be:
4/3/2015 bld1
Thank youDo you have a table with all possible dates in it? You can do a left join from that to your above mentioned table where the right side of the join is null. If you don't have a table with all possible dates you could user a numbers table.
Below is one way to achieve what you want with a numbers table...
DECLARE @Table table (ID Int, DateField Date, Location VarChar(4))
DECLARE @RunDate datetime
SET @RunDate=GETDATE()
IF OBJECT_ID('dbo.Numbers') IS NOT NULL
DROP TABLE NUMBERS
SELECT TOP 10000 IDENTITY(int,1,1) AS Number
into Numbers
FROM sys.objects s1
CROSS JOIN sys.objects s2
ALTER TABLE Numbers ADD CONSTRAINT PK_Numbers PRIMARY KEY CLUSTERED (Number)
INSERT INTO @Table (ID, DateField, Location)
VALUES ('1','20150401','bld1')
,('1','20150402','bld1')
,('1','20150404','bld1');
WITH AllDates
as
SELECT DATEADD(dd,N.Number,D.StartDate) as Dates
FROM Numbers N
cross apply (SELECT CAST('20150101' as Date) as StartDate) as D
select *
from AllDates AD
left join @Table T on AD.Dates = T.DateField
where ad.Dates between '20150401' and '20150404'
AND T.ID IS NULL
LucasF -
Display of missing values in a table view.
Hi everyone,
I have a table view with 7 columns and 10 rows which displays only those values which are missing in the DataBase Table.
Is it possible to show only the missing values as '-' in a table view, the table view is having 7 different fields.
Also when the value is inserted at run time the corresponding field should be updated accordingly and the value will no longer be displayed in the table view as '-'
please advice.
Regards
Neo.Welcome to SDN.
do you mean to say that in some rows some column values will be blank and you want to replace the blanks with '-'.
loop thru the itab which you are passing to tableview and for the blank cells pass '-'.
<i>Also when the value is inserted at run time</i>
so you are having editable tableview. to update the value back to the dbtable, you have to read it in oninputprocessing and update it to dbtable .
search the forum on how to read the user entered value from the table view so that you can update the dbtable.
Regards
Raja -
Peformance problem with PRPS table
I have appended a field (ZREFWBS) to the PRPS table and I am using the below quey to get the single record.
SELECT posid
psphi
FROM prps
INTO (v_pspnr,
v_psphi)
UP TO 1 ROWS
WHERE zzrefwbs = ci_prps-zzrefwbs.
ENDSELECT.
It is taking almost 5 to 10 mins to execute.
Please suggest.
Thanks in Advance.
Moderator message - moved to correct forum
Edited by: Rob Burbank on Apr 23, 2009 2:02 PM> Select Single * will pickup only one matching record from the database into the buffer, and returns the > same to the internal table.
>
> Select upto 1 rows will pickup all the records matching the condition into the buffer, but return the top > record to the internal table.
nonsense ... SELECT SINGLE and UP TO 1 ROWS are 100% identical
and buffers is something completely different, there is also not internal involved in that statement.
*About the question, you a field to the table ... how should it be in any index ????? *
by automatic index creation or what ???
No index => no performance, very simple.
Siegfried -
Physical deletion of WBS elements from PRPS table
Hi Experts,
In CJ20N transaction:
When I delete a project with project profile (ZABC), the following actions are performed:
- The project entry are physically deleted from 'PROJ' table.
- The WBS entries are physically deleted from 'PRPS' table.
When I delete another with with project profile (ZXYZ), the following actions are perfomed:
- The project entry are physically deleted from 'PROJ' table.
- The WBS entries are NOT physically deleted from 'PRPS' table.
What is the reason for not deleting entries physically from PRPS table?
Thank you for your valuable answers.Hi Experts,
In CJ20N transaction:
When I delete a project with project profile (ZABC):
- The project record is completely deleted from 'PROJ' table.
- The WBS records are completely deleted from 'PRPS' table.
When I delete another project with different project profile (ZXYZ):
- The project record is completely deleted from 'PROJ' table.
- The WBS records are NOT deleted from 'PRPS' table.
What is the reason for not deleting records from PRPS table for another project (Project profile: ZXYZ)?
Thanks in advance for your valuable answers. -
WBS elements not deleted from PRPS table
Hi Experts,
In CJ20N transaction:
When I delete a project with project profile (ZABC):
- The project record is completely deleted from 'PROJ' table.
- The WBS records are completely deleted from 'PRPS' table.
When I delete another project with different project profile (ZXYZ):
- The project record is completely deleted from 'PROJ' table.
- The WBS records are NOT deleted from 'PRPS' table.
What is the reason for not deleting records from PRPS table?
Thanks in advance for your valuable answers.WBS should be having actuals.
-
ABAP Program or Function Module to activate infospoke/openhub table
Hi,
Post migration to production, when i am trying to load the data in open hub table, its showing OH table is not active. i had tried to all aspect but i am unable to load the data.
is there any ABAP Program or Function Module to activate infospoke/openhub table
Thanks & Regards,
Pankaj BansalHello Pankaj,
Please check whether you have access to TCode SE14 . If Yes , You can use this TCode to activate the Tables.
There are lot of Posts talk about the procedure for activation through SE14. please refer the same
Thanks & regards,
Prasath -
Function Module for .xlsx to Internal table
Hi Gurus,
Please let me know if there is any function module for .xlsx to internal table.
Kind regards,
VarunHi,
try the below FM's
ALSM_EXCEL_TO_INTERNAL_TABLE
TEXT_CONVERT_XLS_TO_SAP
Thanks,
Vinayaka -
Extend dynamic selection for a field added on PRPS table
Hi Gurus,
I want to see the field that I've added in PRPS table as part of dynamic selection on the reports like S_ALR_87013542/ S_ALR_87013532. The LDB for project systems is PSJ. How do I make it appear as a dynamic selection on the selection-screen criteria for these reports?
Thanks...Hi,
We have done this a lot on my project. Follow these steps:
(1) Transaction SE36 for logical database PSJ
(2) Choose menu path Extras -> Selection views (Ctrl+F7)
(3) Change the "Origin of view" to SAP
(4) Find the PRPS_R node in the top, right "Tables/nodes" view.
(5) Double-click PRPS_R.
(6) Find your custom field that you added in PRPS (in the bottom "Table fields/node fields" view.
(7) Choose and enter a 2-character Function Group ID (see the top, left view) next to the new field.
(8) Save and transport...
Best Regards,
James Gaddis -
[nQSError: 14044] Missing join between logical tables
Hi All,
I have three physical tables:
A- Dimension (Contact) B- Helper (Con-Prod) C- Dimension (Product). 'A' joins to facts.
Relationships are:
A:B=1:M and B:C=N:1
Currently a column of B table has been implemented as MLOV. As a result now I have one additional MLOV physical table 'D' that joins to 'B' (Since its B.MLOV_WID=D.MLOV_WID , its not a foreign key join).
The Logical Layer has three Logical tables: A, B and C as in the Physical Layer. B table has got one new LTS for 'D'.
Now the Problem is when I take a column that is sourced from D and another from C, it generates an error in Answers: Missing join between logical tables B and C. I have verified that the Logical and Physical joins exist.
I think this is something with the Logical level setup. So here's some more information on hierarchy setup. I have one Hierarchy (Contact) for all those Logical tables. I have setup Level for the MLOV column. I don't have level setup for most of the non-MLOV columns.
Can you please share your thoughts? I would like to avoid implicit join method.Hi,
It seems like you are pulling a report from 2 tables with NO physical join.
Please check the physical layer diagram and join the 2 tables.
Thanks,
Vineeth -
I wanted to create a module pool which accepts a table n flag
i wanted to create a module pool which accepts a table n flag.
and based on flasg value it allows the table to get into edit or display mode.
the table has to use table control to display for user
and it should be able to edit the table as well as append if the flag value is edit.
the table which has been change should be passed back.HI Shailesh ,
On your screen which contains the table control , you can definately put the flag . Now use 2 conditions , one for change n other for display mode .Initialize the value of the flag to be "X" and based on the flag valu design your table .
lets say u have a screen 0100 ,
at the begining put FLAG = 'X'.
lets say , this is for your change screen .
then loop at the table control and allow the fields for fields input . all you should do in the PBO only .
next in PAI , fill the table control with the changed values .
and in PAI , in AT-user command module , code for the flag ( / push button ) . and pass the values when the user clicks on the button .or else here you can check whether the value of the flag is "X" ( for change mode ) or " " .
if it is " " then loop at the screen and make all the fields inactive for input ( Display mode )
Inactivation of the fields should be done in the PBO based on the conditions .
Revert back if you need further clarification .
This logic should definately work .
Reward if helpful .
Thanks
Ranjita
Maybe you are looking for
-
Animate lags on Retina MacBook Pro
I got a new MacBook Pro, and Animate seems to really lag when scrolling through the timeline. I didn't have this issue on my old laptop. Is anyone else having this issue? Is there a way to fix it?
-
My iPad2 is Jamed and I can't reset it manually or via iTunes help
Help my iPad2is completely jamed. I have tried every thing from the Internet
-
Tried to reset password, update cc and still can't login to get apps or in app game currency, anybody else having trouble today?
-
Four system transport domain configuration
Hi, Currently we have three system landscape DEV>QA>Prod Now we are introducing one more environment (Training) .That means when you release the request from QA then it has to be populate to Production and Training environment. Now my question is how
-
Choosing serveral random and unique numbers
Hi I'd like to select 9 random numbers out of a set of let's say 1-20. They can't repeat and each has to be saved into a different variable P1-P9. Any ideas? Thanks