on 2007 Jul 11 4:40 PM
I am trying to test a SmartForm and I get the following error:
Exception FORMATTING_ERROR
Message ID: SSFCOMPOSER Message number: 601
Message:
Reference field WA_ITEM_DATA-BMNG2 unknown in form.
I am testing using the test environment (not a print program). I am using wa_item_data-bmng2 in the form inside a table. I added the field by dragging it from the field list so I know that there are not any typos. Does anybody have any idea what could be wrong?
Regards,
Davis
Problem might be WA_ITEM_DATA-BMNG2 ?
Check the corresponding table of WA_ITEM_DATA,here BMNG2 will be quantity field or Currency field.
when you use this field in smartform ,it will check internally reference table,please maintain reference field in data dictionary.
I guess you created one structure in SE11,this structure has BMNG2 field,if so goto SE11 -> give ur structure -> click on change mode -> check the currency/quantity field tab,here you need to mention reference table,reference field.
if you need any example on this,just look at VBAP Table,it will have reference tables,fields for corresponing currency/quantity field.
Thanks
Seshu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I created new structure for smartform,this structure has qty field
see the structure :
Strcure name : ZSDINVTAB
Quantity field O_QTY data type quan length 13 dec place 3 ,in currency/quantity fields tab -> here i mentioned simply
ref table ZSDINVTAB ,ref field <b>O_UOM</b>
you can mention like ref table ( <b>Give your structure</b>),ref field <b>O_UOM</b>,see the results.
I hope you will not get any issue
Thanks
Seshu
Seshu,
I tried the solution you presented but either it does not work or I am not understanding it correctly. I have the structure <b>ZEDI_ITEM_DATA</b> with the field BMNG2 with the component type BMENG. I then tried to use ZEDI_ITEM_DATA-BMNG2 as the reference table/field. Is that what you are suggesting? It is not working out when I try that.
Regards,
Davis
Seshu, I tried everything that you posted and it won't work. When I try using O_UOM I get an error telling me that O_OUM does not exist. When I try using S260-VRKME it gives me the runtime error. Could this be caused by using the test environment instead of using a print program?
Regards,
Davis
Davis,
My system is 4.6C ,i am able to see O_UOM field,probably yours would be New version and it might not be available.
Check the below Link and it help you..
always i use sap standard fields while creating structure,suppose when you see vbap table ,it has quantity field like ZMENG ,i used to put same field name ,data element,then i used ref table ,ref field.
Thanks
Seshu
Update:
This occurs with any field that is of type Quan or Curr. (any referenced field).
Regards,
Davis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
62 | |
12 | |
7 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.