SECess in ARE1 not getting populated at Item level
Hi,
I am creating ARE1 based on outgoing excise invoice. In my outgoing excise invoice all excise duties are getting populated at Header level & also at item level.
but in my ARE 1 document SECess is coming at header level only & not at item level, other excise duties are populated at both level header & Item.
Is there any one who can guide me in this matter.
Thanks & Regards,
Savi Salvi
Hi Savi
Since you say you have maintained all the necessary settings, check if you are able to see the S E Cess in the Display mode of the ARE1 (A03 Display - R10 Display ARE1 Internal Document)
Even I have faced the same situation where all the calculations are in place but somehow I cant see the S E Cess in the Create mode. Since this was available in the 'Display' mode, I have not paid much attention. Nonetheless, I have asked my Technical Consultant to have a look at it again (same issue I faced in J1IIN and if I recall correctly, he could make the Cess appear).
Ramana N D
Similar Messages
-
Pricng not getting distributed at item level when given at header level-
Dear all
We are using pricing procedure in Delivery for certain freight condition types...
When a condition type ZFRT is given manual pricing at header level,it is not getting distributed equally at item level..
Can u tell us what exactly the problem..
The same condition type while using in Sales order,distributes pricing to all items ...when given at header level...
Group condition tick mark is put.Priicng is at header level tick mark is put..Hi,
Go to header level of the delivery document and in conditions tab press "update" and do carry out new pricing and then give the header condition value and press activate.
Reward me if it helps.
Regards,
kishore. -
Change in partner at header level not getting copied to item level
Hello,
I would really appreciate any help from the forum on the below query.
How is it possible that a change in the Employee Responsible(Standard Partner Function) at the header level is not triggering a change in the item level?
Thanks,
SahilHi Sahil,
Please look into below note.
It may hint you something.
1008458
Rgds
Hari -
Condition type not getting populated at first line item of Sales order
Hi Experts,
We are creating Sales order through IDOC(Inbound function: IDOC_INPUT_ORDERS) for Document type ZXX then condition type is geeting populated at both line item, i have tried creating the Sales order through IDOC for document type ZYY the condition type is not getting populated in first line item, but for secod line item condition is getting populated.
we also checked pricing procedures related to this document types and we found these pricing types are mentioned in corresponding pricing procedures.
Let us know there are any other possible ways to find the same
please help.
Thanks!Hi Rajani,
check the user exit in the FM..IDOC_INPUT_ORDERS
check if any filters kept for condition type field..
check the belwo user eixuts
ORDCHG I VEDB0001 Sales Ord. Change
ORDERS I VEDA0001 Sales Orders..
Regards,
Prabhudas -
WBS element is not getting populated in Excise entry in Project billing
Hi SAP Guru's
We have the case where we are doing the billing from manufacturing plant against Project. While billing WBS element is appearing in the invoice but in excise invoice entry same is not getting populated. This is affecting RR and P&L.
Can you help me by providing the standard solution to meet this requirement or update if we can meet this requirement by some function module or through any exit.
Thanks
Surender GuptaHi,
In transaction" VTFA" and for your sales and billing type,select your item category and in the same scree,your pricing type should be "D".This will copy all the conditions from sales order item.
Reward if this helps.
Regards
Karan -
XREF3 field not getting populated in BSEG table while posting MIRO
Hi,
I have one query in MIRO tcode.I have activated xref3 field in MIRO tcode using enhancement LMR1MF6Q.Now when i try to post document with some values in xref3 field on screen ,value is not getting populated in BSEG table.Please tell me what else needs to be done to achieve this ?
any hint on this?
Thanks & Regards,
Soniya S.Hi,
1.- According to SAP Note 904652 - MIRO: Different from FB60
https://service.sap.com/sap/support/notes/904652
MIRO is an independent Materials Management (MM) transaction that does not
claim to be the same as the accounting transactions (such as FB60 or FB01).
MIRO was developed to allow users to process vendor invoices within the
context of the MM procurement processes as simply as possible.
For this reason, among other differences, the field selection was limited
to the absolutely necessary. For example, the following fields from the
accounting document are not available in Transaction MIRO (this list is not
complete):
Reference key (BSEG-XREF1, -XREF 2, -XREF 3)
2.- SAP Note 1156325 - BAdIs in the Logistics Invoice Verification environment
https://service.sap.com/sap/support/notes/1156325
Have a look at badi MRM_ITEM_CUSTFIELDS.
This badi will create a new tab at item level in order to display the new fields.
I haven´t used this badi so i cannot talk from experience here.
Think twice before deciding.
Best regards. -
In VA01 In Schedule line Delivery date not getting populated
Hello,
We have developed enhancement for VA01 tcode.
Depending upon the quatity entered for a material it should show one more item as free good.
If quatity is 10 for a line item 10 then it should show item 20 by default same mateerial and quatilty as 1.We have done this it is working fine.
But if we select free good item in our case it is 20 and click on schedule line item buttom all quaitity fields getting populated.but delivery date not getting populated for only free good.for line item 10 it showing properly.
Can any one please suggest what i need to do in order to display delivery date for free good.
Thanks in advance.
Regards.Thanks for your response.
Actually i have seen technical settings for that field.it is rv45a-etdat.this field has value till MV45AFZZ.seen in debugger.
Looks like it is clearing some where after the above include.Any suggisitions welcome.Thanks again. -
WBS element not populating at item level
Hi Gurus,
<br>I am trying to create a new sales order using the function module SD_SALESDOCUMENT_CREATE but when i pass a <br>value for the WBS element at item level it is not getting populated in the back end system.
<br>
<br> data :LT_RETURN TYPE TABLE OF BAPIRET2,
<br> LT_SALES_ITEMS_IN TYPE STANDARD TABLE OF BAPISDITM,
<br> LT_SALES_ITEMS_INX TYPE TABLE OF BAPISDITMX ,
<br> LT_SALES_PARTNERS TYPE TABLE OF BAPIPARNR ,
<br> LT_SALES_SCHEDULES_IN TYPE TABLE OF BAPISCHDL ,
<br> LT_SALES_SCHEDULES_INX TYPE TABLE OF BAPISCHDLX ,
<br> LT_SALES_CONDITIONS_IN TYPE TABLE OF BAPICOND ,
<br> LT_SALES_CONDITIONS_INX TYPE TABLE OF BAPICONDX,
<br> LT_SALES_CFGS_REF TYPE TABLE OF BAPICUCFG ,
<br> LT_SALES_CFGS_INST TYPE TABLE OF BAPICUINS ,
<br> LT_SALES_CFGS_PART_OF TYPE TABLE OF BAPICUPRT,
<br> LT_SALES_CFGS_VALUE TYPE TABLE OF BAPICUVAL ,
<br> LT_SALES_CFGS_BLOB TYPE TABLE OF BAPICUBLB ,
<br> LT_SALES_CFGS_VK TYPE TABLE OF BAPICUVK ,
<br> LT_SALES_CFGS_REFINST TYPE TABLE OF BAPICUREF ,
<br> LT_SALES_CCARD TYPE TABLE OF BAPICCARD ,
<br> LT_SALES_TEXT TYPE TABLE OF BAPISDTEXT ,
<br> LT_SALES_KEYS TYPE TABLE OF BAPISDKEY ,
<br> LT_SALES_CONTRACT_IN TYPE TABLE OF BAPICTR ,
<br> LT_SALES_CONTRACT_INX TYPE TABLE OF BAPICTRX,
<br> LT_EXTENSIONIN TYPE TABLE OF BAPIPAREX ,
<br> LT_PARTNERADDRESSES TYPE TABLE OF BAPIADDR1 ,
<br> LT_SALES_SCHED_CONF_IN TYPE TABLE OF BAPISCHDL2 ,
<br> LT_ITEMS_EX TYPE TABLE OF BAPISDIT ,
<br> LT_SCHEDULE_EX TYPE TABLE OF BAPISDHEDU ,
<br> LT_BUSINESS_EX TYPE TABLE OF BAPISDBUSI ,
<br> LT_INCOMPLETE_LOG TYPE TABLE OF BAPIINCOMP ,
<br> LT_EXTENSIONEX TYPE TABLE OF BAPIPAREX ,
<br> LT_CONDITIONS_EX TYPE TABLE OF BAPICOND ,
<br> LT_PARTNERS_EX TYPE TABLE OF BAPISDPART ,
<br> LT_TEXTHEADERS_EX TYPE TABLE OF BAPISDTEHD ,
<br> LT_TEXTLINES_EX TYPE TABLE OF BAPITEXTLI ,
<br> LT_BATCH_CHARC TYPE TABLE OF BAPIBTSEL ,
<br> LT_CAMPAIGN_ASGN TYPE TABLE OF BAPISDCA ,
<br> LT_CONDITIONS_KONV_EX TYPE TABLE OF KONV .
<br>
<br> DATA: LV_SALESDOCUMENT_EX TYPE BAPIVBELN-VBELN,
<br> LT_SALES_HEADER_OUT TYPE BAPISDHD,
<br> LT_SALES_HEADER_STATUS TYPE BAPISDHDST.
<br>
<br> DATA: LV_VALUE_SALESDOCUMENT TYPE BAPIVBELN-VBELN,
<br> LT_SALES_HEADER_IN TYPE BAPISDHD1,
<br> LT_SALES_HEADER_INX TYPE TABLE OF BAPISDHD1X,
<br> LT_SENDER TYPE TABLE OF BDI_LOGSYS,
<br> LV_BINARY_RELATIONSHIPTYPE TYPE BRELTYP-RELTYPE,
<br> LV_INT_NUMBER_ASSIGNMENT TYPE BAPIFLAG-BAPIFLAG VALUE 'R',
<br> LV_BEHAVE_WHEN_ERROR TYPE BAPIFLAG-BAPIFLAG VALUE ' ',
<br> LT_LOGIC_SWITCH TYPE TABLE OF BAPISDLS,
<br> LV_BUSINESS_OBJECT TYPE BAPIUSW01-OBJTYPE VALUE ' ',
<br> LT_TESTRUN TYPE TABLE OF BAPIFLAG-BAPIFLAG ,
<br> LV_CONVERT_PARVW_AUART TYPE BAPIFLAG-BAPIFLAG VALUE ' ',
<br> LV_STATUS_BUFFER_REFRESH TYPE BAPIFLAG-BAPIFLAG VALUE 'X',
<br> LV_CALL_ACTIVE TYPE CHAR4.
<br>
<br> DATA: WA_SALES_PARTNERS LIKE LINE OF LT_SALES_PARTNERS,
<br> WA_SALES_SCHEDULES_IN LIKE LINE OF LT_SALES_SCHEDULES_IN,
<br> WA_SALES_CONDITIONS_IN LIKE LINE OF LT_SALES_CONDITIONS_IN,
<br> WA_EXTENSIONIN LIKE LINE OF LT_EXTENSIONIN,
<br> WA_SALES_ITEMS_IN LIKE LINE OF LT_SALES_ITEMS_IN,
<br> WA_SALES_TEXT LIKE LINE OF LT_SALES_TEXT.
<br>
<br> LT_SALES_HEADER_IN-DOC_TYPE = 'ZSAL'.
<br> LT_SALES_HEADER_IN-SALES_ORG = '1000'.
<br> LT_SALES_HEADER_IN-DISTR_CHAN = '02'.
<br> LT_SALES_HEADER_IN-DIVISION = '01'.
<br> LT_SALES_HEADER_IN-PMNTTRMS = 'Z020'.
<br> LT_SALES_HEADER_IN-DUN_COUNT = '0'.
<br> LT_SALES_HEADER_IN-ADD_VAL_DY = '00'.
<br> LT_SALES_HEADER_IN-EXCHG_RATE = '0'.
<br> LT_SALES_HEADER_IN-BILL_DATE = SY-DATUM.
<br>
<br>data lv_kunnr type kunnr value '106475'.
<br>
<br>CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
<br> EXPORTING
<br> INPUT = lv_kunnr
<br> IMPORTING
<br> OUTPUT = lv_kunnr.
<br>
<br> WA_SALES_PARTNERS-PARTN_ROLE = 'AG'.
<br> WA_SALES_PARTNERS-PARTN_NUMB = lv_kunnr.
<br> APPEND WA_SALES_PARTNERS TO LT_SALES_PARTNERS.
<br>
<br> WA_SALES_PARTNERS-PARTN_ROLE = 'WE'.
<br> WA_SALES_PARTNERS-PARTN_NUMB = lv_kunnr.
<br> APPEND WA_SALES_PARTNERS TO LT_SALES_PARTNERS.
<br>
<br> WA_SALES_TEXT-ITM_NUMBER = '000010'.
<br> WA_SALES_TEXT-TEXT_ID = 'ZS01'.
<br> WA_SALES_TEXT-LANGU = SY-LANGU.
<br> APPEND WA_SALES_TEXT TO LT_SALES_TEXT.
<br>
<br> WA_SALES_TEXT-ITM_NUMBER = '000010'.
<br> WA_SALES_TEXT-TEXT_ID = '3010'.
<br> WA_SALES_TEXT-LANGU = SY-LANGU.
<br> APPEND WA_SALES_TEXT TO LT_SALES_TEXT.
<br>
<br> WA_SALES_SCHEDULES_IN-ITM_NUMBER = '000010'.
<br> WA_SALES_SCHEDULES_IN-REQ_QTY = '22'.
<br> APPEND WA_SALES_SCHEDULES_IN TO LT_SALES_SCHEDULES_IN.
<br>
<br> WA_SALES_CONDITIONS_IN-ITM_NUMBER = '000010'.
<br> WA_SALES_CONDITIONS_IN-COND_TYPE = 'ZMAN'.
<br> WA_SALES_CONDITIONS_IN-CURRENCY = 'NOK' .
<br> APPEND WA_SALES_CONDITIONS_IN TO LT_SALES_CONDITIONS_IN.
<br>
<br> WA_EXTENSIONIN-STRUCTURE = 'BAPE_VBAK'.
<br> * WA_EXTENSIONIN-VALUEPART1 = '090000000200'.
<br> APPEND WA_EXTENSIONIN TO LT_EXTENSIONIN.
<br>
<br>data lv_MATNR type MATNR value '000000000000000031'.
<br>
<br>CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
<br> EXPORTING
<br> INPUT = lv_MATNR
<br> IMPORTING
<br> OUTPUT = lv_MATNR.
<br>
<br> WA_SALES_ITEMS_IN-ITM_NUMBER = '10'.
<br> WA_SALES_ITEMS_IN-MATERIAL = lv_MATNR.
<br> WA_SALES_ITEMS_IN-TARGET_QTY = '1'.
<br> WA_SALES_ITEMS_IN-TARGET_QU = 'ST'.
<br> WA_SALES_ITEMS_IN-SHORT_TEXT = 'TESST AJ'.
<br> WA_SALES_ITEMS_IN-SALES_UNIT = 'ST'.
<br> WA_SALES_ITEMS_IN-CURRENCY = 'NOK'.
<br> WA_SALES_ITEMS_IN-WBS_ELEM = '011215'.
<br> APPEND WA_SALES_ITEMS_IN TO LT_SALES_ITEMS_IN.
<br>
<br> DATA : WA_ORDER_ITEMS_INX TYPE BAPISDITMX.
<br> DATA : LT_ORDER_ITEMS_INXN TYPE STANDARD TABLE OF BAPISDITMX.
<br> DATA : WA_ORDER_HEADER_INX TYPE BAPISDHD1X.
<br> DATA : LT_ORDER_HEADER_INXN TYPE STANDARD TABLE OF BAPISDHD1X.
<br>
<br> WA_ORDER_ITEMS_INX-UPDATEFLAG = ' '.
<br> WA_ORDER_ITEMS_INX-ITM_NUMBER = '000010'.
<br> WA_ORDER_ITEMS_INX-MATERIAL = 'X'.
<br> WA_ORDER_ITEMS_INX-TARGET_QTY = 'X'.
<br> WA_ORDER_ITEMS_INX-TARGET_QU = 'X'.
<br> WA_ORDER_ITEMS_INX-SHORT_TEXT = 'X'.
<br> WA_ORDER_ITEMS_INX-SALES_UNIT = 'X'.
<br> WA_ORDER_ITEMS_INX-WBS_ELEM = 'X'.
<br>
<br> APPEND WA_ORDER_ITEMS_INX TO LT_ORDER_ITEMS_INXN.
<br>
<br> CALL FUNCTION 'SD_SALESDOCUMENT_CREATE'
<br> EXPORTING
<br> SALESDOCUMENT = LV_VALUE_SALESDOCUMENT
<br> SALES_HEADER_IN = LT_SALES_HEADER_IN
<br>* SALES_HEADER_INX =
<br>* SENDER =
<br>* BINARY_RELATIONSHIPTYPE = ' '
<br> INT_NUMBER_ASSIGNMENT = LV_INT_NUMBER_ASSIGNMENT
<br>* BEHAVE_WHEN_ERROR = ' '
<br>* LOGIC_SWITCH = ' '
<br> BUSINESS_OBJECT = ' '
<br>* TESTRUN =
<br>* CONVERT_PARVW_AUART = ' '
<br> STATUS_BUFFER_REFRESH = 'X'
<br>* CALL_ACTIVE = ' '
<br> IMPORTING
<br> SALESDOCUMENT_EX = LV_SALESDOCUMENT_EX
<br> SALES_HEADER_OUT = LT_SALES_HEADER_OUT
<br> SALES_HEADER_STATUS = LT_SALES_HEADER_STATUS
<br> TABLES
<br> RETURN = LT_RETURN
<br> SALES_ITEMS_IN = LT_SALES_ITEMS_IN
<br>* SALES_ITEMS_INX =
<br> SALES_PARTNERS = LT_SALES_PARTNERS
<br> SALES_SCHEDULES_IN = LT_SALES_SCHEDULES_IN
<br>* SALES_SCHEDULES_INX =
<br> SALES_CONDITIONS_IN = LT_SALES_CONDITIONS_IN
<br>* SALES_CONDITIONS_INX =
<br>* SALES_CFGS_REF =
<br>* SALES_CFGS_INST =
<br>* SALES_CFGS_PART_OF =
<br>* SALES_CFGS_VALUE =
<br>* SALES_CFGS_BLOB =
<br>* SALES_CFGS_VK =
<br>* SALES_CFGS_REFINST =
<br>* SALES_CCARD =
<br> SALES_TEXT = LT_SALES_TEXT
<br>* SALES_KEYS =
<br>* SALES_CONTRACT_IN =
<br>* SALES_CONTRACT_INX =
<br> EXTENSIONIN = LT_EXTENSIONIN
<br>* PARTNERADDRESSES =
<br>* SALES_SCHED_CONF_IN =
<br> ITEMS_EX = LT_ITEMS_EX
<br> SCHEDULE_EX = LT_SCHEDULE_EX
<br>* BUSINESS_EX =
<br>* INCOMPLETE_LOG =
<br> EXTENSIONEX = LT_EXTENSIONEX
<br>* CONDITIONS_EX =
<br>* PARTNERS_EX =
<br>* TEXTHEADERS_EX =
<br>* TEXTLINES_EX =
<br>* BATCH_CHARC =
<br>* CAMPAIGN_ASGN =
<br>* CONDITIONS_KONV_EX =
<br>.
<br>
<br> commit work.
<br>
<br>I am aware that there are other BAPI's available to create a new sales order(BAPI_SALESORDER_CREATEFROMDAT2 <br>etc.) but the problem with using them is they internally call the same function module 'SD_SALESDOCUMENT_CREATE'. i <br>have already tried to create the sales order using 'BAPI_SALESORDER_CREATEFROMDAT' but the effect is the same.
<br>When I pass WBS element value in VA01 and create a sales order I can see that WBS element value is coming correctly. <br>But when i create the sales order using ABAP code WBS element is coming as blank. When I execute this standard FM it <br>creates the sales order correctly with a blank against WBS element. I checked in the VBAP table the value is not even <br>populated there . Kindly share your valuable inputs for the same.
- AkshayMay be you have to post this in ABAP forum to get suitable suggestions.
G. Lakshmipathi -
Payment Terms not getting populated on Intercompany Invoice document(FB50L)
Hi All,
I am facing an issue with the Vendor and/or Customer payment term on the inter-company invoice posted via FV50L/FB50L.
We have defined companies as vendors and customers so that we could do the inter-company posting. The inter-company processing is done by FV50L/FB50L with postings to the GL accounts in respective company codes directly. Once it gets posted, SAP automatically creates 2 document: Vendor invoice and Customer invoice. The vendor invoice document would have the credit line item created automatically and so is the debit line item for the customer invoice.
However, the payment terms from the vendor and/or customer master is not getting populated on the credit / debit line items generated automatically.
I have verified the payment terms on vendor and customer, OBYA config, field status group for posting key & the recon account, authorizations and these thing look good.
Have anyone come across this issue before? Please let me know.
Point will be assigned to valuable suggestions!!
Thanks very much for your help.
AnishHi Nakula,
Payment term gets populated correctly from the vendor/Customer master data in case of FB60/FB70 resp. The issue is only with the automatic Intercompany Vendor and Customer line items created where it does not populate the payment terms.
regards,
Shreya -
Data in detailed block is not getting populated
I have created 3 blocks-: block1, block2 and block3
I have created two relations
1st - between block1 and block2 (block1 is master and block2 is detailed)
2nd - between block1 and block3 (block1 is master and block3 is detailed)
Now, on the canvas I place a text item block1.text_item1 (involved in relation) from block1,
and a text item block3.text_item3 from block3 (this too involved in relation) block3
when I execute the form and I query on master block that is on block1.text_item1, data in detail block that is in block3.text_item3 do not get populated.
Now I place a text item block2.text_item2(involved in the relation) from block2 on the same canvas
Now I again execute the form and query on the master block that is on block1.text_item1, this time data in all three blocks got populated.
I want to place items only from block1 and block3 at present. Could you please tell me how can I do this?
RegardsNo, I am not getting such error. Only data is not getting populated.
If I remove item from block3 and place item from block2, then also the data is getting populated.
Item from block1+ Item from block2 -> Data is getting populated
Item from block1+ Item from block3 -> Data is not getting populated
Item from block1+ Item from block2+Item from block3 -> Data is getting populated
Regards -
Field in ALV not getting populated
Hi all,
I need some help. I am displaying an ALV with fields.
GROUP G/L ACCOUNT Local currency USD Period
100 10 5 5 12
100 11 6 4 12
now i have added an extra field TXT20 in the as last field of structure
GROUP G/L ACCOUNT Local currency USD Period TXT
100 10 5 5 12 aa
100 11 6 4 12 ab
TXT should come as 3rd coloumn in the output.
EXAMPLE:
GROUP G/L ACCOUNT TXT Local currency USD Period
100 10 aa 5 5 12
100 11 ab 6 4 12
I have changed the coloumn positions in the field catalog accordingly and I have not written or changed any select queries from earlier output.
now my problem is PERIOD field is not getting populated in the ALv,the data is visible in the IT_FINAL which I am passing to Reuse_alv_grid_display. the field catalog is also getting build properly.
so plz suggest some changes so that I can move ahead.Hi
I don't know what's the reason and now I have no environment to test it, but you can try other way:
1. define your fieldcate one by one as the sequence of your output like
GROUP G/L ACCOUNT TXT Local currency USD Period
In this situation, you needn't use component -- position of fieldcate structure. Pay attention to
fieldname in upper case.
2. If only doing step1 has no effect, then adjust your structure of internal table. Sequence your
component of IT_FINAL as the output field like step1.
If still no effect, please let me know. -
IS Retail - Inventory - Retail price BWGV0 is not getting populated
Hi ,
We have activated IS retail industry specific indicator in SBIW. Fo some reason when I do RSA3 in '2LIS_03_BF' , all the stock movements are displayed but the retial price field BWGV0 is not getting populated. Do you guys have come across this situation ? Please let me know.
Thanks
HareeshSome documents below might worth taking look..
Process key logic for MM inventory can be found in OSS note 492828
Logic for MM purchasing can be found in note 684465
Activating the process key logic in R/3 for MM should be as simple as setting the correct industry in MCB_ (also found under SBIW), but if it doesn't work look at OSS note 353042. In the end haveto use trans BF11 to add an entry to a table, even though the plugin is 2003.1 on R/3 4.6C.
352344
492828 Determining the transaction key for 2LIS_03_BF + 2LIS_03_UM
Hope it Helps
Chetan
@CP..
Hope it Helps
Chetan
@CP.. -
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 -
Users details not getting populated in the portal tables..
Hi,
We have implemented single sign on (SSO) and we do not create users in the portal as user/pwd come from OID.
Now becoz of this the portal tables are not getting populated.I require that all the users of the OID to be populated in the portal tables. How can I do it.I depserately require it.You can use the function wwsec_api.activate_portal_user to create the shadow records in the portal repository.
Ref. : http://www.oracle.com/technology/products/ias/portal/html/plsqldoc/pldoc1014/wwsec_api.html -
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.
Maybe you are looking for
-
The programm doesn't let me open a document I did yesterday because it says there's no compatibility
I've been working with the same version all time, I didn't dowload or made any chances in the programm and now I try to open the file I've been working on the whole week, it says that there's no compatibility. I searched for the reason, and even trie
-
Cron doesn't execute script until restarted
I wrote a script to change my wallpaper, and placed it in /etc/cron.hourly. It will not run on the hour, or any time, after starting my computer. However, if I restart cron, then everything is fine. run-parts indicates that it *should* run: ┌─[pea
-
Pdp authetication failure ios5
i have updated my 3gs to ios5 earlier, but since today morning i see this error when accessing cellular data that ' pdp authentication failure' tried reset network setting, restarted, and start+home button restart but same error appears again..
-
Deprecated Mouse Event Functions
While I was tryng to use the Xeon.java program provided by Java in the free applets page, I got deprecation errors for all of the mouse event functions like, mouseEvent(), mouseDown,.. . Is there any way that I can get this to work without totally ch
-
Can't get in to system preferences.
I don't really know where to post this so...I'll do it here agian. I can't get in to my system preferences. IMAGE http://img153.imageshack.us/img153/6423/whatisthis7tn.jpg