Concatenate fields with doc number

HI
In cv01n tcode in second tab ADDITIONAL data we have 3 inputs -category,sub category and sub type . now i need to concatenate these three when document no is created .
doc number generation i created but how to concatenate these 3 filds and displayed when clicked saved button. Those 3 fields of type char.
please help me out . automatic doc no is generating i wrote tht in stndard program zmcdokznr ..help me in writing the code to concatenate these 3 fields .
THANKS in advance

Hi,
DATA:LV_FLD1 TYPE STRING,
          LV_FLD2 TYPE STRING,
         LV_FLD3 TYPE STRING.
DATA:LV_FINAL TYPE STRING.
LV_FLD1 = category,      "CATAGORY INPUT VALUE.
LV_FLD2 = sub category "SUB CATEGORY VALUE.
LV_FLD3 = sub type  "SUB TYPE VALUE.
IF DOUCMENT NUMBER IS CREATED.
CONCATENATE LV_FLD1 LV_FLD2 LV_FLD3 INTO LV_FINAL.
ENDIF.
regards,
muralii.

Similar Messages

  • Refference field with SO number in accounting doc. in FB03

    Hello!
    Does anybody know if it is possible to display in FB03 in accounting document a refference field with sales order number?
    Can parameter AUN be used for this purpose? If so, how can it be set up?
    Thank you in advance for every help,
    Sylwia.

    Hi Sylwia,
    What you could do is to talk with you Sales & Distribution folks. They could set up a copy control strategy that drives transfer of information from Sales order to billing and/or from delivery to billing (Tcode: VTFL). Either the header reference field or the allocation field (Assignment field at line item) can be set up to capture the sales order number when the financial document is released to accounting.
    Hope this helps, if it does please grant points.
    Thanks,
    GG

  • Investment order settlement- assignment field with order number in GL code

    We are settling the investment order to the concerned asset and in reco account of the concerned asset it has to update assignment field with Investment order number from which order settlement was happend.
    For example I am booking all the expences to 1000 GL account code for investment order and I am settling to 2000 GL code.
    Investment order number is coming in 1000 GL code in fbl3n and for 2000 asset class (Reco 2000 GL code) it it not showing IO number.
    We want IO number in 2000 GL code line item.
    Do the the need full.  It is very urgent..........
    Edited by: sudhakara reddy jakku on May 31, 2008 8:09 AM

    hi
    when u are seeing gl line item .onse u enterd inthat screen change layout screen tab will be ther u plz see the  IO filed and select that . to next saide it will give urs IO no.also

  • Populating Assignment Field with PO number

    Dear SAP Gurus,
    I have to clear CENVAT Clg account using PO number. I have tried all possibilities, ultimately was partially successful.
    I was able to bring in PO number for all SA Documents, but not for RE Documents (Value "00000" is getting populated in RE documents in Assignment field).
    To resolve this partial error, I took help of ABAPer, to replace values for CENVAL Clg account for Document Types RE with PO number.
    However, when I go to FBL3N / F-03 (For clearing) it shows me "00000" (the old value). Now, when I double click the line item or when I check the table values for this document, it shows me PO number.
    Requesting you help me solve this error.
    Table values updated but, FBL3N and F-03 not.
    Thanks in advance.
    Regards,
    Nirav

    Thank you Sanil for your Reply.
    I have already maintained Sort Key as "014" Purchasing Document and Open Item Managament in FS00.
    Thats the reason why I am able to get PO number in SA Document Types. But the problem was populating PO values in RE Documents getting generated during MIRO.
    Therefore, we developed one program (ABAP), to populate values in Table BSEG-ZUONR to be copied from BSEG-EBELN.
    Table is getting updated correctly.
    However, i am not able to see PO number in FBL3N and F-03.
    Kindly suggest, why is that so ?
    Regards,
    Nirav

  • Populating Account field with totaled number from Activities.

    All-
    Got a curious one.
    We're using activities to count up the numbers from various site visits. What we want to do is have the number just populate automatically on the account record. So, whenever a new activity is saved, or an older one is updated. We want that number to update on the account. Is this a workflow thing? a Joinfieldvalue function thing? Both together using the Account ID to tie them together.
    So, on the activity record, there are various number fields for different value. But we're also having a total field that adds it all up. We want that field plus all the other total fields for activities attached to this account to be added up and place on the account record in a custom field.
    Any suggestions would be much appreciated.

    I think you may be right. I did some research and came up with this.
    Use query builder and default values to populate Activity records with information from the associated Account record. Then the User would enter any new values on the Activity, and, upon saving, a web service would be triggered to populate the revisions back to the Account record. This way, the Account record would always have the most current values, and the next time they have an activity, the activity would be populated with the most current values.
    We can’t go from the Activity to the Account. That’s why it needs to be the web service for this portion. There needs to be a one-to-one relationship defined, and on one Activity record you can define one Account that is related to it. But it doesn’t work the other way, because an Account can have multiple activities and there’s no way to define “THE” activity.
    Does that sound right?

  • Declaring a Number field with specific number of digits and without

    Hai Everybody.
    I have a small doubt. At the time of creating a Table with column as Number data type, if i do not specify the length of digits, what it will take by default. What are the advantages and disadvantages of declaring the number field without specifying the length.
    For example:
    Create Table temp1 (col1 number);
    Create Table temp1 (col1 number(6));
    What is the difference between both the above statements. With the First Statement, what is the maximum number the table will accept.
    Which one is better in terms of resource optimisation like alloting the memory space or processing speed or any other resources.
    Pl clerify me.
    Thanks
    JD

    Hi,
    JayaDev(JD) wrote:
    Hai Everybody.
    I have a small doubt. At the time of creating a Table with column as Number data type, if i do not specify the length of digits, what it will take by default. What are the advantages and disadvantages of declaring the number field without specifying the length.NUMBER means any number (that Oracle can handle).
    NUMBER (6) means an integer, with no more than 6 digits. If you INSERT 12.345, it will automatically get rounded to 12. If you try to INSERT 1234567, it will raise an error.
    The default value is NULL in both cases, unless you specify otherwise.
    >
    For example:
    Create Table temp1 (col1 number);
    Create Table temp1 (col1 number(6));
    What is the difference between both the above statements. With the First Statement, what is the maximum number the table will accept.In Oracle 11, the largest number is 9.99999999999999999999999999999999999999E+125, I believe.
    Which one is better in terms of resource optimisation like alloting the memory space or processing speed or any other resources.NUMBER (6) is more efficient.
    As in so many things, you get what you pay for. If you want the ability to handle larger or more precise NUMBERs, you pay for it in more storage space and less speed.
    Read the pages that Karthick and Maktutakdu shown you.

  • Populate Assignment field with PO number& Line item in while invoicing

    Hi Gurus,
    My client wants to populate Purchase order number concatinating with line item (4500000000 0100 )in Assignment filed of accounting doument while doing MIRO.
    Thanks in Advance
    Best Regards
    Ashish Jain

    Hi Dominic,
    I want to populate Purchase order number concatinate with line item in Assignment filed of accounting document at time of MIRO. for all line items.
    Best Regards
    Ashish Jain

  • Concatenate fields with comma

    Hi Friends
    How to write a expression to achieve the following task in SSRS:
    Col_1 
    Col_2 
    Col_3 
    Col_4
      A           B        NULL    
    D
      A         
     B          C      
    NULL
    To       
    A, B, C
    A, B, C
    I wrote a expression like this: =Fields!Col_1.value & "," & Fields!Col_2.value & "," & Fields!Col_3.value
    & "," & Fields!Col_4.value
    and I'm getting result like this: A, B, , D (as
    Col_3 is NULL)
           A, B, C, (getting
    comma after C as Col_4 is NULL).
    Royal Thomas

    you can make expression like this
    =Fields!Col_1.value & IIF(Len(Fields!Col_2.value) = 0 ,"","," & Fields!Col_2.value) & IIF(Len(Fields!Col_3.value) = 0 ,"","," & Fields!Col_3.value) & IIF(Len(Fields!Col_4.value) = 0 ,"","," & Fields!Col_4.value)
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Issue with field data type NUMBER(22,5) while updating field data.

    Hi,
    I have a field with data type NUMBER(22,5).
    While inserting or updating field data it should take 17 digit and after decimal point 5 digit total 22 digit.
    I set 22 for maximumLength property of messageTextInput field.
    While updating field I am getting following problems,
    1) I provide the value as 1234567890123456789012 (22 digit) and click apply button.
    then I got error message as
    Error
    मैकेनाइजड दो पहिया/तीन पहिया वाहन - Value 1234567890123460000000 exceeds the maximum allowed value (NUMERIC (22, 5))
    2)then I insert 12345678901234567.1234 (17 digit before decimal point and 4 digit after decimal point and it didn't accept 5 digit after decimal point) and click apply button.
    It insert the value as 12345678901234600 (value changed after Apply)
    The I tried with simple SQL insert statement to insert data and it successfully insert 12345678901234567.12345 value.
    Any item property I missed here to set?
    Please suggest.
    Thanks & Regards,
    Sagarika

    hi
    according to
    " then I insert 12345678901234567.1234 (17 digit before decimal point and 4 digit after decimal point and it didn't accept 5 digit after decimal point) and click apply button.
    It insert the value as 12345678901234600 (value changed after Apply)"
    this statement ,it seems that it is definitely applying round or somthing like that function in the code before inserting value in the table("try with select round(12345678901234567.1234 ) from dual u will get the same result = 123456789012345600 ") ,
    bcz u r able to insert the same directely into the table using insert statement so kindely have look on the code if something like this is not happening there.try to check code in related EOimpl class
    try to to use debugging mode ,and the 23 char problem is related to maximum lenghth of text box make it 23 it will get resolved and u will be able to enter 17 digits with 5 digits after decimal point
    thanx pratap

  • CFUPDATE problem with field name beginning with a number

    I have a form (actually several) that is gathering data for a survey. I tried to use cfupdate to update the data elements and got a string index out of range error. I tested again without the form fields that began with numbers and it worked just fine. I then tried to enclose the offending field names in () and []. Both times I got same error. Does anyone have a work around for this? The code and error are below.
    Changing the field names is not really an option. This survey has almost 400 data points and most of the fields begin with the question number.
    Thanks
    DW
    <cfupdate datasource="#application.fdp_datasource#" tablename="arra_survey1" dbtype="ODBC" formfields = "entry_no, 2_a_fy09, '2_a_fy10', '2_a_fy11', '2_a_fy12', '2_b_fy09', '2_b_fy10', '2_b_fy11', '2_b_fy12', '2_c_fy09', '2_c_fy10', '2_c_fy11', '2_c_fy12', '2_d_fy09', '2_d_fy10', '2_d_fy11', '2_d_fy12', '2_e_fy09', '2_e_fy10', '2_e_fy11', '2_e_fy12', '2_f_fy09', '2_f_fy10', '2_f_fy11', '2_f_fy12', '2_g_fy09', '2_g_fy10', '2_g_fy11', '2_g_fy12', '2_h_fy09', '2_h_fy10', '2_h_fy11', '2_h_fy12', '2_i_fy09', '2_i_fy10', '2_i_fy11', '2_i_fy12', '2_j_fy09', '2_j_fy10', '2_j_fy11', '2_j_fy12', '2_k_fy09', '2_k_fy10', '2_k_fy11', '2_k_fy12', '2_l_fy09', '2_l_fy10', '2_l_fy11', '2_l_fy12', central_office, dept_office, incl_other, 3_a_fy09, 3_a_fy10, 3_a_fy11, 3_a_fy12, 3_b_fy09, 3_b_fy10, 3_b_fy11, 3_b_fy12, 3_c_fy09, 3_c_fy10, 3_c_fy11, 3_c_fy12, 3_d_fy09, 3_d_fy10 3_d_fy11, 3_d_fy12, 3_e_fy09, 3_e_fy10, 3_e_fy11, 3_e_fy12, 3_f_fy09, 3_f_fy10, 3_f_fy11, 3_f_fy12, 3_g_fy09, 3_g_fy10, 3_g_fy11, 3_g_fy12, 3_h_fy09, 3_h_fy10, 3_h_fy11, 3_h_fy12, 3_i_fy09, 3_i_fy10, 3_i_fy11, 3_i_fy12, 3_j_fy09, 3_j_fy10, 3_j_fy11, 3_j_fy12, 3_k_fy09, 3_k_fy10, 3_k_fy11, 3_k_fy12, 3_l_fy09, 3_l_fy10, 3_l_fy11, 3_l_fy12">
    String index out of range: -2
    The error occurred in C:\Inetpub\wwwroot\directory\process_arra_suvey_2.cfm: line 12
    12 : <cfupdate datasource="#application.fdp_datasource#" tablename="arra_survey1" dbtype="ODBC" formfields = "entry_no, 2_a_fy09, '2_a_fy10', '2_a_fy11', ...

    I think you have run one of CFUPDATE's limitations.  I am not 100% certain, but I do not think cfupdate provides a way to escape invalid column names like yours.  In which case you may need to do a regular UPDATE within a  cfquery instead... or rename your columns.
    fields that began with numbers
    Most databases discourage creating column names that start with a number (or other restricted characters).  While many databases will allow you to escape invalid names, it is simpler all around to avoid them altogether.  Otherwise, you may have to escape the names in every single query. The recommendations vary, but usually object names that begin with a  letter, and contain only letters, numbers and underscores are considered  safe.
    This survey has almost 400 data points and most of the fields begin with the question number.
    Four-hundred (400) is a lot of columns for a single table.  The fact that they all them seem to contain the same type of information (ie response to a question) is an indication that data should probably be stored in a separate table, as rows, not columns.  For example questions could be stored in one table, possible answers in another, and the results of an individual test/survey stored in a third table.  A structure like that is much easier to query, can easily accommodate changes (add/remove questions, responses, etcetera) without having modify the table every time.

  • Cic winclient :  Extra search field is populating with BP number

    Hi guys
    I enhanced the IC WINCLIENT search criteria with Extra field ( BP External number) in the BP extended search area i.e application area by adding the HTML code and I Modified all the relevant function modules,  when I am searching with BP External number it was working fine, <b>except in the result screen Extended field ( BP External number) is filling with BP Number not with the  BP External number .</b>
    is it required to make any changes in the html code
    I did the below HTML code
    <TR><TH align=left width=28%>BP External Number</TH>
    <TD width=72%><INPUT name=BP1_BPEXT size=20 maxLength=20 type=TEXT/PLAIN>
            </TD></TR>
    Pls help me what I am missing
    Thanks in advance
    Warm regards
    Rajasekhar
    <b></b>

    Hello,
    please see note 950975 and check IE versions and also check that the latest GUI patch is available on the users PCs.
    Regards, Gerhard

  • Automatic tab when reaching the end of a field with limited character number

    Hello!
    Is there a way of activating an automatic tab behaviour when the user reaches the end of a field with limited character number?
    I'd like the cursor to jump to the next field in tab order automatically.
    Possible?
    Thank you for any hints!
    Marcos

    Hi,
    What if you tried something like the following example? This works using formCalc on the change event for the field the user is currently typing into:
        var fullCount = 3
        var currentString = xfa.event.newText
        if(Len(currentString) >= fullCount)then
            xfa.host.setFocus("TextField2")
        endif
    Or, if you prefer javaScript:
        var fullCount = 3;
        var currentString = xfa.event.newText;
        if(currentString.length >= fullCount){
            xfa.host.setFocus("TextField2");
    These work very smoothly.
    Hope this helps!
    Stephen

  • Reference field with sales order number in accounting document (FB03)

    Hello!
    Does anybody know if it is possible to display in FB03 in accounting document a refference field with sales order number?
    Can parameter AUN be used for this purpose? If so, how can it be set up?
    Thank you in advance for every help,
    Sylwia.

    You can config the rule of copy control for billing by tcode VTFL. for the reference number field you can choose B-sales order number. then when you invoice, the field reference number in the invoice header will be filled with the SO No. And this number will be displayed in FB03.
    hope it will be helpful to you.

  • Need to generate PDF file from OAF with "n" number of fields

    Hi All,
    I have a requirement in OAF to generate PDF file with n number of fields in PDF output. PDF output could have some times 2 fields or 3 fields or 7 fields too in some condition and it will be based on one parameter. This output will be looks like below given scenarios:
    Example Scenario I
    Emp No | Emp Name | Dept No | Job |
    11 | Abc | 10 | MGR |
    Example Scenario II
    Emp No | Emp Name |
    11 | Abc |
    Please let me know if any one know how to go about it.
    Thanks in advance,
    Arvin
    Edited by: user636850 on Jan 26, 2011 6:11 AM

    Hi All,
    I have a requirement in OAF to generate PDF file with n number of fields in PDF output. PDF output could have some times 2 fields or 3 fields or 7 fields too in some condition and it will be based on one parameter. This output will be looks like below given scenarios:
    Example Scenario I
    Emp No | Emp Name | Dept No | Job |
    11 | Abc | 10 | MGR |
    Example Scenario II
    Emp No | Emp Name |
    11 | Abc |
    Please let me know if any one know how to go about it.
    Thanks in advance,
    Arvin
    Edited by: user636850 on Jan 26, 2011 6:11 AM

  • How Assignment field can be populated with PO number plus item no

    Hi Guru,
    How Assignment field can be populated with PO number plus item no, which configuration for this. thanks.

    HI
    I am not sure about the t code try O7Z3 or IMG - Financial Accounting - Accounts payable/Receivables - Vendor accounts - Line Items - Line item display without ALV - choose the 3rd option - add the field entry - BSEG- select the field  Purchasing Document.  As already pointed out use sort key 014
    regards
    chandrasekaran

Maybe you are looking for

  • Disappearing events in iCal

    A week ago all events in my iCal display disappeared. I restored them from a Time Machine backup. They disappeared again. I restored them again, then saved the .icbu file. They disappeared again. I restored them from the .icbu file. They disappeared

  • Error when calling a web service in PLSQL, "the page could not be displayed

    Hi, I have a simple web service based on a function returning the name of the employee, I tested it against the standalone oc4j instance and it's working fine, but when I try to call it from PLSQL the error "the page could not be displayed" appears.

  • Getting file list

    hi, i'm having some problems getting the list of files into a vector, all the images are .jpg stored in a directory called ads under the classes directory, where all the .class files are stored. here is what i have so far:     File directory = new Fi

  • Prompt not appearing for a menu

    1)I added a function and associated a jsp file to it. 2)I added a prompt to an exisiting menu with function created in step 1. The prompt however does not appear under the menu. Is there anything else I need to do? Thank You.

  • Integration a web system which had window domain validation to EP7.0

    I have a EP7.0 system which on AIX ,another web system which on win2000,and when you access the web system,you had to access a windows domain Authentication,how I can implement the oss for them?