Field synmobl code
Hi Experts,
Pls see the below code:
TYPES: BEGIN OF Y_LIPS,
VBELN LIKE LIPS-VBELN,
POSNR LIKE LIPS-POSNR,
MATNR LIKE LIPS-MATNR,
LFIMG LIKE LIPS-LFIMG,
ARKTX LIKE LIPS-ARKTX,
VGBEL LIKE LIPS-VGBEL,
VRKME LIKE LIPS-VRKME,
VBELV LIKE VBFA-VBELV,
END OF Y_LIPS.
TYPES: BEGIN OF Y_LIPS2,
VBELN LIKE LIPS-VBELN,
POSNR LIKE LIPS-POSNR,
KUNAG LIKE LIKP-KUNAG,
MATNR LIKE LIPS-MATNR,
LFIMG LIKE LIPS-LFIMG,
ARKTX LIKE LIPS-ARKTX,
VGBEL LIKE LIPS-VGBEL,
WADAT_IST LIKE LIKP-WADAT_IST,
VRKME LIKE LIPS-VRKME,
VBELV LIKE VBFA-VBELV,
END OF Y_LIPS2.
DATA:T_LIPS TYPE STANDARD TABLE OF Y_LIPS,
DATA:T_LIPS2 TYPE STANDARD TABLE OF Y_LIPS2.
FIELD-SYMBOLSl:<FS_T_LIPS> TYPE Y_LIPS,
<FS_T_LIPS2> TYPE Y_LIPS2.
IF NOT T_LIPS IS INITIAL.
SORT T_LIPS BY VBELN MATNR.
UNASSIGN <FS_T_LIPS>.
LOOP AT T_LIPS ASSIGNING <FS_T_LIPS>.
if <fs_t_lips> is assigned.
<FS_T_LIPS2>-VBELN = <FS_T_LIPS>-VBELN.
<FS_T_LIPS2>-MATNR = <FS_T_LIPS>-MATNR.
<FS_T_LIPS2>-LFIMG = <FS_T_LIPS>-LFIMG.
<FS_T_LIPS2>-ARKTX = <FS_T_LIPS>-ARKTX.
<FS_T_LIPS2>-VGBEL = <FS_T_LIPS>-VGBEL.
<FS_T_LIPS2>-VRKME = <FS_T_LIPS>-VRKME.
<FS_T_LIPS2>-VRKME = <FS_T_LIPS>-VRKME.
<FS_T_LIPS2>-VBELV = <FS_T_LIPS>-VBELV.
COLLECT <FS_T_LIPS2> INTO T_LIPS2.
endif.
ENDLOOP.
ENDIF.
SO HERE THE PGM IS GOING TO DUMP AND GIVING ERROR IN DUMP LIKE:
FILED-SYMBOL Field symbol has not yet been assigned.
THE DUMP IS AT THE STATEMENT:<FS_T_LIPS2>-VBELN = <FS_T_LIPS>-VBELN.
Can any body tell me what may be the wrong the above code.
Hi Ravi,
As far as i understand Field-Symbols: Unless you assign a Data Object to a field symbol you cannot use it i.e., unless a ASSIGN statement is there for a field symbol that field symbol cannot be used.
In you program: the MOVE between the field symbols is not the problem, but:
in the statement
<FS_T_LIPS2>-VBELN = <FS_T_LIPS>-VBELN.
<FS_T_LIPS2> is not yet assigned to any data object and hence is the DUMP in your program. Try assigning a data object and then do this move stmt. It works fine.
Regards,
Goutham.
This is fully based on my understanding on Field Symbols.
Similar Messages
-
Performing filter for field Tax Code (MWSKZ) in the Purchase Order
Hello Experts,
We have to perform a filter for field Tax Code in the purchase order (ME21N / ME22N / ME23N). We've tried to use SH SH_T007A and SSH_T007A with search help exit (e.g. F4_TAXCODE_USER_EXIT) but it is not working. The ABAP programmer has performed a debug and the standard does not check any line code in this function (the ABAP programmer has set a breakpoint into function F4_TAXCODE_USER_EXIT after assigning it for mentioned search helps)... it sounds like this program / search help is not called by standard program of ME2* transactions...
I've tried to look for some other object and other function called FI_F4_MWSKZ has been found... I've set a breakpoint there and when I open the search help for field tax code into transaction ME21N it works... but as I could see this function FI_F4_MWSKZ is a standard one which we can not change...
Have you ever had the same problem?
We are currently in the SAP 4.6C version. I've found lots of OSS notes but only valid for 6.0.
Maybe someone can help me on that.
Best regards,
Nilmarhi,
goto gs01 transaction,give some name to ur step.
give the table name and field name.
then u can create a specific value set for that field.
save.
now u can use this set to define conditions for ur fields in obbh transaction. -
Problem: Not able to change Signature Settings Dynamically.
What I want: Need to change the Signature Field Reason code Dynamically upon selecting Radio Button.
Here is My Code:
var mydoc = xfa.resolveNode("FormData.P3_443.signature[2].ePadSignatureField3");
mydoc.signatureSetSeedValue(
reasons: ["Advisor"],
flags: 8
Error Message:
TypeError: mydoc.signatureSetSeedValue is not a function
9:XFA:FormData[0]:P3_443[0]:signature[2]:ePadSignatureField3[0]:validate'
Source Code: Acrobat Code for Signature.
// Obtain the signature field object:
var f = this.getField("mySigFieldName");
f.signatureSetSeedValue(
{ reasons: ["This is a reason", "This is a better reason"],
flags: 8Problem: Not able to change Signature Settings Dynamically.
What I want: Need to change the Signature Field Reason code Dynamically upon selecting Radio Button.
Here is My Code:
var mydoc = xfa.resolveNode("FormData.P3_443.signature[2].ePadSignatureField3");
mydoc.signatureSetSeedValue(
reasons: ["Advisor"],
flags: 8
Error Message:
TypeError: mydoc.signatureSetSeedValue is not a function
9:XFA:FormData[0]:P3_443[0]:signature[2]:ePadSignatureField3[0]:validate'
Source Code: Acrobat Code for Signature.
// Obtain the signature field object:
var f = this.getField("mySigFieldName");
f.signatureSetSeedValue(
{ reasons: ["This is a reason", "This is a better reason"],
flags: 8 -
Additional field post code 2 in search in webui
Hi,
I am new to crm webui.I need to add the additional field post code to search this field is not available in the context node but is a standard feature.Please tell me step by step.
P.S points will be awarded.The good news is that the field is in the underlying search function module used by Business Partner Search.
All you need to do is the following:
Add the field
POST_CODE2 data element AD_PSTCD2 to the structure CRMST_HEADER_SEARCH_BUIL.
This should magically make the element available for search and you will only need to configure your screen to have the element bound beyond the context node config.
I believe this should work, based on looking at the code used for the BP search.
Good luck,
Stephen -
Inactive field Company code in production
Hello all,
in the production system and in transaction PPOME I can change the value in field Company code (folder Account assignment) for the parent org. unit. If I select an org. unit which hangs from the parent, then the field is inactive and I cannot change the value. This is the same story for any other org. unit in deeper levels. This does not happen in development and test system.
I guess that this is a customizing topic but where exactly can I make the field Active ??
Thanks.Please check the following switches in table T77S0
PPOM INHIC
PPOM INHIH
PPOM INHS
Regards
Ravikumar -
Making the field "company code" mandatory
Hi SAP experts,
is it possible to make the field : company code, a mandatory one in the initial screen of XD01 transaction (create customer)? How?
Best regards,
Bahia.Hi Bahia
How are you? Why no posts for a long time?
Making COMPANY CODE as a mandatory entry i think it is not possible with customization
This means you cant achieve this thro OBD2 or OB20 or OVT0
It is because SAP has given the provision of creating CMR only with general data and sales area data
With these two levels SD people can do most of their processes (t codeVD01)
Similarly SAP has given the provision of creating CMR only with general data and company code data
With these two levels FI people can do most of their processes( like that FI people also has t code to create CMR only with general data and company code)
These provisions where it is applied practically,, i dont know?
But thro development i think you can make each and any CMR you prepare it should be only with XD01 and that too in that Company code has to be made mandatory
Check with your technical team
Regards
Raja -
Change field "company code " in WBS
Hello ,everyone:
How can i change the field "company code " in WBS after distribution budget . Although i've reversed the budget,the field value can't be changed.
Regards in advance.
OrangeDear
First u have to remove all budget from WBS then run OPSX for that WBS.
Now u will able to change Co. Code.
It has been tested & found ok pls. do it.
Regards,
Vishal Kr. Sharma -
Error in set an Z field by code.
Hi;
I enhance the method on_save of save of account, because i need create a validate method to execute before on_save, but in the validate method i need to set a Z field by code. When I exit of validate method, this field is filled, but when i execute the standard code of on_save (because i call the standard code) the field exit empty.
Any suggestions?
Regards.Hi,
Once you set value to the field, modify the core and the cal the save method. Insert the below code after you set value to the
field,
Data: lr_core type ref to cl_crm_bol_entity.
lr_core = cl_crm_bol_core=>get_instance( ).
lr_core->modify( ).
Regards,
Arun -
Dear FI Gurus,
We need to use a field at vendor line items for information purposes only.
We saw that the field "Reason Code" is not in use in our system. This field would be suitable for us because we can do mass changes to it through FBL1N.
What would be the implications if we use it?
How should we customize it in order to be used only for information purposes?
Thank you in advance!Hi
.Reason Code is the Code which identify the Reason for difference in the payments which might be more or less. This is used as reporting tool. -
Substitutions field Tax Code MWSKZ in Line Item
I need to do substitution for field Tax Code MWSKZ at line item when doing FI posting. However, I cannot find this subtitution field in OBBH Boolean class 009.
How can I solve this? Is there any BADI or user exit that serve the same purpose?
It's kind of urgent as I tried to find the solution for few days but I couldn't get any.
Edited by: Irene Sam on Sep 24, 2008 3:07 PMhi,
goto gs01 transaction,give some name to ur step.
give the table name and field name.
then u can create a specific value set for that field.
save.
now u can use this set to define conditions for ur fields in obbh transaction. -
How to handle "Validation failed for the field - Tax code" issue?
We had mass uplaod the order that create on Mar with tax code effective date on Apr. Now we would like return on this order and getting error of "Validation failed for the field - Tax code". How to handle this issue?
Hi
You will have to check if the Tax_Code of RMA being received is the same as the one in the related sales order.
If not you will need to use the same tax_code.
Refer below document : Doc ID 1584338.1 -
How to get label text for the Input Field in code
Hi,
I have created Two UI elements InputField and Label. I set the property 'labelFor' of the UI element Label to 'InputField'.
This is my requirement . I am having the Id of InputField in the code . I want to get the value of 'text' of the UI element Label.
Please suggest how to proceed.
Points will be rewarded for helpful answers.
Best Wishes
Idhaya RNot sure why you really need this, but you could do something like
IWDInputField field = (IWDInputField) view.getElement("inputFieldID");
IWDLabel fieldLabel = null;
for (Iterator children = field.getContainer().iterateChildren(); children.hasNext(); )
IWDUIElement child = (IWDUIElement) children.next();
if (child instanceof IWDLabel)
IWDLabel label = (IWDLabel) child;
if ( field.getId().equals(label.getLabelFor())
fieldLabel = label;
break;
Armin -
MASS MAINTENANCE FOR MATERIAL-RELATED EXCISE DUTIES FIELDS - T CODE
Dear Experts,
Is there any separate t code available to MASS MAINTENANCE FOR MATERIAL-RELATED EXCISE DUTIES FIELDS ?
I got this POINT from ECC 6.0 features in Solution browser.
Please help me on this.
MASS MAINTENANCE FOR MATERIAL-RELATED EXCISE DUTIES FIELDS:
Functionality Enhancements
Provides a specific transaction for mass maintenance of material related excise duties fields
Business Benefits
Mass maintenance can now be performed in one step for material-relevant excise duties fields, instead of maintaining the excise duties fields in each material master record separately.
Regards
Soundar.GDear Ravi,
I have already created LSMW for this in Material master and J1ID.
But i have checked in ECC 6.0 feature, there they are mentioning New t code is available for MASS maintenance of excise duty fields.
Regards
Soundar.G -
Table name for field Task code text
Hi guys,
I need to work on a report.could you please help me to find the table name for the filed Task code text in the tab customer corrective actions in QM01/02/03.I needto fetch the text for the corresponding Task code.Hi,
I think you are searching for -
QPCD-KURZTEXT or QPCD-LTEXTV
For text field fetch - go to table - QPCT
If not give me more clear idea !!!!
Edited by: ashleshabhagatshelke on Jun 9, 2010 8:16 AM -
Additional field(company code) in purchase order screen layout
Hi All experts,
I have a requirement to set the company code in Purchase order as display field during PO creation or change.
I have checked in IMG under screen layout for purchase order but there is no company code field available.
How can I add the additional field into the screen layout.
Any inout will be highly appreciated.
Thank you in advance
Lost.Hi Chee Wan Ng,
<b>Where</b> exactly you want to set the Company Code field in the Purchase order? Actually this field is already available under <b>Org.data</b> tab in the Purchase Order Creation transaction (ME21N), so you may not require to set the Company Code again.
Which version of SAP R/3 you are using?
Hope this helps you, if not, then give us more details to help you better.
Good luck.
Maybe you are looking for
-
Hello Experts, We are customizing a financial report and having a strange requirment, where we need to sum up the total value(Debit+credit) of a particular cost element from cost center report S_ALR_87013611. For example, Cost element 600000 is havin
-
My itunes keeps showing me other and it has taken 2gb of my iphone help pls
my itunes keeps shows other wish is taking up my memory up to 2gb i tired deleting applications but it still thesame help
-
Regarding rounding rule in condition
hi all, i am facing an issue related pricing condition, i have created one condition type- ZROU(round off rule). this means supoose, i have net price in the PO is 23.60. if i put this condition and i put .40, then total price should be 24. and its co
-
I want to load data parallely into two ods.
i want to load data parallely into two ods.
-
Good day - as many others my appworld app has disappeared. I read all the notes and forums and tried to reinstall the app per the directions. The appworld app is in my Options, however the icon does not show on any of my home screens, nor can I get