Line Layout with Reference Key in F-03

Dear all,
Iu2019m facing the following problem.
I modified the line layouts for F-03 through O7Z4S. In particular I created a line layouts with the field Reference key 1. The problem is that in F-03, using this variant, the field XREF1 appeared always blank. The same thing happens for XREF2 while for XREF3  everthing is ok.
Is something that I forgot in customizing?
Thanks in advance

Dear Alberto,
I created the same - Reference Key in IDES it works if you create with text and then insert Reference key as part of Field with this.
Hope this would surely help...
Deven.

Similar Messages

  • Generate 2 line items with posting keys in same table while using  FM .

    Dear Expert ,
    For T-code f-65 ,I have to park a FI Document  .i tried with PRELIMINARY_POSTING_FB01 for parked Document . But  i am not  successfully park the document .
    with the help of F-65 the data Segregate between Tables VBSEGS and VBSEGD with respecting Posting key . but with this Fm entire entry is displaying in table VBSEGS .For example it generated two line items with posting keys '15' and '40' and these both are displayed in VBSEGS whereas posting key '15' has to be displayed in VBSEGD.
    when i check this Document in FBV0 Error reflect " G/L Account 0012000 1001 Does not Exist ".
    Here my code -
    DATA:   XT_BKPF LIKE  BKPF OCCURS 0 WITH HEADER LINE ,
            XT_BSEG LIKE  BSEG OCCURS 0 WITH HEADER LINE ,
            XT_BSEG1 LIKE  BSEG OCCURS 0 WITH HEADER LINE ,
            XT_BSEC LIKE  BSEC OCCURS 0 WITH HEADER LINE ,
            XT_BSET LIKE  BSET OCCURS 0 WITH HEADER LINE ,
            XT_BSEZ LIKE  BSEZ  OCCURS 0 WITH HEADER LINE ,
            XT_BKORM  LIKE  BKORM OCCURS 0 WITH HEADER LINE ,
            XT_THEAD  LIKE  THEAD OCCURS 0 WITH HEADER LINE ,
            XT_SPLTTAB  LIKE  ACSPLT  OCCURS 0 WITH HEADER LINE ,
            XT_SPLTWT LIKE  WITH_ITEMX  OCCURS 0 WITH HEADER LINE .
    DATA :    XTEXT_UPDATE  LIKE  BOOLE-BOOLE VALUE SPACE,
              XTEXT_ITEM_UPDATE LIKE  BOOLE-BOOLE VALUE SPACE,
              XI_UF05A  LIKE  UF05A,
              XI_XCMPL  TYPE  XFELD VALUE 'X',
              XFS006_FB01 LIKE  FS006 ,
              XI_TCODE  LIKE  T020-TCODE  VALUE 'F-65',
              XI_PARGB  LIKE  RF05A-PARGB        ,
              XI_TCODE_INT  TYPE  TCODE           .
    DATA P_RETURN LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE.
    XT_BKPF-BUKRS     =     'CP01'.
    XT_BKPF-GJAHR     =     2011.
    XT_BKPF-BLART     =     'DZ'.
    XT_BKPF-BLDAT     =     SY-DATUM.
    XT_BKPF-BUDAT     =     SY-DATUM.
    XT_BKPF-MONAT     =     '06'.
    XT_BKPF-CPUDT     =     SY-DATUM.
    XT_BKPF-WWERT     = SY-DATUM.
    XT_BKPF-USNAM     =     'ABAPER'.
    XT_BKPF-TCODE     =     'F-65'.
    APPEND XT_BKPF.
    XT_BSEG-BUKRS     =     'CP01'.
    XT_BSEG-GJAHR     =     '2011'.
    XT_BSEG-BUZEI = '001'.
    XT_BSEG-BSCHL = '40'.
    XT_BSEG-KOART = 'S'.
    XT_BSEG-SHKZG = 'S' .
    XT_BSEG-GSBER     =     'CPLN'.
    XT_BSEG-BUPLA = 'CP01'.
    XT_BSEG-WRBTR     =     10000.
    XT_BSEG-PSWSL = 'INR'.
    XT_BSEG-ZUONR = 'CH. 123456'.
    XT_BSEG-HKONT = '241000'.
    APPEND XT_BSEG .
    CLEAR  XT_BSEG.
    Vendor line item - required even for header only - BSEG table
    XT_BSEG-BUKRS     =     'CP01'.
    XT_BSEG-GJAHR     =     '2011'.
    XT_BSEG-BUZEI = '002'.
    XT_BSEG-BSCHL = '15'.
    XT_BSEG-KOART = 'S'.
    XT_BSEG-SHKZG = 'H' .
    XT_BSEG-GSBER     =     'CPLN'.
    XT_BSEG-BUPLA = 'CP01'.
    XT_BSEG-WRBTR     =     10000.
    XT_BSEG-PSWSL = 'INR'.
    XT_BSEG-ZUONR = 'CH. 123456'.
    XT_BSEG-HKONT = 'PC04000001'.
    APPEND XT_BSEG .
    CLEAR  XT_BSEG.
      CALL FUNCTION 'PRELIMINARY_POSTING_FB01'
       EXPORTING
         TEXT_UPDATE            = XTEXT_UPDATE
         TEXT_ITEM_UPDATE       = XTEXT_ITEM_UPDATE
      I_UF05A                =
         I_XCMPL                = XI_XCMPL
      FS006_FB01             =
          I_TCODE                = XI_TCODE
      I_PARGB                =
      I_TCODE_INT            =
      IMPORTING
        XEPBBP                 = CHECK_A
        TABLES
          T_BKPF                 = XT_BKPF
          T_BSEG                 = XT_BSEG
          T_BSEC                 = XT_BSEC
          T_BSET                 = XT_BSET
          T_BSEZ                 = XT_BSEZ
      T_BKORM                =
      T_THEAD                =
      T_SPLTTAB              =
      T_SPLTWT               =
              EXCEPTIONS
                ERROR_MESSAGE = 1.
      P_RETURN-ID         = SY-MSGID.
      P_RETURN-TYPE       = SY-MSGTY.
      P_RETURN-NUMBER     = SY-MSGNO.
      APPEND P_RETURN.
         p_return-MESSAGE_V1 = XSYMSGV.
      IF SY-SUBRC = 0.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
          EXPORTING
            WAIT = 'X'.
      ENDIF.
      WRITE :/ sy-subrc , sy-MSGV1 .
    Thanks ,
    Ashish Gupta

    Hi Raghuram,
    I found a very important SAP Note 103051, details are below.
    An IDoc processed by function module IDOC_INPUT_INVOIC_MM (of category INVOIC01) must not refer to the same purchase order item in several invoice items. This is also valid if for a goods receipt-related invoice verification several delivery notes belong to the same purchase order item.
    Depending on the system settings and the situation, various error messages can occur (for example, FD240 'Order item ... selected more than once' or M8050 'Balance not zero: & debits: & credits: &').
    In this situation module IDOC_INPUT_INVOIC_MRM generates error message M8321 'Document contains same order item more than once'.
    For example, this situation occurs if you work with individual batch valuation and the SD billing document executes a batch split for different batches which belong to the same purchase order item and delivery.
    Other terms
    INVOIC, SAPLIEDI,  M8047, M8, 321
    Reason and Prerequisites
    This is because of the program design.
    Solution
    There is no solution for IDOC_INPUT_INVOIC_MM.
    Module IDOC_INPUT_INVOIC_MRM (only as of Release 4.0) for the logistics invoice verification can distinguish different goods receipts by means of the delivery note number. For this purpose, GR-related invoice verification must be active.
    Owing to this symptom, billing documents for single batch valuation with batch split cannot be settled in MM-EDI inbound processing. The settlement generates exactly the situation described (several invoice items for the same purchase order item). In this case, the only solution is to deactivate the billing of the batch sub-items in SD Customizing and to calculate the main item only.
    Hope this helps.
    Reward if helpful.
    Thanks

  • Sales order create/change line item with reference to contract - Open quantity not getting deducted for copied line item from the contract

    Hi friends,
    Please provide some valuable inputs for the following scenario:
    When a sales order line item is created(VA01) or changed(VA02) with reference to a Contract the open quantity is deducted in the contract which is a standard functionality. If the referenced line item is copied (custom enhancement to copy line item), then for the copied line item the open quantity is not getting deducted instead ATP quantity i.e. Available-to-promise is deducted.
    Any inputs on how we can fix this functionality i.e. deduct the open quantity from the contract for the copied line item?
    P.S. : Custom enhancement to copy line item is working fine, but open quantity is not getting deducted if the copied line item was referenced to a contract.
    Thanks,
    Sandeep
    Message was edited by: sandeep

    Sandeep,
    Yes, that was my original interpretation.  I was having a hard time believing that someone would ask such a question. 
    I guess, then, that you already know that you will have to add this logic to your enhancement. You should create your specifications and hand them off to a developer; ideally the one who created this enhanced solution in the first place.
    I do not provide advice in these forums about details of enhanced solutions.  Perhaps one of the other members will be more willing to do your work for you.
    Best Regards,
    DB49

  • SAPScript PC Editor - Line Repeats with Backspace key

    In a transaction entering text data that is using the Word-Processing SAPScript PC Editor.  When data is entered above the existed text, the line wraps onto another line and if the backspace is used to the first position, the line repeats.
    The form that is being used from the path Format  Change Format is ‘S_DOCU_SHOW’.
    Is there a way not to have the line repeat if the backspace is used?
    Thank you,

    I just looked at that template. Just double click the "name" text, all 3 lines will highlight; then just type your name and address. Do the same with what you want to put in the other block on the left side. On the additional pages, a single click on the Character Name will highlight it enabling you to type in "Sam Jones" and in the dialog paragraph, the same: single click, type dialog. No need to use the delete key at all (unless you make a mistake). It will help if you Show Invisibles (ShiftCmndI).
    Walt

  • Where we can see  receipt date with reference to Schedule lines in SA

    Hi,
    where we can see  receipt date with reference to Schedule lines( not with reference to Items) in Schedule Agreement
    Thanks in advance.
    Best Regards,
    Kapil.

    Table EKET is schedule line table and it consists only the Scheduled and statistical delivery dates, the Open and GR Qty but not the receipt date against the schedule lines.  The receipt dates are stored in the EKBE (History per Purchasing Document) tables but this dates are stored against the Purchase doc item number but not the schedule line no.
    System generally fills the scedule lines in the chronological orders based on the GR qty.
    RJ

  • Error when creating PO with reference to PR

    Hello Expert,
    When creating PO with reference to PR I encountered with one error i.e. system is taking into consideration one to one relation of PR line item to PO line item. For example: I have created PR with one line item for XYZ value and with reference to PR line item I am creating one PO but with two line items in PO that means I am splitting PR value into two line items in PO, 1st line item with zero tax and second one is with tax.
    So there is one PR line item but in PO I am creating two line items with reference to single PR item. In this case system is giving error saying Item 001 WBS element XXXXXXXXXX budget exceeded. message no: BP604. However if I create single line item in PO then it wont give any error.
    Please suggest any customization setting is done for such kind of behavior of the system.
    Thanks
    Shyam

    Hi,
    SAP creates the requisition with item category "U" even in case of cross-company (intercompany) purchase requisition.
    When converting it to PO the item category becomes blank - as I tried and I got no error message.
    Please check your settings under SPRO > MM > Purchasing > Purchase Order > Define Document Types (V_T161). You will see (if standard settings have not been changed) that NB requisition type with "U" item category is allowed for NB purchase order type with " " (empty) item category.
    Regards,
    Csaba

  • Report for PGI & billing value with reference to SO Line item

    Dear all,
    Please guide me whether there is any standard report available to check the PGI value and billing at a time with reference to a sales order (line item).
    Thanks & regards.
    Pranab

    as far as I know there is NO such standard report.
    you would try to build sap query based on VBAK/VBAP using VBFA checking LIKP/LIPS and VBRK/VBRP...
    but you may request abaper for more professional report with MKPF/MSEG and BKPF/BSEG

  • How to change the schedule line date in SO with reference to value contract

    Hi SD Guru's,
    I need to change the schedule line date in the sales order with reference to the value contract by using some algorithm that i will write. The problem that i can't find the suitable place to add the algorithm. I can't add it to the Copy control because there is no schedule lines in value contract and copy control for schedule lines does no exist.
    I can not add to user exit MV45AFZZ  , because order that was created with reference to the value contract, does not go through this user exit.
    Do you have some ideas where i can add it?
    Thanks and Regards
    Viky
    Edited by: Viky Sloutsky on Oct 20, 2010 12:43 PM

    Hello Viky
    How about using program MV45AFZB- USEREXIT_CHECK_VBEP or USEREXIT_MOVE_FIELD_TO_VBEPKOM
    or program FV45EFZ1- USEREXIT_CHANGE_SALES_ORDER
    Does the program go through these exits when an order is created with ref to a value contract??
    Also I am wondering why you need to change a Schedule line determined by Availability check and/or delivery scheduling?

  • Create purchase order with reference to Sales order Line item

    Hi All,
    i had a requirement that i need to create the Purchase order with reference to sales order line item...
    In T.code me27 client requied a input field for sales order no and with that order reference he want the data of line item to PO creation line item screen.....
    please sujjust......how to proceed......
    regards,
    Ravi Nemani

    Hi
    Go to SPRO->Logistic general->Tax on goods movement->India->Movement types.
    Here you will find the group of movement types check which movement types is mantained for the out side movement groups or inward movement.
    also check the Material Master in MRP view if the collective requirements (02) is mantained.
    Regards
    Sri

  • Can we restrict Key Figures in "Distribute with reference data"?

    Hi,
    I'm using "distribute with reference data" function & I wanted to distribute only 1 Keyfigure & the 2nd keyfigure shouldn't be distributed but remain same for each record.
    So, I restricted function with only 1st keyfigure & when I look at the distributed data, function distributed correctly but 2nd keyfigure was blank.
    Let's say I've following data.
    MATERIAL SGRP QTY PRC
    =====================
    MATERIL1 0000 100 23
    where SGRP is "Sales Group" & QTY is "Quantity" & PRC is "price"
    I am interested in distributing only Quantity but not the price.
    After distribution, this is what I can see...
    MATERIAL SGRP QTY PRC
    =====================
    MATERIL1 SGP1 050 000
    MATERIL1 SGP2 050 000
    MATERIL1 0000 000 23
    But, I'm expecting the following...
    MATERIAL SGRP QTY PRC
    =====================
    MATERIL1 SGP1 050 23
    MATERIL1 SGP2 050 23
    Appreciate any ideas.

    Hi Mary,
    Thank you very much for your reply.
    after the distribution funciton, let's say, i've following data.
    MATERIAL SGRP QTY PRC
    =====================
    MATERIL1 SGP1 050 000
    MATERIL1 SGP2 050 000
    MATERIL1 0000 000 23
    I created 1 more distribution by keys funciton & included this in a planning sequence along with 1st distribution function.
    But, it's not helping my needs. I tried with all 3 functions, "Distribute by Key", "Distribute according to keys" & "Distribute by keys from sender to reciever".
    As Sales Group is different after the 1st distribution funciton, qunatity records are not falling in the same set of data as price records for the 2nd "distribution by keys" funciton.
    if i don't include Sales Group in "fields to be changed" of the above 3 "distribution by key" functions,
    function is taking 2 sets of data with set1 contains 1st 2 records(records with quantity & "with SGRP1 & SGRP2") & set2 contains 3rd record (record with price & with SGRP 0000).
    As they are not falling within same set of data, above 3 functions are not working for me.
    If i include Sales Group in the "fields to be changed", I'll have to specify a value which incase is dynamic & varies for each material.
    hope am clear & appreciate if you have any other ideas.

  • Reports with only key figures?  How to layout?

    Hi anyone,
    Could you kindly advise?  I have a financial report which is about 20 key figures ex. Sales, Cash discounts, Revenue from operations, Gross Margin, Operating profit and Overheads % of sales... 
    For each of these areas I need to have 9 seperate numerical values:
    Actual value (by month)
    Last Year value (by month):
    Budget value (by month)
    Actual value ( year to date)
    % of sales (ytd)
    Last year value (ytd)
    Budget value (ytd)
    Full  yr value (full yr)
    Budget value (full yr)
    This can lead to 20keyfiguresX9timeperiods = 180 numbers in the report.  As I don't have any characteristics, it seems I'll end up with a very very long row..  Has anyone experience fixing this sort of issue?

    Hi
    Sorry for the earlier post for not explaining...
    There are two ways you can do.
    First way is meddling with the modelling....
    Create 9 infoobject charecterisitcs with CHAR TYPE NUM  and feed them with the key figures timeperiods thru update rule routine......Use this 9CHAR -> fed by kfs into Cube and you can use 2 structures...as far as the system is concerned you are using one structure of kf and one for chars.......
    Second way...if ur using BEx  you can think of Macros
    Regards
    N Ganesh

  • Reference Key in dynamic selection in FBL5N

    Hi,
    I want to produce output in FBL5N based on Reference Key (AWKEY). However, this field is not available in the dynamic selection of Customer Line Item.
    Does anyone know how I can add this field in the dynamic selection screen? 
    Help much appreciated.
    Thanks!
    -Charlene

    Hi,
    U want the reference key field for the line item when u
    execute the Customer Line item display (If the reference field is in the
    layout then why u want that field again in the dynamic selection,
    only u need the output at the time of the execution, so i suggest
    u, not to get in to problems by creating all programmes)
    just execute FBL5N
    then in the header, see the layout.
    there are some hidden files so select the hidden
    reference key and select show items, copy
    then it will show on the line item.
    if u want this reference key regularly with out selecting the layout
    when u execute FBL5N,then  save the layout with this field.
    Regards,
    Padma

  • Can I write in the layout  in any Key figure something else then number ?

    Hi
    (sem - bps)
    Can I write in the layout  in any Key figure something else then number ?
    Let say I want to right in the key figure number with CHAR (the letters a-z)
    Can I do so ?
    Can a key figure  has char other then number ?

    no i can't , because the user want to assign a characteristic ,for example (the layout) :
    0employye  0amount 0project
    P1211111   1000   #
    after the user will assign :
    0employye  0amount 0project
    P1211111   1000   ea-5819
    can the user assign 0project ?
    the current solution i mange to build was :
    a variable with 2 characteristic 0employee & 0project
    and with user exit i move the values to Variable
    ,and in the fox i use substr to split the variable ,
    the code is :
    FUNCTION Z_REFERNCE_RELATION_EMPL_ITER.
    ""Local Interface:
    *"  IMPORTING
    *"     REFERENCE(I_AREA) TYPE  UPC_Y_AREA
    *"     REFERENCE(I_VARIABLE) TYPE  UPC_Y_VARIABLE
    *"     REFERENCE(I_CHANM) TYPE  UPC_Y_CHANM
    *"     REFERENCE(ITO_CHANM) TYPE  UPC_YTO_CHA
    *"  EXPORTING
    *"     REFERENCE(ETO_CHARSEL) TYPE  UPC_YTO_CHARSEL
    CONSTANTS:
      l_source_var TYPE upc_y_variable VALUE 'YPABONUS',
      l_source_area TYPE upc_y_area VALUE 'PAPFMAIN',
      l_use_restricted_values TYPE boole-boole VALUE 'X',
      l_buffer_call TYPE boole-boole VALUE 'X'.
    DATA:
      l_subrc LIKE sy-subrc,
      ls_return LIKE bapiret2,
      l_type LIKE upc_var-vartype,
      lto_varsel_all TYPE upc_yto_charsel,
      lto_varsel TYPE upc_yto_charsel,
      lto_var TYPE upc_yto_charsel,
      lto_chanm TYPE upc_yto_cha.
    * Xth_data os type 'YTH_DATA' (see SE11) .
    TABLES : upc_var_cha_act.
      DATA : wa  TYPE  upc_var_cha_act.
      DATA : my_it2  type table of upc_var_cha_sel,
             my_it3  type table of upc_var_cha_sel,
              wa_1 like line of my_it2,
              wa_3 like line of my_it3,
              wa_2 like line of eto_charsel.
    SELECT  *
       into corresponding fields of table my_it2
      FROM upc_var_cha_sel
      WHERE area EQ 'PAPFMAIN' AND
            var  EQ 'YPABONUS' AND
            varuser EQ sy-uname AND
            chanm EQ '0EMPLOYEE' .
    sort my_it2 by seqno.
    loop at my_it2 into wa_1 .
    clear wa_2.
    move-corresponding wa_1 to wa_2.
    append wa_2 to  eto_charsel.
    endloop.

  • Line layout option for G/L account

    Dear All,
    When we clear G/L account using tcode F-03, we get line layout as
    Assignment, document no, document type, Posting key, posting date, amount.
    I want to add  material number column to this line layout.
    1. I tried using  IMG -> Fi-> AR/AP -> Vendor accounts->Line items-> Open item processing -> define line layout
    Here we cannot add material in line layout, because fields are extracted from structure RFOPS.
    MATNR(material number) field is exist in table BSEG, not in structure RFOPS. So we cannot add MATNR field in Line Layout here.
    2. In this path, IMG -> FI -> G/L accounting -> Buisnes stransactions->open item clearing -> Make settings for processing open items ->  Here we do not have option to change line layout for clearing of G/L account. Here we can change it for diaply and change documents.
    Could any one help me in this case?
    Thanks in Advance!
    Regards,
    Nidhi

    Hi Nidhi,
    1.Please refer to note: 647773 and note:693288 if you want to make another field available in open line items seletion screen. these are modification notes.
    2.as far as I confirmed in sap testing systems( release 470 and 600), there is create and change button existed, so if you don't have change and create button available in T-cd:O7Z1, I guess that you don't have the change or create authorization.
    Addition if you want to maintain default value in T-cd:07V1, please double click the layout,then you can define it.
    WIth Best Regards,
    Gladys xing

  • O7Z4 - Line Layout in F-03, Administrator setting

    Hi,
    1. We have a layout in O7Z4, which we use in F-03.. There are many fields in that layout so all are not invisible in one go.. For this I need to go to the Configuration tab at the right hand side of the Open item display page and make fields visible which I want to see.
    I did that and the fields are visible also..but the Reference Key3 field which I chose, shows blank and does not show any value, whereas the data exists in that document No.
    2. In addition to this, even if at the selection screen, I give Reference key 3 field in F-03, first screen in additional selections, system shows "No Open items available" even though that Document No. has postings with Ref key 2 field with the same value that I am entering as an input.
    Does anyone have any idea as to what could be the issue.. Why system is not reading Reference key 3 field from Additional selections.
    Regards,
    SAPFICO
    Edited by: SAPFICO on Mar 23, 2011 3:08 PM

    Hi Deepak,
    Thanks for your reply. But do you know what is the exact size that SAP allows..
    Because I decreased the size of the text and tried to insert Posting key of two charachters but even then it was not showing. It shows maximum 11 fields in display.
    But it allows to configure maximum 15 items in O7Z4.
    If you have any idea, please let me know.
    One more thing, if you go to configuration, and adjust the basic setting variant, in xn cofr f-03 then you will be able to see all the fields. But it does not come as default.
    SAPFICO

