LOV values not being populated
Hi!
I'm calling an External LOV and in my CO, I'm need to use the values that are populated to derive other fields. This used to work prior to us patching to RUP7 and now it no longer works.
Here's my processFormRequest code. I'm printing out the values to a message because I want to see what is being returned. The message has NULL values for everything. I have the values mapped correctly so that's working but I need to use the quote_id to derive things and this isn't working...
What am I doing incorrectly? Any help would be appreciated. Thanks
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
OAApplicationModule am = pageContext.getApplicationModule(webBean);
if (pageContext.isLovEvent())
String event = pageContext.getParameter("event");
if ("lovValidate".equals(event)) || ("lovUpdate".equals(event))
OAViewObject VO = (OAViewObject)am.findViewObject("QuoteLogVO1");
OARow row = (OARow)VO.getCurrentRow();
String quoteToSend = (String)VO.getCurrentRow().getAttribute("QuotationName");
Number quoteId = (Number)VO.getCurrentRow().getAttribute("QuoteId");
String quoteIdString = (String)VO.getCurrentRow().getAttribute("QuoteId");
String quoteCategory = null;
if (quoteToSend != null)
stmt2 = "begin ? := XX_QUOTE_PROCESS_API.get_quote_category(?); end;";
try
CallableStatement cs2 = am.getOADBTransaction().createCallableStatement(stmt2, 1);
cs2.registerOutParameter(1, 12);
cs2.setInt(2, quoteId.intValue());
cs2.executeUpdate();
quoteCategory = cs2.getString(1);
cs2.close();
catch (Exception localException) {
row.setAttribute("QuoteCategory", quoteCategory);
MessageToken[] tokens = { new MessageToken("QUOTESEND", quoteToSend), new MessageToken("QUOTEID", ""+quoteId), new MessageToken("QUOTECATEGORY", quoteCategory) };
OAException confirmMessage = new OAException("FORX", "XXX_QUOTE_CONFIRM_DKR", tokens, (byte)3, null);
pageContext.putDialogMessage(confirmMessage);
}
Hi,
Are you getting null value for all the below code or it throws null pointer exception. Let us know.
String quoteToSend = (String)VO.getCurrentRow().getAttribute("QuotationName");
Number quoteId = (Number)VO.getCurrentRow().getAttribute("QuoteId");
String quoteIdString = (String)VO.getCurrentRow().getAttribute("QuoteId");
Regards,
Gyan
Similar Messages
-
Data is not being populated in screen field PSPNR after F4 search help.
Hi expert,
I have added one field GW_SELECT-PSPNR in existing screen 100, and there are many fields already existing.
and there are POV for 4 fielda and i added POV for field GW_SELECT-PSPNR.
PROCESS ON VALUE-REQUEST.
FIELD gw_select-kostl MODULE determine_kostl.
FIELD gw_select-aufnr MODULE determine_aufnr.
FIELD gw_select-matnr MODULE determine_matnr.
FIELD gw_select-bwart MODULE determine_bwart.
***Added by me
FIELD gw_select-pspnr MODULE determine_pspnr.
****end add
now problem is that the value is not being populated in screen.
values are coming in field GW_SELECT-PSPNR but in screen its not being populated.
i tried function module 'DYNP_VALUES_UPDATE' then also its not being populated
now this module MODULE determine_pspnr has code inside
MODULE DETERMINE_PSPNR INPUT.
DATA:w_dynpfields TYPE dynpread,
i_dynpfields LIKE STANDARD TABLE OF dynpread.
PERFORM fill_pspnr.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'PSPNR'
value_org = 'S'
TABLES
value_tab = gt_pspnr
field_tab = lt_field_tab
return_tab = lt_return_tab
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
LOOP AT lt_return_tab INTO ls_return_tab.
gw_select-pspnr = ls_return_tab-fieldval(12).
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = gw_select-pspnr
IMPORTING
output = gw_select-pspnr.
EXIT.
ENDLOOP.
refresh i_dynpfields.
w_dynpfields-FIELDNAME = 'gw_select-pspnr'.
w_dynpfields-FIELDVALUE = gw_select-pspnr.
APPEND w_dynpfields to i_dynpfields.
APPEND gw_select to gt_select.
CALL FUNCTION 'DYNP_VALUES_UPDATE'
EXPORTING
DYNAME = sy-repid
DYNUMB = sy-dynnr
TABLES
DYNPFIELDS = i_dynpfields
EXCEPTIONS
INVALID_ABAPWORKAREA = 1
INVALID_DYNPROFIELD = 2
INVALID_DYNPRONAME = 3
INVALID_DYNPRONUMMER = 4
INVALID_REQUEST = 5
NO_FIELDDESCRIPTION = 6
UNDEFIND_ERROR = 7
OTHERS = 8
ENDMODULE. " DETERMINE_PSPNR INPUTHi
Use this code instead of your function call:
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'FEE_NUMBER'
dynpprog = sy-cprog
dynpnr = sy-dynnr
dynprofield = 'FEE' ================>your field
value_org = 'S'
TABLES
value_tab = it_fee
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
Best Regards
Yossi -
Data object is not being populated in BAM
We are putting the data in JMS Queue. We have created an EMS in BAM. It is picking the data from JMS Queue, but the data object is not being populated. The request we are using here is given below:
Request:
<?xml version="1.0" encoding="UTF-8"?>
<Test xmlns="http://education.com/OrderImport">
<OrderLineReferenceNumber>abcad</OrderLineReferenceNumber>
<WebOrderNumber>cccccg</WebOrderNumber>
<OrderLineCount>gn</OrderLineCount>
<LineNumber>4</LineNumber>
<ISBN10>46564574</ISBN10>
<ISBM13>6767</ISBM13>
<ID>67</ID>
<Status>78768</Status>
</Test>
Does anybody has any idea on that?
Regards,
Chandrachur.Hi Arun,
Thanks for your prompt reply.
We are not using any trasfomation here. We have created thje Data objects as per the message type in the request.
Please find the dataobjects details we are using:
Field name Field ID Field type Max length Scale Nullable Public Lookup Calculated Tip Text
OrderLineReferenceNumber _OrderLineReferenceNumber string 100 - No Yes - - -
WebOrderNumber _WebOrderNumber string 100 - Yes Yes - - -
OrderLineCount _OrderLineCount integer - - Yes Yes - - -
LineNumber _LineNumber integer - - Yes Yes - - -
ISBN10 _ISBN10 string 100 - Yes Yes - - -
ISBM13 _ISBM13 string 100 - Yes Yes - - -
ID _ID string 100 - Yes Yes - - -
Status _Status string 100 - Yes Yes - - -
Thanks again,
Chandrachur. -
PQH TABLES NOT BEING POPULATED BY EMPLOYEE SELF SERVICE
For reporting purposes I need to create different reports listing all the transactions that are coming from Employee Self S
ervice. As workforce tables are purged (i.g. wf_items) I need to create it using
the pqh tables (i.g. pqh_ss_transaction_history) but unfortunately they are not
being populated. Is there any audit configuration in order to save ESS transact
ions in the PQH schema? Or are there any other tables where these transactions a
re always saved?
Thank you
FacundoI think the PQH History tables are only populated when there have been approvals.
To report on the SSHR transactions, you ay need to increase the time limit before they are purged and extract them to another table(s) fro reporting.
Regards
Tim -
Some client data not being populated after upgrading to NCS 1.1.0.58
After upgrading to Cisco Prime NCS 1.1.0.58 some of the client data is not being populated or gathered. The graphs labeled "Client Count By Association/Authentication" and "Client Count By Wireless/Wired" are no longer being updated? Not sure what was changed during the upgrade or where to look to get it to start collecting the data again?
Eajackson,
Make sure your WLC, MSE and WCS/NCS code matches the compatibility matrix here:
http://www.cisco.com/en/US/docs/wireless/controller/5500/tech_notes/Wireless_Software_Compatibility_Matrix.html
Sent from Cisco Technical Support iPhone App -
Values not getting populated in the SMOPCCAPRO
Hi,
We had added a new field to CPGProduct in component CPGOE_ABLOCKS. But the extension field was not included to the BOL structure automatically.
So ,we had used the SAP note 1472567 to add the include structure INCL_EEW_MKTPL_PRD to structure CRMS_MKTPL_CPG_PROD which inturn would rectify our BOL structure CRMS_MKTPL_IB_CPG_PROD.
The field which we had added using AET was added in tables CRMD_MKTPL_PROD and SMOPCCAPRO. But we are facing an issue that the values are not getting populated in the SMOPCCAPRO table on save.The values are gettign populated in the CRM table.
Do we need to implement any other SAP note on the midleware side too to rectify this issue as i infer some interface structure would be missing this field which results in the truncation of value from being passed to the CDB table . Any pointers in this regard would be helpful.
Thanks
Swapna.Hi Swapna,
as the CDB table has been extended with the new field I assume that you have enabled the mobile flag for the enhancement.
Then it will also extend the mobile BDOC and the data should be transfered automatically.
If this does not happen there's an error somewhere. Either the middleware is not set up properly or the mapping routine does not transfer the fields properly.
I recommend to raise an OSS message for this.
Best regards
Matthias -
Net value not being updated from Pricing Element/Pricing condition
Hi All,
User confirm activity of 40 hours in CJ20n of Project System. When we are creating RRB(Resource Related Billing) request for billing of 40 hours using DP91, Net Value is coming Zero where as pricing condition for the item is upodating Basic Price from quantity of 40 hours.
Please adise, why Net Value field is not being updating.
Regards
Rajeshhi monty,
first of all please check the validity and other criteria by which sytem populates the pricing records in to the sales order.
this can be easily done by refering to past "pricing" posts.
also
kindly check on the reference status whether this order is getting referenced and pricing values from a preceeding document like sales quotation,because if the conditions mentioned by you are not in the preceeding saes document then it will not get populated ,hence you have to update pricing by going on to the conditions tab,
update me so that other solutions can put to you
regards
Mohit Singh -
OVS value not getting populated in field
Hi Experts,
Kindly suggest me a solution for the below given issue.
I have added three custom fileds to an already existing WD Coponent.
And also added OVS help as an input help method to these fields.
If I right click on the WD application and TEST, the application opens in browser and I am able to select the value from OVS list.
If I run the application by copying the URL and paste it in the browser, or clicking on Portal link, if we select the value from OVS list that value is not getting populated in the field.
Below is the logic I have written.
method ON_OVS_PAYMENT .
TYPES: BEGIN OF ty_payment,
payment TYPE char4,
desc TYPE char30,
END OF ty_payment.
* declare data structures for the fields to be displayed and
* for the table columns of the selection list, if necessary
types:
begin of lty_stru_input,
* add fields for the display of your search input here
payment type char4,
* desc type string,
end of lty_stru_input.
types:
begin of lty_stru_list,
* add fields for the selection list here
payment type char4,
desc type char30,
end of lty_stru_list.
data: ls_search_input type lty_stru_input,
lt_select_list type standard table of lty_stru_list,
ls_text type wdr_name_value,
lt_label_texts type wdr_name_value_list,
lt_column_texts type wdr_name_value_list,
lv_window_title type string,
lv_group_header type string,
lv_payment type string,
lt_payment TYPE TABLE OF ty_payment,
ls_payment TYPE ty_payment,
lv_short TYPE string,
lv_table_header type string.
field-symbols: <ls_query_params> type lty_stru_input,
<ls_selection> type lty_stru_list.
case ovs_callback_object->phase_indicator.
when if_wd_ovs=>co_phase_0. "configuration phase, may be omitted
* in this phase you have the possibility to define the texts,
* if you do not want to use the defaults (DDIC-texts)
ls_text-name = `PAYMENT`. "must match a field name of search
ls_text-value = `Terms of payment`. "wd_assist->get_text( `001` ).
insert ls_text into table lt_label_texts.
ls_text-name = `PAYMENT`. "must match a field in list structure
ls_text-value = `Terms of Payment`. "wd_assist->get_text( `002` ).
insert ls_text into table lt_column_texts.
ls_text-name = `DESC`. "must match a field in list structure
ls_text-value = `Description`. "wd_assist->get_text( `002` ).
insert ls_text into table lt_column_texts.
ovs_callback_object->set_configuration(
label_texts = lt_label_texts
column_texts = lt_column_texts
group_header = lv_group_header
window_title = lv_window_title
table_header = lv_table_header
col_count = 2
row_count = 20 ).
when if_wd_ovs=>co_phase_1.
ovs_callback_object->context_element->get_static_attributes(
importing static_attributes = ls_search_input ).
* pass the values to the OVS component
ovs_callback_object->set_input_structure(
input = ls_search_input ).
when if_wd_ovs=>co_phase_2.
if ovs_callback_object->query_parameters is not bound.
******** TODO exception handling
endif.
assign ovs_callback_object->query_parameters->*
to <ls_query_params>.
if not <ls_query_params> is assigned.
******** TODO exception handling
endif.
* call business logic for a table of possible values
* lt_select_list = ???
lv_short = <ls_query_params>-payment.
CALL FUNCTION 'ZSIILESD001' DESTINATION 'LOGICALE22'
EXPORTING
i_payment = lv_short
TABLES
ET_PAYMENT = lt_payment.
lt_select_list[] = lt_payment[].
ovs_callback_object->set_output_table( output = lt_select_list ).
when if_wd_ovs=>co_phase_3.
* apply result
if ovs_callback_object->selection is not bound.
******** TODO exception handling
endif.
assign ovs_callback_object->selection->* to <ls_selection>.
if <ls_selection> is assigned.
ovs_callback_object->context_element->set_attribute(
name = `PAYMENT`
value = <ls_selection>-payment ).
endif.
endcase.
endmethod.Hi Pradeep,
I don't think it really make any difference to the application run if we run from SE80 or run via application url.
Try to set the external break point in OVS PHASE3 for your user. Check if the break point is reached and data is set after selection from OVS.
Regards,
Rama -
Values not getting populated in sapscript
Hi,
i have written a subroutine pool with ENTRY form . which is configured in NACE. when i run the T-code VT03N. in debugging mode in the subroutine i am getting the values . But the values are not gettng populated in sap script. open_form , write_form close_form and text elements are all used.
the same code is copied and put in a report without ENTRY form and run directly then we are getting the values in script.
please let me know for any answers.
Thanks
Chetan
<MOVED BY MODERATOR TO THE CORRECT FORUM>
Edited by: Alvaro Tejada Galindo on May 14, 2009 1:06 PMH,
Do as below.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
form = 'ZTEST_SCRIPT'
LANGUAGE = SY-LANGU
EXCEPTIONS
canceled = 1
device = 2
form = 3
OPTIONS = 4
unclosed = 5
mail_options = 6
archive_error = 7
invalid_fax_number = 8
more_params_needed_in_batch = 9
spool_error = 10
codepage = 11
OTHERS = 12
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Loop at itab .
call function 'WRITE_FORM'
exporting
element = 'LABEL'
FUNCTION = 'SET'
TYPE = 'BODY'
window = 'MAIN'.
ENDLOOP.
Call Function 'CLOSE_FORM'.
In SE71 'ZTEST_SCRIPT' in main window
add a field like &ITAB-MATNR&.
ex:-
/E LABELS
P1 &ITAB-MATNR&.
Regards
Krishna
Edited by: Bala Krishna on Aug 11, 2008 12:28 PM
Edited by: Bala Krishna on Aug 11, 2008 12:29 PM -
Values not getting populated in the o/p
Hi,
I have a requirement,where in which I have to add MRP Controller(marc-dispo) and production scheduler(marc-fevor) fields in the selection screen and the same should be added in the o/p.These fields are not getting populated in the o/p,even if I give some values for these fields in the selection-screen.What would be the reason for this?
Regards,
HemaDear Hema,
Could you please tell me how many internal tables you are using to store the data for display.
I observerd that you have lt_stock and lt_mat2 declared in the part of the program
>DATA: lv_stock TYPE lty_stock.
>DATA: ltmat2 TYPE TABLE OF lty_mat.
you have displayed above, however you are also using ls_stock and lv_stock .
>IF p_ztotal = ' '. "line
>WRITE 18 ls_stock-matnr.
>WRITE 38 lv_stock-strgr.
>
>ELSEIF ztotal = 'S'. "subtotal
>WRITE: 15 ls_stock-nrmit.
>WRITE 32 lv_stock-dispo.
>WRITE 43 lv_stock-fevor.
>ELSE. "total
>WRITE: 15 'TOTAL'(016), ls_stock-prgrp.
>
>ENDIF.
Are those for displaying some other information?
Also the problem of display you are facing can also be because there are no records to be displayed which satisfies the selection criteria.
Best Regards,
Rajesh.
Please reward points if found helpful. -
Object Size and Position values not being retained
Hi,
I'm trying to set the size and position of a picture object in a report. This logo, should appear on the top right corner of the report.
The margins of the report are Left - .79 in, Right - 0.79 in, Top - 0.79 in and Bottom - 0.39 in.
The size of the picture object should be 1.574 x 0.79 inches.
I have ensured that File -> Page Setup -> dimensions are in INCHES.
I right click the logo and select 'Size and Position'.
I set 'Y' (distance between top of object and top margin) = 0. This is to perfectly align the object with the top margin.
Now, i set the height of the object = 0.79 inches. Ok the dialog and close.
The strange thing happening is, when i re-open the size and position dialog, i see that the values i set are not being retained.
0.79 becomes 0.810
and
0 become -0.010.
What am i doing wrong here? How can i make sure the values i specify in the size and position dialog are retained.
Thanks.Ensure File | Options | Layout tab has the following UNMARKED!!!!
Design View
Guidelines
Grid
Preview
Guidelines
Grid
Ensure that "Snap to Grid" is turned off.
Make your grid size larger (.5 inches for example)
What is occurring (I suspect) is that your objects are snapping to the grid - thus changing the position and possibly size due to the Snap to Grid being turned on. -
Problem in Search Help[F4] - Values Not being Dsplayed
Hi,
Search help values are not being displayed.
F4 help pop up is being displayed with the text on top: ' xxxx number of entries found".
But no values are visible in that popup where it normaly displayes all values for selection. This is happening with all search helps.
Example: I tried for Tcode: ME21, for field Vendor.
=><i>No patch has been applied on Server recently.</i>
Any clue on that..??
Any help is appriciated.
Regards,
Vijay RahejaHello Vijay,
This is simple as well.
Go to help then settings and then F4 help. Under system defaults tab strip you will find Display tab strip. Here go to change mode and choose dialog. The other choice will be for control only ( 2 radio buttons only this time around). However to do so make sure you have the authorization object S_ADMI_FCD with value TCTR.
Ask yoru authorization adminstrator to make these changes. He would be having these authorizations. Normally all users dont have this authorization as this is part of security audit considerations.
Please award points if issue got solved.
Regards.
Ruchit. -
Urgent - Report Column based on LOV - Value not found in LOV
Hi All,
Recently, we have upgraded to HTMLDB 2.0 from HTMLDB 1.5.
I have a SQL report. One of the columns is based upon LOV - Display as Text (Based on LOV, does not save state).
For the "Ids" of the report, it should display the corresponding "Names" from the LOV.
But, for the cases, where no record exist in LOV for some Id, then it is directly showing the Id instead of "-" (which i have specified in Display Null Text) in the report column attributes.
Before upgrade, it was working fine.
Any idea where is the issue.
Please help.
Thanks in advance,
MonikaHi,
Can anybody help me in sorting out this issue please.
For your reference, i have made a test case on
http://apex.oracle.com/pls/otn/f?p=20451:4:3519837362944582:::::
Here, there are 2 tables
1. MY_EMP_COUNTRY(emoid, empname, cntry_id)
2. MY_COUNTRY_LOOKUP(id, name,active)
LOV is created on table 2
select name d, id r
from my_country_lookup
where active = 'Y'
And, on the page a SQL report is created
select empname, cntry_id
from my_emp_country
where, cntry_id is based upon the LOV.
Since, in lookup table, cntry_id = 4 is set inactive, it is not picked up by the LOV and hence on the report instead of showing the NULL text it is showing the cntry_id (4).
The attributes of report column cntry id -
Named LOV = CNTRY_LOV
Display Null = YES
NULL text = -
Display Extra Value = YES
Am I missing anything.
thanks,
Monika -
Control-break statements:value not being displayed.
Hi all,
Iam using the control break statement at end of ..., sum.
value is not being displayed,instead it is showing *********.
even in the debugging mode the value is not being displayed.
iam passing the values into a temp IT,but still the values are not being dispalyed.
here is the following snippet of code.
what could be the mistake?
Please give me the suitable answer.
Thanks in advance.
LOOP AT FT_ITAB INTO FT_WA.
FTY_WA-EBELN = FT_WA-EBELN.
FTY_WA-EBELP = FT_WA-EBELP.
FTY_WA-NAME1 = FT_WA-NAME1.
FTY_WA-ZTERM = FT_WA-ZTERM.
FTY_WA-INCO1 = FT_WA-INCO1.
FTY_WA-WAERS = FT_WA-WAERS.
FTY_WA-SUBMI = FT_WA-SUBMI.
AT END OF EBELN.
SUM.
FTY_WA-BRTWR = FT_WA-BRTWR.
FTY_WA-KTMNG = FT_WA-KTMNG.
FTY_WA-NETPR = FT_WA-NETPR.
APPEND FTY_WA TO FTY_ITAB.
CLEAR FTY_WA.
ENDAT.Abhi,
i tried as you said values are being diplayed,but they are not gettin totaled,i want the sum of values at the end of line item,I need to pass these valuse to alv.
here is the complete code.Please tell me how should I proceed.
TABLES:EKKO,EKPO,LFA1.
TYPE-POOLS:SLIS.
DATA:HEADER TYPE SLIS_T_FIELDCAT_ALV,
WA TYPE SLIS_FIELDCAT_ALV,
LAYOUT TYPE SLIS_LAYOUT_ALV.
TYPES:BEGIN OF PH_TY,
PH_EBELN LIKE EKKO-EBELN,
PH_AEDAT LIKE EKKO-AEDAT,
PH_LIFNR LIKE EKKO-LIFNR,
PH_ZTERM LIKE EKKO-ZTERM,
PH_EKORG LIKE EKKO-EKORG,
PH_WAERS LIKE EKKO-WAERS,
PH_SUBMI LIKE EKKO-SUBMI,
PH_INCO1 LIKE EKKO-INCO1,
PO_EBELN LIKE EKPO-EBELN,
PO_EBELP LIKE EKPO-EBELP,
PO_BRTWR LIKE EKPO-BRTWR,
PO_KTMNG LIKE EKPO-KTMNG,
PO_NETPR LIKE EKPO-NETPR,
END OF PH_TY.
TYPES:BEGIN OF PO_TY,
PO_EBELN LIKE EKPO-EBELN,
PO_EBELP LIKE EKPO-EBELP,
PO_BRTWR LIKE EKPO-BRTWR,
PO_KTMNG LIKE EKPO-KTMNG,
PO_NETPR LIKE EKPO-NETPR,
END OF PO_TY.
TYPES:BEGIN OF VO_TY,
VO_LIFNR LIKE LFA1-LIFNR,
VO_NAME1 LIKE LFA1-LIFNR,
END OF VO_TY.
TYPES:BEGIN OF FI_TY,
EBELN LIKE EKKO-EBELN,
AEDAT LIKE EKKO-AEDAT,
LIFNR LIKE EKKO-LIFNR,
ZTERM LIKE EKKO-ZTERM,
EKORG LIKE EKKO-EKORG,
WAERS LIKE EKKO-WAERS,
SUBMI LIKE EKKO-SUBMI,
INCO1 LIKE EKKO-INCO1,
EBELN_I LIKE EKPO-EBELN,
EBELP LIKE EKPO-EBELP,
NAME1 LIKE LFA1-LIFNR,
BRTWR LIKE EKPO-EBELN,
KTMNG LIKE EKPO-EBELN,
NETPR LIKE EKPO-EBELN,
LIFNR1 LIKE LFA1-LIFNR,
END OF FI_TY.
TYPES:BEGIN OF FT_TY,
EBELN LIKE EKKO-EBELN,
ZTERM LIKE EKKO-ZTERM,
WAERS LIKE EKKO-WAERS,
SUBMI LIKE EKKO-SUBMI,
INCO1 LIKE EKKO-INCO1,
EBELP LIKE EKPO-EBELP,
NAME1 LIKE LFA1-LIFNR,
BRTWR LIKE EKPO-EBELN,
KTMNG LIKE EKPO-EBELN,
NETPR LIKE EKPO-EBELN,
END OF FT_TY.
DATA: PH_ITAB TYPE STANDARD TABLE OF PH_TY,
PO_ITAB TYPE STANDARD TABLE OF PO_TY,
VO_ITAB TYPE STANDARD TABLE OF VO_TY,
FI_ITAB TYPE STANDARD TABLE OF FI_TY,
FT_ITAB TYPE STANDARD TABLE OF FT_TY,
FTY_ITAB TYPE STANDARD TABLE OF FT_TY,
FTY1_ITAB TYPE STANDARD TABLE OF FT_TY.
DATA:PH_WA LIKE LINE OF PH_ITAB,
PO_WA LIKE LINE OF PO_ITAB,
VO_WA LIKE LINE OF VO_ITAB,
FI_WA LIKE LINE OF FI_ITAB,
FT_WA LIKE LINE OF FT_ITAB,
FT_WA1 LIKE LINE OF FT_ITAB,
FTY_WA LIKE LINE OF FT_ITAB,
FTY1_WA LIKE LINE OF FT_ITAB.
SELECT A~EBELN
A~AEDAT
A~LIFNR
A~ZTERM
A~EKORG
A~WAERS
A~SUBMI
A~INCO1
B~EBELN
B~EBELP
B~BRTWR
B~KTMNG
B~NETPR
INTO TABLE PH_ITAB FROM EKKO AS A
INNER JOIN EKPO AS B
ON AEBELN = BEBELN
UP TO 25 ROWS.
CHECK PH_ITAB[] IS NOT INITIAL.
SELECT LIFNR
NAME1
FROM LFA1 INTO TABLE VO_ITAB
FOR ALL ENTRIES IN PH_ITAB
WHERE LIFNR = PH_ITAB-PH_LIFNR.
CHECK VO_ITAB[] IS NOT INITIAL.
SORT PH_ITAB BY PH_EBELN.
SORT VO_ITAB BY VO_LIFNR.
LOOP AT PH_ITAB INTO PH_WA.
FI_WA-SUBMI = PH_WA-PH_SUBMI.
FI_WA-EBELN = PH_WA-PH_EBELN.
FI_WA-ZTERM = PH_WA-PH_ZTERM.
FI_WA-INCO1 = PH_WA-PH_INCO1.
FI_WA-WAERS = PH_WA-PH_WAERS.
FI_WA-EBELP = PH_WA-PO_EBELP.
FI_WA-BRTWR = PH_WA-PO_BRTWR.
FI_WA-KTMNG = PH_WA-PO_KTMNG.
FI_WA-NETPR = PH_WA-PO_NETPR.
READ TABLE VO_ITAB INTO VO_WA WITH KEY VO_LIFNR = PH_WA-PH_LIFNR BINARY SEARCH.
FI_WA-NAME1 = VO_WA-VO_NAME1.
APPEND FI_WA TO FI_ITAB.
CLEAR FI_WA.
ENDLOOP.
LOOP AT FI_ITAB INTO FI_WA.
FT_WA-EBELN = FI_WA-EBELN.
FT_WA-EBELP = FI_WA-EBELP.
FT_WA-NAME1 = FI_WA-NAME1.
FT_WA-ZTERM = FI_WA-ZTERM.
FT_WA-INCO1 = FI_WA-INCO1.
FT_WA-WAERS = FI_WA-WAERS.
FT_WA-SUBMI = FI_WA-SUBMI.
FT_WA-BRTWR = FI_WA-BRTWR.
FT_WA-KTMNG = FI_WA-KTMNG.
FT_WA-NETPR = FI_WA-NETPR.
APPEND FT_WA TO FT_ITAB.
CLEAR FT_WA.
ENDLOOP.
LOOP AT FT_ITAB INTO FT_WA.
AT END OF EBELN.
SUM.
FTY_WA-EBELN = FT_WA-EBELN.
FTY_WA-EBELP = FT_WA-EBELP.
FTY_WA-NAME1 = FT_WA-NAME1.
FTY_WA-ZTERM = FT_WA-ZTERM.
FTY_WA-INCO1 = FT_WA-INCO1.
FTY_WA-WAERS = FT_WA-WAERS.
FTY_WA-SUBMI = FT_WA-SUBMI.
FTY_WA-BRTWR = FT_WA-BRTWR + FTY_WA-BRTWR.
FTY_WA-KTMNG = FT_WA-KTMNG + FTY_WA-KTMNG.
FTY_WA-NETPR = FT_WA-NETPR + FTY_WA-KTMNG.
ENDAT.
APPEND FTY_WA TO FTY_ITAB.
CLEAR FTY_WA.
ENDLOOP.
WA-SELTEXT_L = 'ebeln'.
WA-COL_POS = '1'.
WA-FIELDNAME = 'EBELN'.
WA-TABNAME = 'FTY_ITAB'.
WA-OUTPUTLEN = '15'.
APPEND WA TO HEADER.
CLEAR WA.
WA-SELTEXT_L = 'SUBMI'.
WA-COL_POS = '2'.
WA-FIELDNAME = 'SUBMI'.
WA-TABNAME = 'FTY_ITAB'.
WA-OUTPUTLEN = '15'.
APPEND WA TO HEADER.
CLEAR WA.
WA-SELTEXT_L = 'NAME1'.
WA-COL_POS = '3'.
WA-FIELDNAME = 'NAME1'.
WA-TABNAME = 'FTY_ITAB'.
WA-OUTPUTLEN = '15'.
APPEND WA TO HEADER.
CLEAR WA.
WA-SELTEXT_L = 'ZTERM'.
WA-COL_POS = '4'.
WA-FIELDNAME = 'ZTERM'.
WA-TABNAME = 'FTY_ITAB'.
WA-OUTPUTLEN = '15'.
APPEND WA TO HEADER.
CLEAR WA.
WA-SELTEXT_L = 'INCO1'.
WA-COL_POS = '5'.
WA-FIELDNAME = 'INCO1'.
WA-TABNAME = 'FTY_ITAB'.
WA-OUTPUTLEN = '15'.
APPEND WA TO HEADER.
CLEAR WA.
WA-SELTEXT_L = 'WAERS'.
WA-COL_POS = '6'.
WA-FIELDNAME = 'WAERS'.
WA-TABNAME = 'FTY_ITAB'.
WA-OUTPUTLEN = '15'.
APPEND WA TO HEADER.
CLEAR WA.
WA-SELTEXT_L = 'brtwr'.
WA-COL_POS = '7'.
WA-FIELDNAME = 'BRTWR'.
WA-TABNAME = 'FTY_ITAB'.
WA-OUTPUTLEN = '20'.
APPEND WA TO HEADER.
CLEAR WA.
WA-SELTEXT_L = 'netpr'.
WA-COL_POS = '8'.
WA-FIELDNAME = 'NETPR'.
WA-TABNAME = 'FTY_ITAB'.
WA-OUTPUTLEN = '20'.
APPEND WA TO HEADER.
CLEAR WA.
WA-SELTEXT_L = 'ktmng'.
WA-COL_POS = '9'.
WA-FIELDNAME = 'KTMNG'.
WA-TABNAME = 'FTY_ITAB'.
WA-OUTPUTLEN = '20'.
APPEND WA TO HEADER.
CLEAR WA.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = SY-REPID
IT_FIELDCAT = header[]
TABLES
T_OUTTAB = FTY_ITAB[].
IF SY-SUBRC = 0.
ENDIF. -
Excise Duty Group not being populated during VL09 in MSEG-ROITAXGRPtable
Hi,
When we do the PGI (601 movement type), the data gets updated in MKPF & MSEG tables.During this process the details pertaining to ED group(field ROITAXGRP) are not updated in MSEG.
The above factor has the following connection to 602.
Subseqently when we do VL09 - the data pertaining to PGI (601) is imported from MSEG & hence ED group does not get populated as the system takes the material document of 601 to reverse the delivery document
We need to know the following things.
1. When we are doing delivery (Movt type 601) ,excise duty group gets updated in which field and table?
2. When we are reversing the document why in the MSEG table ROITAXGRP field (Excsie Duty Group) not getting updated.
3. Is there any User Exit which can be usd to populate this . We are using version 4.6c (IS-OIL) version ?
regards,Thanks,
K.Kiran
Maybe you are looking for
-
I have been using Isight with Ichat for over 3 years with no problem. Suddenly my computer no longer 'sees' my camera in either Ichat or Skype. It also does not see my buddies cameras although they are connected and we can even do a oneway video chat
-
Downloaded a cd and the songs are only 1 minute 30 seconds long. what do I do?
I downloaded an entire cd of 15 songs and when I went to listen to them, each song was only a minute and 30 seconds long. They were just like the samples. I paid $9.99 for the cd and the amount was immediately deducted from my account. What do I have
-
Speedgrade CC only renders one frame for 30 minutes
Graded a simple, straight, 30 minute clip in Speedgrade CC. Render to Prores LT. It went through the entire render process, but the movie has only a single frame for the entire 30 minutes. This was nothing but a simple primary gain and contrast grade
-
Free tv episodes missing from iTunes on iPod
I used to download free tv episodes and features from iTunes on my iPod. But ever since ios 6 I can't find that category anywhere. It appears at the bottom of iTunes on an iPad but not on my iPod. Anyone know where I can find it?
-
Unacceptable - Poor Customer Service - Liars - Crooks
Seems like I'm not alone with reading all these issues. From a corporate standpoint, Verizon wireless' customer service is extremely poor! The cheapest excuse is that someone will call you and that your credits will be applied when no one follows th