Hai BI experts
While loading i am duplicate data records in PSA. I want to remove duplicate datarecord how to remove.
HI Ashok,
Give a meaningful name to the Post/Message else the post will get locked !!!!!!!!!!!!!!
When we load a delta from PSA to ODS ,the data will get overwritten in ODS thereby removing the duplicate records.
Apart from this i dont thnk so it is possible to remove duplicate records from PSA !!!!!!!!!
Rgds
SVU123
Similar Messages
-
how to lock a client
(i want to lock a particular client 300).
can u tell me procdure urgent.
i wil give u good points.....
thanks & regards
sathishHi,
Business process will flow like this
Determination of requirement.
Find and assign source of supply
Request for quotation
Puchase order
Goods receipt
Invoice receipt.
Nagarajan -
Haii SAP expert
I have use standard sap code ME2N, ME2I and MR11 for PO GR and IR status. My user here said that standard report is hard to read.
Is there any customize report that have been build? if there is can anyone post its in this forum
Help-helpHi,
The standard report / update funstion, is MR11. This is designed to show the individual records that have a GR/IR balance.
As for the ME2L, M, N reports. they are very difficult to read but there is a BIG tip if you are using release 4.7 or newer.
You can configure a flag on the "scope of list" to switch the list display to the ALV format.
This turns these almost useless reports into a whole set of VERY useful reports (due to the ability to change the layout, filter it, add subtotals, etc. etc) and it makes it VERY much easier to pass the results to a spreadsheet due to the column type layout it provides.
So if you are on 4.6 or earlier, then sorry, you are missing a GREAT improvement.
If you are lucky to be on 4.7 or newer then simply get someone to set the ALV flag on the "scope of list" config.
Then when you run your first report for the new layout, click on the multicoloured cube icon (change layout) and change the layout to whatever you want (first of all remove the subtotalling that normally comes as standard, this makes the screen lok very messy)
Steve B -
To get details after second list in interactive report
hai abap experts,
i got a problem, i have written acode in which 3rd list is not executing how to write code for 3rd list(my 3rd list is to get item details by call transaction 'me23')
i'll send u all my code lz check n help out.
TABLES : EKKO,
EKPO,
LFA1,
EKET.
SELECT-OPTIONS : S_LIFNR FOR EKKO-LIFNR,
S_BSART FOR EKKO-BSART,
S_AEDAT FOR EKKO-AEDAT.
************************INTERNAL TABLES*******************************
DATA : BEGIN OF RESULTS OCCURS 1000, "DATA RETRIEVAL RESULTS
LIFNR LIKE EKKO-LIFNR,
EBELN LIKE EKKO-EBELN,
EBELP LIKE EKPO-EBELP,
AEDAT LIKE EKKO-AEDAT,
ERNAM LIKE EKKO-ERNAM,
LINES(3) TYPE N,
NETWR LIKE EKPO-NETWR,
MENGE LIKE EKPO-MENGE,
WEMNG LIKE EKET-WEMNG,
TXZ01 LIKE EKPO-TXZ01,
END OF RESULTS.
DATA : BEGIN OF WRK, "WORK FIELD DEFINATIONS
HDRSW(1), "LIST HEADER SWITCH
TITLE2(40), "2ND TITLE LINE FOR REPORT
END OF WRK.
DATA : BEGIN OF SELECT, "USER SELECTION FIELDS
EBELN LIKE EKKO-EBELN, "PURCHASE ORDER NO
CHECKBOX(1) TYPE C,
END OF SELECT.
DATA : BEGIN OF STATS, "STATISTICS
START_TIME LIKE SY-UZEIT,
END_TIME LIKE SY-UZEIT,
PROC_TIME LIKE SY-UZEIT,
RECS_EKPO LIKE SY-DBCNT,
RECS_EKKO LIKE SY-DBCNT,
END OF STATS.
**************************EVENTS**************************************
INITIALIZATION.
CLEAR S_AEDAT.
S_AEDAT-SIGN = 'I'.
S_AEDAT-OPTION = 'BT'.
S_AEDAT-LOW = SY-DATUM - 30.
S_AEDAT-HIGH = SY-DATUM.
APPEND S_AEDAT.
AT SELECTION-SCREEN.
LOOP AT S_LIFNR.
CHECK S_LIFNR-OPTION = 'EQ'.
SELECT SINGLE * FROM LFA1 WHERE LIFNR = S_LIFNR-LOW.
IF SY-SUBRC NE 0.
MESSAGE E002 WITH 'VENDOR' S_LIFNR-LOW 'NOT FOUND IN LFA1'.
ENDIF.
ENDLOOP.
START-OF-SELECTION.
GET TIME.
STATS-START_TIME = SY-UZEIT.
SET PF-STATUS 'MAIN'.
PERFORM DATA_RETRIEVAL.
PERFORM PROCESS_DATA.
PERFORM DISPLAY_LIST.
PERFORM WRITE_SELECTIONS.
PERFORM WRITE_STATISTICS.
AT LINE-SELECTION.
CHECK NOT SELECT-EBELN IS INITIAL.
PERFORM DISPLAY_ITEM_DETAIL USING SELECT-EBELN.
CLEAR : SELECT-EBELN.
AT USER-COMMAND.
CASE SY-UCOMM.
WHEN 'DSA'.
PERFORM CLEAR_ALL_SELECTED.
WHEN 'DSL'.
PERFORM DISPLAY_ALL_SELECTED.
ENDCASE.
TOP-OF-PAGE.
CASE WRK-HDRSW.
WHEN '1'.
WRK-TITLE2 = 'PROGRAM SELECTIONS'(002).
WHEN '2'.
WRK-TITLE2 = 'PROGRAM DETAIL'(003).
WHEN '3'.
WRK-TITLE2 = 'PROGRAM SUMMARY'(004).
WHEN '4'.
WRK-TITLE2 = 'PROGRAM STATISTICS'(005).
ENDCASE.
FORMAT COLOR COL_HEADING.
PERFORM PGH_STANDARD_HEADING
USING TEXT-001
WRK-TITLE2.
IF WRK-HDRSW = '2'.
WRITE : /01 SY-VLINE,
02 'VENDOR #'(103),
16 SY-VLINE,
17 'PO #'(104),
32 SY-VLINE,
33 'ENTRY DATE'(105),
43 SY-VLINE,
44 'USER'(106),
59 SY-VLINE,
60 'LINES'(107),
70 SY-VLINE,
71 'AMOUNT'(108),
91 SY-VLINE.
WRITE : /01 SY-ULINE(91).
ENDIF.
FORMAT RESET.
**************************SECONDRY LIST*******************************
TOP-OF-PAGE DURING LINE-SELECTION.
CASE WRK-HDRSW.
WHEN '5'.
WRK-TITLE2 = 'DETAIL LISTING'(201).
ENDCASE.
FORMAT COLOR COL_HEADING.
PERFORM PGH_STANDARD_HEADING
USING TEXT-001
WRK-TITLE2.
IF WRK-HDRSW = '5'.
WRITE : /01 SY-VLINE,
02 'VENDOR #'(103),
16 SY-VLINE,
17 'PO #'(104),
32 SY-VLINE,
33 'ENTRY DATE'(105),
43 SY-VLINE,
44 'USER'(106),
59 SY-VLINE.
WRITE : /01 SY-ULINE(59).
FORMAT COLOR COL_KEY.
WRITE : /01 SY-VLINE,
02 RESULTS-LIFNR,
16 SY-VLINE,
17 RESULTS-EBELN,
32 SY-VLINE,
33 RESULTS-AEDAT DD/MM/YY,
43 SY-VLINE,
44 RESULTS-ERNAM,
59 SY-VLINE.
WRITE : /01 SY-ULINE(101).
FORMAT COLOR COL_HEADING.
WRITE : /01 SY-VLINE,
02 'LINE'(301),
07 SY-VLINE,
08 'DESCRIPTION'(302),
48 SY-VLINE,
49 'QTY ORDERDED'(303),
64 SY-VLINE,
65 'QTY RECEIVED'(304),
80 SY-VLINE,
81 'AMOUNT'(305),
101 SY-VLINE.
WRITE : /01 SY-ULINE(101).
ENDIF.
FORMAT RESET.
*************************SUBROUTINES**********************************
FORM DISPLAY_ALL_SELECTED.
DATA : LINE_NUMBER LIKE SY-LILLI.
LINE_NUMBER = 1.
DO.
CLEAR : SELECT-CHECKBOX,
SELECT-EBELN.
READ LINE LINE_NUMBER FIELD VALUE SELECT-CHECKBOX
SELECT-EBELN.
IF SY-SUBRC NE 0.
EXIT.
ENDIF.
ADD 1 TO LINE_NUMBER.
CHECK SELECT-CHECKBOX = 'X'.
NEW-PAGE.
PERFORM DISPLAY_ITEM_DETAIL USING SELECT-EBELN.
ENDDO.
ENDFORM.
FORM CLEAR_ALL_SELECTED.
DATA : LINE_NUMBER LIKE SY-LILLI.
LINE_NUMBER = 1.
DO.
READ LINE LINE_NUMBER FIELD VALUE SELECT-CHECKBOX
SELECT-EBELN.
IF SY-SUBRC NE 0.
EXIT.
ENDIF.
IF SELECT-CHECKBOX = 'X'.
CLEAR : SELECT-CHECKBOX.
MODIFY LINE LINE_NUMBER FIELD VALUE SELECT-CHECKBOX
SELECT-EBELN.
ENDIF.
ADD 1 TO LINE_NUMBER.
ENDDO.
ENDFORM.
FORM DATA_RETRIEVAL.
SELECT * FROM EKKO WHERE BSART IN S_BSART
AND AEDAT IN S_AEDAT
AND LIFNR IN S_LIFNR.
CLEAR RESULTS.
RESULTS-LIFNR = EKKO-LIFNR.
RESULTS-EBELN = EKKO-EBELN.
RESULTS-AEDAT = EKKO-AEDAT.
RESULTS-ERNAM = EKKO-ERNAM.
SELECT * FROM EKPO WHERE EBELN = EKKO-EBELN.
MOVE 1 TO RESULTS-LINES.
MOVE EKPO-NETWR TO RESULTS-NETWR.
RESULTS-EBELP = EKPO-EBELP.
RESULTS-TXZ01 = EKPO-TXZ01.
RESULTS-MENGE = EKPO-MENGE.
APPEND RESULTS.
ENDSELECT.
ENDSELECT.
ENDFORM. "DATA_RETRIEVAL
FORM PROCESS_DATA.
LOOP AT RESULTS.
CLEAR RESULTS-WEMNG.
SELECT * FROM EKET WHERE EBELN = RESULTS-EBELN
AND EBELP = RESULTS-EBELP.
ADD EKET-WEMNG TO RESULTS-WEMNG.
ENDSELECT.
MODIFY RESULTS.
ENDLOOP.
ENDFORM. "PROCESS_DATA
FORM DISPLAY_LIST.
DATA : TOT_LINES(3) TYPE N.
DATA : TOT_AMT LIKE EKPO-NETWR.
DATA : WRT_FLAG(1) TYPE C.
SORT RESULTS BY LIFNR EBELN.
NEW-PAGE.
WRK-HDRSW = '2'.
LOOP AT RESULTS.
AT END OF EBELN.
MOVE 'X' TO WRT_FLAG.
ENDAT.
ADD 1 TO TOT_LINES.
ADD RESULTS-NETWR TO TOT_AMT.
IF WRT_FLAG = 'X'.
WRITE : /01 SY-VLINE,
02 SELECT-CHECKBOX AS CHECKBOX,
04 RESULTS-LIFNR,
16 SY-VLINE,
17 RESULTS-EBELN,
32 SY-VLINE,
33 RESULTS-AEDAT MM/DD/YY,
43 SY-VLINE,
44 RESULTS-ERNAM,
59 SY-VLINE,
60 TOT_LINES,
70 SY-VLINE,
71 TOT_AMT,
91 SY-VLINE.
SELECT-EBELN = RESULTS-EBELN.
HIDE : SELECT-EBELN.
CLEAR : SELECT-EBELN.
WRITE : /01 SY-ULINE(91).
CLEAR : WRT_FLAG,
TOT_LINES,
TOT_AMT.
ENDIF.
AT END OF LIFNR.
SUM.
FORMAT COLOR COL_GROUP.
WRITE : /01 SY-VLINE,
02 'TOTAL FOR VENDOR:'(101),
RESULTS-LIFNR,
70 SY-VLINE,
71 RESULTS-NETWR,
91 SY-VLINE.
WRITE : /01 SY-ULINE(91).
FORMAT RESET.
ENDAT.
ENDLOOP.
IF SY-SUBRC NE 0.
FORMAT COLOR COL_NEGATIVE.
WRITE : /01 SY-VLINE,
02 'NO RECORDS FOUND'(102),
91 SY-VLINE.
WRITE : /01 SY-ULINE(91).
FORMAT RESET.
ENDIF.
ENDFORM. "DISPLAY_LIST
FORM DISPLAY_ITEM_DETAIL USING L_EBELN.
CALL TRANSACTION 'ME23' AND SKIP FIRST SCREEN.
SET PARAMETER ID 'BES' FIELD L_EBELN.
*GET PARAMETER ID 'BES' FIELD L_EBELN.
WRK-HDRSW = '5'.
SET PF-STATUS 'STLI'.
LOOP AT RESULTS WHERE EBELN = L_EBELN.
WRITE : /01 SY-VLINE,
02 RESULTS-EBELP,
07 SY-VLINE,
08 RESULTS-TXZ01,
48 SY-VLINE,
49(15) RESULTS-MENGE,
64 SY-VLINE,
65(15) RESULTS-WEMNG,
80 SY-VLINE,
81 RESULTS-NETWR,
101 SY-VLINE.
WRITE : /01 SY-ULINE(101).
ENDLOOP.
IF SY-SUBRC NE 0.
FORMAT COLOR COL_NEGATIVE.
WRITE : /01 SY-VLINE,
02 'NO RECORDS FOUND'(102),
91 SY-VLINE.
WRITE : /01 SY-ULINE(91).
FORMAT RESET.
ENDIF.
ENDFORM. "DISPLAY_ITEM_DETAIL
FORM WRITE_SELECTIONS.
NEW-PAGE.
WRK-HDRSW = '1'.
WRITE : /01 SY-VLINE,
02 'VENDOR NUMBER'(112),
25 SY-VLINE.
LOOP AT S_LIFNR.
WRITE : 26 S_LIFNR,
91 SY-VLINE.
WRITE : /01 SY-ULINE(91).
ENDLOOP.
IF SY-SUBRC NE 0.
WRITE : 26 '*ALL*'(200),
91 SY-VLINE.
WRITE : /01 SY-ULINE(91).
ENDIF.
WRITE : /01 SY-VLINE,
02 'PO TYPE'(111),
25 SY-VLINE.
LOOP AT S_BSART.
WRITE : 26 S_BSART,
91 SY-VLINE.
WRITE : /01 SY-ULINE(91).
ENDLOOP.
IF SY-SUBRC NE 0.
WRITE : 26 '*ALL*'(200),
91 SY-VLINE.
WRITE : /01 SY-ULINE(91).
ENDIF.
WRITE : /01 SY-VLINE,
02 'ENTRY DATES'(112),
25 SY-VLINE.
LOOP AT S_AEDAT.
WRITE : 26 S_AEDAT,
91 SY-VLINE.
WRITE : /01 SY-ULINE(91).
ENDLOOP.
IF SY-SUBRC NE 0.
WRITE : 26 '*ALL*'(200),
91 SY-VLINE.
WRITE : / SY-ULINE(91).
ENDIF.
ENDFORM. "WRITE_SELECTIONS
FORM WRITE_STATISTICS.
NEW-PAGE.
WRK-HDRSW = '4'.
GET TIME.
STATS-END_TIME = SY-UZEIT.
IF STATS-END_TIME > STATS-START_TIME.
STATS-PROC_TIME = STATS-END_TIME - STATS-START_TIME.
ELSE.
STATS-PROC_TIME = '240000'.
STATS-PROC_TIME = STATS-PROC_TIME - STATS-START_TIME.
STATS-PROC_TIME = STATS-PROC_TIME + STATS-END_TIME.
ENDIF.
WRITE : /01 SY-VLINE,
02 'START TIME'(113),
25 SY-VLINE,
26 STATS-START_TIME USING EDIT MASK '__:__:__',
91 SY-VLINE.
WRITE : /01 SY-ULINE(91).
WRITE : /01 SY-VLINE,
02 'END TIME'(114),
25 SY-VLINE,
26 STATS-END_TIME USING EDIT MASK '__:__:__',
91 SY-VLINE.
WRITE : /01 SY-ULINE(91).
WRITE : /01 SY-VLINE,
02 'PROCESSING TIME'(115),
25 SY-VLINE,
26 STATS-PROC_TIME USING EDIT MASK '__:__:__',
91 SY-VLINE.
WRITE : /01 SY-ULINE(91).
WRITE : /01 SY-VLINE,
02 'EKKO RECORDS READ'(116),
25 SY-VLINE,
26 STATS-RECS_EKKO,
91 SY-VLINE.
WRITE : /01 SY-ULINE(91).
WRITE : /01 SY-VLINE,
02 'EKPO RECORDS READ'(117),
25 SY-VLINE,
26 STATS-RECS_EKPO,
91 SY-VLINE.
WRITE : /01 SY-ULINE(91).
ENDFORM. "WRITE_STATISTICS
FORM PGH_STANDARD_HEADING USING L_TITLE1
L_TITLE2.
FORMAT COLOR COL_HEADING.
PERFORM PGH_WRITE_DATE_TIME.
PERFORM PGH_WRITE_TITLE USING L_TITLE1.
PERFORM PGH_WRITE_REPORT_PAGE.
PERFORM PGH_WRITE_USERID.
PERFORM PGH_WRITE_TITLE USING L_TITLE2.
PERFORM PGH_WRITE_SYSTEM_CLIENT.
FORMAT RESET.
ENDFORM. "PGH_STANDARD_HEADING
FORM PGH_WRITE_USERID.
WRITE : /01 SY-ULINE(91).
WRITE : /01 SY-VLINE,
02 'USERID:',
10 SY-UNAME,
91 SY-VLINE.
ENDFORM. "PGH_WRITE_USERID
FORM PGH_WRITE_DATE_TIME.
WRITE : /01 SY-ULINE(91).
WRITE : /01 SY-VLINE,
02 'DATE:',
10 SY-DATUM MM/DD/YYYY,
21 '/',
23 SY-UZEIT USING EDIT MASK'__:__:__',
91 SY-VLINE.
ENDFORM. "PGH_WRITE_DATE_TIME
FORM PGH_WRITE_TITLE USING L_TITLE.
DATA : L_LINSZ LIKE SY-LINSZ.
DATA : L_TITLEL LIKE SY-TABIX.
DATA : L_START LIKE SY-TABIX.
L_LINSZ = SY-LINSZ.
L_TITLEL = STRLEN( L_TITLE ).
L_START = ( L_LINSZ / 2 ) - ( L_TITLEL / 2 ).
POSITION L_START.
WRITE :/01 SY-VLINE,
02 L_TITLE,
91 SY-VLINE.
ENDFORM. "PGH_WRITE_TITLE
FORM PGH_WRITE_REPORT_PAGE.
DATA : L_LINSZ LIKE SY-LINSZ.
DATA : L_START LIKE SY-TABIX.
L_LINSZ = SY-LINSZ.
L_START = L_LINSZ - 24.
POSITION L_START.
WRITE : /01 SY-VLINE,
02 'REPORT:', SY-REPID, 'PG', (4) SY-PAGNO,
91 SY-VLINE.
POSITION L_LINSZ.
ENDFORM. "PGH_WRITE_REPORT_PAGE
FORM PGH_WRITE_SYSTEM_CLIENT.
DATA : L_LINSZ LIKE SY-LINSZ.
DATA : L_START LIKE SY-TABIX.
L_LINSZ = SY-LINSZ.
L_START = L_LINSZ - 24.
POSITION L_START.
WRITE :/01 SY-VLINE,
02 'SYSTEM:', SY-SYSID,'/',SY-MANDT,
91 SY-VLINE.
POSITION L_LINSZ.
WRITE :/01 SY-VLINE.
WRITE : /01 SY-ULINE(91).
ENDFORM. "PGH_WRITE_SYSTEM_CLIENTThere is a very minor correction in your logic.
FORM DISPLAY_ITEM_DETAIL USING L_EBELN.
CALL TRANSACTION 'ME23' AND SKIP FIRST SCREEN.
SET PARAMETER ID 'BES' FIELD L_EBELN.
*GET PARAMETER ID 'BES' FIELD L_EBELN.
instead of this try
SET PARAMETER ID 'BES' FIELD L_EBELN.
CALL TRANSACTION 'ME23' AND SKIP FIRST SCREEN.
you should always set the parameter id first and then call the transaction.
i tried it in my system and it seems to be working. -
Hai all Expert...,
I can think if, in this program sap to create a web in SAP ..
so that they can do on the site. that may have already been making, if it is ever
help me to provide direction / step by step to create this program to the sap in the website
thanks for allthanks gordon for yor replaymy Question
but i want this Program SAP live in the WebSite
can be also manage in a live website
thanks -
hai all Expert
hi all experts
how to display line customers in the payment in 3 months, and displays invoice date, invoice due date,
incoming and average transaction value in 3 months
this my query :
SELECT T0.[DocNum], T0.[CardName], T0.[DocDate], T0.[DocDueDate], T0.[DocTotal] FROM OINV T0
I wanted to like this show:
invoice number, customer name, T.O.P Payment customer , invoice date, invoice value, Incoming value, AVERAGE TRANSACTION /MONTH
thanksHi Rachelhel,
Link to ORCT - OINV
SELECT * FROM ORCT T0 INNER JOIN OINV T1 ON T0.DocEntry = T1.ReceiptNum
Try this,
Lists of Incoming Payments and related Invoices.
SELECT T0.DocNum, T0.DocEntry,
T1.DocNum as 'Invoice No', T1.CardName, T1.DocDate, T1.DocDueDate, T1.DocTotal
FROM RCT2 T0
INNER JOIN OINV T1 ON T0.DocEntry = T1.ReceiptNum
OR
SELECT T0.DocNum, T0.DocEntry,
T1.DocNum as 'Invoice No', T1.CardName, T1.DocDate, T1.DocDueDate, T1.DocTotal
FROM RCT2 T0
INNER JOIN OINV T1 ON T0.DocEntry = T1.DocEntry
Regards,
Madhan. -
hai BW experts can you explain me is there any transaction code like lbwe for LO similarl thing to HR
and do we have header data ,item data kind of tables datasources in HR where can i find the transaction tables for exclusively headcount please i have seen the previuos links BW HR implementation link and head count as well but didnt help me plz send me more details
Thanks and regards
swathikaHi Swathika,
Most of the HR extractions support only the full upload.So there is no such concept called Set-up table etc in HR.All the informations for HR are stored in InfoTypes which is similar to transparent table in SAP .Most of the Infotypes start with PA like PA0000,PA0001 etc. For head count there is a specific datasource called 0HR_PA_0.
You can get all the details from the below help link.
http://help.sap.com/saphelp_nw70/helpdata/EN/7d/eab4391de05604e10000000a114084/frameset.htm
Thanks. -
hai all Expert..,
I have a problem with my Query .., may have that can help me.
I create a Query for Qty sales, after I was working Excecute
but after I check the results one by one with the sales results
of the analysis appeared to have all that is not the same as the results of the analysis in sales
SELECT T0.ItemCode, T0.Dscription,T1.OnHand,T0.DocDate,T0.ActDelDate, SUM(T0.BaseQty * T1.NumInSale) AS 'Qty Sales' ,DAY(GetDate()) as 'Days',
Case WHEN Month(GetDate()) in (1,3,5,7,8,10,12) THEN 31 WHEN Month(GetDate()) in (2,4,6,9,11) THEN 30 ELSE 28 END AS 'Total days'
FROM DBO.INV1 T0 INNER JOIN DBO.OITM T1 ON T0.ItemCode = T1.ItemCode
WHERE
T0.ItemCode ='01000006' and
(Month(T0.DocDate) = Month(GetDate())-1) AND Year(T0.DocDate) = Year(GetDate()) and
(T0.BaseQty * T1.NumInSale)>0
GROUP BY T0.ItemCode,T0.Dscription,T1.OnHand,T0.DocDate,T0.ActDelDate
ORDER BY T0.ItemCode,T0.DocDate
Thanks...Try This
SELECT T0.ItemCode, T0.Dscription,T1.OnHand,T0.DocDate,T0.ActDelDate, SUM((T0.Quantity * T1.NumInSale)-T1.OPENQTY) AS 'Qty Sales'
,DAY(GetDate()) as 'Days',
Case WHEN Month(GetDate()) in (1,3,5,7,8,10,12) THEN 31 WHEN Month(GetDate()) in (2,4,6,9,11) THEN 30 ELSE 28 END AS 'Total days'
FROM DBO.INV1 T0 INNER JOIN DBO.OITM T1 ON T0.ItemCode = T1.ItemCode
WHERE
T0.ItemCode ='01000006' and
(Month(T0.DocDate) = Month(GetDate())-1) AND Year(T0.DocDate) = Year(GetDate()) and
(T0.BaseQty * T1.NumInSale)>0
GROUP BY T0.ItemCode,T0.Dscription,T1.OnHand,T0.DocDate,T0.ActDelDate
ORDER BY T0.ItemCode,T0.DocDate -
Set JTable in another JTable Column
Hai Java Experts
Can we Set JTable in another JTable Column
In jsp we add one table in a column of another table. Like the previous way can we do it in swing?
Pls Help me with example..
Thanks[http://java.sun.com/docs/books/tutorial/uiswing/components/table.html#editrender]
db
edit And adding a table in a column of another table doesn't make any sense at all. Perhaps you meant showing a table in a cell of another table.
Edited by: DarrylBurke -
Alfa Numeric Number range creation
hai SD experts .can any body help me in this issue your help will be rewarded...
i am using 4.7 i know number range creation but i want to create ALFA NUMERIC NUMBER RANGE AND ASSIGN IT TO MY SALES ORDER can any body help me in this issue with detailed steps pls
advance thanks
rag samhi
Pls try with the following ,Hope it will help u out
Number Ranges can be maintained Internally by the system, however it can be maintained externally also if you customize it accordingly.
In Standard SAP the Transaction code for Maintaiing Number ranges externally is VN01.
Defining - The same can be reached through in IMG as : Sales & Distribution>Sales>Sales Document Header-->Define Number Ranges for Sales Documents.
Here you provide the system a specific Number range as follows:
Number range Key Start Number range End Number Range+Current Number
For Example: If you want to propose the following Number Range
*1 9000076000 9000076999 0
The Current Number field will be kept zero as you are proposing new number range and no sales documents have been created on it , Obviously..
*1 is a Unique Two digit Alphanumeric Key, while proposing your key, you should ensure that it should not be there in the system as existing.
If you propose a key that is there in the system or if the Number Range (Start and End Series) is there in the system already, the system will throw a message that Interval already already exists. So choose a key that is unique, and which is not there in the system.
Here , by making this , you are assigning a Key to a Number Range Series.
All the symbols can be used along with numbers from 0 to 9 and Alphabets from A to Z and in any order. For example: !1, ^A, BB,Z*,M2.........
Assigning - In Assigning, you assign the particular Sales Document to the Number Range you have already proposed as above.
The Assigning Part is done as follows:
The Two digit Alpha Numeric Key is maintained or Assigned to the respective Sales Document type in V0V8.
This can also be reached in IMG by:
Sales & Distribution>Sales>Sales Document Header-->Define Sales Document Types
Locate the particular Sales Doc Type, and double click on it to display it configuration. Here you put the Two Digit Number key in the Field- "Number range External Assignment" -
Slected no of records doesnt match with the no of records transferred
Hai BI EXPERTS
SINCE FROM LONG THE DATA PACKET IS RED IN COLOUR WITH THE ERROR MESSAGE 'SELECTED NO RANGES DOESNT MATCH WITH NO OF RECORDS TRANSFERRED'
PLS EARLY ANSWERS=HIGH POINTSHello,
check for IDOC's in BD87 and just see if any thing is pending or not...
if yes then execute them manually.
Also check SM58 and is some LUW are waiting process them manully if possible.
Also try to see the job log in the spource system in SM37 for the user ALEREMOTE and go inside each job and check the one for your data source...and check where it is stuck.
also check for teh system connection and try to see if the jobs are running for other data source.
Also check if the job in BW is running in SM37 for this data load or not.
You can try to cancel all the jobs in BW...turn the total status of the request to RED and then delete it and execute the infopackage..it will ask for repeat and you can repeat the load.
If DTP then just schedule the DTP after deleting gthe request.
Thanks
Ajeet -
Hai PP Experts!!
I created reporting points in rate routing by assiging the control key with milestone confirmation.But in the MFBF screen during reporting point selection system shows error "reporting points are not maintained in PCC" . I also maintained suitable REM Profile (ie., i activated RP in the profile)
So pls throw some light on creation of reporting points, required customization and sequence of steps....
Advace thanks.............
GaneshrajaDear Mr.Ganesh raja,
Check in customizing-Control data for REM profile under control data 1,whether GI backflush at GR posting,if it's so deselect that and select RP backflush,then only the system allows you to use RP backflush.
You have to assign the same REM profile for the material which you want to use RP backflush.
And also in MFBF,plz include a tick mark in RP backflush field.
<b>If useful reward points.</b>
Regards
Mangal -
What is the procedire convert bdc objects to bapi?
Hai abap experts,
This is vinod,
may i know the details about converstion of bdc objects in to bapi. can u givethe documentation ? <REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Feb 29, 2008 3:13 PMHi,
I think u can't do it like that.
Can u tell your exact requirement
Regards -
Hai WM experts.
We have been proposed two changes in Present WM system.
1.When we issue product out of stock using transaction MB1A movement type 201, the stock is moving over to storage type 911. Then we have to do a manual Transfer order (LT01) to relieve the stock from that location. we don't have to do the manual transaction. We are having the same issue with the MIG0 transaction. After everything gets received in, the stock sits in storage type 902. we want transfer order to happen automatically can any body explain how to do?
2.When a Backflush or Goods Receipt are cancelled SAP is creating a Transfer Order (TR) that then needs to be deleted,TR background creation needs to be removed for movement type: 102 and movement 104.My doubt this is standard system delivery.why should we control this?How to do it?will impact the process?
Transaction Code: MF41 and MBST.can any body expain it with detail?Thaks alot fast reply.I have seen the node u sent.
What this node will do.
LE->WM->interfaces->IM->activate automatic TO
I need clarification and Validation for the second requirement.
TR background creation needs to be removed for movement type: 102 and movement 104 for MF41 and MBST.If Restricted TR for those movement types.can the wharehouse system runs properly? -
Hai BW Experts
please don't send help docs???
i came across this in my requirement, can anyone help me?
1) how to design query for sales revenue to be displayed year wise in report? for example if sales cube consists data from year 2000 to 2006.
i want my reports which displays sales revenue (2000, 01, 02, 03, 04, 05, 2006) in columns
2) in one cube we have info Objects material, stock, plant etc. on another cube we have purchase orders, PO numb etc, how to design query to display all fields in one report without using Multiproviders and jump query's (RSBBS)?
can anyone do favor to me
Thanks in advance.....
Regds
Dhanunjaya UHi Dhanunjaya,
1) how to design query for sales revenue to be displayed year wise in report? for example if sales cube consists data from year 2000 to 2006.
i want my reports which displays sales revenue (2000, 01, 02, 03, 04, 05, 2006) in columns
If you having year in your CUBE, then create variable
for year(user entry with default value 2000).
Create 10 restricted key figures(for year 2000 to next 9 years). and restrict using year variable & OFFSET.
Place these restricted key figures in columns.
2) in one cube we have info Objects material, stock, plant etc. on another cube we have purchase orders, PO numb etc, how to design query to display all fields in one report without using Multiproviders and jump query's (RSBBS)?
Load purchasing data into your Stocks cube and create a report on this.
Hope it Helps
Srini
Maybe you are looking for
-
i can not seem to figure out why my phone will not turn on i have tried the master reset plugging it into a computer and the wall charger it does not seem to be doing anything can anyone help please
-
Loadjava error - loading JAR file
Hi, I am trying to load a JAR file into the DB and am getting these errors: $ loadjava -force -user user/pass javaTelnet.jar Error while creating class javaTelnet/ScriptHandler ORA-29537: class or resource cannot be created or dropped directly Er
-
Thunderbolt port to 30" cinema display
I have recently purchased a 15 inch macbook pro. When I first tried to connect the computer to my 30" cinema display both screens flashed and did not connect. I am wondering if the mini displayport cable is compatible with the thunderbolt port? this
-
Business area wise profit and loss account urgent
dear all According to business scenario we are going here purchase is made for business area AA purchase account is assigned to this business araea later in goods issue we are going to issue R/M for two different business areas. purchase one R/M for
-
Setting a minimum column height with CSS?
I'm working on a website with two column layout. The left column contains a list of site navigation links, the right column contains actual content for any given page. I'm using CSS to set a left-hand rule that runs the height of the right-hand colum