Table/BAPI to get the customer overdueand balance amounts
Hi Gurus,,
Can some one help me in finding the Table/BAPI to get the customer overdueand balance amounts in a period of time.
Thanks And Regards,
Abhi....
Hi Eli,
Thanks for the answer, but my problem is actually related to Credit Control Management, where we define the Credit Limits and Risk Catagories.
Again, I wanted to know the table/BAPI where I can get the information about the Overdue Amonut (the pending amount that was supposed to be paid by Customer in a fixed period) and the total amount : Outstanding Amount
Thanks In Advance..
Abhi...
Similar Messages
-
How to fetch the customer debit balances form the KNC1 database table
Hi Experts,
I am creating a ABAP report which would dispaly the customer credit balances for the currenct fiscal year.
I am fetching the values form KNC1 database table.....But in this table values are stored year wise.
But I want to display for the current fiscal year that means if teh user selects the 07/2011 as the month on the sleection screen then the debit balances from 072010 to 062011 should be dispalyed.
Could anyone please help me out to fetch this the debit balaces form KNC1 database table in the above format.
Or is there any other way to solve this problem?
Awating your urgent reply.
Many Thanks,
Komal.Hi Komal,
First, you have to compute the initial period and the final period.
Next, you must read table KNC1 for the years comprised between these two periods.
Last, you must read the fields of table KNC1. For that, you should compose dynamically the name of the field, and then ASSIGN it to a FIELD-SYMBOL.
Now, just add up the values!
Please try the following code:
FIELD-SYMBOLS: <fs>.
DATA: t_knc1 TYPE TABLE OF knc1 WITH HEADER LINE.
DATA: d_debits LIKE knc1-um01s.
PARAMETERS: p_kunnr LIKE knc1-kunnr,
p_bukrs LIKE knc1-bukrs,
p_spmon TYPE spmon.
DATA: l_fieldname(20) TYPE c.
DATA: l_date LIKE sy-datum,
l_date_from LIKE sy-datum,
l_date_to LIKE sy-datum.
DATA: l_period(2) TYPE n.
DATA: l_num_times TYPE i.
START-OF-SELECTION.
"Compute the initial and final periods
CONCATENATE p_spmon '01' INTO l_date.
CALL FUNCTION 'RE_ADD_MONTH_TO_DATE'
EXPORTING
months = '-1'
olddate = l_date
IMPORTING
newdate = l_date_to.
CALL FUNCTION 'RE_ADD_MONTH_TO_DATE'
EXPORTING
months = '-12'
olddate = l_date
IMPORTING
newdate = l_date_from.
"Read table KNC1
SELECT *
INTO CORRESPONDING FIELDS OF TABLE t_knc1
FROM knc1
WHERE kunnr = p_kunnr
AND bukrs = p_bukrs
AND gjahr BETWEEN l_date_from(4) AND l_date_to(4).
"this will yield at most 2 records, one for present year, and another one for the previous year.
"but if you select i.e. period '01.2012', initial_date = '01.01.2011' and final_date = '31.12.2011'
" --> thus only one year --> one record
CLEAR: d_debits.
LOOP AT t_knc1.
" If there's no year change
IF l_date_from(4) = l_date_to(4).
DO 16 TIMES.
l_period = sy-index.
CONCATENATE 'UM' "compute dynamically the field name
l_period
'S'
INTO l_fieldname.
ASSIGN COMPONENT l_fieldname OF STRUCTURE t_knc1 TO <fs>. "assign
ADD <fs> TO d_debits. "and add up
ENDDO.
ELSE.
" If there IS a year change
IF t_knc1-gjahr = l_date_from+0(4).
l_num_times = 16 - l_date_from+4(2) + 1. "you must loop 16 - initial_period + 1 times for the first year
DO l_num_times TIMES.
l_period = sy-index + l_date_from+4(2) - 1.
CONCATENATE 'UM' "compute dynamically the field name
l_period
'S'
INTO l_fieldname.
ASSIGN COMPONENT l_fieldname OF STRUCTURE t_knc1 TO <fs>. "assign
ADD <fs> TO d_debits. "and add up
ENDDO.
ELSE.
l_num_times = l_date_to+4(2). "you must loop final_period times for the second year
DO l_num_times TIMES.
l_period = sy-index.
CONCATENATE 'UM' "compute dynamically the field name
l_period
'S'
INTO l_fieldname.
ASSIGN COMPONENT l_fieldname OF STRUCTURE t_knc1 TO <fs>. "assign
ADD <fs> TO d_debits. "and add up
ENDDO.
ENDIF.
ENDIF.
ENDLOOP.
You'll have the result on variable 'd_debits'.
I hope this helps. Kind regards,
Alvaro -
F-32 to clear the Customer Account Balances through BDC
Dear Experts,
My requirement is that i need to clear the customer account balances . It can be cleared manually thru tcode F-32.
But i need to automate the process by writing BDC or BAPI or any FM.
Pl help me by providing some inputs on that. Also help me by suggesting how i can do that.
We have created BDC it is not giving any error but effect is not going to original documents.
It is preparing posting documents (FB03) but items are still open in open list(FBL5N).
My email: [email protected]
OR [email protected]
Can someone guide us.
Thanks in advance.
Mahendra DarwatkarI've done something like this. The first thing you need to do is to get your functional analyst to walk you through the process he wants you to use and then do a recording (SHDB).
Rob -
Reg F-32 to clear the Customer Account Balances
Dear experts,
My requirement is that i need to clear the customer account balances . It can be cleared manually thru tcode F-32. But i need to automate the process by writing BDC or BAPI or any FM.
Pl help me by providing some inputs on that. Also help me by suggesting how i can do that.
tks in advance,
rami am also having same requirement.but the logic is becoming too complex because single document number for clearing the open items.for a customer we can have n number of invoices and n number of payments.based on the base line date,assignment and xref3.
18.05.2010 DZ 2000
18.05.2010 DR 1000
18.05.2010 DR 200
20.05.2010 DZ 2000
20.05.2010 DR 1000
20.05.2010 DR 200
now we are creating 2 documents for 18.05.2010 and 20.05.2010 .but customer expects to create single document or both.
then we have to handle table control.page down and page up.
is the process folowing is correct or we have to create individual documents or single document -
F-32 to clear the Customer Account Balances
Hi,
My requirement is that i need to clear the customer account balances . It can be cleared manually thru tcode F-32.
But i need to automate the process by writing BDC or BAPI or any FM.
Pl help me by providing some inputs on that. Also help me by suggesting how i can do that.
tks in advance,
RajaniI've done something like this. The first thing you need to do is to get your functional analyst to walk you through the process he wants you to use and then do a recording (SHDB).
Rob -
BAPI to get the Material in Stock
Hi Experts,
I have requirement in which I have to call the function module(RFC Enabled) or BAPI which give the following fields as listed below
1.Plant
2.Material
3.Material description
4.Batch number
5.Material type
6.Basic unit of measure
7.Storage location
8.Unrestricted quantity (not consignment)
9.Reserved quantity
10.Quantity under inspection,
11.Blocked
12.Returns
13.Stock in transit
Please help me out soon.
Thanks and regards,
Kuldeep VermaHi,
BAPI_MATERIAL_AVAILABILITY is the correct BAPI to get the details.
here is the sample code:
REPORT ZREPORT_MAT.
data: ENDLEADTME type BAPICM61M-WZTER,
AV_QTY_PLT type BAPICM61V-WKBST,
DIALOGFLAG type BAPICM61V-DIAFL,
RETURN type BAPIRETURN,
WMDVSX type table of BAPIWMDVS,
WMDVEX type table of BAPIWMDVE.
CALL FUNCTION 'BAPI_MATERIAL_AVAILABILITY'
EXPORTING
plant = '1100'
material = '000000000300000292'
unit = 'EA'
CHECK_RULE =
STGE_LOC =
BATCH =
CUSTOMER =
DOC_NUMBER =
ITM_NUMBER =
WBS_ELEM =
STOCK_IND =
DEC_FOR_ROUNDING =
DEC_FOR_ROUNDING_X =
READ_ATP_LOCK =
READ_ATP_LOCK_X =
MATERIAL_EVG =
IMPORTING
ENDLEADTME = ENDLEADTME
AV_QTY_PLT = AV_QTY_PLT
DIALOGFLAG = DIALOGFLAG
RETURN = RETURN
tables
wmdvsx = WMDVSX
wmdvex = WMDVEX
break developer.
write:/ AV_QTY_PLT.
Reward points if useful. -
BAPI to get the Sales order line item details
Hi,
My program gets Sale sorder and item as the input and I need to fetch all the item (Given item) details for this Sales Order from VBAP. Is there any BAPI to get the item details?Hi,
This is a sample code of BAPI.Try to map it to your requirement.This is not related to vendor.This is related to sales order.
Constants
CONSTANTS: c_contract LIKE vbak-vbeln VALUE '0020000720',
c_item LIKE vbap-posnr VALUE '000010'.
Structures
Structure to hold BAPI Header
DATA: st_bapisdhd1 LIKE bapisdhd1.
Internal Tables
Sales Order Create BAPI Return Messages
DATA: tbl_return TYPE STANDARD TABLE OF bapiret2
WITH HEADER LINE.
Sales Order BAPI Line Item
DATA: tbl_bapisditm TYPE STANDARD TABLE OF bapisditm
WITH HEADER LINE.
Sales Order BAPI Line Item
DATA: tbl_bapisditmx TYPE STANDARD TABLE OF bapisditmx
WITH HEADER LINE.
Sales Order BAPI Pricing Conditions
DATA: tbl_bapicond TYPE STANDARD TABLE OF bapicond
WITH HEADER LINE.
Sales Order BAPI Partner Functions
DATA: tbl_bapiparnr TYPE STANDARD TABLE OF bapiparnr
WITH HEADER LINE.
Sales Order BAPI Schedule Lines
DATA: tbl_bapischdl TYPE STANDARD TABLE OF bapischdl
WITH HEADER LINE.
Sales Order BAPI Schedule Lines
DATA: tbl_bapischdlx TYPE STANDARD TABLE OF bapischdlx
WITH HEADER LINE.
Sales Order BAPI Pricing Conditions
DATA: tbl_bapicondx TYPE STANDARD TABLE OF bapicondx
WITH HEADER LINE.
Customer Enhancement for VBAK, VBAP, VBEP
DATA: tbl_bapiparex TYPE STANDARD TABLE OF bapiparex
WITH HEADER LINE.
Table to hold BAPI Detail Conditions
DATA: tbl_bapisdcond TYPE STANDARD TABLE OF bapisdcond
WITH HEADER LINE.
Table to hold Return Messages from Sales Order Change BAPI
DATA: tbl_return_chg TYPE STANDARD TABLE OF bapiret2
WITH HEADER LINE.
Variables
DATA: g_vbeln_created LIKE vbak-vbeln,
g_valid_contract TYPE c,
g_cont_price_date TYPE d.
Start of Selection
START-OF-SELECTION.
PERFORM validate_contract.
PERFORM create_sales_ord.
PERFORM update_sales_ord.
End of Selection
END-OF-SELECTION.
PERFORM write_output_report.
Subroutines
*& Form create_sales_ord
Create the Sales Order
FORM create_sales_ord .
PERFORM populate_bapi_tables.
PERFORM call_create_sales_ord_bapi.
ENDFORM. " create_sales_ord
*& Form populate_bapi_tables
Fill up the BAPI Tables
FORM populate_bapi_tables .
PERFORM populate_bapi_header.
PERFORM build_bapi_partners.
PERFORM build_bapi_items.
PERFORM build_bapi_sched_lines.
ENDFORM. " populate_bapi_tables
*& Form populate_bapi_header
Build BAPI Header Details
FORM populate_bapi_header .
CLEAR st_bapisdhd1.
st_bapisdhd1-doc_type = 'ZOC'. "Order type
st_bapisdhd1-sales_org = '026'. "Sales Org
st_bapisdhd1-distr_chan = '00'. "Dist Channel
st_bapisdhd1-division = '00'. "Division
st_bapisdhd1-purch_no_c = 'Cust Po No'. "Cust PO No
st_bapisdhd1-name = 'Orderer'. "Name of Orderer
st_bapisdhd1-ord_reason = ''. "Order Reason
st_bapisdhd1-sales_off = '3001'. "Sales Office
st_bapisdhd1-sales_grp = '301'. "Market Area
IF g_valid_contract = 'X'.
st_bapisdhd1-price_date = g_cont_price_date.
ENDIF.
ENDFORM. " populate_bapi_header
*& Form build_bapi_partners
Build BAPI Partner Functions
FORM build_bapi_partners .
CLEAR tbl_bapiparnr.
tbl_bapiparnr-partn_role = 'AG'.
tbl_bapiparnr-partn_numb = '0000100750'.
APPEND tbl_bapiparnr.
CLEAR tbl_bapiparnr.
tbl_bapiparnr-partn_role = 'WE'.
tbl_bapiparnr-partn_numb = '0000504472'.
APPEND tbl_bapiparnr.
ENDFORM. " build_bapi_partners
*& Form build_bapi_items
Build The BAPI Line Items
FORM build_bapi_items .
DATA: l_matnr LIKE mara-matnr.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = '10000072'
IMPORTING
output = l_matnr.
CLEAR tbl_bapisditm.
tbl_bapisditm-itm_number = c_item.
IF g_valid_contract = 'X'.
tbl_bapisditm-ref_doc = c_contract.
tbl_bapisditm-ref_doc_it = c_item.
tbl_bapisditm-ref_doc_ca = 'G'. "Contract
ENDIF.
tbl_bapisditm-material = l_matnr.
tbl_bapisditm-plant = '3012'.
tbl_bapisditm-target_qty = '5.000'.
tbl_bapisditm-target_qu = 'M3'.
tbl_bapisditm-item_categ = 'ZZOC'.
tbl_bapisditm-sales_dist = '301'.
tbl_bapisditm-dlv_prio = '02'.
tbl_bapisditm-prc_group5 = '080'.
tbl_bapisditm-cust_mat35 = 'kdmat'.
tbl_bapisditm-route = 'TESYS'.
tbl_bapisditm-usage_ind = 'CIV'.
APPEND tbl_bapisditm.
CLEAR tbl_bapisditmx.
tbl_bapisditmx-itm_number = c_item.
tbl_bapisditmx-ref_doc = 'X'.
tbl_bapisditmx-ref_doc_it = 'X'.
tbl_bapisditmx-ref_doc_ca = 'X'.
tbl_bapisditmx-material = 'X'.
tbl_bapisditmx-updateflag = 'I'.
tbl_bapisditmx-plant = 'X'.
tbl_bapisditmx-target_qty = 'X'.
tbl_bapisditmx-target_qu = 'X'.
tbl_bapisditmx-item_categ = 'X'.
tbl_bapisditmx-sales_dist = 'X'.
tbl_bapisditmx-dlv_prio = 'X'.
tbl_bapisditmx-prc_group5 = 'X'.
tbl_bapisditmx-cust_mat35 = 'X'.
tbl_bapisditmx-usage_ind = 'X'.
tbl_bapisditmx-route = 'X'.
APPEND tbl_bapisditmx.
ENDFORM. " build_bapi_items
*& Form build_bapi_sched_lines
Build the BAPI Schedule Lines
FORM build_bapi_sched_lines .
CLEAR tbl_bapischdl.
tbl_bapischdl-itm_number = c_item.
tbl_bapischdl-req_qty = '1'.
tbl_bapischdl-req_date = sy-datum.
APPEND tbl_bapischdl.
ENDFORM. " build_bapi_sched_lines
*& Form build_bapi_conditions
Pull the BAPI Pricing Conditions from the Contract
FORM build_bapi_conditions .
LOOP AT tbl_bapisdcond.
CLEAR tbl_bapicond.
MOVE-CORRESPONDING tbl_bapisdcond TO tbl_bapicond.
APPEND tbl_bapicond.
CLEAR tbl_bapicondx.
tbl_bapicondx-itm_number = tbl_bapicond-itm_number.
tbl_bapicondx-cond_st_no = tbl_bapicond-cond_st_no.
tbl_bapicondx-cond_count = tbl_bapicond-cond_count.
tbl_bapicondx-cond_type = tbl_bapicond-cond_type.
tbl_bapicondx-updateflag = 'I'.
tbl_bapicondx-cond_value = 'X'.
tbl_bapicondx-currency = 'X'.
tbl_bapicondx-cond_unit = 'X'.
tbl_bapicondx-cond_p_unt = 'X'.
tbl_bapicondx-varcond = tbl_bapicond-varcond.
APPEND tbl_bapicondx.
ENDLOOP.
ENDFORM. " build_bapi_conditions
*& Form call_create_sales_ord_bapi
Call the Sales Order Create BAPI
FORM call_create_sales_ord_bapi .
CLEAR g_vbeln_created.
CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
EXPORTING
order_header_in = st_bapisdhd1
IMPORTING
salesdocument = g_vbeln_created
TABLES
return = tbl_return
order_items_in = tbl_bapisditm
order_items_inx = tbl_bapisditmx
order_partners = tbl_bapiparnr
order_schedules_in = tbl_bapischdl.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
ENDFORM. " call_create_sales_ord_bapi
*& Form update_sales_ord
Update the newly created Sales Order with the Pricing Conditions
from the Contract
FORM update_sales_ord .
CHECK g_valid_contract EQ 'X'.
PERFORM get_contract_details.
PERFORM build_bapi_conditions.
PERFORM call_change_sales_ord_bapi.
ENDFORM. " update_sales_ord
*& Form get_contract_details
Get Contract Details
FORM get_contract_details .
Need to manually get the relevant Pricing Conditions as the BAPI
BAPISDORDER_GETDETAILEDLIST causes problems when we call the BAPI
BAPI_SALESORDER_CREATEFROMDAT2 and BAPI_SALESORDER_CHANGE (I think
this is due to the fact that these BAPIs belong to the same Function
Group and there must be some common structures that are not cleared
causing us all sorts of grief when we try and call the next BAPI)
DATA: tbl_konv TYPE STANDARD TABLE OF konv WITH HEADER LINE.
DATA: tbl_komv TYPE STANDARD TABLE OF komv WITH HEADER LINE.
DATA: tbl_vbak TYPE STANDARD TABLE OF vbak WITH HEADER LINE.
Pricing Condition Master
DATA: BEGIN OF tbl_t685a OCCURS 0,
kschl LIKE t685a-kschl,
kaend_wrt LIKE t685a-kaend_wrt,
END OF tbl_t685a.
SELECT *
INTO TABLE tbl_vbak
FROM vbak
WHERE vbeln = c_contract.
READ TABLE tbl_vbak INDEX 1.
SELECT *
INTO TABLE tbl_konv
FROM konv
WHERE knumv = tbl_vbak-knumv AND
kposn = c_item.
CHECK sy-subrc EQ 0.
We now need to make sure we only bring across the Condition Types that
are EDITABLE. If we bring across non editable conditions (such as
'ZPR1') the Change Sales Order BAPI will fail
SELECT kschl kaend_wrt
INTO TABLE tbl_t685a
FROM t685a
FOR ALL ENTRIES IN tbl_konv
WHERE kappl EQ 'V' AND "Sales
kschl EQ tbl_konv-kschl AND
kaend_wrt EQ 'X' AND "Value is Editable
kmanu NE 'D'. "Process manually
Prepare for Binary Search
SORT tbl_t685a BY kschl.
LOOP AT tbl_konv.
READ TABLE tbl_t685a WITH KEY kschl = tbl_konv-kschl BINARY SEARCH.
IF sy-subrc EQ 0.
MOVE-CORRESPONDING tbl_konv TO tbl_komv.
APPEND tbl_komv.
ENDIF.
ENDLOOP.
CHECK NOT tbl_komv[] IS INITIAL.
Map KOMV into the more BAPI friendly BAPISDCOND structure
CALL FUNCTION 'MAP_INT_TO_EXT_STRUCTURE'
TABLES
fxvbak = tbl_vbak
fxkomv = tbl_komv
fxbapikomv = tbl_bapisdcond
EXCEPTIONS
entry_missing = 1
OTHERS = 2.
ENDFORM. " get_contract_details
*& Form call_change_sales_ord_bapi
Call the Change Sales Order BAPI
FORM call_change_sales_ord_bapi .
DATA: st_head_chg LIKE bapisdh1x,
st_logic_switch TYPE bapisdls.
CHECK NOT g_vbeln_created IS INITIAL.
CHECK g_valid_contract EQ 'X'.
st_head_chg-updateflag = 'U'.
st_logic_switch-cond_handl = 'X'.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
salesdocument = g_vbeln_created
order_header_inx = st_head_chg
logic_switch = st_logic_switch
TABLES
return = tbl_return_chg
conditions_in = tbl_bapicond
conditions_inx = tbl_bapicondx.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
ENDFORM. " call_change_sales_ord_bapi
*& Form write_output_report
Produce Output Report
FORM write_output_report .
IF NOT g_vbeln_created IS INITIAL.
WRITE:/ 'Success! Sales Order', g_vbeln_created, 'was created!'.
ELSE.
WRITE:/ 'Failure! Sales Order was not created!'.
ENDIF.
SKIP.
WRITE:/ 'Sales Order Create Log'.
LOOP AT tbl_return.
WRITE:/ tbl_return-type, tbl_return-id, tbl_return-number,
tbl_return-message.
ENDLOOP.
SKIP.
WRITE:/ 'Sales Order Change Log'.
LOOP AT tbl_return_chg.
WRITE:/ tbl_return_chg-type, tbl_return_chg-id,
tbl_return_chg-number, tbl_return_chg-message.
ENDLOOP.
ENDFORM. " write_output_report
*& Form validate_contract
Make sure that the Contract is Valid
FORM validate_contract .
DATA: l_gueen LIKE vbak-gueen,
l_prsdt LIKE vbkd-prsdt.
SELECT SINGLE vbakgueen vbkdprsdt
INTO (l_gueen, l_prsdt)
FROM vbak
INNER JOIN vbkd
ON vbakvbeln = vbkdvbeln
WHERE vbak~vbeln = c_contract AND
vbkd~posnr = '000000'.
IF sy-datum LE l_gueen.
Contract is valid! Set Order Price Date
g_valid_contract = 'X'.
g_cont_price_date = l_prsdt.
ENDIF.
ENDFORM. " validate_contract
Regards
Rajesh Kumar -
Hi,
I have the following loop, to get the customer name. I have 9 records for the selection and after execution I am able to see only one customer name, because I am not catching it in the loop. How to do it. and where should I clear NAME1.
LOOP AT ITAB_LIKP.
AT NEW KUNNR.
SELECT SINGLE NAME1 FROM KNA1 INTO TNAME1
WHERE KUNNR = ITAB_LIKP-KUNNR.
ENDAT.
ENDLOOP.
ENDIF.
LOOP AT ITAB_LIPS.
Thanks
Veni.Hi,
its not advisible to use SELECT within LOOPS, as its consumes more time.so use FOR ALL ENTRIES before the LOOP statement & use READ TABLE within the LOOP to read the values,as below.
data : begin of IT_KNA1,
KUNNR TYPE KNA1-KUNNR,
NAME1 TYPE KNA1-NAME1,
end of IT_KNA1.
*--fetch names of all the customers exists in the table ITAB_LIKP.
select kunnr
name1
from kna1
into table it_kna1
for all entries in ITAB_LIKP
where KUNNR = ITAB_LIKP-KUNNR.
*--now you will have all customer details,who are in ITAB_LIKP.
then
data : v_tabix type sy-tabix.
LOOP AT ITAB_LIKP.
v_tabix = sy-tabix.
AT NEW KUNNR.
read table ITAB_LIKP Index v_tabix.
*--Instead of SELECT ,use READ TABLE OF IT_KNA1.
<b> CLEAR IT_KNA1.</b>
*--USE clear statement just before populating its header.
read table it_kna1 with key kunnr = ITAB_LIKP-kunnr.
if sy-subrc = 0.
*--for this customer,entry found in IT_KNA1 table.
*--here if you want to store these details, you can use IT_KNA1-NAME1 value to proceed.
endif.
ENDAT.
endloop.
regards
srikanth -
Query to get the Customer Contacts
Hi all,
Pls tell me the qyery to get the customer contacts like telephone number, fax number details.
Thanks in advanceWhat is the responsibility name? Form name and navigation path?
You can determine the query from the form itself as follows:
- Query the record(s)
- Click on Help > Diagnostics > Examine
- Under 'Block' field, select 'SYSTEM'
- Under 'Field' field, select 'LAST_QUERY'
You may also review the following note:
Note: 259722.1 - HOWTO Determine Table and Column Name from a field in a form in 11i
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=259722.1 -
I have just updated to Yosemite, but now I can't get the custom short-keys to work.
In Mavericks I had no problem whatsoever, but now even after googeling and restart no solution.
Does anyone have the problem? All the other shortcuts work!Hi Thomas,
I can confirm the problem you are hitting. The XML test trace does not get recognized at all, and it defaults to Eclipse's basic Open File behaviour. I am not sure if it's because the format definition is missing, or if it's because something prevents the trace type from being recognized. I will open a bug about it.
Thanks for identifying this issue!
In the meantime, if you'd like to experiment with XML analyses, you can also take a look at the example at https://github.com/tracecompass/xml-analysis-example .
Cheers,
Alex -
From which table we can get the Role of the User in SRM
Hi All,
I need to prepare a report which displays the user and his role in srm. So from which table i can get the role of the user if i have the Userid.
Thanks
Channappa SajjanarHi
t- code
SUIM->rOLES->BY USER ASSIGNMENT
SELECT WITHASSIGNMENT OF USER = username
AS A OUTPUT YOU MAY GET ROLE ASSIGNED TO THAT USER.
if you want which FM - you debug while executing this report.
regards
Muthu -
How to get the customized value of a Report portlet in a page
Hi ,
I have a report portlet and it has a bind variable which users can customize when added to a page. There is a link to a Form page in the report , to which I need to pass the value of bind variable customized by the user. I used :
portal30.wwv_name_value.get_string( l_arg_names, l_arg_values, '<bind variable>');
function, it works ok when we run the report alone .But when we add the report as a portlet in page , it does not return any value. How do I get the customized field value in a page.
nullSAN.
I haven't tested but u can try with the below code...
OATableBean tableBean = ...;
OATableFooterBean tableFooterBean = tableBean.getFooter();
if (tableFooterBean != null)
OATotalRowBean totalRowBean = tableFooterBean.getTotal();
totalRowBean.getValue("Re-Total");
}Regards,
Gyan -
Index for a PSA table is not in the "customer" namespace
Hi,
While loading data through infosource 0CO_OM_WBS_1 to
data target 0IMFA_1 loading failes and the reason given is that the system reads data from PSA table /BIC/B0001060000 of 0IM_FA_IQ_9 and the index generated for this table supplied return code 14.
I found no notes in the subject - with the syntax :
Index for a PSA table is not in the "customer" namespace.
thanks in advance for your help.Hi,
I think you need to speak to your basis guys / DBA as index created on PSA table is not in your tablespace. He should be able to help you.
Vikash -
Which Table i will Get the Name of Receipt Recipient in FBCJ
Hi Experts
Which Table i will Get the Name of Receipt Recipient in FBCJ
Transaction Code : FBCJ
Technical name : Name of Receipt Recipient
Field Name : BP_NAME
But it is not stored in TCJ_POSITIONS table
Regards
JagadishHi,
Please check in TCJ_DOCUMENTS table, field name BP_NAME.
Regards
Radhika -
Which table i will get the status of the User decision Result status
Hi Experts
Which table i will get the status of the User decision Result status
(eg : Inspection completion forced )
This i can see in QA33Hi jag
Ok fine actually it is not storing in any table...these r all text symols...if u see this program MQEVAF22...U EILL GET SOME IDEA
CALL FUNCTION 'QAST_STATUS_CHECK'
EXPORTING
I_OBJNR = QALS-OBJNR
I_STATUS = C_STATUS_PAKO
EXCEPTIONS
STATUS_NOT_ACTIV = 01.
IF SY-SUBRC NE C_RC01.
MOVE C_KREUZ TO L_STAT_PAKO.
ELSE.
CLEAR L_STAT_PAKO.
ENDIF.
Prüfen, ob Los bestandsrelevant ist
MOVE RQEVA-STAT_BERF TO L_STAT_BERF.
Prüfen, ob Los auf SKIP sitzt
CALL FUNCTION 'QAST_STATUS_CHECK'
EXPORTING
I_OBJNR = QALS-OBJNR
I_STATUS = C_STATUS_SKIP
EXCEPTIONS
STATUS_NOT_ACTIV = 01.
IF SY-SUBRC NE C_RC01.
MOVE C_KREUZ TO L_STAT_SKIP.
ELSE.
CLEAR L_STAT_SKIP.
ENDIF.
IF QALS-STAT35 >< C_KREUZ.
VE noch nicht getroffen !
IF ( QALS-OFFENNLZMK > CI_0 OR QALS-OFFEN_LZMK > CI_0 )
AND QALS-STAT13 = C_PPKTTYP-PHPR
AND G_ANZAHL_PPKT_LOEVM > CI_0.
Es wurden physische Proben storniert ! PRIORITÄT 1A
MOVE TEXT-I17 TO RQEVA-INFO_LINE. L_TEXT_NR = 'I17'.
ELSEIF ( QALS-STAT14 = C_KREUZ AND QALS-OFFENNLZMK > CI_0 )
OR ( L_STAT_PAKO = C_KREUZ
AND ( QALS-OFFENNLZMK > CI_0 OR QALS-OFFEN_LZMK > CI_0 ) ).
Prüfung wurde abgebrochen ! PRIORITÄT 1
MOVE TEXT-I04 TO RQEVA-INFO_LINE. L_TEXT_NR = 'I04'.
MOVE C_KREUZ TO L_ICON.
ELSEIF G_ANZ_RUECK_MK > 0.
Es wurden Merkmale rückgewiesen ! PRIORITÄT 2
MOVE TEXT-I01 TO RQEVA-INFO_LINE. L_TEXT_NR = 'I01'.
MOVE C_KREUZ TO L_ICON.
ELSEIF QALS-OFFENNLZMK > CI_0 OR QALS-OFFEN_LZMK > CI_0 .
IF QALS-OFFENNLZMK > CI_0.
Es sind nicht alle Merkmale abgeschlossen ! PRIORITÄT 3
MOVE TEXT-I02 TO RQEVA-INFO_LINE. L_TEXT_NR = 'I02'.
ELSEIF QALS-OFFEN_LZMK > CI_0.
MOVE TEXT-I05 TO RQEVA-INFO_LINE. L_TEXT_NR = 'I05'.
ENDIF.
ELSEIF QALS-WERK NE QALS-WERKVORG.
Prüflosmenge wurde umgelagert auf anderes Werk Priorität 4
MOVE TEXT-I16 TO RQEVA-INFO_LINE. L_TEXT_NR = 'I16'.
ELSEIF QALS-LMENGEIST > QALS-LOSMENGE.
Istmenge im Los größer als Losmenge! Priorität 5
MOVE TEXT-I15 TO RQEVA-INFO_LINE. L_TEXT_NR = 'I15'.
ELSEIF L_STAT_SKIP = C_KREUZ.
Prüfverzicht: Los ist geskippt ! PRIORITÄT 6
MOVE TEXT-I03 TO RQEVA-INFO_LINE. L_TEXT_NR = 'I03'.
ENDIF.
ELSE.
VE getroffen bzw. eingetragen
IF ( QALS-OFFENNLZMK > CI_0 OR QALS-OFFEN_LZMK > CI_0 )
AND QALS-STAT13 = C_PPKTTYP-PHPR
AND G_ANZAHL_PPKT_LOEVM > CI_0.
Es wurden physische Proben storniert ! PRIORITÄT 1A
MOVE TEXT-I17 TO RQEVA-INFO_LINE. L_TEXT_NR = 'I17'.
ELSEIF ( QALS-STAT14 = C_KREUZ AND QALS-OFFENNLZMK > CI_0 )
OR ( L_STAT_PAKO = C_KREUZ
AND ( QALS-OFFENNLZMK > CI_0 OR QALS-OFFEN_LZMK > CI_0 ) ).
Prüfung wurde abgebrochen ! PRIORITÄT 1
MOVE TEXT-I04 TO RQEVA-INFO_LINE. L_TEXT_NR = 'I04'.
MOVE C_KREUZ TO L_ICON.
ELSEIF L_STAT_PAKO EQ SPACE
AND ( QALS-OFFENNLZMK > CI_0 OR QALS-OFFEN_LZMK > CI_0 ).
Es sind noch Langzeitmerkmale zu bearbeiten ! PRIORITÄT 2
MOVE TEXT-I05 TO RQEVA-INFO_LINE. L_TEXT_NR = 'I05'.
ELSEIF L_STAT_BERF = C_KREUZ AND QALS-STAT34 EQ SPACE.
Los ist bestandsmäßig noch nicht entlastet ! PRIORITÄT 3
MOVE TEXT-I06 TO RQEVA-INFO_LINE. L_TEXT_NR = 'I06'.
ELSEIF QALS-WERK NE QALS-WERKVORG.
Prüflosmenge wurde umgelagert auf anderes Werk Priorität 4
MOVE TEXT-I16 TO RQEVA-INFO_LINE. L_TEXT_NR = 'I16'.
ELSEIF QALS-LMENGEIST > QALS-LOSMENGE.
Istmenge im Los größer als Losmenge! Priorität 5
MOVE TEXT-I15 TO RQEVA-INFO_LINE. L_TEXT_NR = 'I15'.
ELSEIF L_STAT_SKIP = C_KREUZ.
Prüfverzicht: Los ist geskippt ! PRIORITÄT 6
MOVE TEXT-I03 TO RQEVA-INFO_LINE. L_TEXT_NR = 'I03'.
ENDIF.
ENDIF.
Maybe you are looking for
-
My MacBook is very slow and constantly has the spinning beach ball of death!!!
In the last couple if weeks my MacBook has suddenly slowed down a LOT. Sometimes it takes ages for it to boot up when I turn it on and at other times not as long. Then once I log in, as soon as I click on something, the spinning beach ball appears an
-
NAT and Routed Network with Two ISP's on one router
I'm sure this has been done covered many times, but I am not finding it. I have two ISP connections. With ISP-A I have a /30 between us and 200.100.100.0/24 is routed to me via the /30 for thsi example we will say the /30 is 1.1.1.1 on isp end and 1.
-
TS2634 IOS6 error message Accessory unavailable uses too much power
IOS6 has stopped me from using my apple access connector that loads photos direct from memory card. Error message ,uses to much power. This worked fine on my iPad 2 until I upgraded, any suggestions how to fix this?
-
All, We are using SAP ECC 6.0 I am trying to find out where I can assign a Global Location Number to our company or Plant. I understand I can assign the GLN for our Vendors in the Vendor Master , Control data section (Loc1, Loc2, check digit) I also
-
Where to down load old version of itune
where to down load old version of itune