How to populate the Referance Field Through the Auto Invoice in credit memo

HI ,
I m populating the records in RA_INTERFACE_LINES_ALL and creates the cr Memo through the Auto Invoice ,
but i m like to populate the Referance Field which is exist in Header part of the Cr Memo (Benith the TYPE).
So plz help me,
that which column of the RA_INTERFACE_LINE_ALL populates ,that gave me a data in the Referance Field .
However this referance field is carried out from the table.Column =RA_CUSTOMER_TRX_ALL.ct_reference
Plz Help..
Regards,
DK

what you did?

Similar Messages

  • How to populate data in fields from the same cube

    HI Gurs,
    Need some help. I have a cube it has 11 key figures . Data for 7 of those is coming from another cube for rest of the 4 we need to calculate from two of those 7 fields. e.g.
    Field 1= Field2(First Cube) - Field3(FirstCube)
    Field4= Field5(FirstCube)/1.5
    Field 6 = Field1 / Field4
    I need to pupulate field 4 in the final cube.
    How can I achieve this?
    Can anyone please suggest anything?

    Hi Ray,
    One is as suggested by surendra i.e to populate thru End routine,take help of an ABAPer and do it.
    Else just add the new 4 KF  in the New Cube i.e Cube 2 and in the Individual Routine /Field Routine you can write the same Formula in the  Result of it.Say,For Fields 1 you have to have Field 2,Field 3 and Field 5 as input ,which you hvae include manually in the Individual/Field Routine.
    In Result for Field 1= Field2(First Cube) - Field3(FirstCube)
    In Result for Field4= Field5(FirstCube)/1.5
    In Result for Field 6 = (Field2(First Cube) - Field3(FirstCube) / Field5(FirstCube)/1.5)
    Hope you got it ....
    Rgds
    SVU123

  • How to resize the text field through the expression?

    It is necessary that another layer was at 150 pixels to the right of the right side of the text field.

    PACK
    Syntax
    PACK source TO destination.
    Effect:
    This statement, which is forbidden in classes, converts the content of the data object source to the data type p of length 16 without decimal places. In contrast to the conversion rules for elementary data types, a decimal separator in source is ignored. This assigns the converted content to the data object destination.
    The data type of source must be character-type, flat, and its content must be interpretable as a numeric value. The data type of destination must be flat. If destination has the data type p, the interim result is assigned to it from left to right. Surplus characters are cut off on the left, and the decimal places are determined by the data type of destination. If destination does not have the data type p, the interim result is converted to the data type of destination according to the rules in the conversion table for source field type p.
    Notes:
    The function of the statement PACK is based on the second half-byte of the code corresponding to a character in most character representations of the BCD representation for the corresponding numeric value. This compilation is generally known as "packing".
    If the source field contains a number without a decimal separator, and the target field has dobj2 of data type p with sufficient length and without decimal places, the result of the PACK statement (which is forbidden in classes) corresponds to the result of the statement MOVE.

  • The New Field in the FBL5N/FBL1N doesn't appear

    Hi guys,
    I created an APPEND STRUCTURE with the NAME1 field in the table RFPOS and through the transaction FIBF an Event that calls a Function and move the Name of Customer or Supplier according to the transactions FBL5N or FBL1N.
    This field, NAME1, should appear in these transactions when the user choices the hidden fields through the Change Layout button. But this field doesn't appear...
    I debbuged the Function Module and the data have been moved. (It works...)
    Please, someone did it before and could help me to solve it?
    Why doesn't the Field NAME1 appear? What could I do??
    Thanks a lot!
    Regards,
    Marcos Fernando Dotta

    Hi
    The new fields have to be appended in the structure RFPOSX too, and then you need to run the program RFPOSXEXTEND in order to add the new fields in layout structure RFPOSXEXT
    Max

  • How to populate the payment block through the BAPI_INCOMINGINVOICE_CREATE

    Hi,
    I am trying to create the incoming invoice through the BAPI (BAPI_INCOMINGINVOICE_CREATE) .
    In MIRO transaction when i create the Invoice without any tax , the <b>payment block shows free for payement</b> . How to give create the invoice with the following condition through the BAPI (BAPI_INCOMINGINVOICE_CREATE) .  when there is Tax : The payment block = 'R' (Invoice verification) .
    No Tax                : The payment block = ' ' (Free for Payment).

    But everytime the invoice is created the Payment block is set to 'R' even if the Tax is not given.
    Following i am populating
    <b>Header Structure:</b>
    <b>Test                   Value Description                      PI Header Data Fields</b>
    ‘X’                Invoice Indicator     HEADERDATA-INVOICE_IND
    SPACE                Document Type     HEADERDATA-DOC_TYPE
    05-11-2006           Document Date     HEADERDATA-DOC_DATE
    17-11-2006           Posting Date                     HEADERDATA-PSTNG_DATE
    123456-B1                Ref Document Number     HEADERDATA-REF_DOC_NO
    9001               Company Code     HEADERDATA-COMP_CODE
    7006924               Vendor Number     HEADERDATA-DIFF_INV
    BRL               Currency                     HEADERDATA-CURRENCY
    BRL               Currency                     HEADERDATA-CURRENCY_ISO
    10000               Gross Amount      HEADERDATA-GROSS_AMOUNT
    05-11-2006          Baseline ate                     HEADERDATA-BLINE_DATE
    DD               Header Text                     HEADERDATA-HEADER_TXT
    0001               Payment Terms     HEADERDATA-PMNTTRS
    123456-B1               Ref Document Number     HEADERDATA-REF_DOC_NO
    Z1               NF Type                       HEADERDATA-J_1BNFTYPE
    space               Payment Block Key      HEADERDATA-PMNT_BLOCK
    <b>For Item Structure:</b>
    <b>Test Data     Description            BAPI Item Data Fields</b>
    000001                     Invoice Item           ITEMDATA-INVOICE_DOC_ITEM
    4500021387     Purchase Order Number   ITEMDATA-PO_NUMBER
    0010                     Purchase Order Item           ITEMDATA-PO_ITEM
    Z1                     Tax Code                           ITEMDATA-TAX_CODE
    SP 50308                     Tax Jurisdiction Code           ITEMDATA-TAXJURCODE
    10000                      Item Amount           ITEMDATA-ITEM_AMOUNT
    200                      Item Quantity           ITEMDATA-QUANTITY
    EA                      Purchase Order Unit           ITEMDATA-PO_UNIT
    Can u please tell me what is the mistake or any other ways of populating the Payment block.
    Always the payment block is 'R' in MIR4 transaction even if i give space in the BAPI

  • How do I use GarageBand as a amp/speaker to listen to my Electronic Drum set? I have a MIDI-USB cord already but I can't figure out how to listen to my set through the software using my computer speakers?

    How do I use GarageBand as a amp/speaker to listen to my Electronic Drum set? I have a MIDI-USB cord already but I can't figure out how to listen to my set through the software using my computer speakers?

    If you want to listen to the sounds of your drum set, you should use an audio cable and connect it to the computer's line-in, then create a real instrument track.
    If you use a Midi/USB interface, you'll have to create a software instrument track and select one of GB's drumsets as the instrument. Hopefully your drumset's midi notes are mapped to the right sounds in GB.

  • How to add the date field in the dso and info cube

    Hi all.
    I am new to bi 7. in the earlier version v hav to button to add the date field. but in the bi 7 der is no option so can any body tell me how to add the date field in the data targets
    Thanks & Regard
    KK

    my prob is solved
    KK

  • How can I get the "text" field from the actionEvent.getSource() ?

    I have some sample code:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.util.ArrayList;
    public class JFrameTester{
         public static void main( String[] args ) {
              JFrame f = new JFrame("JFrame");
              f.setSize( 500, 500 );
              ArrayList < JButton > buttonsArr = new ArrayList < JButton > ();
              buttonsArr.add( new JButton( "first" ) );
              buttonsArr.add( new JButton( "second" ) );
              buttonsArr.add( new JButton( "third" ) );
              MyListener myListener = new MyListener();
              ( (JButton) buttonsArr.get( 0 ) ).addActionListener( myListener );
              ( (JButton) buttonsArr.get( 1 ) ).addActionListener( myListener );
              ( (JButton) buttonsArr.get( 2 ) ).addActionListener( myListener );
              JPanel panel = new JPanel();
              panel.add( buttonsArr.get( 0 ) );
              panel.add( buttonsArr.get( 1 ) );
              panel.add( buttonsArr.get( 2 ) );
              f.getContentPane().add( BorderLayout.CENTER, panel );
              f.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
              f.setVisible( true );
         public static class MyListener  implements ActionListener{
              public MyListener() {}
              public void actionPerformed( ActionEvent e ) {
                   System.out.println( "hi!! " + e.getSource() );
                   // I need to know a title of the button (which was clicked)...
    }The output of the code is something like this:
    hi! javax.swing.JButton[,140,5,60x25,alignmentX=0.0,alignmentY=0.5,
    border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@1ebcda2d,
    flags=296,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,
    disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2,left=14,bottom=2,
    right=14],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=true,
    rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=first,defaultCapable=true]
    I need this: "first" (from this part: "text=first" of the output above).
    Does anyone know how can I get the "text" field from the e.getSource() ?

    System.out.println( "hi!! " + ( (JButton) e.getSource() ).getText() );I think the problem is solved..If your need is to know the text of the button, yes.
    In a real-world application, no.
    In a RW application, a typical need is merely to know the "logical role" of the button (i.e., the button that validates the form, regardless of whether its text is "OK" or "Save", "Go",...). Text tends to vary much more than the structure of the UI over time.
    In this case you can get the source's name (+getName()+), which will be the name that you've set to the button at UI construction time. Or you can compare the source for equality with either button ( +if evt.getSource()==okButton) {...}+ ).
    All in all, I think the best solution is: don't use the same ActionListener for more than one action (+i.e.+ don't add the same ActionListener to all your buttons, which leads to a big if-then-else series in your actionPerformed() ).
    Eventually, if you're listening to a single button's actions, whose text change over time (e.g. "pause"/"resume" in a VCR bar), I still think it's a bad idea to rely on the text of the button - instead, this text corresponds to a logical state (resp. playing/paused), it is more maintainable to base your logic on the state - which is more resilient to the evolutions of the UI (e.g. if you happen to use 2 toggle buttons instead of one single play/pause button).

  • How to use the separate symbol in the text field in the adobe form.

    Hi,experts,
    I don’t know how to use the separate symbol to make a paragraph separate into several lines correctly in the text field in the adobe form.
    Action:
    1. config the ADS successfully.
    2. create the adobe form with a mult-line textfield(binding the 'remark' context in the interface of the form) using sfp.
    3. create a WDA for invoke the form and transfer the 'remark' context data.
    I use the following codes to display the paragraph in the PDF document:
    CONCATENATE
    '1&#12289;aaaaaaaaaaa&#65307;'
    '2&#12289;bbbbbbbbb '
    '3&#12289;ccccccccccc'
    '4&#12289;ddddddddd'
    INTO remark .
    lo_nd_z_hr_php_payslip->set_attribute(
    EXPORTING
    name = `REMARK`
    value = remark ).
    But I found all the content aren't paragraph separate correctly in the text field in the adobe form when I run the WDA.
    Could you please give me some hints to make the paragraph separate correctly in PDF document? Thanks a lot in advance!
    My email is : [email protected]
    Best regards,
    Tao
    Edited by: wang tao on Apr 8, 2008 1:58 AM

    Hi,
    If it is just a one word value then you could use this in the exist event;
    this.rawValue    
    = util.printx(">?<*",this.rawValue);
    This changes the first character (represented by the ?) to uppercase (represented by the >) and all trailing characters (represented by the *) to lowercase (represented by the <).
    If you wanted something more general ... if they could also enter a middle name then you could call a function like;
    function        toTitleCase(textValue)
      return  textValue.toLowerCase().replace(/\b[a-z]/g, function replacer(match) { return match.toUpperCase(); });
    This uses a regex to change all lowercase letters following a word boundary to uppercase.
    Bruce

  • HT202157 How can I access my computer through the Apple TV unit?

    How can I access my computer through the Apple TV

    Welcome to the Apple community Nopasswords.
    Apple TV > computers.
    The following article(s) may help you.
    Understanding Home Sharing
    Setting Up Home Sharing On A Computer

  • How to add an input field in the web UI of CRM 2007

    Hi everybody.
    I want add an Input field in the Web UI Screen. How it is possible.
    I want get the information with detailed descriptions if possible with screen shorts.
    What type of methods it will be generated and what are the code we entered in those methods.
    Take according to any example. But with detailed description.
    I am new for the CRM 2007. So, please give the screen shorts with proper data.
    Not only adding the field. If any data i entered in the adding field then that will be stored in the tables otherwise no use by adding the field.
    So, Can anybody please send a proper information according to this.
    Here another one How to Add our own table (Ztable) field in the Web UI Screen.
    How to add the same field in the BOL.
    Please expalin about those concepts with full of screen shorts messages.
    Thank You.
    Regards,
    Krishna.

    If you want to add extra standard fields (like one you mentioned), you can use Component Workbench and Copy the configuration and create your own configuration and make the "Available Fields" appear there.
    If the standrd field is not available, you can Add Context Node using wizard and make it visible.
    If its a custom field (a new one); you will have to use EEWB and add the fields and then make it visible in the UI using Component Workbench.
    Regards,
    Alin

  • How to add a custom field to the "Projects" page "Group by" data menu list

    Hi,
    I'm deploying Project Online and I want to group projects by a custom field on the "Projects" page. Currently I can see options for group by Project Name, Start, Finish, % complete etc. I would like to group by a custom field of programme name
    which is filled in on the Project Details form.
    I can create the enterprise field etc, however I can't work out how to make the new enterprise field appear in this list. Or am I barking up the wrong tree and should be creating separate Project Types for each programme?
    Any help an advise greatly appreciated.
    Regards,
    Conrad

    Hello, add the programme field to the Project Center view then it will be available to group by. Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS

  • How to add a new field in the Field Mapping

    Dear Freinds,
                   I have two un used fields in the  Source fields to the Target Fields ,
    i have to add the 3   fields which r there in the my source fields to that
    of the target fields ( as per the change in the requirement) in the 5th Step
    i.e Maintain Field Mapping and Conversion Rules
    the Target strucutre & the Source fields( by clicking the button
    Source field and selcting the fields from the popup menu) in the mapping and conversion step  ,i want to  add  3 fields which are availabe in the list of th source list  which i want to map to the Target strucutre  .
    When i tried it is adding in the othe target field
    presently i have mapping (5th sept ) as below.
       ZPA30_08                       LSMW
           Fields
               TABNAME                      Table Name
                                   Source:  ZP0008_STRC-PERNR (Personnel Number)
                                   Rule :   Default Settings
                                   Code:    ZPA30_08-TABNAME = 'ZPA30_08'.
               TCODE                        Transaction Code
                                   Rule :   Default Settings
                                   Code:    ZPA30_08-TCODE = 'PA30'.
    now i want to add 3 fields Pernr,wage type and Amount  , but when iam trying it is
    getting and saved in the TABNAME .
    How can i map please let me know .
    Regards
    syamla

    Hi,
    So you need that this new field have data in old records?
    1.- If you are in BI 7.0 and the logic or data for that New field are in the same Dimension, you can use a Remodeling to fill it. I mean if you want if you want to load from a Master Data from other InfoObject in the same Dim.
    2.- If condition "1" is not yours.
    First add the new field, then create a Backup Cube (both cubes with the new field) and make a full update with all information in the original Cube. The new field willl be empty in both cubes.
    Create an UR from BackUp_Cube to Original_Cube with all direct mapping and create a logic in the Start Routine of the UR (modiying the data_package) you can look for the data in the DSO that you often use to load.
    To do that both cubes have to be Datasources ( right click on Cube-> aditional function-> and I think is "Extract Datasource")
    Hope it helps. Regards, Federico

  • How to add a Custom field in the Standard SAP Sales Order main screen

    Dear Experts,
    We have a requirement of adding a Custom field in the Sales Order screen. I know how to add the Customer field in the Additional data B tab of the Sales Order Header Screen as that is the screen user exit provided by SAP. Can someone tell me how to add the Custom field in the Sales Order main screen. Program Name - SAPMV45A and Screen Number - 4001. What is all I need to take care.
    Thanks,
    SNK.

    I have not added the Custom filed in the main screen and added in the Additional data B screen. So closing the message.

  • How to get the value field of the return parameters for an action step in teststand sequence file programatically using c#

                    Sequence mySequence = myEngine.NewSequence();
                    mySequence.Name = "myAction";
                    //Create new step of type Action and set Name
                    Step mystep = myEngine.NewStep(AdapterKeyNames.DotNetAdapterKeyname, StepTypes.StepType_Action);
                    mystep.Name = "GetStringObject";
                    //Obtain the code module from the step
                    DotNetModule myModule = mystep.Module as DotNetModule;
                    //Set properties of the module
                    myModule.SetAssembly(DotNetModuleAssemblyLocations.DotNetModule_AssemblyLocation_File, @"C:\Documents and Settings\My Documents\Visual Studio 2005\Projects\HelperClass\HelperClass\bin\Debug\HelperClass.dll");
                    myModule.ClassName = "Class1";
                    myModule.MemberType = DotNetModuleMemberTypes.DotNetMember_GetProperty;
                    myModule.MemberName = "StringObject";
                    mySequence.InsertStep(mystep, 0, StepGroups.StepGroup_Setup);
                    mySequence.Locals.NewSubProperty("StringObject", PropertyValueTypes.PropValType_Reference, false, "", 0);
                    DotNetParameterDirections reference = mySequence.Locals as DotNetParameterDirections;
                    mySequence.Locals.GetPropertyObject("StringObject", 0);
                    myModule.ClassReference = "Locals.StringObject";
                    myModule.LoadPrototypeFromMetadataToken(385875969, 0);
    After this I am not able to proceed.herewith attached documents contain screenshot of teststand file marked red is to be solved. How to define the value field of the return parameters?
    Attachments:
    HelperClass.cs ‏1 KB
    ex1.gif ‏2305 KB

    Please see my answer to your question on page two of the following forum thread:
    Programmatically generating DotNet Steps in TestStand
    Manooch H.
    National Instruments

Maybe you are looking for

  • My iPhone 4s won't turn on. The lock button is broken and I already tried plugging it into a power source

    I dropped it and it turned off. When the lock button worked I could just press the home and lock button down and the apple icon would appear. What do I do now? I already tried plugging it into my computer. Thanks!

  • Find and replace string in a file using batch script

    I am writing a batch script to replace " ", with " ". The below code works but it prefixes each line with the line number and :. It is the last part of the line that I am trying to replace. E.g. " ","BALANCE_SHEET ","ASSETS ","03","LEVEL_2 ",Asset Ac

  • IPad 3rd generation

    Everything is sharper on the iPad 3rd generation... but I need to know how to get the crisp white thst the iPad 2 displays. Te iPad 3 has a distinct or pronounced yellowish haze tone to white objects and affects all other colors as well. It is not th

  • I can't update OS5 on Ipad!

    I am trying to update IOS5 on my Ipad.. But every time I try to do so, it says "The Ipad software update server could not be contacted"... I am using Windows 7 and I have no idea how to fix this. I have tried using Apple Support, but that didn't work

  • My ipad will not open the app store...any suggestions?

    My ipad will not open the app store...I have turned it off and back on and it still just says loading and does nothing.