Maybe you are looking for

  • Reporting tab is not shown in the console

    hi everyone the reporting tab is not shown in the service manager console, the topology i am using is 2 servers [one for DW and the other for management server] both servers have their SQL server installed on each one, could you please tell me how i

  • Can anyone please advise how I 'enable' extensions in Safari 5.0.6. on an iBook G 4?

    Hi, can anyone please advise me how I  'enable' extensions in Safari 5.0.6. I have an iBook G4? and secondly,  is there anyway I can update from 10.5.8 Mac OSX on my iBook G4 ? I am a complete novice. Many thanks. thall3

  • Cannot print photos in iPhoto-says I need a theme?

    When I enter iPhoto, select 4 photos that I want to print, then click File>Print, a window pops up that says 'No Avaliable Themes'- There were no themes located.  Until at least one theme has been installed, this feature will be unavaliable.    What

  • Serious issue in discoverer viewer

    Dear all, I have serious issue with discoverer viewer 9.0.2.53 version. I am in need of displaying lengthy worksheet in discoverer viewer,i am using crosstab format. my client wants to compare the datapoint value of worksheet with leftside drillup/do

  • Avoid outbound delivery split creation during GI

    Hi guys, Every time we perform a GI in /SCWM/PRDO for a partial picking, the system creates a delivery split, leaving the rest for the original delivery. I want to avoid the delivery split! The operators have a procedure to check the warehouse tasks