Intrastat Output File doesnot contain VAT number and Document Number

Hi experts,
While creating a output file from Intrastat Dispacth, I am not getting Document number and VAT number in output file.
I can see the Document number in Display of selection log.
Can someone help me?
Thanks
Arpit

Hi,
Try the enhancement FTGOVSEL.
In the userexit EXIT_SAPLV50G_002, in the include ZX50GU02, write this coding (for the VAT number)
if c_record_intrastat-kundeuinr is initial.
   select single * from kna1
     where kunnr = c_record_intrastat-kunnr.
     if sy-subrc = 0.
        c_record_intrastat-kundeuinr = kna1-stceg.
     endif.
endif.
Remember update the VAT number in the customer (in this case).
I hope this help you
Regards,
Eduardo

Similar Messages

  • HT203433 How do I retrieve an app that I bought.  The icon is in my library.  But the program isn't in my device. When I look in the file that contain the app and try to open it,  It doesn't open.

    How do I retrieve an app that I bought.  The icon is in my library.  But the program isn't in my device. When I look in the file that contains the app and try to open it, it doesn't open.

    Howdy Hestersfree,
    This can be done through the App Store on the device that you'd like the app installed on.
    Apps on iOS
    Open the App Store on your device.
    Make sure you are signed in with the same Apple ID used for the original purchase.
    Tap Updates from the bottom navigation bar. 
    Tap Purchased on the resulting screen.
    Locate the app in your Purchased tab.
    Tap the download button.
    The app will begin downloading and you'll be taken back to your home screen. 
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    http://support.apple.com/kb/HT2519
    Cheers,
    Allen

  • How should I create JAR file which  contain JMF library and project classes

    Hi,
    I installed the JMF windows pack. I compiled and ran successfully myApplet (which use JMF librarie) in Internet Explorer on my machine. When I run this applet on some different machine, where JMF isn�t installed- it�s not running.
    There is an error:
    java.lang.NoClassDefFoundError: javax/media/ControllerListener
    I was trying to create jar file, which contain librarie JMF.jar and all other files which are require to run myApplet (*.jar, *.class, the files from folder �MyApplet�) and run it on the other computer. It still doesn�t work.
    Also I ran a JMF Customizer and created customize.jar but this file contains only JMF classes. I don�t know how add other files to it.
    How should I create a jar file which will contains all essential files to run myApplet on other machine (something like �All In One� J )
    I�m using Eclipse.
    Can somebody help me?.
    Thank You!
    Best regards:
    Peter

    Hi
    i want to make a jar file of application which is using JMF to play audio
    and video. it works well during compilation and execution but doesn't
    works in jar file.
    please help me how i make a jar file whic will run audio and video too
    your's truely
    abdul

  • Photobook cannot printed. FIle sent contains images shift and without color

    I have tried to buy a photobook, but everytime that I sent the order I always got an e-mail telling me that the order cannot be printed because:
    "Upon shipment of your order, there was an error and the image file can not be printed. The file received contains shifted images or without color."
    They gave me the following suggestions:
    a) to update my MacOSX software, but I got already Lion.
    b) to update iPhoto software, but I got iPhoto '11 (version 9.1.5) and I cannot find new version.
    I tried to make the .pdf preview sometimes I can see the problem too, but sometimes the file looks perfect, so I have placed the order but without any luck.
    I have contacted the Italian Apple Assistance Center they told me that it could be due to the effects given to the pictures, but I didn't use any strange effects.
    To give you more details I have used a Canon EOS500D camera
    Honestly I am facing this problem since I have upgrade my MacOSX to Lion.
    Any suggestions?

    Hello,
    Are you using a macbook air?
    I have the same problem, but only on the air and not on the imac.
    I already tried two different airs, both have the same problem.
    I just started a similar thread: https://discussions.apple.com/thread/3354990?tstart=0
    Best regards
    Ben

  • How to create a table which contains relational data and Document data

    hai all
    i need to create a table which contains relational data(i mean coulumns whose data types are type NUMBER,VARCHAR) and documents(like xml file/html file/image)using iFS.
    when i store the document data(xml data/html data) in the iFS ,it will be stored as Document Object.so how do i relate this document object belongs to a particular row in a table.
    do guide me
    thanks

    Please see reply at http://technet.oracle.com:89/ubb/Forum36/HTML/000778.html

  • If someone steal files that contain master password and website username&password ....

    can he/she decrypt those files and get my website user name and password??

    It depends on the strength of the master password.
    There are programs available to crack passwords, a common method used is either brute force or dictionary attacks. If you have a weak master password, such as a word, password cracking applications will probably be able to crack the master password, giving somebody access to your other passwords. If you use a strong master password that contains a mixture of upper and lower case letters, numbers and other characters, it will be very difficult to crack, and will likely take a prohibitively long time.

  • VAT tax and document types

    Hi,
    how can I enable an FI document type  to use a particular tax code ?
    Best regards

    I dont believe you can do this as standard.
    You can default a tax code per GL account though.
    This is defined in the GL master - but it will relate to all postings for the GL account, and not against a specific document type

  • How to get required tags and name spaces in the output File?

    Hello,
    I am doing IDOC to File sceanrio and I am able to get the file but the problem is that I am unable to get the required tag names. Out put file is having  ns0 ns1 and so on..
    Eg:
    ns2:MaterialDefinitionProperty><ns2:MaterialDefinitionProperty><ns2:ID>CU_NET_WEIGHT</ns2:ID></ns2:MaterialDefinitionProperty><ns2:MaterialDefinitionProperty><ns2:ID>EAN_SKU</ns2:ID></ns2:MaterialDefinitionProperty><ns2:MaterialDefinitionProperty><ns2:ID>CUPerCase</ns2:ID>
    and so on..
    Source structure is IDOC
    Target structure is External Defination imported with references.
    How can I get the output file with the exact namespaces and tags as imported through External Definations.
    Thanks in Advace.

    HI! Rajeev,
    I have gone through this forum and we having 100% same to same requirement here in my project.
    We want this at the top of the Output Payload..
    <?xml version="1.0" encoding="UTF-8" ?>
    - <SyncMaterialDefinition xmlns="http://www.siemens.com/ad/mes/b2mt-1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:bml="http://www.wbf.org/xml/b2mml-v02" xmlns:sit="http://www.siemens.com/ad/mes/b2mml-v02-SITExt-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:oag="http://www.openapplications.org/oagis">
    - <oag:ApplicationArea>
    and also isome part of payload nstead of    ns0:  and ns1:
    we want it as below for some part of same output payload
    <oag:ApplicationArea>
    - <oag:Sender>
      <oag:LogicalId>SAP</oag:LogicalId>
      <oag:Component>PMConnector</oag:Component>
      <oag:ReferenceId />
      <oag:Confirmation>Always</oag:Confirmation>
      </oag:Sender>
      <oag:CreationDateTime>2009-06-14T22:23:29.42Z</oag:CreationDateTime>
    </bml:MaterialDefinitionProperty>
    - <bml:MaterialDefinitionProperty>
      <bml:ID>XXXXXXX</bml:ID>
    - <bml:Value>
      <bml:ValueString>0.0</bml:ValueString>
      <bml:DataType>string</bml:DataType>
      <bml:UnitOfMeasure>n/a</bml:UnitOfMeasure>
      <bml:Any />
      *</bml:*Value>
    Check the above code how we want but we are getting in normal way .
    Could you please review this and guide me in detailed way how to do in a step by step manner if possible by taking my above payload condition.
    Regards:
    Amar Srinivas Eli

  • Is there any way to display a file that contains text and pictures

    Hi all,
    I was wondering if java has any way to display a file that contains both text and pictures. I have tried using the RTFEditorKit and using an RTF file and it only diplays the text contained in the file and omits the pictures all together.
    code:
    import java.awt.*;
    import java.io.*;
    import javax.swing.*;
    import javax.swing.text.rtf.RTFEditorKit;
    public class Test
         JScrollPane scroll;
         JEditorPane edit=new JEditorPane();
         RTFEditorKit kit=new RTFEditorKit();
         public Test()
              final JFrame frame = new JFrame();
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         edit.setEditorKit(kit);
         edit.setEditable(false);
         try
              kit.read(new FileReader(new File("Installation.rtf")),edit.getDocument(),0);
              catch(Exception e)
                   JOptionPane.showMessageDialog(null, e);
         frame.getContentPane().add(new JScrollPane(edit));
         Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
              frame.setBounds(0,0,screenSize.width, screenSize.height);
         frame.show();
         public static void main(String[] args)
    new Test();
    Please help!
    thanks in advance,
    Denise

    Not good as that usually means the project itself was corrupt.
    Any chance you sync'd to Creative Cloud? That's the only way I know of that backs up your PS Touch (PSDX) files.

  • How to fix the length of the output file

    hi,
    I have 1000 records in my source table which need to be inserted into file. But the length of the rows in my file should be only 500 i.e there should be two files getting created for this 1000 records i.e my each output file should contain only 500 rows not more than that.
    Depending on the number of records present in the source, the file getting created will be varying as my file should contain only 500 rows each. for ex: if 5000 rows are present then 10 files need to be created.
    How this can be achieved in ODI.
    Thanks in advance

    I believe this can achieved using jython easily .
    Here is a sample output code
    Command on Source - Select database Technology and required logical schema
    Command on Target - Jython
    import java.sql as sql
    import java.io as io
    import string,re
    import java.lang as lang
    import java.text as text
    myCon = odiRef.getJDBCConnection("SRC")
    myStmt = myCon.createStatement()
    my_query="SELECT * FROM  SCHEMA.TABLE_NAME "
    file_count=1
    i=1
    myRs = myStmt.executeQuery(my_query)
    writer=io.BufferedWriter(io.OutputStreamWriter(io.FileOutputStream('c:\\FILE_'+str(file_count)+'.csv')))
    md=myRs.getMetaData()
    collect=[]
    while (i<= md.getColumnCount()):
        collect.append(md.getColumnName(i))
        i+=1
    header=','.join(map(string.strip,collect))
    #writer.write(header+'\n')
    myRs = myStmt.executeQuery(my_query)
    md=myRs.getMetaData()
    myRs.setFetchSize(5000)
    i=0
    while (myRs.next()):
        j=1
        col=[]
        while (j<= md.getColumnCount()):
            col_type=md.getColumnTypeName(j)
            col_name = myRs.getString(md.getColumnName(j))
            if col_name is None:
                col_name= ''
            col.append(col_name)
            j+= 1
        data=','.join(map(string.strip,col))
        writer.write(data+'\n')
        #print data+ '\n'
        i +=1
        if (i == 500):
            writer.flush()
            writer.close()
            file_count +=1
            writer=io.BufferedWriter(io.OutputStreamWriter(io.FileOutputStream('c:\\FILE_'+str(file_count)+'.csv')))
            i=0
    writer.flush()
    writer.close()
    myCon.close()Please run this code and let me know if you need any other help or modification to get your desired results.

  • How to read a line from a file which contains 45000 characters?

    Hi all,
         Iam a receiving a .CSV file which contains n number of rows ,each row has a data seperated with delimiter.
    These values based on delimiter it is seperated and certain validations are handled.
    Iam using UTL_FILE.GET_LINE operator to read the value and store it in a variable which is declared as l_text VARCHAR2(30000).
    when we receive a line which contains huge characters say 45000 then it throws an error(Unable to read the file).
    Only on rare cases we used to receive these kind of files with huge size.
    Kindly help to solve this issues.
    Database details.
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE 11.2.0.2.0 Production
    TNS for Linux: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    Hereby i have tried with long Raw data type but still same error unable to read the file.pls find the sample code below,
    declare
    l_text             LONG RAW;
    l_importTypeFile   UTL_FILE.FILE_TYPE ;
    begin
         PKG_COMMON.PROC_FOPEN(g_Directory, P_FILENAME,    'RB',l_importTypeFile,    p_error_cd, p_error_msg) ;
    UTL_FILE.GET_RAW(l_ImportTypeFile,l_Text);
    End;
    Thanks in Advance
    Siva

    Hi Siva,
    Are you trying to use data from this .csv file into your realtion tables. If yes and If you are using 11g Oracle database. I would suggest you create External Tables using the below query,
    http://www.oracle.com/technetwork/issue-archive/2011/11-mar/o21nanda-312277.html
    STEP1: You need a Directory where your SCHEMA has read/write access. Store the csv file in that directory.
    STEP2: Create an EXTERNAL Table script. Please refer the above URL. Examples are for coma delimiter (,); replace it with your pipe (|) in the code
    STEP: Once your external table is created you can simply create a relational table as below:
    CREATE  TABLE relation_table
      AS
    SELECT * FROM external_table;
    Regards,
    RaviR

  • DMEE Output File missing records

    I'm trying to create a flat file to send payment information to the Bank. I create a format tree that correspond to the Bank Layout using DMEE1 tcode. The request is create a flat file in which only detail records are stored (no headers are needed). After I configure all the payment stuff and run the payment program, the output file only contains one record. My testing scenario include two invoices pointing to a different vendors which are ready to be paid, the file should have two records.
    In addition, the idea is to create an Output file based on the CoCde field (separate files). Could you please help on this issue.

    HI Cristobal:
    Verifying the file I noticed that It has one record including to payment documents. Instead of that I need to records one per payment document. I tried with both options that you mentioned, but both of them creates one record with the two payments documents.
    Could you please let me know what I'm doing wrong?
    Regards...

  • Define path in selection screen to write the output file to pres.  server

    Hi can anyone tell me how to declare a variable so that the user can specify his own path name in the selection screen to store the output file in the presentation server. and please tell me how to link up the output file to the selection screen specified path.
    thanks in advance.

    DATA: FILE_TAB TYPE STRING.
    SELECTION-SCREEN BEGIN OF BLOCK B02 WITH FRAME TITLE TEXT-B02.
    PARAMETERS:
               P_FILE TYPE RLGRAP-FILENAME OBLIGATORY LOWER CASE.
    SELECTION-SCREEN END OF BLOCK B02.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
      PERFORM OPEN_FILE USING P_FILE.
    FORM OPEN_FILE USING L_FILE.
      CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
        CHANGING
          FILE_NAME     = L_FILE
        EXCEPTIONS
          MASK_TOO_LONG = 1
          OTHERS        = 2.
      IF SY-SUBRC <> 0.
        SY-MSGTY = 'I'.
        MESSAGE ID     SY-MSGID
                TYPE   SY-MSGTY
                NUMBER SY-MSGNO
                WITH   SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        STOP.
      ENDIF.
    ENDFORM.
    FILE_TAB = P_FILE.
      CALL FUNCTION 'GUI_DOWNLOAD'
    *Complete the FM
    Greetings,
    Blag.

  • How to send concurrent program output file as an attachment in the notification mail

    Hi All,
    We are on Oracle apps version - 11.5.10.2
    We have a requirement wherein we need to send the concurrent program output file as an attachment while sending the notification mail to the user.
    Currently we have tried the approach wherein we are specifying the user id in the OPTIONS tab (Notifying the following people) while submitting the concurrent program.
    But using this approach, the user gets only the URL of the output file in the notification mail and not the output file as an attachment.
    Kindly let us know if anyone has incorporated the logic to send the output file as attachment in the notification mail.
    Please Note - We do not want any custom code to be written to send the attachment.
    Any pointers to this will be helpful.
    Regards,
    Shruti

    Hi All,
    We are on Oracle apps version - 11.5.10.2
    We have a requirement wherein we need to send the concurrent program output file as an attachment while sending the notification mail to the user.
    Currently we have tried the approach wherein we are specifying the user id in the OPTIONS tab (Notifying the following people) while submitting the concurrent program.
    But using this approach, the user gets only the URL of the output file in the notification mail and not the output file as an attachment.
    Kindly let us know if anyone has incorporated the logic to send the output file as attachment in the notification mail.
    Please Note - We do not want any custom code to be written to send the attachment.
    Any pointers to this will be helpful.
    Regards,
    Shruti

  • ALV Grid to be run in background & to generate output file in Excel format

    I use  REUSE_ALV_GRID_DISPLAY in my program for the ALV output
    My Requirement is Program to be run in a background since it is getting timed out when executed in foreground and also to generate the output file in Excel format. And we are using 4.6 C version.
    how do i attain this?

    Hello,
    One alternate solution can be :
    Execute your report in background and then send the data to Spool .
    From this spool , you can download the data in excel file.
              SUBMIT xyz TO SAP-SPOOL
                 SPOOL PARAMETERS gt_print_parameters.
    Regards,
    Sandeep

Maybe you are looking for

  • Slideshow feature in Adobe Bridge in CS3

    I use Mac OS X 10.5.5 with Photoshop CS3 and Adobe Bridge CS3. I am using a Sony DSL a350 and shoot my images in Sony's raw format which they label as ARW. Photoshop recognizes this format. But, if I wish to save my images in a readily recognizable r

  • Javax.mail.MessagingException: Missing start boundary

    I use the following code creates a Mime file MimeMultipart mmp = new MimeMultipart();                MimeBodyPart mbp = null;                // add rootpart                mbp = new MimeBodyPart();                mbp.setContentID("[email protected]");

  • Searching for a good precompiler

    currently im using antenna, but im not really satisfacted, cause the integration in eclipse is pretty bad (eclipse cant handle the statements) and it has a lack of some features like access to ant-properties, complex clauses etc. any suggestions ?

  • Overwritten Folder Recovery

    Earlier today, I was backing up my files from my mac to my external hard drive. I copied and pasted all of my project folders into the folder on my external. The prompt came up to overwrite and I chose to, being that most of the files were updates of

  • My screen is in zooom mode all the time.  how do i get rid of zoom?

    my screen on iphone 4 is in zoom mode all the time.  how do i get rid of zoom?