FB03 - Increase length of the field "Account Short Text" in FB03
Dear Expert!
I understand that Tcode: FB03 is SAP standard tcode. However, i just want to ask, is it possible to increase length of the field "Account Short Text" to 42 characters in FB03? Because my vendor/customer name is quite long, and when i view via FB03, the field "Account Short Text" only displays 20 characters, not full vendor/customer name. Unless, i double click on the line item, then i can see full vendor/customer name. But i want the "Account Short Text" field can display full vendor/customer name.
Is that possible?
Thank you very much.
LeLinh
Hi,
there's a matadata table behind it RFPSD and for Account short text field KTEXT is used, which in fact has a length of 35 chars.
But on the other hand there's also a filed KTEXT_GL (G/L Account Short text) which is maybe applied here. It has a length of 20.
You can do some more checks on program to clear it finally
Regards
Similar Messages
-
Increasing of the length of the field of short text
hai gurus
i want to increase the length of the field while creating the purchase order is there any facility for that plese give me the detailsHi Rao,
If you want to give some description in the short text you can use Purchase order text for giving complete details about your requirement to the vendor.
Regards,
Vijay -
Display GL Account Short Text in FBL3N report line
Dear all,
I have one issue here. I would like to display the GL Account Short Text while executing report FBL3N.By default system will display each GL account and it's short text at the header before the list of all entries for the specific GL account. But user would like to have it at every line item (in the table line) in the report. This is because they need it during excel extraction.
May i know how do i go about this?
Many thanks.Hello,
Please check the following.
You cannot assign vendor or customer number to sales/purchase GL account with standard settings.
You must do some development for it.
You can add additional field to FBL*N reports with using BTE exit.
First of all, if you don't use BTE before, you must create a product on FIBF.
Call FIBF transaction -> Settings -> Products -> ...of a customer
Create a new line,
Product: ZFI
Text: BTE Products for FI Exit
Product active: tick checks from activation.
Then you must call SE11 for structure RFPOS.
You must use append structure function for this structure and you can define ZFI_RFPOS append structure
Define 4 fields.
Component: KUNNR - Component type: KUNNR
Component: NAMED - Component type: NAME1
Component: LIFNR - Component type: LINFR
Component: NAMEK - Component type: NAME1
Then save and active your RFPOS structure.
After that, you must do same step for structure RFPOSX.
Then go to SE37 and copy from SAMPLE_INTERFACE_00001650 to ZFI_INTERFACE_00001650 FM.
After copy action, you must uncomment this line on ZFI_INTERFACE_00001650 FM's source code. It's very important;
E_POSTAB = I_POSTAB.
Then you should add some ABAP code for getting customer & vendor details.
I give you some examples, you can use it. (Next message on this thread, please check)
Then save and active FM.
Call FIBF transaction again.
FIBF -> Settings -> Process Modules -> ...of a customer
Define a new line.
Process: 00001650
Function Module: ZFI_INTERFACE_00001650
Product: ZFI
and this customizing.
Then you go to SE38 transaction.
start report RFPOSXEXTEND. After starting, a pop-up appears, you must click YES.
After those operations, you can see customer/vendor code and their names on FBL3N.
ABAP source example,
TABLES : bseg, kna1, lfa1.
IF sy-tcode = 'FBL3N'.
CLEAR: bseg.
SELECT SINGLE *
FROM bseg
WHERE bukrs = i_postab-bukrs
AND belnr = i_postab-belnr
AND gjahr = i_postab-gjahr
AND koart = 'K'.
IF sy-subrc EQ 0.
e_postab-lifnr = bseg-lifnr.
CLEAR: lfa1.
SELECT SINGLE *
FROM lfa1
WHERE lifnr = bseg-lifnr.
IF sy-subrc EQ 0.
e_postab-namek = lfa1-name1.
ENDIF.
ENDIF.
CLEAR : bseg.
SELECT SINGLE *
FROM bseg
WHERE bukrs = i_postab-bukrs
AND belnr = i_postab-belnr
AND gjahr = i_postab-gjahr
AND koart = 'D'.
IF sy-subrc EQ 0.
e_postab-kunnr = bseg-kunnr.
CLEAR: kna1.
SELECT SINGLE *
FROM kna1
WHERE kunnr = bseg-kunnr.
IF sy-subrc EQ 0.
e_postab-named = kna1-name1.
ENDIF.
ENDIF.
ENDIF.
Rgds
Murali. N -
Output data to txt file with full length of the field as in database
Hi
I have a problem related to output data I ntxt file on server
for eg
CONCATENATE
wa_sagadr_outtab-seqno
wa_sagadr_outtab-bpext
wa_sagadr_outtab-name_org1
wa_sagadr_outtab-country INTO wa_sagadr_text SEPARATED BY ''.
the output is separated by single space irrespective of database length of the field , I want to display all the lenth of the database field eventhough the remaining space is blank ie if a field is 20 char in dtabase and only filled with 6 char the whole 20 char lenth should be displayed in the output file
ouput as below
required format ie space equvalent to as in database lenght
000001 700006 C4 Plant AMD Export Sdn.Bhd.so on.
my format as coming single space in between only
000001 700006 C4 Plant AMD Export Sdn.Bhd
pls suggestFor this maintain an work area with the fields and structure same as the one which you want.
ten populate the work are and write to file.
concatenate will not work.
e.g.
DATA: begin of wa_sagadr_text,
seqno like wa_sagadr_outtab-seqno,
bpext like wa_sagadr_outtab-bpext,
name_org1 like wa_sagadr_outtab-name_org1,
country like wa_sagadr_outtab-country
end of wa_sagadr_text,
clear wa_sagadr_text.
wa_sagadr_text-seqno = wa_sagadr_outtab-seqno.
wa_sagadr_text-bpext= wa_sagadr_outtab-bpext.
wa_sagadr_text-name_org1 = wa_sagadr_outtab-name_org1.
wa_sagadr_text-country = wa_sagadr_outtab-country INTO wa_sagadr_text.
transfer wa_sagadr_text to outputfile
or write:/ your fields. -
Some users show that the sales docment external name is not printed completely in the form of delivery form printing, so I want to find how much length of the field is there through debugging. I am very expected to gain some suggestion from you.
for exploding the bom if you know header material use
CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
EXPORTING
CAPID = 'PP01'
DATUV = SY-DATUM
MEHRS = 'X'
MTNRV = P_MATNR
WERKS = P_WERKS
TABLES
STB = I_BOM
EXCEPTIONS
ALT_NOT_FOUND = 1
CALL_INVALID = 2
MATERIAL_NOT_FOUND = 3
MISSING_AUTHORIZATION = 4
NO_BOM_FOUND = 5
NO_PLANT_DATA = 6
NO_SUITABLE_BOM_FOUND = 7
CONVERSION_ERROR = 8
OTHERS = 9.
now check PLPO & PLKO table for routing or AFVC and AFVV for routing.
if production order created you have to check in afvc and afvv else check in plpo and plko.
for checking with plpo and plko you have to check MAPL table.
for bom and material link
MAST,STPO,STKO.
stlnr is the common field
regards
shiba dutta -
Setting max length of the field when using Context Model Node
I have created a model using Import Adaptive Web Service model option (a web service was a wrapper around SAP BAPI function module).
There were no dictionary types created in the Local dictionary as a result of import.
I have mapped the context of the controller to the model node.
One of the fields in the model is name CUSTOMER_NUMBER type string;
Corresponding element in the wsdl of the web service is
<xsd:element name="CUSTOMER_NUMBER" type="tns:char10" />
I have created a view with the input filed mapped to the CUSTOMER_NUMBER field of the model node.
When I type more than 10 chars into the field and hit the search button, I get a com.sap.dictionary.runtime.Ddcheck exception that the length of the field should be less than 10 chars.
How can I set the max length of the field in design time to prevent runtime exception?
Thanks,
JuliaThank you for your reply.
Java trim function will trim the white spaces only, not the characters.
I can code check length functionality before calling execute function (the function that call the web service).
I can also create a dictionary structure based on the model structure; create a context value node based on the dictionary structure and use WDCopyService API to move the data between value node and model node.
I was looking for the best practice...
When importing model based on Adaptive RFC, the dictionary structures are imported together with the model. This does not happen for Adaptive web service - hence there is a need to add coding for simple checks.
Julia -
For abap-hr i need datatype and length for the fields which i selected
hi seniors,
I got one task for which i have to get the data type and length for the fields of a table in abap-hr. I am using dd03l table, but my team leader told me to not to use this. So, please anybody can help, i will be thankfull.
I have to select PA30 fields in which pernr and choic, subty and whatever i have selected the infotypes fields. If there is any function module to find data type and length or else any other table.
thanks,
sekhar.Hi,
Try using the Function Module "DDIF_FIELDINFO_GET". You can use this for fetching the complete details of a structure or, a specific field.
Input:->
TABNAME PA0001
FIELDNAME PERNR
Output:->
Check the DFIES_TAB it will contain all the details you need for the specific field.
Sample--->
CALL FUNCTION 'DDIF_FIELDINFO_GET'
EXPORTING
TABNAME = 'PA0001'
* FIELDNAME = ' '
* LANGU = SY-LANGU
* LFIELDNAME = ' '
* ALL_TYPES = ' '
* GROUP_NAMES = ' '
* UCLEN =
* DO_NOT_WRITE = ' '
* IMPORTING
* X030L_WA =
* DDOBJTYPE =
* DFIES_WA =
* LINES_DESCR =
TABLES
DFIES_TAB = MY_DFIES_TAB
* FIXED_VALUES =
* EXCEPTIONS
* NOT_FOUND = 1
* INTERNAL_ERROR = 2
* OTHERS = 3.
Hope this was of some help.
Best regards,
Sagar. -
Where is the vendor description(short text) stored against LIFNR
Hello,
where is the vendor description(short text) stored against LIFNR ..
Thanks..
ShehryarHi,
Venodor Name is in the Table LFA1 and field is LFA1-NAME1.
if it is Blank you can take the ADRNR from LFA1 and go to ADRC table with ADRNR and get the Name from ADRC table.
Regards
vijay -
Increase length of output field in ABAP Query
Hello All,
I have one ABAP Query in which inside the system generated program for the Query, there is a write statement -
write 030(020) anlav-invnr
Because of this statement, the field invnr is displaying in only 20 chars & the last two chars of the field invnr are not getting displayed.
I want to display all 22 chars for field invnr.
How can I increase the output length for this field.
Please help.
<vague subject corrected by moderator, please choose a meaningful one next time>
Edited by: Thomas Zloch on Mar 3, 2010 2:34 PM>
Jain Arpita wrote:
> write 030(020) anlav-invnr
Means displaying INVNR field at 030th position with 20 chars width. To increase the width you just give 022 instead of 020 like below.
write 030(022) anlav-invnr
Thanks
Venkat.O
Edited by: Venkat.O on Mar 3, 2010 11:28 AM -
Length of the field in debugging
Hi,
I have declared the "rate" field like this in a program.
the field "konp-kbetr" is of "CURRENCY" field type and the length is: 11,2.
data: begin of itab occurs 0,
rate like konp-kbetr,
end of itab.
select kbetr from konp into itab-rate.
but while dubugging the contents for the "rate" field in itab shows like this:
no component name type length contents
1. rate P 6 0.00
What could be the probelm for that?
please let me know.
thnx.VIJAY,
there are 3 itabs in my prog like this.
1st itab:
data: begin of itab occurs 0,
rate like konp-kbetr,
end of itab.
2nd itab:
data: begin of itab2 occurs 0,
knumh like a505-knumh,
end of itab2.
3rd itab:
data: begin of itab3,
awp like konp-kbetr,
end of itab3.
the code is like this:
select kbetr from konp into itab-rate
where knumh = itab2-knumh.
append itab.
endselect.
loop at itab.
write itab-rate to itab3-awp.
endloop.
when i debug the code, the "rate" field is showing the correct value for the 2nd itab.
but the problem is with the 3rd itab only. it is basically a structure. and in that i want the value eventually.
thnx, -
Need to increase length of the check number
Hi Gurus,
When i am trying to increase the length of the check number from 7 digits to 8 digits. I am getting the error message FIBL664. could you please help me regarding this.
Thanks in advance....
RamanjaneyuluDear Ramanjaneyulu,
There are several checks concerning the structure, the length of check number etc. before creating new check lot. As the message FIBL664 says, the structure of check number for the new check lot does not correspond to the check lots created earlier. It is supposed that the lots of one bank have the same length of check number and structure.
However, if you want to create this check lot with such characteristics you can setup the message FIBL664 to 'S' or turn it off using transaction SM30 and view V_T100C.
This is not a Controlling issue, but an FI issue. If you need more information, I'd suggest opening a message in the forum of ERP Financials.
Regards,
Antje -
Check the Data length for the fields in the mapping
Hi,
I need to check for the data length of the below fields in mapping. And if any of the field lengh does not match with the given length then I discard the data and trigger a mail
X1_LENGTH = 9
EMail_LENGTH = 100
PrjDesc_LENGTH = 50
Regards,
VarunHi,
You can use following approach:
- Create UDF for length analysis and raise exception if length is not accurate Use lenght() method of string.
CheckLength(Field, Length)
If Field.lenght() >= Length then raise mapping exception
Use Alert to capture this and send mail.
- Use Enum while defining datatype to reject data at source (in adapter engine). Again use Alerts to send mail.
Regards,
Gourav -
How can I avoid the modification of short text of a Material ?
Hello Experts, I want to prevent the situation in which the user choose a Material number when creates a Purchase Requisition (ME51N) and the system uses the Material Master description. But before save this document, the user change the short text of the material. This cause a lot of confusion on purchasing department. I would like to have this field as only display screen layout, but the issue here is that we need to procure another materials without material master number.
Any Suggestions?Hi,
You can use Version Management for Purchase Requisitions to avoid Changes.
You can set the fields for Version Managemnt. Such that if any user changes the relevent field it will ask reason for change and Modifier.
There is one more option called Copying rules for Purchase orders. Plz have a look in it.
Reg,
Ashok
Rewards welcome. -
Fixed length for the fields of ALV output
Hi,
How to fix a field in the ALV output to its max length..For example..if a field's max length is 10...that coloumn should not be dragged or moved to right..Its lenght shluld be fixed to 10...Could any bod suggest me how to perform this...thanks..
Shyam.Hi,
U can better optimize the width.it will be good.
data : W_LAYOUT TYPE SLIS_LAYOUT_ALV.
W_LAYOUT-COLWIDTH_OPTIMIZE = 'X'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = SY-REPID
I_STRUCTURE_NAME = 'T_ALV'
IS_LAYOUT = W_LAYOUT
IT_FIELDCAT = T_FIELDCAT_ALV
I_CALLBACK_TOP_OF_PAGE = 'ALV_TOP_OF_PAGE'
TABLES
T_OUTTAB = T_ALV
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. -
How to increase size of the field say product_code from 40 to 300?
Hi,
I have one form, I need to increase the size of the feild from 40 to 300?
am new to forms, can any one please give me detailed steps on how to do that?
Thanks in advance.Hey this is my clear pblm,
I have a form say sk_form1.fmb and say a table called sk_tab1(col1 number, col2 varchar2(100)
In this scenario I got a requirement say, col2 size of sk_tab1 should be changed from 100 to 250.
I have done below
alter table sk_tab1 modify col2 varchar2(250); -- from database side,
now I have opened form using formbuilder in unix
frmbld.sh sk_form1.fmb
now my doubt is how to know that what feild is my col2 in db and how to change that?
may be a basic question but a newbie in forms
Thanks for your help in advance
Maybe you are looking for
-
My 1st Gen Ipod Touch won't charge while turned on, dies 30 seconds after powering on.
I own a first gen Ipod Touch. Recently I let it sit until the battery died. When I went to charge it, it wouldn't charge unless I held the charger a specific way. Then, when I discovered the one way it accepted the charger, it started charging. Howev
-
Certification topics for 1z0-051
I am preparing for the SQL fundamental exam 1z0-051. I am following the book :"OCA: Oracle Database 11g Administrator Certified Associate Study Guide: (Exams1Z0-051 and 1Z0-052) " by Biju Thomas. Question: The exam topics in Oracle's certification we
-
Replicating windows trackpad gesture in OS-X - drag to edge
While the Mac Trackpad is superior in almost every way, there is one missing feature I loved on my Dell Laptop (Windows 7). It is hard to describe, and thus, hard to search for info on. Basically, on my windows touchpad, I can tap and drag an object
-
How to delete the master records when corresponding details records exist.
What is the SQL statement to delete the records of master when the corresponding detail records are present. Note: No Cascade clause was used at the time of creation of referential integrity constraint. "M"- Master Table "D"- Detail Table I used, "De
-
Picture In Picture question.
Hi, I'm new to iMovie and I am having an issue with Picture In Picture. I don't even know if I am using the right feature. Anyway, from my desktop, I am dragging a picture into my project and selecting Picture In Picture (I already have advanced mode