Modify the field u00AB Account u00BB in FB03 Transaction (ECC6)
Hello,
I have to modify the value of the field u201CAccountu201D in the general screen and in the item screen of the transaction FB03. (to put inside the alternative account)
I have tested all the user exit of the transaction but none is useful.
Then, u201CI_AUTHORITY_ITEMu201D is the only one BADI for the transaction, but it occurs too early in the program to change data.
Ie, with it I can change the field in the intern table (SAPLF064)XBSEG but this field is replaced with another value later in the process. And I canu2019t change this other value because of checks on it in the program.
Have you got any suggestion before I run the specific solution of the ZFB03 ?
Regards.
Alfred
Check BADI "ACC_DOCUMENT", it is filter dependent, so set the appropriate filter once you create the Implementation...
Thanks
Amol Lohade
Similar Messages
-
Modify the Field Type of standard Table fields in a Query
Hello. I have a question.
Is there a way to "modify" the field type for standard table fields that are included in a Query?
I made a simple query out of a join of tables, but several fields have a lot of decimals, and I would like to present them in the query without any decimals, just as a regular "N" field.
I tried the possibility of creating extra local fields where all I do is transfer the value to the new "N" field, but I have many fields like this, so if there's a better way; I'd prefer that.
Maybe somewhere in the InfoSet there's a way to modify the type of the standard table fields?
Thank you.Hi,
This document may help you out.
[http://help.sap.com/saphelp_erp60_sp/helpdata/en/d2/cb4468455611d189710000e8322d00/frameset.htm|http://help.sap.com/saphelp_erp60_sp/helpdata/en/d2/cb4468455611d189710000e8322d00/frameset.htm]
Cheers, -
Problem to modify the field "location" in an AP on WCS
Hello everybody,
I have a problem to modify the field "location" in an access point on WCS.
In fact, when i try to modify this field and then apply the modification, i have this error message :
"Error(s): You must correct the following error(s) before proceeding:
Error:Global Username and Password are not configured on the associated controller. Please configure username and password on the associated controller before disabling 'Override Global Username Password'."
I made the modification on Chrome and Firefox but I always have the error message.
Nevertheless, i don't have this error message with other access points and other access points are configured without the option "Override Global Username Password".
I'm obliged to make the modification directly in the controller and not in WCS.
The problem is that i want to make the modification directly in WCS.
Could you help me please ?
Thank you in advance.When i make the modification directly in WCS, i have no problem, it syncs good.
The version of WCS is 7.0.230.0.
The version of the controller is 7.0.240.0 and the field recovery image version is 7.0.112.21.
Version
7.0.230.0
Version
7.0.230.0
Version
7.0.230.0 -
Modify the field TXJCD_ST of RFC_CALCULATE_TAXES_DOC
HI,
I have a requirements to modify the field TXJCD_ST of RFC_CALCULATE_TAXES_DOC with the ShipTo jurisdiction code.
What i found is the user exit exit_saplfytx_user_001 that sends to the RFC a list of fields that are modified. The field TXJCD_ST is not in the list of the user exit.
At this point i don't know how to do it , meaning pass the modified value of the TXJCD_ST to the RFC_CALCULATE_TAXES_DOC.
Does anyone know how to?
Regards, OliNo, I did not see this particular scenario yet. If the Taxware guys say they can not configure their side like that, then this won't work. I just thought they could be able to do this because they can configure the structure of the USER_DATA field on their end. It is entirely possible that those fields that are explicitely part of the interface can not be added to USER_DATA.
You can still try my first suggestion
I wonder if that'll work. Theoretically it should since by looking at the related code and backtracking the calls, it looks like MOVE-CORRESPONDING statements are used - so having the TXJCD_ST as part of the allowed fields might just work OK. -
How to modify the field lengh of file upload
Hi All,
I am facing a problem with u201Cuploadu201D filed length in BSP application.
When we upload the file in BSP page, the path displayed should be the full path (i.e. from where the file is being upload the file)
Now this field is appearing 20 char length
Now I want to increase the length of the upload field (Input field) to be 100 char so that the path is visible.
In the current application the file upload is being done through a structure (attributes)
In this structure the fields are like this
PAGE_NAME
ID
FOR
TAGS
ROW_INDEX
COLUMN_INDEX
OTR_NAME
REQUIRED_NAME
MAXLENGTH
SIZE
TABLE_NAME
ON_SELECT
VALUE
DISABLED
ONCLICK
TEXT
TYPE
Using this method:
CALL METHOD cl_htmlb_fileupload=>factory
EXPORTING
Id = ls_form_save-id
RECEIVING
Element = lv_fileup.
bee_table->add ( level = 2 element = lv_fileup ).
This cl_htmlb_fileupload is named as class interface.
Which has the CLG_HTMLB_FILEUPLOAD (it is a class) it is defined in attributes.
In this class it has the attribute u201CSIZEu201D by default string 20.
Now I need to change this attribute length from 20 to 100
For this I copied the standard class CL_HTMLB_FILEUPLOAD into ZCL_HTMLB_FILEUPLOAD.
This ZCL_HTMLB_FILEUPLOAD contains all attributes of the standard class CL_HTMLB_FILEUPLOAD
Including the one class (CLG_HTMLB_FILEUPLOAD), this is defined as an attribute (ABOVE MENTIONED?)
This class is appearing in non editable mode, so I have copied this class into zclass (ZCLG_HTMLB_FILEUPLOAD).but still I am not able to edit the attribute called u201Csizeu201D
And also I am not bale to add the zclass in place of the ZCLG_HTMLB_FILEUPLOAD
Kindly tell me how to modify the length of the field u201Csize u201Cand also how to add the zclass in the attributes of one class (syntax)
Thanks in advance
Rambabu.AHi,
Class CLG_HTMLB_FILEUPLOAD is a class automatically generated when a BSP Element is created. You should not change/create such a class, unless by creating your own BSP Element.
As per your requirement, you can use the SIZE parameter of method factory:
ls_form_save-size = '100'.
CALL METHOD cl_htmlb_fileupload=>factory
EXPORTING
Id = ls_form_save-id
Size = ls_form_save-size
RECEIVING
Element = lv_fileup.
Regards,
Tanguy -
Modify the field value in itab1 using itab2
Hi experts
I need some help.
My question is : I have ITAB1 contains IBLNO field it is a legacy value.
I want to modify this field.
Another internal table ITAB2 contains sap, legacy value of IBLNO(Cross refrenced table).my requirement is IBLNO of ITAB1 is modified with corresponding sap IBLNO in ITAB2.
plz help
Durga ParsadHi Durga,
You want to get following results -
1. You have ITAB1 containing IBLNO.
2. ITAB2 has IBLNO.
3. Modify ITAB1-IBLNO from ITAB2-IBLNO.
4. There must be some common value between the two tables. It has to be there otherwise the two records won't match.
Kindly find the following code for doing so -
LOOP AT ITAB2 INTO WA_ITAB2.
* Modify ITAB1 from workarea of ITAB2 for matching records
MODIFY ITAB1 FROM WA_ITAB2
TRANSPORTING IBLNO " Modify only IBLNO of ITAB1 for matching records
WHERE FIELD1 = WA_ITAB2-FIELD1. " Some common field between the ITAB1 & workarea of ITAB2
CLEAR WA_ITAB2.
ENDLOOP.
Hope this helps.
PS If the answer solves your query, plz close the thread by rewarding each reply and marking it Solved.
Regards -
FB01: "Posting with ref." slould I modify the field 'Assignment' by hand?
Hi All,
I'd like to post a document by t.code FB01 and using the function "post with reference".
When i save the new document, it takes the field 'Assignment' from the reference-document i've put in.
Should I modify it by hand before saving it?
Or ther's the way to obtain it in the right way automatically?
Thanks
GandalfHi,
You need to change the required fields manually, before actually posting a document with a reference document.
More over, its better to simulate a document before saving(posting).
Regards,
Praisty -
How to modify the field symbol
Hello Every1,
I have a internal table and field symbol with the below structure.
Data : begin of itab occurs 0,
matnr like mara-matnr,
ersda like mara-ersda,
End of itab.
FIELD-SYMBOLS: <Matnr> TYPE STANDARD TABLE.
I have the field symbol with 10 records similar to the structure of itab. (Only matnr is populated and date as initial). Now I need to transfer the date value from itab to the field symbol for the matching matnr.
Please let me know how to do it.
Thanks,
Siva.Sivaprakash,
To my knowledge, a field-symbol cannot hold values on its own. It refers to a field or a table and work directly with the values.
Your scenario cannot be achieved unless there is another internal table besides itab.
Create a field-symbol of type itab2 and compare matnr with itab-matnr.
If a record is found then move the date field to <fs>.
Your code may look like this.
loop at itab2 assigning <fs>.
read table itab into wa_itab with key matnr = <fs>-matnr.
if sy-subrc = 0.
<fs>-date = wa_itab-date.
endif.
endloop
Thanks, -
I can't modify the field MARC-LOSGR using the badi BADI_MATERIAL_REF
Hello!
I have to force a value in the field "lot size" (MARC-LOSGR) when the system extends automatically a material with the transaction CK40N.
I tried to use the badi BADI_MATERIAL_REF, wich seems to be perfect for this purpose, but it doesn't work: after the badi the system resets the field to its initial value.
What can I do?
Thank youDear Sauro
I've found this thread in the forum, and because I've the same problem (I need to set 1000 as default for marc-losgr) during creation/extension of a material, I'd like know how you solved your issue.
The BADI is called during CK11N and CK40N transaction, but even if I set the value in the right mode it's not saved on table MARC. Of course If I create manually the cost view by using MM01 the BADI works fine and the value is saved.
Thank-you in advance for cooperation.
Claudio
Ps: se vuoi puoi anche rispondere direttamente in italiano al mio indirizzo che trovi nei miei riferimenti. Grazie -
Modifying the Field labels dynamically at runtime.
Hi,
Is it possible to change the field labels dynamically at runtime . My
requirement is when the user has to edit the quantity part ,he presses a fn key (F7 in my case ) that is displaying a new field with the old label (quantity ) and old qnty label should be changed dynamically to ' previous quantity ' .
Thanks For Your aniticpated responses.
Message was edited by:
Khaleel S.MohammedHave you added teh Label as a text field?
If you have done that, try replacing the label with a Input/Output type field in the display mode by selecting 'Output Only' in the attributes->Program Tab of Screen Painter.
Now from the program , when the user presses F7, you can code to change the value of the Label (Input / Output field).
This will work out. Please let me know if you have any issues.
Regards,
Anish Thomas -
How to give values to the field in free selection via call transaction?
Hi,
I'm using call transaction for transaction "FAGLB03". And i'm passing the values for the fields company code, account number and year using the respective parameter id. But i need to pass the value for Profit center also, which is in the free selction button (near to variant button). I have tried by passing the value thorugh the parameter id. but it is not taking up. The code is as follows:
SET PARAMETER ID 'ACC' FIELD lv_saknr.
SET PARAMETER ID 'BUK' FIELD lv_rbukrs.
SET PARAMETER ID 'GJR' FIELD lv_ryear.
SET PARAMETER ID 'PRC' FIELD lv_prctr.
CALL TRANSACTION 'FAGLB03' AND SKIP FIRST SCREEN.
Here the value of profit center is not filling up in the screen.
If anybody have any clue please replay back.
Thanks in Advance.Hello Pothiraja
If the free selection parameter cannot be filled this way you may try to call the corresponding report using the SUBMIT statement. <b>SUBMIT </b>has the option
... WITH FREE SELECTIONS texpr
For details refer to the ABAP keyword documentation for SUBMIT -> selscreen_parameters.
Regards
Uwe -
How to use the G/L Accounts, COA and related transactions from the SDK?
Hi all
Where can I find more documentation or examples on how to manipulate the G/L Accounts?
Does SAP makes journal entries automatically from an User Defined Table, Form or Field?
If I indicate an account to my table, how does the amounts entered in the amount column get reflected on the G/L Account? Do I have to run a query that enter the information into the G/L Account?
And if so, by running an update/insert query to the G/L accounts table does my add-on provokes losing SAP support over the clients data?Hi Neftali,
I got simple answer.
Where can I find more documentation or examples on how to manipulate the G/L Accounts?
-> DTW is a great example. And you can find the APIs in SDK help file.
Does SAP makes journal entries automatically from an User Defined Table, Form or Field?
-> Nope. User Defined something can't make any automatic journal posting, I guess.
If I indicate an account to my table, how does the amounts entered in the amount column get reflected on the G/L Account? Do I have to run a query that enter the information into the G/L Account?
-> I can't understand this question. Can you explain more?
And if so, by running an update/insert query to the G/L accounts table does my add-on provokes losing SAP support over the clients data?
-> Yes. (Sure.)
Regards,
Hyunil Choi. -
How to modify the field VBAP-FIXMG
Hello All,
I have the value of VBELN and POSNR.
I have to mofdify the value of field VBAP-FIXMG on the basis of VBELN and POSNR.
Can u plz provide a solution for that.
Bapi is also possible.
if yes then plz provide name and exporting parameter.
thanks.Hi
Try to use BAPI BAPI_SALESORDER_CHANGE:
Field FIXDAT_QTY of parameter ORDER_ITEM_IN
Max -
How can i modify the field on standard vbak table
Hi Experts,
I have to change the flag of (vbak-faksk) vbak table from 23 to 24 for selected records.how can i include the bdc program here in my logic.
thanks
suri.Table control in BDC
http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
BDC
http://www.sap-img.com/bdc.htm
Rewards if useful..............
Minal -
User with authorization to modify an specific field into the G/L Account
Hi everyone,
I´d would like to know if It´s possile GIVE AUTHORITY ONLY to some users will be able to modify the field SKB1 - ALTKT into the G/L Account Master Data through transacction FS02. In this way, only the selected users could introduce or modify information on this field.
I´m not sure if it can be done trough a new Z object and assign the object to the transacction and also in the user profiles..or in other way...
Thanks a lot for your help ¡Hello,
I'm worried but there is no field group authorization for G/L account like customers and vendors. In customers and vendors you're grouping your changable fields and give auth for it. But in G/L master data, there is no solution like this.
So I think you can use business transaction event for validation. You should use 00002310 BTE for this action.
In this exit, you can validate I_SKB1-ALTKT is equal to SKB1-ALTKT for special user. You should create a user parameter like ZALKT and this 'X' value to this parameter for special user. And check user auth for parameter ZALKT = 'X' and then if it's ok compare I_SKB1 and database table SKB1 for ALTKT field. If this two value doesn't equal you can give error message while saving G/L account changes.
Regards,
Burak
Maybe you are looking for
-
Two idocs with same idoc number in idx5
We are using an idoc to file scenario where idocs are bundled using bpm and posted to ftp. here the issue is we are getting two idocs with same idoc number in idx5. due to which the file in ftp is getting overwritten. Could anyone suggest me what to
-
Very simple - how to put 'space' in unix
hi, i have been told to do the following command to make all files in a directory read write: /bin/chmod -R a+rw /Users/.... now, the folder i want to apply this to is called "The Strategics Group" when i have the space, in Terminal i get an error, s
-
Hi, we are rolling out our global SAP solution for Russia and I would like some valuable inputs from SAP Gurus to my query. My query is regarding revenue recognition in Russia. According to local GAAP, unless a signed copy of the TORG-12 (Act of acce
-
An error occurred during authentication. Try again later or contact your
Hi I am try to login OBIEE 11g analytics (http://siva:9704/analytics) iam getting error "An error occurred during authentication. Try again later or contact your system administrator". Please help me .my Em and Admin console and rpd working fine. I h
-
Hi, My first question -HelloWorld HTTP Status 500 -
I am a new fish in this field. My problem is web.xml <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_