810 Outbound invoice change interface file definition

Hi
we are implementing 810 outbound invoice. In the interface file definition we have to customize it so we can reduce the number of columns in the outbound data file.
do we have to delete the record number or position in order not to appear in the outbound data file. how do we migrate this custom to another instance? it is tedious to do manual updates to the interface file definition sine we dont need most of the columns in the interface file.
Please advise.

Hi,
We are also having a similar situation with our 810 outbound implementation. Were you able to change the file definition?
If so, did you copy the seeded file definition to create a new file definition or modified the seeded file definition?
How do you add new interface columns and how do you link it to the backend columns? Do you update the record in ECE_INTERFACE_COLUMNS table?
I would really appreciate if you can answer my question.
Thanks in advance.

Similar Messages

  • EDI X12 810 outbound Invoice subscription using BPEL Apps adapter

    I am confused with subscribing to EDI X12 810 outbound Invoice. When I try to subcribe to EDI 810 outbound Invoice using App adapter , it shows XMLGateway(4), EDI (1), PL/SQL(1) , CON_PROGRAMS(1), Interface views (1). I dont understand to which I should subscribe.
    I appreciate your help.
    Thanks.
    Morasa

    Hello Morasa,
    Please refer the below link.
    http://www.oracle.com/technology/products/integration/adapters/pdf/adapter-Tutorial1-InvokingOracleApplicationsAPI.pdf
    Kindly note that this forum is mainly intended to discuss primarily on B2B and integration issues, for BPEL please refer SOA forum
    SOA Suite
    Rgds,Ramesh

  • E-Commerce Gateway Question about Interface File Definition.

    Hello Gurus,
    Does anyone know if Oracle e-Commerce Gateway (11.5.10.2) deliver the Interface File Definition for Inbound Purchase Orders (850/ORDERS) - _'IN: Purchase Orders (850/ORDERS)'_ out of the box?
    I see Interface File Definition for OPM Purchase Order along with a bunch of other trx sets (like ASNI, INI, INO) but not Purchase Orders (850/ORDERS) in the instance that I am working... so just wanted to verify.
    Thanks
    Dave

    Following are some of the pros of using XML Gateway:
    1) XML is being accepted and more and more technologies are moving towards XML, so that "seems" to a future ready solution
    2) XML processing is real-time.
    3) Most of the maps for universally accepted standards are seeded in Oracle.
    4) You can use Oracle Supplier Network(Free service provided by Oracle) with your XML gateway to transmit/receive xml documents to a supplier who may or may not be accepting the format you are generating(e.g. if your PO is in OAG standard and your supplier is accepting cXML format, OSN takes care of translating your document)
    You might want to consider these points while deciding the technology.
    Nitin S. Darji

  • (urgent)How to transfer(outbound) the data of invoices  to flat file?

    HI All,
    i am new to oracle Receivables. i have assigned task like below. How to transfer Oracle Receivables data(open invoices) to flat file(format like Xl Sheet or csv).i mean to say that outbound interface with sample data and code. can some one help me to sort out this issue. pls send me sample code for invoices outbound.
    Thanks.
    Edited by: user627525 on Feb 18, 2009 9:30 PM

    Hi, Here is what you required...Below logic shows how to use utl_file to write a data into file which is store outside of database. Please let me know in case of any additional information is required. Thanks!
    V_Extract_Dir:=ltrim(rtrim('/cdunix/erp/'||V_Instance_ID||'/global/acctrecon/wrk'));
    V_Rename_Dir:=ltrim(rtrim('/cdunix/erp/'||V_Instance_ID||'/global/acctrecon/snd'));
    V_Fname := 'ASSURENET-GL-'||V_SOB_ID||'-'||V_Date||'-'||V_Fnum||'.csv';
    FND_FILE.PUT_LINE(FND_FILE.OUTPUT,V_Fname);
    V_File:=UTL_FILE.FOPEN( V_Extract_Dir,V_Fname,'w');
    FOR C3 IN C2 LOOP -- Header record
    UTL_FILE.PUT_LINE(V_File,'"HEADER"'||','||C3.V_Con ||','||C3.V_Total);
    END LOOP;
    FOR C4 IN C1 LOOP -- Body
    UTL_FILE.PUT_LINE(V_File,C4.md);
    END LOOP;
    FOR C3 IN C2 LOOP -- Footer Record
    UTL_FILE.PUT_LINE(V_File,'"FOOTER"'||','||C3.V_Con ||','||C3.V_Total);
    END LOOP;
    Regards,
    Murali

  • Outbound interface file for the employeesu0092 deduction information from the d

    How to Create an Outbound interface file for the employees’ deduction information from the different Payroll Companies.
    Thanks in advance.
    Regards
    vamsi.

    Hi,
    The requirement seems to be similar to the one posted in the link https://forums.oracle.com/thread/848476. Please check.

  • How to place Outbound Interface file in APPS SERVER?

    Hi Guys,
             Actually I'm running the below pl\sql procedure for the OutBound interface file.
    CREATE OR REPLACE procedure GE_INV_Out_BAL(Errbuf OUT varchar2,
                                           Retcode ouT varchar2,
                f_id    in number,
                t_id    in varchar2) as
    cursor c1 is select
           msi.segment1 item,
        msi.inventory_item_id Itemid,
        msi.description  itemdesc,
        msi.primary_uom_code Uom,
        ood.organization_name name,
        ood.organization_id   id,
        mc . segment1||','||mc.segment2 Category
        from
        mtl_system_items_b           msi,
        org_organization_definitions ood,
        mtl_item_categories          mic,
        mtl_categories               mc
        where
        msi.organization_id       = ood.organization_id
        and msi.inventory_item_id = mic.inventory_item_id
        and msi.organization_id   = mic.organization_id
        and mic.category_id       = mc.category_id
        and msi.purchasing_item_flag = 'Y'
        and msi.organization_id between f_id and t_id;
    x_id     utl_file.file_type;
    l_count  number(8) default 0;
    begin
              x_id:=utl_file.fopen('/u02/oracle/SUPPORT1','invoutdata.dat','W');
               --select * from v$parameter where name like '%utl_file%'
    for x1 in c1 loop
    l_count:=l_count+1;
    utl_file.put_line(x_id,x1.item    ||'-'||
            x1.itemid  ||'-'||
            x1.itemdesc||'-'||
            x1.uom   ||'-'||
            x1.name   ||'-'||
            x1.id   ||'-'||
            x1.category   );
    end loop;
    utl_file.fclose(x_id);
    Fnd_file.Put_line(Fnd_file.output,'No of Records transfered to the data file :'||l_count);
    Fnd_File.Put_line(fnd_File.Output,' ');
    Fnd_File.Put_line(fnd_File.Output,'Submitted User name  '||Fnd_Profile.Value('USERNAME'));
    Fnd_File.Put_line(fnd_File.Output,' ');
    Fnd_File.Put_line(fnd_File.Output,'Submitted Responsibility name '||Fnd_profile.value('RESP_NAME'));
    Fnd_File.Put_line(fnd_File.Output,' ');
    Fnd_File.Put_line(fnd_File.Output,'Submission Date :'|| SYSDATE);
    Exception
    WHEN utl_file.invalid_operation THEN
      fnd_file.put_line(fnd_File.log,'invalid operation');
      utl_file.fclose_all;
    WHEN utl_file.invalid_path THEN
      fnd_file.put_line(fnd_File.log,'invalid path');
      utl_file.fclose_all;
    WHEN utl_file.invalid_mode THEN
      fnd_file.put_line(fnd_File.log,'invalid mode');
      utl_file.fclose_all;
    WHEN utl_file.invalid_filehandle THEN
      fnd_file.put_line(fnd_File.log,'invalid filehandle');
      utl_file.fclose_all;
    WHEN utl_file.read_error THEN
      fnd_file.put_line(fnd_File.log,'read error');
      utl_file.fclose_all;
    WHEN utl_file.internal_error THEN
      fnd_file.put_line(fnd_File.log,'internal error');
      utl_file.fclose_all;
    WHEN OTHERS THEN
      fnd_file.put_line(fnd_File.log,'other error');
      utl_file.fclose_all;
    End GE_INV_Out_BAL;
                                     It is working nice.The interface file is going and placed in the given path of the DB server.But the Requirement is the file should be placed in the app server.Is their method to place the file Directly in App server.please convey your suggestions.

    Hi,
    The requirement seems to be similar to the one posted in the link https://forums.oracle.com/thread/848476. Please check.

  • Generating EDI 810 Outbound File in 4030 version

    Hi All,
    I am working in EDI 810 outbound file generation. Is there any versions in it? What are the steps to generate the outbound file in 4030 version?
    Thanks in advance

    Hi,
    Please see
    How To Setup EDI 810 Outbound and 812 Outbound [ID 198252.1]
    Thanks

  • Changing the file name dynamicallly in file Adapter - NullPointerException

    Hi, I want to change the file name directly from Java Mapping in the file adapter for this i have written this code:
    [code]
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http:""/""/"+"sap.com/xi/XI/System/File","FileName");
    String newFileName = CCC'_'NNN'_'NOMCIA'_'DATE;
    conf.put(key, newFileName);
    return newFileName;[/code]
    Where CCC, NNN, NOMCIA and DATE are input of the user-defined function.
    but it gives a null pointer exception:
    [code]16:44:53 Start of test
    Runtime exception during processing target field mapping /ns0:MT_HSBCAltasTrabajadores_TEST/row/separador7. The message is: Exception:[java.lang.NullPointerException] in class com.sap.xi.tf._MM_JDBC_2_HSBCAltasTrabajadores_TEST_ method FileName$[123, James, Gates, Spectory, com.sap.aii.mappingtool.tf3.rt.Context@247d247d]
    com.sap.aii.mappingtool.tf3.MessageMappingException: Runtime exception during processing target field mapping /ns0:MT_HSBCAltasTrabajadores_TEST/row/separador7. The message is: Exception:[java.lang.NullPointerException] in class com.sap.xi.tf._MM_JDBC_2_HSBCAltasTrabajadores_TEST_ method FileName$[123, James, Gates, Spectory, com.sap.aii.mappingtool.tf3.rt.Context@247d247d]
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:347)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:309)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:309)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:398)
    at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:141)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:102)
    at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInternal(ServerMapService.java:431)
    at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:169)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.execute(MapServiceRemoteObjectImpl0.java:301)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:146)
    at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
    at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
    at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(AccessController.java:215)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Root Cause:
    com.sap.aii.utilxi.misc.api.BaseRuntimeException: Exception:[java.lang.NullPointerException] in class com.sap.xi.tf._MM_JDBC_2_HSBCAltasTrabajadores_TEST_ method FileName$[123, James, Gates, Spectory, com.sap.aii.mappingtool.tf3.rt.Context@247d247d]
    at com.sap.aii.mappingtool.tf3.rt.FunctionWrapper.getValue(FunctionWrapper.java:56)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:291)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:309)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:309)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:398)
    at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:141)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:102)
    at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInternal(ServerMapService.java:431)
    at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:169)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.execute(MapServiceRemoteObjectImpl0.java:301)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:146)
    at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
    at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
    at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(AccessController.java:215)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Root Cause:
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
    at java.lang.reflect.Method.invoke(Method.java:391)
    at com.sap.aii.mappingtool.tf3.rt.FunctionWrapper.getValue(FunctionWrapper.java:47)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:291)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:309)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:309)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:398)
    at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:141)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:102)
    at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInternal(ServerMapService.java:431)
    at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:169)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.execute(MapServiceRemoteObjectImpl0.java:301)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:146)
    at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
    at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
    at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(AccessController.java:215)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: java.lang.NullPointerException
    at com.sap.xi.tf._MM_JDBC_2_HSBCAltasTrabajadores_TEST_.FileName$(_MM_JDBC_2_HSBCAltasTrabajadores_TEST_.java:564)
    ... 26 more
    RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping /ns0:MT_HSBCAltasTrabajadores_TEST/row/separador7. The message is: Exception:[java.lang.NullPointerException] in class com.sap.xi.tf._MM_JDBC_2_HSBCAltasTrabajadores_TEST_ method FileName$[123, James, Gates, Spectory, com.sap.aii.mappingtool.tf3.rt.Context@247d247d]
    16:44:53 End of test[/code]
    Regards,
    Luis Diego

    Hey Luis,
    the container object only exists in message mapping runtime.
    Thus you're getting a null pointer exception there.
    For java mappings, remember that you have a .setParameter() method (which is necessary from definition of StreamTransformation interface),
    which sets the private variable param with the transformation parameters. In your .execute() method, just use it like this:
    DynamicConfiguration conf = param.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    Regards,
    Henrique.

  • Convert custom outbound idoc to CSV file

    Hi
    I need to send generate a flat file that will be sent to a non SAP partner. A requirement is that the messages go via  the IDOC system. This makes it possible to resend them if necessary.
    So there are 2 stages
    1) create IDOC. I have done this
    2) read IDOC and convert to flat file
    stage 1
    =====
    I have defined a custom IDOC, partner profile etc and developed a Function Module to create the outbound IDOCs The FM is triggered by a message in the NAST table. . This works OK.
    So I now have custom outbound IDOCs in the DB with status 30 (ready for dispatch) (WE05).
    Stage 2
    ======
    Now I want to convert these custom IDOCs into simple flat files (CSV like).
    How do I go about making this happen? I guess I need to develop another Function Module. But I dont know how to tie this FM into the system. My questions are:
    How will the FM be triggered
    what is the interface of the FM
    will I need to configure a 2nd partner profile for stage 2 (which is fine)
    Peter
    Note1 - there is no EDI converter available so must solve this in ABAP
    Note2 - I do not want to create the flat file at the same time as I create the IDOC. This would defeat the purpose of going via IDOCs

    No, EDI is only one method of transferring data.  There's no need for an EDI subsystem in this case.
    To the OP, since it seems the you have decided that you must use IDOC processing in this case, I would go ahead and use a file port (or an XML port).  You will drop an IDOC formatted flat file into the specified location (for each IDOC, based on your logical file definition).  For you, this will merely be a temporary holding location.  You can then use a simple program to read the file, re-format it, send it, then move the original file to a 'processed' location.  Of course, you could also just throw away the generated files and read the IDOCs directly with the standard functions available and (re)generate/send the files as required. 
    It's often done this way with 3rd party EDI providers, where the company in question is required to use EDI by their customers but do not have the required systems in place.

  • How to connect to third party using PI for outbound and inbound interfaces

    Hello,
    I have scenarios where I have data coming in from third party EDI subsystem and sent to SAP. And also from SAP to EDI subsystem. We need to send the XMLs to the EDI subsystema nd also receive XMLs.
    Can someone please suggest the ways I can connect to EDI subsytem for both Outbound and Inbound interfaces.
    Thanks

    Hi Prabhu,
    EDI file is different from the normal flat or xml file. Hope you understand the difference.
    Now if your EDI subsytem has the capability of converting the xml file to edi file viceversa then create and receive the xml file from the EDI subsystem. For the xml file you may use the file adapter as an option.
    If it doesnot have the capability then seeburger adapter needs to  be used. This is not an inbuilt adapter. So your company needs to purchase it.
    Regards,
    ---Satish

  • Payables (Invoices ) Open interface

    Hi
    I am working on the interface very first time.
    what i understand is as follows:
    Data file--> Control file --> staging table --> pre-interface table-->interface table then run import program.
    Interface tables:
    AP_INVOICES_INTERFACE
    AP_INVOICE_LINES_INTERFACE
    Base Tables
    AP_INVOICES_ALL
    AP_PAYMENT_SCHEDULES_ALL
    AP_INVOICE_DISTRIBUTIONS_ALL
    API / Import program: Payables (Invoices ) Open interface
    I would like to create the invoices for vendors from different cities. So from data file how many control file I should create? and how many staging tables I should create? Can anybody please explain me how to proceed right from Data file--> Control file --> staging table --> pre-interface table-->interface table ???

    You can try your luck in the e-business suite forum

  • Changing the file name dynamicallly in file Adapter

    Hi i want to change the file name directly from Java Mapping in the file adapter
    for this i have written this code
    DynamicConfiguration dynamicConfiguration = (DynamicConfiguration)map.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
                   DynamicConfigurationKey keyFile = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
                   DynamicConfigurationKey keyDir = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","Directory");
                   dynamicConfiguration.put(keyFile,fileName);
                   dynamicConfiguration.put(keyDir,outputpath);
    but it gives a null pointer exception at dynamicConfiguration.put(keyFile,fileName);
    please suggest.
    regards
    Nilesh Taunk.

    Hi Nilesh,
    If your requirement is to create , the file name dynamically for your receiver file adapter, you can do so using your <b>FILE ADAPTER CONFIGURATION</b> itself, and need not go for any JAVA Mappping / Java Code at all.
    The dynamic filename generation concept is as follows.
    In your filename field in the receiver file adapter, just give a variable with <b>%</b> symbols. (eg: %file% ).
    Now, under the option <b>Variable Name Substitution</b>, you can give how the value has to be created.
    <b>It can be your interface name, sender service name, etc or it can be some value dynamically from your payload.</b>
    For the former, your give
    <b>message:interface_name</b> ,etc
    and for the payload part you give,
    <b>Payload: "your element root which u wanna acecss"</b>
    Just check this link out,
    http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
    And read the contents under variable substitution and it will help you understand the concepts better.
    Also, in your FILE Adapter under the option FILE CREATION MODE, you have options like,
    1.Add Counter,
    2. Append
    3. Create
    4. Add Time Stamp
    If you have any clarifications on this approach, do get back.
    Regards,
    Bhavesh

  • Hi it is related to field mapping database feild to interface file fields

    Use the following fields from BSIK to map the Pay Header data in the interface file.
    Company code BSIK-BUKRS
    Vendor BSIK-LIFNR
    Fiscal year BSIK-GJAHR
    Document # BSIK-BELNR
    Document Date BSIK-BLDAT
    Currency BSIK-WAERS
    Amount in LC (local currency) BSIK-DMBTR
    Payment Terms BSIK-ZTERM
    Reference BSIK-XBLNR
    Debit/Credit Indicator BSIK-SHKZG
    Business Area BSIK-GSBER
    • No more than 950 lines per header, if lines exceed 950 then need to create a new header, ensuring that the document is fully balanced (Debits = Credits)
    o If the value of BSIK- SHKZG = ‘H’ then
    Map ‘-’ to the subfield SIGN of the Amount_ Document _T&#61607; field
    Assign ‘C’ to the subfield DRCR of the Amount_ Document _T field&#61607;
    o If the value of BSIK- SHKZG = ‘S’ then
    Map ‘+’ to the subfield SIGN of the&#61607; Amount_ Document _T field
    Assign ‘D’ to the subfield DRCR of the Amount_&#61607; Document _T field
    o Save the total amount of each invoice in credit and debit separately.

    Hi,
    You can use this FM to get the list of all files
    TMP_GUI_DIRECTORY_LIST_FILES
      DATA: TBL_FILES LIKE SDOKPATH OCCURS 10 WITH HEADER LINE,
            TBL_DIRS LIKE SDOKPATH OCCURS 10 WITH HEADER LINE.
      CALL FUNCTION 'TMP_GUI_DIRECTORY_LIST_FILES'
           EXPORTING
                DIRECTORY  = P_DIRECTORY
                FILTER         = 'Test*.Txt'   "<< restricts to only TEXT files begining with Test
           TABLES
                FILE_TABLE = TBL_FILES
                DIR_TABLE  = TBL_DIRS.
    After getting the files in the TBL_FILES... loop the table and read the files with GUI_UPLOAD FM
    Thanks,
    Sankar M

  • EDI 850's Interface File Data program errors out

    This is interface dile data program completes in error for EDI 850. Prior to this we had issues saying "error starting toolkit", but that was resolved by the DBA's. Now that error has gone and this error is coming up.
    Below is the error message:
    Version 12.1.3
    DB : 11g
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    P_TRANSACTION_TYPE='POO'
    P_FILE_PATH='/interface/infvmmci/ECRP2/outgoing'
    P_FILE_NAME='VMMC850.dat.20120702215742'
    P_MAP_CODE='EC_POO_FF'
    Execution options
    VERSION=2.0b ORIENTATION=LANDSCAPE
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.US7ASCII
    Enter Password:
    REP-1401: 'p_run_idformula': Fatal PL/SQL error occurred.
    REP-0069: Internal error
    REP-57054: In-process job terminated:Terminated with error:
    REP-1401: 'p_run_idformula': Fatal PL/SQL error occurred.
    Report Builder: Release 10.1.2.3.0 - Production on Mon Jul 2 21:58:53 2012
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Program exited with status 1
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 5710284.
    Review your concurrent request log and/or report output file for more detailed information.
    Executing request completion options...
    Output file size:
    0
    Finished executing request completion options.
    Kindly help,
    Ganapathy

    Please see if these docs help.
    Interface File Data Program Fails With REP-1401 Error [ID 1415103.1]
    850 POI Inbound EDI ECEPOI Error ORA-29284: file read error. [ID 565059.1]
    Running Interface File Data, Completes With Error. [ID 563879.1]
    How to Ensure Outbound 856 (DSNO) documents are generated [ID 1432829.1]
    Thanks,
    Hussein

  • Vat code change, EDI file number finding and EDI file structure chage?

    Hello Gurus
    Our client has a plant in Europe, which has a largest supplier. We process electronic invoices to the vendor through a provider OB10 ( private company - invoicing provider ).
    In the transfer of the electronic data to the invoice posting, a VAT code is added to the details, that appears to be pulling from a certain Table in the system.
    I want to know from which tables this field has pulled up to the Invoice?
    In continuation of the process ...I have come across an issue on EDI file structure change. I have provided with the the Idoc numbers of above invoices, from the idoc numbers i need to find out the EDI file number. But when i went to WE02, WE05 with those idoc numbers i couldn't find the EDI file number( Interchange file number ref).
    How can i find the EDI file number and i have to suggest the EDI team for changing the file structure in regard to the VAT code updating according to the Plants abroad function.
    What are the things i need to suggest them exactly in regard to this?
    Please reply me ASAP...
    Thanks
    Mallik

    The table for tax code is T076M - maintainable using T code OBCD.  For EDI file number, execute T Code WE02 - enter IDoc number and execute (F8). In the right window pane, choose select layout -> change layout and pick up the field Interchange file reference. Guess this is what you are looking for.
    OR
    Go to transaction WE02 or WE05 enter Idoc number and choose execute. When Idoc data is displayed double click on Control Record in left pane. Choose Details tab. Interchangable file under References.
    You can also refer the entries in table EDIDC.
    Reference to interchange file:
    This field contains the reference number of the interchange file in which the EDI message was transmitted.

Maybe you are looking for