FIELD BSEG-XREF3 - how to show it in transaction KSB1

Is it possible to see the field BSEG-XREF3 (reference field 3) in the transaction KSB1?
Thanks and regards, Rino

Hi
Yes it is possible...
Add the desired fields XREF1, 2 3 to the structure CI_RKPOS
Attached below is the sample code to be written in include ZXKAEPU01 of EXIT_SAPLKAEP_001
I used it to fetch XREF1 and 2
SELECT SINGLE vbel2 xref1 xref2 FROM bseg
  INTO (cs_record-vbel2, cs_record-xref1, cs_record-xref2)
             WHERE bukrs = cs_record-refbk
               AND belnr = cs_record-refbn
               AND gjahr = cs_record-refgj
               AND buzei = cs_record-refbz.
In your case, I guess, the code will be (I am not an expert @ ABAP.. Forgive me for any miss-ups)
SELECT SINGLE vbel2 xref3 FROM bseg
  INTO (cs_record-vbel2, cs_record-xref3)
             WHERE bukrs = cs_record-refbk
               AND belnr = cs_record-refbn
               AND gjahr = cs_record-refgj
               AND buzei = cs_record-refbz.
Regards
Ajay M

Similar Messages

  • Urgent-- User Exit- FB01. Changing field BSEG-XREF3

    Hi,
    I need a user exit for FB01. I need to give vendor name in field BSEG-XREF3.
    Please specify exact user exit for this purpose as I already have list of exits being used by FB01.
    Points will be awarded for best answers.
    Regards,
    Navin

    hi
    use this steps to find all the exits  of fb01
    Finding the user-exits of a SAP transaction code
    Enter the transaction code in which you are looking for the user-exit
    and it will list you the list of user-exits in the transaction code.
    Also a drill down is possible which will help you to branch to SMOD.
    tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
    tables : tstct.
    data : jtab like tadir occurs 0 with header line.
    data : field1(30).
    data : v_devclass like tadir-devclass.
    parameters : p_tcode like tstc-tcode obligatory.
    select single * from tstc where tcode eq p_tcode.
    if sy-subrc eq 0.
    select single * from tadir where pgmid = 'R3TR'
    and object = 'PROG'
    and obj_name = tstc-pgmna.
    move : tadir-devclass to v_devclass.
    if sy-subrc ne 0.
    select single * from trdir where name = tstc-pgmna.
    if trdir-subc eq 'F'.
    select single * from tfdir where pname = tstc-pgmna.
    select single * from enlfdir where funcname =
    tfdir-funcname.
    select single * from tadir where pgmid = 'R3TR'
    and object = 'FUGR'
    and obj_name eq enlfdir-area.
    move : tadir-devclass to v_devclass.
    endif.
    endif.
    select * from tadir into table jtab
    where pgmid = 'R3TR'
    and object = 'SMOD'
    and devclass = v_devclass.
    select single * from tstct where sprsl eq sy-langu and
    tcode eq p_tcode.
    format color col_positive intensified off.
    write:/(19) 'Transaction Code - ',
    20(20) p_tcode,
    45(50) tstct-ttext.
    skip.
    if not jtab[] is initial.
    write:/(95) sy-uline.
    format color col_heading intensified on.
    write:/1 sy-vline,
    2 'Exit Name',
    21 sy-vline ,
    22 'Description',
    95 sy-vline.
    write:/(95) sy-uline.
    loop at jtab.
    select single * from modsapt
    where sprsl = sy-langu and
    name = jtab-obj_name.
    format color col_normal intensified off.
    write:/1 sy-vline,
    2 jtab-obj_name hotspot on,
    21 sy-vline ,
    22 modsapt-modtext,
    95 sy-vline.
    endloop.
    write:/(95) sy-uline.
    describe table jtab.
    skip.
    format color col_total intensified on.
    write:/ 'No of Exits:' , sy-tfill.
    else.
    format color col_negative intensified on.
    write:/(95) 'No User Exit exists'.
    endif.
    else.
    format color col_negative intensified on.
    write:/(95) 'Transaction Code Does Not Exist'.
    endif.
    at line-selection.
    get cursor field field1.
    check field1(4) eq 'JTAB'.
    set parameter id 'MON' field sy-lisel+1(10).
    call transaction 'SMOD' and skip first screen.

  • How to see  fields BSEG-XREF1, BSEG-XREF2 and BSEG-XREF3 in FB60

    Hi,
    We need to  make visible  fields BSEG-XREF1, BSEG-XREF2 and BSEG-XREF3 in transaction FB60 for data entry.
    Please advise .
    Regards,
    Saeed

    Dear Saeed,
    First Make Field Status group this fields mandatory or Optional.
    Then after entering all the data in fb60 screen goto to environment and then press Complex Posting.
    Then double click on the line Expense line item and press more data.
    There you will find this fields for entry.

  • How to include the field BSEG-FDLEV in the invoice FV60 and F-43

    hi
    i am try to activate the cash management in my SAP, but i am not able to open the field BSEG-FDLEV (PLANNING LEVEL) in the additional data of the invoice voucher F-43 and FV60
    Is there anyone that knows how to do it? i have played with the field status group of the reconciliation account and the posting key, but nothing happened.
    I have understood that it should be some customizing company level.
    Any help is more than welcome.
    best regards
    Angelo

    Hi,
    Check the below link which is useful
    Re: change planning level in FI document
    Thanks
    Aravind

  • How to Show Partial SSN in a Text Field

    Hi,
    I have text field on an apex page which takes SSN as input.
    How to show only last four digits of SSN after it has been entered.
    For Instance when I type 111-222-3333 and hit enter or tab, it should appear as XXX-XXX-3333.
    Thanks in Advance.
    Yogi

    Hi Yogi,
    You did not mention the most important thing.. Where are going to display the SSN ..
    if it is in report then:
    select regexp_replace ('111-222-3333','[0-9]{3}-[0-9]{3}','XXX-XXX') from dualOutput:
    SSN
    XXX-XXX-3333
    If you are going to show it on an item, then you should use that REGEXP in the source of your item... The source could be SQL or PL/SQL.
    If you need to show this format XXX-XXX-3333 as the values is being entered, the this plugin could be helpful:
    http://apex-plugin.com/oracle-apex-plugins/item-plugin/text-field-with-masked-input_63.html
    Best Regards,
    Fateh
    If you believe that my answer was correct or helpful, then please mark the answer as helpful or correct

  • How to show $ sign alongwith the value in message styled text field.

    Hi,
    How to show $ sign alongwith the value in message styled text field.
    The value is coming from the table column in VO.
    I am working on OAF R12.

    Hi,
    Resolved.
    I used the below code in CO for the solution.
    Formatter currencyFormatter = new OADecimalValidater("$#,##0.00;($#,##0.00)",
    "$#,##0.00;($#,##0.00)");
    OAMessageStyledTextBean msrpField = (OAMessageStyledTextBean)webBean.findChildRecursive("MSRP11");
    msrpField.setAttributeValue(ON_SUBMIT_VALIDATER_ATTR, currencyFormatter);

  • Field Status of BSEG-XREF3 - Regarding allowing input

    Hello guys,
    Recently I was able to activate BSEG-XREF3 from suppressed to optional (depending on the G/L Acct). However, during the document change mode (FB02), the field could not be edited.
    Is there a way to change this status so that a field (specifically XREF3) can be edited in the document change mode?
    Thank you all and good day.

    Hi
    U have to check if that field is a modifible fields:
    Trx SPRO:
    Financial Accounting->Financial Accounting Global Settings->Document->Line Items->Document Change rules, item.
    Here check if there's that field, if there isn't you have to insert for a certain (or all) accounting type (vendore, customer or G/L)
    Max

  • How  to show password in spry validation password field?

    how do  I make the password display in the spry validation password field , the standard one is just a bunch of asterisk .

    Just use a normal textfield, instead of a password field. The only difference between a password field and a text field is the characters not showing up.

  • How long does it take for the custom field created in SFDC to show up in the field mapping list?

    How long does it take for the custom field created in SFDC to show up in the field mapping list? I hit the refresh field button, but it is not showing up after 5 min. Do I just need to have patience? 

    Hi,
    What do you have to do to the field in SFDC to make it accessible so that it shows up in the Eloqua field mapping area as a field to be mapped?   

  • How to show a text field based on what is entered in a date field

    Hi there LiveCycle experts!
    I have a form with a text field that I want to show only if the value of the previous date field once entered is less than 1 month from today?
    Any help appreciated, been researching in vain for hours!!!
    Sarah

    Wow Steve - thanks so much this is so exciting I just love learning these new scripts.
    I assume I need to make the text field 'Hidden' - ?
    I seem to be struggling a little to get it working - are you able to have a quick squizz at my document - it is in the very early stages!
    Regards,
    Sarah Milne
    FACEBOOK : Join our  'BritBound Social Events' Group on Facebook to receive details of forthcoming social events...click here to join. 
    For a sociable & stress free arrival experience!
    BritBound London Office: Britain & London Visitor Centre, 1 Regent Street, London, SW1Y 4XT.
    Tel UK: | 0845 450 3536 | From OS + 44 (0) 20 7808 3815
    Tel OZ: | Sydney: (02) 8003 7651  | Melbourne: (03) 9005 8304 | Brisbane: (07) 3102 9766
    Tel NZ: | Auckland: (09) 889 3175 | Wellington: (04) 889 2015   | Christchurch: (03) 669 2032
    Website:        www.britbound.co.uk
    E-mail:           [email protected]
    Click Here to find out more about: | UK VISAS  | MOBILE PHONE CONTRACTS FOR NEW ARRIVALS TO THE UK  |  UK ACCOMMODATION  |  AIRPORT TRANSFERS  |  UMBRELLA COMPANIES   |  DISCOUNTED INTERNATIONAL BANK TRANSFERS  |  SOCIAL EVENTS   |  TAX REFUNDS  |  NATIONAL INSURANCE (NI) NUMBERS
    Disclaimer: The information contained in or attached to this message is intended only for the people it is addressed to. If you are not the intended recipient, any use, disclosure or copying of this information is unauthorised and prohibited. This information may be confidential or subject to legal privilege. BritBound cannot accept liability for any virus damage caused by this message. This documentation is for your general information, and is not to be construed as advice. Clients should not act on the information contained herein alone, and should seek independent advice if necessary.

  • How to update the field  BSEG-BDIFF

    Hi to All,
    do you know some funciont module or BAPI that update the field BSEG-BDIFF ?
    Thanks a lot.
    Best Regards,
    Umb.
    Edited by: Umberto Panico on Jan 18, 2011 10:40 AM

    Hi,
    Please check these FM.
    G_FI_UPDATE
    G_BKPF_BSEG_UPDATE
    If they don't work, you may need to write BDC program or find the user exits available to update the field.
    Regards,
    Siva

  • How to show all records by default on search result page?

    Hi
    I am trying to make a search page that would execute the search in the database based on one or more field constraints.
    (Using MySQL,PHP)
    I have  2 columns in the database "vm_ip" (primary key) <IP address>, "Operating_System" <Any, Windows, Solaris, AIX>
    need to search vm_ip based on other two fields.
    PROBLEM: Need to show all the record when I select "Any" in the Operating_System  drop down menu.
    <p>Operating System:
        <select name="os_select" id="os_select">
        <?php
    $os_count=1;
    foreach($os_type as $value) //(os_type is array with possible values of OS)
    echo "<option value=".$os_count.">".$value."</option>";
        $os_count++;
    ?>
          <option value=" " selected="selected">Any</option>
        </select>
      </p>
    this code POSts  NULL value to the search page.
    Below code is of recordset on  search page
    $varOS_virtual = "Operating_System"; // recordset variable set to same as column name (default value)
    if (isset($_POST['os_select'])) //this should not be true
      $varOS_virtual = $_POST['os_select'];
    mysql_select_db($database_xyz_db, $xyz_db);
    $query_virtual = sprintf("SELECT table.VM_IP FROM table
    WHERE table.Operating_System=%s", GetSQLValueString($varOS_virtual, "int"));
    $virtual = mysql_query($query_virtual, $xyz_db) or die(mysql_error());
    $row_virtual = mysql_fetch_assoc($virtual);
    $totalRows_virtual = mysql_num_rows($virtual);
    I expected the 'os_select' field to be null and default value of Operating_System to be "Operating_System" so that the Query shows all records.
    But instead the value being passed in the Query is "0". and no records are shown.
    What can I do to show all records?
    As probably obvious I am new to php/MySQL so all the help is most welcomed .
    Thanks

    Hi
    Thanks for the prompt reply but this does not solve my problem.
    First thing I appologise for giving you incorrect info. Actually I have many more constraints on the search apart from OS.
    Didn't think I would get single constraint specific ans.
    Here is what all i tried and problems I faced:
    1. I cannot use seperate queries cause I have around 7-8 other constraints on the search.
    2. I cannot play around with the Record set code. For some reason even if I mess with it a little bit Dreamweaver stops recognising the recordset. for eg i tried the below code:
    $query_virtual = sprintf("SELECT table.VM_IP FROM table WHERE
    table.Operating_System=%s ,($_POST['os_select']=="")? TRUE:GetSQLValueString($varOS_virtual, "int"));
    this ran well for the first time, and then the record set was screwed up. kept on asking me to "Discover" the links, which it couldn't do.
    3.  take a look at this code:
    $varOS_virtual = "Operating_System";
    if (isset($_POST['os_select'])) {
      $varOS_virtual = $_POST['os_select'];
    $varState_virtual = "State";               //second constraint
    if (isset($_POST['state_select'])) {
      $varState_virtual = $_POST['state_select'];
    mysql_select_db($database_xyz, $xyz);
    $query_virtual = sprintf("SELECT table.VM_IP FROM table AND table.Operating_System=%s AND State=%s",
    GetSQLValueString($varOS_virtual, "int"),GetSQLValueString($varState_virtual, "int"));
    $virtual = mysql_query($query_virtual, $xyz) or die(mysql_error());
    $row_virtual = mysql_fetch_assoc($virtual);
    $totalRows_virtual = mysql_num_rows($virtual);
    here on passing NULL value for "Any"  GetSQLValueString($varOS_virtual, "int") functions returns NULL and though the Default value of
    varOS is set to 'Operating_System" query takes NULL value only which when executed shows no records.
    My problem majorly revolves around how to put something like "WHERE Operating_System= Operating_System" OR  "WHERE Operating_System= TRUE" in the query, when passed through variable they are sent as Strings or NULL.
    Thats why WHERE 1=1 also doesnt work, because it has "WHERE Operating_System= NULL" in AND.
    Logically when NULL is passed default value of variable should comeinto picture, but tha isnt happening.
    Thanks again for answering. hope I was able to explain my problem.

  • How to show "ALL" Values by default in Page Drop-Down Lists in Pivot Tables

    Hi Everyone,
    Iam stuck with 1 problem please can any 1 help me if u know the solution.
    Here is my problem:
    How to show "ALL" Values by default in Page Drop-Down Lists in Oracle BI Pivot Tables?
    For example, if you place Region in the pages area, a Region drop-down list allows the user to select a particular region, and see the data for only that region, rather than seeing all the Regions,But by default its not showing "ALL" option in the drop down list ,rather than doing that its showing result for only 1 region by default.
    And an other problem with this pages area is, if we palce the multiple attributes in the Pages area in the pivot table, the (Fields)result is showing in vertically, the attributes 1 by 1(Every attribute in a new line) ,rather than showing like that, is there any way to show the results in horizantally?(We want to have it as a seperate drop drown list for every field horizantally not as a concatenated list).

    Thanks Nikhil. But I am fetching the values from the LOVCache.java.
    I am using <af:selectManyChoice>. Is there any way I can use LOVCache.java value for selecting default values instead of hard coding?
    I mean to say can I write
    unselectedLabel="#{LOVCache.entityTypeSelectionList.anyValue}"
    where LOVCache.entityTypeSelectionList is used to populate the drop down box.
    Regards,
    Aseet

  • How to show filtered parameter in dropdown form in crm 2013

    Hi,
    I want to create a report in crm 2013. When I report is run then filtered parameter fill record from database in dropdown form and when I select record from dropdown then generate report of selected record. Please tell me how to show record in filtered parameter
    from database within crm. In below image paramter is text field. How to auto fill filtered parameter from database.

    Hi Aamir,
    Check if the below link helps!!
    https://social.microsoft.com/Forums/en-US/ad8a3bc2-dbec-4597-adfd-8bd6c34f5e9a/drop-down-parameter-in-crm-2011-custom-report?forum=crm
    Thanks,
    Prasad
    Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.

  • How to show GL Account Balance amount in Ledger Report.

    Hi,
    We need to show General Ledger balance based transaction wise how we can show GL Account Balance where it will store which table and which filed.here below query is there here only I need to add balance after Total please guide me.
    select T0.transid,T0.number,T2.seriesname,T0.refdate,T0.baseref,T1.account,T1.shortname,T3.acctname,T1.credit,T1.debit,T1.credit+T1.debit as Total,T3.CurrTotal,T0.ref1,T0.ref2,T1.ref3line,T0.memo,T1.paymentref, T1.ProfitCode, T1.OcrCode2, T1.OcrCode3,
                          T1.OcrCode4, T1.OcrCode5,T1.U_Naration as RowNarration,T0.U_naration as DocumentNarration from OJDT T0
    inner join jdt1 T1 on T0.transid=T1.transid
    inner join nnm1 T2 on T2.series=T0.series
    inner join oact T3 on T3.acctcode=T1.account
    where T3.acctcode='1030101003'
    Regds,
    Sampath

    hi sampath,
    I giving u fair idea how to show g/l account balance
    There is a field in JDT1 - journal entry rows - JDT1.DebCred which is indicator when g/l account
    is debited / credited,it is filled with value D or C.
    You can add Case syntax in existing query with condition  JDT1.DebCred = 'D' then
    JDT1.Debit + Opening/Closing balance and if JDT1.DebCred = 'C' then
    JDT1.Credit - Opening/Closing balance.
    It requires much time & effort to build this query.
    Edited by: Jeyakanthan A on May 14, 2009 3:54 PM

Maybe you are looking for

  • How to associate a fixed $ value to a date cell?

    I'm trying to keep track of payments made, according to date. I have one column where I enter dates. Can I associate these date cells to a fixed $ value, so that each time I enter a new date the SUM cell will automatically update? I hope so... Thanks

  • How to debug Delta records..urgent

    Hi All, I loaded some records with delta mode. In rsa3, I select delta mode D, and clk Excute button, But It is saying  "Error During Execution". A. What is the reason Can any one explain? B. How to Debug my delta records? Pls explain Urgent. Thanks

  • Module gallery, light box

    I have installed module_gallery with one photo to open up a light box image on the home page on this site: marinwaldorf.org. See http://screencast.com/t/brdrd0j9XKS http://screencast.com/t/depk4HWk My client wants the light box to open up as someone

  • How to put pdf file on crystal reports.

    Hi all, I'd like to put pdf file which is the attachment of Item master on crystal reports. I tried OITM.attachment but it only shows the location where the file is, not file itself. Thanks in advance.

  • Will not load Facebook or youtube

    Just purchased a new Macbook Pro but cannot load Facebook or Youtube nothing happens, using Safari Any ideas Updated latest software and it worked for 5 mins