Internal table my_items not getting populated in class CL_HANDLE_MANAGER_MM
hi experts,
i have a problem while using ME38 transaction.
ME38 calls exit EXIT_SAPMM06E_012
inside this exit we are calling macro mmpur_business_obj_id tekpo-id. in turn it goes to method search of class CL_HANDLE_MANAGER_MM where internal table my_items is not getting filled. due to that we are getting dump "Exception FAILURE".
Thanks in advance
Chandra
hi
put break point before the step and find out the value of your table or check the paramter value you are passing
Similar Messages
-
Field of a table is not getting populated correctly in xml file.
Hi Experts,
I have an issue.
I transfer a ABAP table as an XML messgae on to application server.
BUt the correct format is not comming on Server.
Eg: i have a filed in table as /abc/def this field is getting populated on xml messgae as -abc-def
How do i solve thi sproblem.
Inouts are highly appreciated.
Regards,
VarunHi,
Check following will helpul
http://blogs.oracle.com/jdevotnharvest/entry/how_to_programmatically_set_focus -
Table PPFTTRIGG not getting populated
Hi,
I am in the process of solving an issue where some of service confirmations are locked. Some of the service confirmations are not getting sent from CRM to ECC system. If we run the program RSPPFPROCESS, it picks up the actions from table PPFTTRIGG and sends it. However all this works only if the table PPFTTRIGG gets populated with the actions. How does this table get populated? I have not found anything in the where used list of the table or in the BADIs.. Does the configuration in SPPFCADM have anything to do with it? Please help me.
Edited by: NeenaJ on Dec 26, 2011 12:52 PMHi,
You are trying to pass too many fields for the structure (wwt_fields) .
Look at the FM 'RFC_READ_TABLE' for 'RAISE DATA_BUFFER_EXCEEDED' you'll have an idea.
Regards,
Srini. -
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 -
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. -
hi
i tried this
[code]
DECLARE
v_Counter number := 1019381;
BEGIN
WHILE v_Counter <= 969 LOOP
INSERT INTO tdn3 (PCVR_SYS_ID,pcvr_pol_sys_id,pcvr_code,PCVR_SI_CURR_CODE) VALUES (v_Counter,1,6007,001);
v_Counter := v_Counter + 1;
END LOOP;
END;
COMMIT
[/code]
could anybody guide me as to why the table tdn35 isnt getting populated.
thanking in advancehi
i had that figured out after posting but almost at the same time got another issue
DECLARE
v_Counter number := 1019381;
BEGIN
WHILE v_Counter <= 1020350 LOOP
INSERT INTO tdn3 (PCVR_SYS_ID,pcvr_pol_sys_id,pcvr_code,PCVR_SI_CURR_CODE) VALUES (v_Counter,1,6007,'001');
v_Counter := v_Counter + 1;
END LOOP;
END;
COMMIT
i want to populate the column pcvr_pol_sys_id of table tdn3 with data of column pcvr_pol_sys_id of table dn3
only here tdn3.pcvr_code=6007
i tried
update tdn3 s
set s.PCVR_POL_SYS_ID = (select e.PCVR_POL_SYS_ID
from dn3 e
where
e.pcvr_si_curr_code = s.pcvr_si_curr_code
and rownum < 2
where s.pcvr_code in (6007)
tdn3 structure
pcvr_pol_sys_id pcvr_code
1 6007
1 6007
1 6007
45465 6001
6789 6001
6868 6001
table dn3
pcvr_pol_sys_id pcvr_code
45465 6001
6789 6001
6868 6001
kindly guide
thanking in advance
cheers
Lincy -
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. -
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. -
Search Help for Vendor Feild not getting populated in the Screen Element
Hi Everyone,
In transaction Miro, I get a POP-UP for Invoicing Party i.e. Vendor and Users required a custom search help.
The Search help for Vendor(LIFNR) is KRED_C and i appended a Z search help under this.
Now that the search help exists and I can drill down the values too but when i select/choose any value, that value is not getting populated in Screen feild.
is there any validation I need to do for this.
Please suggest me... I checked SDN there are many things but i couldn't figure out wat i need to do and where I need to modify.
Regards,
RajDear 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. -
Internal Table stack not filled
Hi All,
I am getting an error "Internal Table stack not filled" while uploading the sales order through inbound function module IDOC_INPUT_ORDERS.
Could you please help.
Thanks
Saurabh
Edited by: Saurabh Joshi on Mar 5, 2009 7:14 AMHi,
I think the order u r trying to create is having some more field which is enhanced from standard. It might be mandatory/ the field is populated values with exits but while moving to standard structure the idoc structure is not enhanced accordingly.
Regards,
Nandha -
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 -
All values in internal table are not displaing in the script print program
Hi,
I am calling the script program.In main window all values in the internal table are not displaying. I wrote
write-form statement in loop. But not all the values are getting displayed. Only thel ast values getting dispalyed.
*& Report ZSCRIPT_116719
REPORT ZSCRIPT_116719.
************Table decleration***************
TABLES: mara, mbew, makt.
loop at i_makt into wa_makt.
endloop.
loop at i_MARA into wa_mara.
endloop.
LOOP AT I_MBEW INTO WA_MBEW.
ENDLOOP.
lv_price = 0.
********************Total Price******************
LOOP AT i_mbew INTO wa_mbew.
lv_price = lv_price + wa_mbew-stprs.
ENDLOOP.
end-of-selection.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
APPLICATION = 'TX'
ARCHIVE_INDEX =
ARCHIVE_PARAMS =
DEVICE = 'PRINTER'
DIALOG = 'X'
FORM = 'ZSCRIPT_719'
LANGUAGE = SY-LANGU
OPTIONS =
MAIL_SENDER =
MAIL_RECIPIENT =
MAIL_APPL_OBJECT =
RAW_DATA_INTERFACE = '*'
SPONUMIV =
IMPORTING
LANGUAGE =
NEW_ARCHIVE_PARAMS =
RESULT =
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.
CALL FUNCTION 'START_FORM'
EXPORTING
ARCHIVE_INDEX =
FORM = 'ZSCRIPT_719'
LANGUAGE = SY-LANGU
STARTPAGE = ' '
PROGRAM = 'ZSCRIPT_116719'
MAIL_APPL_OBJECT =
IMPORTING
LANGUAGE =
EXCEPTIONS
FORM = 1
FORMAT = 2
UNENDED = 3
UNOPENED = 4
UNUSED = 5
SPOOL_ERROR = 6
CODEPAGE = 7
OTHERS = 8
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 I_MBEW INTO WA_MBEW.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'DATA'
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'MAIN'
IMPORTING
PENDING_LINES =
EXCEPTIONS
ELEMENT = 1
FUNCTION = 2
TYPE = 3
UNOPENED = 4
UNSTARTED = 5
WINDOW = 6
BAD_PAGEFORMAT_FOR_PRINT = 7
SPOOL_ERROR = 8
CODEPAGE = 9
OTHERS = 10
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*ENDLOOP.
If I give only one value it is showing the output. When I am fetching the data for range of values it i sshowing start_form is not there.
Plz let me know how to get the aa internal table values to be displayedhi
I shortened your program a bit. So we can go to essentials of your question.
You said you put in it in a loop.
What i see in your prog is:
REPORT zscript_116719.
************table decleration***************
TABLES: mara, mbew, makt.
LOOP AT i_makt INTO wa_makt.
ENDLOOP.
LOOP AT i_mara INTO wa_mara.
ENDLOOP.
LOOP AT i_mbew INTO wa_mbew.
ENDLOOP.
lv_price = 0.
********************total price******************
LOOP AT i_mbew INTO wa_mbew.
lv_price = lv_price + wa_mbew-stprs.
ENDLOOP.
END-OF-SELECTION.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
form = 'ZSCRIPT_719'
language = sy-langu.
CALL FUNCTION 'START_FORM'
EXPORTING
form = 'ZSCRIPT_719'
language = sy-langu
program = 'ZSCRIPT_116719'.
*LOOP AT I_MBEW INTO WA_MBEW.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'DATA'
function = 'SET'
type = 'BODY'
window = 'MAIN'.
*endloop.
1. Your loop is not a loop with this '*' in front of it.
2. Are you printing &wa_mbew-???& variables in your sap-script
3. is itab I_MBEW properly filled
Let me know.
Gr. Frank -
Currency Field - KOMK-WAERK not getting populated
Dear All,
In my infoset, i am reading the value from KONV table. But when i generate the infoset, system prompts a Warning Message saying:
Currency Field KOMK-WAERK will not be filled. Affected currency amount fields: (& it gives out the list of fields).
In my data section when i put TABLES KOMK, then the message does not appear, but the currency field still does not get populated when i execute the query.
Any suggestions as to how i can make the currency field populate in my output?
Await inputs.
Anyone to help?
Edited by: Vivek on Feb 9, 2008 8:51 PMIs not KOMK a structure, you need to fill this structure. Try to map required fields as following :
CLEAR KOMK.
KOMK-MANDT = SY-MANDT.
KOMK-KALSM = VBDKR-KALSM.
KOMK-FKART = VBDKR-FKART.
KOMK-KAPPL = 'V'.
IF VBDKR-KAPPL NE SPACE.
KOMK-KAPPL = VBDKR-KAPPL.
ENDIF.
KOMK-WAERK = VBDKR-WAERK.
KOMK-KNUMV = VBDKR-KNUMV.
KOMK-VBTYP = VBDKR-VBTYP.
KOMK-BUKRS = VBDKR-BUKRS.
KOMK-BELNR = VBDKR-VBELN.
Regards -
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
Maybe you are looking for
-
Trying to install iTunes on windows 7 64 bit The error keeps coming. Tried uninstalling all previous apple software.
-
Hi, I am new to dreamweaver and want to create a very basic online portfolio of my photographic work. I want to know how to make next/previous buttons on a page so only the image changes as you click either button. An example I found is here http://
-
DVI to Composite adapter zooms setting of my cinema screen 400%
When I plug in a brand new DVI to Composite adapter (Nothing else attached) my 23" screen goes first to blue, then it magnifies the entire screen content by about 400%. The signal delivered is also set to 400% of the required screen content. I have c
-
Switching an upgrade to a different line
I have a family plan with 5 lines One is eligible for an upgrade, and I want to switch it to another line to get an upgrade So, Line A is eligible for an upgrade, I want to put it on Line B Line A was activated 2 years ago in August, so next month, m
-
Deep XSD's structure not reflecting in ECC - Proxy code
Dear forum members, Deep XSD's structure not reflecting in ECC - Proxy code. any suggestion please.. With the help of XSD able to create service Interface - Outbound in PI, the complete structure is visible in PI but in ECC ( Tcode - Sproxy ) unable