HI it is related to file interface ,any one please send related code to me.

now am sending total object ...
1.1.     Related Business Process Information
Vendor invoices enter DISCO System electronically and then either go through the 2 -way match or 3-way match process. Since DISCO System does not handle the actual payment processing, the invoices with successful match will be ready to transfer to Enterprise SAP to generate payments.
The purpose of this interface is to detail the requirements of sending vendor open invoices to Enterprise SAP.  Payments are then processed based on the approved invoices that transfer over from DISCO.
1.2.     General Description of Functionality
All Disco approved vendor invoices will be mapped into this interfaceIFIC1001 (Interface  Vendor Invoices to Enterprise SAP) (FI001 Incoming AP Invoices to TLand). This outbound file is a flat file and the format is in TXT. The file name will be load_payable_1516.yyymmddhhmmss.txt (replacing yyyymmddhhmmss with date and time).  This is a nightly interface from DISCO to Enterprise SAP via FTP shuttle.
Business Requirements:
Enterprise SAP specific fields for interface purposes:
•     Company Code
•     Business Area
•     GL Account
•     Profit Center
•     Cost Center
•     WBS
•     MPM Issue
•     Destination Geography
•     Distribution Channel
•     COPA customer
•     Tax Code
2.     Functional Specification Details
2.1.     Detailed Functional Requirements
2.1.1.     Functional Step 1
•     Read data in table BSIK
o     If data in table then go to 2.1.3 Functional Step 3
o     If no data in table then proceed to 2.1.2 Functional Step 2
2.1.2     Functional Step 2
Notification message send to IT Support and AP Account when BSIK is empty. Then end the program.
Error Message
Empty File no FTP Transfer
2.1.3    Functional Step 3
Create Control Header record when BSIK has data.
•     The Control Header Record is the first record in the interface file. 
•     Only one Control Record is required in each file. 
•     Maximum number of 8000 lines per interface file. 
•     Several interface files will be created if there are more than 8000 lines, however, no document should ever be split between 2 files, only whole document processing.
2.1.4   Functional Step 4 
Create Pay Header
•     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 field
     Assign ‘C’ to the subfield DRCR of the Amount_ Document _T field
o     If the value of BSIK- SHKZG = ‘S’ then
     Map ‘+’ to the subfield SIGN of the Amount_ Document _T field
     Assign ‘D’ to the subfield DRCR of the Amount_ Document _T field
o     Save the total amount of each invoice in credit and debit separately.  This data will need to map into the Control Trailer Record (see 5.5)
Create Pay Line Record
•     Read following fields from BSIK and use as input fields for table BSEG
Company code               BSIK-BUKRS
Document #               BSIK-BELNR
Fiscal year                       BSIK-GJAHR
•     When BSEG-LIFNR ≠ BSIK-LIFNR; Group details by  Document number (BSEG-BELNR), Company code (BSEG-BUKRS), Business Area (BSEG-GSBER), Profit Center (BSEG-PRCTR), Cost Center(BSEG-KOSTL), G/L Account (BSEG-HKONT), Destination Geography (BSEG-ZZDESTGEO), Distribution Channel(BSEG-ZZDIST), MPM (BSEG-ZZISSUE), and COPA Customer (ZZSOLDTO), WBS Element BSEG-PROJK***, Internal Order BSEG-AUFNR, Dr Cr Indicator BSEG- SHKZG
WBS Element logic – In BSEG-PROJK the WBS Element is stored as 8 digit #, we need to take this number and convert it to the 24 char # (PRPS_POSID), as follows:-
BSEG-PROJK = PRPS-PSPNR = PRPS-POSID
e.g.
BSEG-PROJK = 00000124
PRPS-PSPNR = 00000124 = PRPS-POSID = HE-000001.04.00001
In DISCO we are using WBS Elements starting with an Alpha char (HE = Home Entertainment, DI = DIS, AS = ASAP), and in TLand they are using all numeric id’s.
For the summarization:-
o     If the WBS element is an Alpha (i.e. DISCO) then get the cost center (PRPS-FKSTL) from the wbs element and summarize by the cost center.
o     If the WBS element is numeric (TLand) then summarize by the WBS Element.
•     The fields in BSEG are mapped in the interface as follows:
          MPM Issue                                                 BSEG-ZZISSUE
         Distribution Channel                                     BSEG-ZZDIST
         Sold To Customer (COPA Customer)        BSEG-ZZSOLDTO
          Destination Geography                               BSEG-ZZDEST
          Cost Center                                                 BSEG-KOSTL
          Profit Center                                                BSEG- PRCTR
          Business Area                                             BSEG-GSBER
          G/L Account                                                BSEG-HKONT
          Amount in Local Currency (Summarized)   BSEG-DMBTR     
          Dr/Cr indicator                      BSEG-SHKZG
o      If the value of BSEG-SHKZG = ‘S’ then
     Map ‘+‘ to the subfield SIGN of the Amount_Extended_T field
     Assign ‘D’ to the subfield DRCR of the Amount_Extended_T field
o     If the value of BSEG- SHKZG = ‘H’ then
     Map ‘-‘ to the subfield SIGN of the Amount_Extended_T field
     Assign ‘C’ to the subfield DRCR of the Amount_Extended_T field
•     Process all documents from table BSIK
2.1.5      Functional Step 5
Create the Control Trailer Record that contains the total credit, total debit, and total line processed as the last record of the interface.
2.1.6    Functional Step 6
Send acknowledgment message to IT Support and AP Accountant for successful transmission and save the interface file on the UNIX server.
Successful FTP Transfer for FI001
Remote file is load_payable_1516.yyyymmddhhss.txt
2.1.7   Functional Step 7
Clearing Transaction – this is to clear table BSIK, document by document. One transaction will be created by each Document number by Vendor. We must only clear the documents which are included in the interface.
So, in BSIK take the first document (BSIK-BELNR) and use transaction code F-44 in order to clear this document from table BSIK and transfer it to table BSAK. Process all the documents in BSIK, until BSIK is empty.
SAP Transaction code     F-44 – Clear Vendor
Screen     Clear Vendor: Header Data
Sample document(s)     
SAP system/Client for sample docs     DR1 (030)
Step 1 – using document # (BSIK_BELNR) as the key, find the following date for the selection screen
Input Field description     Map from field     Default value (if applicable)     Sample value
Account     BSIK-LIFNR          100000
Clearing date     SY_DATUM          10/06/07
Period          Default from date     1
Company Code     BSIK-BUKRS          1119
Currency     BSIK-WAERS          USD
Under ‘Additional Selection’ select the ‘radio’ button for the Document number.
Press Enter.
Step 2 – input following data
Input Field description     Map from field     Default value (if applicable)     Sample value
Document Number From     BSIK-BELNR          400000010
On menu bar select ‘Go to’ and select ‘G/L Item Fast Entry’
Step 3 – input following data
Input Field description     Map from field     Default value (if applicable)     Sample value
PK (Posting key)     BSIK-SHKZG          50
Account          APCLEARING     APCLEARING
Amount     BSIK-DMBTR          500.00
Business Area     BSIK-GSBER          135
Company Code     BSIK-BUKRS          1119
Rules for Posting Key
If BSIK-SHKZG = H then value to enter = 50
If BSIK-SHKZG = S then value to enter = 40
Then click ‘Process Open Items’
Clear any value in field DF05B-PSSKT (Cash Discnt) = make blank
Amount Entered (RF05A-BETRG) = Assigned (RF05A-NETT)
SAVE document and new ‘cleared document’ will be assigned.
Step 4 – This transaction should be repeated until all entries in the interface file are cleared.
4.1.5.     Interface File Layout mapping
The interface file contains four types of records:
•     Control Record: This is the first record on every transmission file.
o     Only one Control Record is required in each file. 
o     Maximum number of 8000 lines per interface file. 
o     Several interface files will be created if there are more than 8000 lines
•     Pay Header: This equates to BSIK-BUZEI line 001 of each document.
o     A new header line should be created whenever 950 lines of Pay Line are written
o     The records of file are broken into several headers if lines are exceeded 950.
•     Pay Line: Detailed line containing the summarized data (see 2.1.4).
•     Control Trailer: This contains totals of the whole file. Add this record at the end of file.
Message was edited by:
        Naveesh surapureddy

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

Similar Messages

  • Can any one please send me sample programs using java mapping..

    <b>Can any one please send me sample programs using java mapping with input and output?</b>
    please let me know how to get started with java mapping?
    Prerequisites for java mapping ?
    What are the jars need to be deployed for SAX,DOM.  And how to do it in NWDS?
    Use of Execute() and setparameter() ... StreamTransformation?
    Some sample program using java mapping with simple logic(input and output)?

    Hi,
    Did you go thro these blogs?
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-ii
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-iii
    Nice blogs to start Java Mapping.
    Go thro this one too.
    /people/stefan.grube/blog/2006/10/23/testing-and-debugging-java-mapping-in-developer-studio
    Regards,
    P.Venkat
    Message was edited by:
            Venkataramanan

  • Can any one please send me study material on ADOBE forms (used in SAP)

    Can any one please send me study material on ADOBE forms (used in SAP).

    Hi,
    http://wwwimages.adobe.com/www.adobe.com/enterprise/partners/pdfs/bwp_interactive_forms_adobe.pdf
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d4fe7fca-0b01-0010-569a-9a9c1ddf4132
    https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/7c3bc67e-0c01-0010-dbb3-908315896909 [original link is broken] [original link is broken]
    https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/7c3bc67e-0c01-0010-dbb3-908315896909 [original link is broken] [original link is broken]
    /people/vani.krishnamoorthy/blog/2006/05/17/fillable-adobe-forms-using-abap
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c8/4adf7ba13c4ac1b4600d4df15f8b84/frameset.htm

  • Would any one please send one complete SD scenario?

    Hi ,
    Could any one please send the SD scenaraios?
    Early reply is highely appriciable
    Thanks,
    Chow.

    hi
    this is simle sales cycle
    IN - QT - OR - LF - F2
    In inquiry and quotation chances of converting into order are not 100%
    once sale order is done means automatically delivery is done in normal sales cycle and once delivery is done at delivery level , picking , packing - PGI will be done
    once after doing PGI , inventory level will be reduced at warehouse and G/L accounts will be updated
    After delivery Billing takes place , once , billing is saved a billing document and accounting document gets generated .
    After saving billing document we will pass it on to FI consultants
    SD Transaction Code Flow:
    Inquiry / Document type IN
    Tcode for creation VA11,VA12,VA13. tables VBAK,VBAP
    Quotation / QT
    Tcode for creation VA21,VA22,VA23. tables VBAK,VBAP
    Sales Order OR
    Tcode for creation VA01,VA02,VA03. tables VBAK,VBAP
    Delivery LF
    Tcode for creation VL01,VL02,VL03. tables LIKP,LIPS
    Billing F2
    Tcode for creation VF01,VF02,VF03. tables VBRK,VBRP
    Edited by: Roddick Redy on Apr 24, 2008 9:10 AM

  • Can any one please send the pdf document TEP12

    Hi Portal experts,
    Can any one please send the pdf document TEP12?
    Thanks,
    Jitender

    >
    jitender d wrote:
    > Hi Portal experts,
    > Can any one please send the pdf document TEP12?
    >
    > Thanks,
    > Jitender
    You are not allowed to ask for any Document like this
    Reported......
    Faisal

  • Can any one please send me an update trigger (pl/sql procedure) for ap tables(ap_suppliers,ap_supplier_site_all,and contacts)

    Please send an query for update trigger for those tables .
         1: ap_suppliers
         2: ap_supplier_sites_all
         3: ap_supplier_contacts.
    Thanks,
    Chaitanya.

    Hi,
    Actually ID and Data are different names in my API. Here I mentioned like that.
    Am using Oracle 10g version.
    Yes I am going to get the multiple values using this Ref Cursor. The same ref cursor is used in another API of my package.
    In this API, the user actually enters Application_id and data. API should insert/update the version_master table with the inputs. See application_id is the foriegn key for app_master table.
    The requirement is whenever they enters application_id and data, if application_id already present in the version_master table, then the data should be updated and we should get a status flag for this using Out variable(i.e. using ref cursor only we are showing the status). if the application_id is not present in the version_master table, new record should be inserted. The sequence will generate the version_id for version_master table.
    But the Merge statement is working fine for update and insert also. Problem is am unable to see the success or failure through ref cursor. I don't know how exactly I can use this.
    If data is NULL the operation should be failed. i.e. I should get Failure status here. But am not getting this.
    Please remove the comments here and then check. If I use the NVL2 function I was able to get the status flag, i.e. S or F.
    OPEN resultset_o FOR
    SELECT NVL2 (data, 'S', 'F')
    FROM version_master
    WHERE application_id = application_id_i;
    1.How the value of data being not null will determine Success of the api and how null failure
    2.If the above select statement goes in to exception when others how I will no the failure
    I have to achieve the above scenarios.
    Please advice me.

  • Any one  please correct  this code it is not giving the result as expected.

    class image {
         public int[][] data;
         public int rows;
         public int columns;
    public class BlurImage {
    public int function1(image i1,int k,int j,int rad)
                   int sum=0;
                   int count=0;
                   int R=0,G=0,B=0;
                   String s=new String();
                   for(int x=k-rad;x<=k+rad;x++)
                        if(x<0 || x>=i1.rows)
                             continue;
    for(int y=j-rad;y<=j+rad;y++)
                             if(y<0 || y>=i1.columns)
                                  continue;
    s=Integer.toHexString(i1.data[x][y]).substring(4,6);
                             B=B+Integer.valueOf(s, 16).intValue();
                             s=Integer.toHexString(i1.data[x][y]).substring(2,4);
                             G=G+Integer.valueOf(s, 16).intValue();
                             s=Integer.toHexString(i1.data[x][y]).substring(0,2);
                             R=R+Integer.valueOf(s, 16).intValue();
    count++;
                   R=R/count;
                   G=G/count;
                   B=B/count;
                   System.out.println(" ");
                   String s1=new String();
                   s1=Integer.toHexString(R).concat(Integer.toHexString(G));
                   s1=s1.concat(Integer.toHexString(B));
                   System.out.println(Integer.valueOf(s1, 16).intValue()+" ");
                   return Integer.valueOf(s1, 16).intValue();
    public image blur_image(image i, int radius) {
              //Write your code here
              if(i.rows<radius || i.columns<radius)
                   return null;
              image i1 = new image();
              i1.rows=i.rows;
              i1.columns=i.columns;
              i1.data=new int[i.rows+1][i.columns+1];
              for (int k = 0; k < i.rows; k++)
              for (int j = 0; j < i.columns; j++)
                        if(i.data[k][j]>0xFFFFFF)
                             return null;
                        i1.data[k][j]=(int)function1(i,k,j,radius);
              return i1;
    public static void main(String[] args) {
    //TestCase 1
    try {
    image i = new image();
    i.rows = 5;
    i.columns = 3;
    i.data = new int[][]{{6, 12, 18}, {5, 11, 17}, {4, 10, 16}, {3, 9, 15}, {2, 8, 14}};
    BlurImage obj = new BlurImage();
    image res = obj.blur_image(i, 2);
    System.out.println("TestCase 1");
    if (res != null) {
    for (int k = 0; k < i.rows; k++) {
    System.out.println();
    for (int j = 0; j < i.columns; j++) {
    System.out.print(res.data[k][j] + ",");
    } else
    System.out.println("NULL");
    catch (Exception e) {
                   e.printStackTrace();
    //TestCase 2
    try {
    image i = new image();
    i.rows = 3;
    i.columns = 5;
    i.data = new int[][]{{0x5a0060, 0x6a0050, 0x6a0050, 0x6a0050, 0x7f0038},
    {0x5a0060, 0x6a0050, 0x6a0050, 0x6a0050, 0x7f0038},
    {0x5a0060, 0x6a0050, 0x6a0050, 0x6a0050, 0x7f0038}};
    BlurImage obj = new BlurImage();
    image res = obj.blur_image(i, 1);
    System.out.println("\nTestCase 2");
    if (res != null) {
    for (int k = 0; k < i.rows; k++) {
    System.out.println();
    for (int j = 0; j < i.columns; j++) {
    System.out.print(Integer.toHexString(res.data[k][j])+ ",");
    } else
    System.out.println("NULL");
    catch (Exception e) {
    e.printStackTrace();
    It should give the output as:------
    test case 1:-
    [ 11, 11, 11 ]
    [ 10, 10, 10 ]
    output.data = [ 10, 10, 10 ]
    [ 9,    9,   9  ]
    [ 9,    9,   9  ]
    test case 2:-
    [ 0x620058, 0x640055, 0x6a0050, 0x710048, 0x740044 ]
    output.data = [ 0x620058, 0x640055, 0x6a0050, 0x710048, 0x740044 ]
    [ 0x620058, 0x640055, 0x6a0050, 0x710048, 0x740044 ]

    public class Test
         public static void main(String args[])
              throws Exception
              System.out.println("[ 10, 10, 10 ]");
    }I'll let you customize the above code for test case 2.
    There is not a single comment in the code. We have no idea what the code is supposed to do. We have no idea what you think is wrong. Therefore the above solution is the best we can provide.

  • Can any one please send me approximately abt the below question

    interview person asks where ever i go how
    many comapny , company codes, sales org , dis channel , divisions ,
    can some one tell me wt is the approximately figure i can say , plz dont say depnds on client , approximately plz ,
    thanks in advance for the people who reply

    Dear Siva,
    I would suggest you to think about your own company if you have worked in a manufacturing or sales industry, try to map the org structure in SAP.  or
    Take company of your choice, try to search the details about that company in internet and then try to map this in SAP.  You will clearly come understand how to go about it and can confidently answer the interview questions.
    You can also try to understand that how the company is selling the goods- like through channels or direct or thourgh commission agnets and basing on that you can select the no of distribution channels and so on.
    And about the company codes, you can check what are the businesses the company is into and then do it accordingly.
    best regards
    VK

  • URGENT : can any one please give me BAPI related material

    Hi there,
    please help me i am a new learner to BAPI i dont know any thing about it can any one please send me the BAPI related material  and also related videos or screen cams if available.

    http://www.sapmaterial.com/?gclid=CN322K28t4sCFQ-WbgodSGbK2g....>ALL
    STEP BY STEP for BAPI
    http://sap-img.com/abap/bapi-step-by-step-guidance.htm
    BAPI Programming Guide
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
    BAPI User Guide
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
    http://techrepublic.com.com/5100-6329-1051160.html#
    http://www.sap-img.com/bapi.htm
    http://www.sap-img.com/abap/bapi-conventions.htm
    http://www.sappoint.com/abap/bapiintro.pdf
    http://ifr.sap.com/catalog/query.asp
    http://www.****************/Tutorials/BAPI/BAPIMainPage.htm
    step by step BAPI Creation with screen shots.
    http://www.sapgenie.com/abap/bapi/example.htm
    BAPI Programming guide: -
    http://help.sap.com/saphelp_nw04/helpdata/en/e0/9eb2370f9cbe68e10000009b38f8cf/frameset.htm
    BAPI user guide: -
    http://help.sap.com/saphelp_46c/helpdata/en/7e/5e115e4a1611d1894c0000e829fbbd/frameset.htm
    BAPI STEP BY STEP PROCEDURE: -
    http://www.sap-img.com/abap/bapi-step-by-step-guidance.htm
    Example:-
    http://www.erpgenie.com/abap/bapi/example.htm
    PDF download: -
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/200dd1cc-589e-2910-98a9-bb2c48b78dfa
    list of all bapis
    http://www.planetsap.com/LIST_ALL_BAPIs.htm
    for BAPI's
    http://www.sappoint.com/abap/bapiintro.pdf
    http://www.sappoint.com/abap/bapiprg.pdf
    http://www.sappoint.com/abap/bapiactx.pdf
    http://www.sappoint.com/abap/bapilst.pdf
    http://www.sappoint.com/abap/bapiexer.pdf
    http://service.sap.com/ale
    http://service.sap.com/bapi
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE8/BCFESDE8.pdf
    http://www.planetsap.com/Bapi_main_page.htm
    http://www.topxml.com/sap/sap_idoc_xml.asp
    http://www.sapdevelopment.co.uk/
    http://www.sapdevelopment.co.uk/java/jco/bapi_jco.pdf
    Also refer to the following links..
    http://www.sap-img.com/bapi.htm
    http://www.sap-img.com/abap/bapi-conventions.htm
    http://www.planetsap.com/Bapi_main_page.htm
    http://www.sapgenie.com/abap/bapi/index.htm
    Checkout !!
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    http://techrepublic.com.com/5100-6329-1051160.html#
    http://www.****************/Tutorials/BAPI/CustomBAPICreation2/page1.htm
    There are 5 different steps in BAPI.
    Create BAPI Structure
    Create BAPI Function Module or API Method.
    Create BAPI object
    Release BAPI Function Module.
    Release BAPI object.
    Step1. Creating BAPI Structure:
    Go to <SE11>.
    Select Data Type & Enter a name.
    Click on Create.
    Note: Always BAPI should be in a development class with request number (Not Local Object).
    Select Structure & hit ENTER.
    Enter the fields from your database. Make sure that the first field is the Primary Key Field.
    Then SAVE & ACTIVATE.
    Step 2. Creating BAPI module:
    Enter TR.CODE <SE37>.
    Before entering any thing, from the present screen that you are in, select the menu
    Goto -> Function Groups -> Create Group.
    Enter a name (Note: This name Must start with ZBAPI)
    Let this screen be as it is and open another window and there, enter TR.CODE <SE80).
    Click on the Third ICON that says Inactive Objects.
    Select the group that you just created and click on Activate.
    Notice that the group you created will disappear from the list of inactive objects.
    Go back to <SE37> screen and enter a name and hit <ENTER>. Then enter the group name that you just created and activated.
    NOTE: When you release a function module the respective group will be attached to that particular application. It cannot be used for any other application. NEVER include an already existing group that is attached to another module.
    Now click on the first Tab that says ATTRIBUTES and select the radio button that says remote-enabled module since we will be accessing this from any external system.
    Then click on the second tab that says IMPORT.
    Enter a PARAMETER NAME, TYPE and the structure you created in the first step. Also select the check box ‘Pa’. All remotely enabled functional modules MUST be Pa enabled, where Pa means ‘Passed by Value’ and if you don’t select ‘Pa’, then that means it will be passed by reference..
    Then click on tab that says EXPORT.
    Enter the following as is in the first three fields
    RETURN TYPE BAPIRETURN (These 3 field values are always same)
    Here also select ‘Pa’ meaning Pass by value.
    Note: BAPIRETURN contains structure with message fields.
    Then SAVE and ACTIVATE.
    Step 3. Creating BAPI object:
    Enter Tr.Code <SWO1> (Note. It is letter ‘O’ and not Zero).
    Enter a name and then click on create. Enter details.
    NOTE: Make sure that that Object Type and Program name are SAME.
    Enter Application ‘M’, if you are using standard table Mara. If you are using your own database then select ‘Z’ at the bottom.
    Then hit <ENTER>.
    Now we have to add ‘Methods’. High light METHODS and then select the following from the menu:
    Goto Utilities -> API Methods -> Add Methods.
    Enter function Module name and hit <ENTER>.
    Select the second FORWARD ARROW button (>)to go to next step.
    Check if every thing looks ok and again click on FORWARD ARROW button (>).
    Then select ‘YES’ and click on <SAVE>.
    Now on a different screen goto TR.CODE <SE37>. Enter Function Module name and select from the top menu Function Module -> Release -> Release.
    Goback to TR.CODE <SWO1>.
    Here select the menu combination shown below in the same order.
    Edit -> Change Release Status -> Object Type Component -> To Implemented.
    Edit -> Change Release Status -> Object Type Component -> To Released.
    Edit -> Change Release Status -> Object Type -> To Implemented.
    Edit -> Change Release Status -> Object Type -> To Released.
    Then click on <SAVE>.
    Then click on Generate Button (4th button from left hand side looks like spinning wheel).
    Then Click on the button that says ‘PROGRAM’ to see the source code.
    To check if this is present in work flow goto TR.CODE <BAPI>.
    Here it shows business object repository.
    First click on the middle button and then select “ALL” and hit ENTER.
    Goto tab ALPHABETICAL and look for the object that you created. This shows that the BAPI object has been created successfully
    BAPI/RFC Interface
    A remote function call is a call to a function module running in a system different from the caller's.
    The remote function can also be called from within the same system (as a remote call), but usually caller and callee will be in different systems.
    In the SAP System, the ability to call remote functions is provided by the Remote Function Call interface system (RFC). RFC allows for remote calls between two SAP Systems (R/3 or R/2), or between an SAP System and a non-SAP System.
    RFC consists of the following interfaces:-
    A calling interface for ABAP programs
    Any ABAP program can call a remote function using the CALL FUNCTION...DESTINATION statement. The DESTINATION parameter tells the SAP System that the called function runs in a system other than the caller's.
    RFC communication with the remote system happens as part of the CALL FUNCTION statement.
    RFC functions running in an SAP System must be actual function modules, and must be registered in the SAP System as "remote".
    When both caller and called program are ABAP programs, the RFC interface provides both partners to the communication. The caller may be any ABAP program, while the called program must be a function module registered as remote.
    Calling interfaces for non-SAP programs
    When either the caller or the called partner is a non-ABAP program, it must be programmed to play the other partner in an RFC communication.
    To help implement RFC partner programs in non-SAP Systems, SAP provides-
    External Interfaces
    RFC-based and GUI-based interfaces can be used by external programs to call function modules in SAP R/2 or R/3 systems and execute them in these systems.
    Vice versa, ABAP programs in R/2 or R/3 can use the functions provided by external programs via these interfaces.
    Reward points..

  • I recently purchased a movie on i tunes which is not showing in my purchased file. I downloaded it on my ipad but cannot see the file on I tunes. Ipad lost so trying to retrieve a movie file. Any ideas please?

    I recently purchased a movie on i tunes which is not showing in my purchased file. I downloaded it on my ipad but cannot see the file on I tunes. Ipad lost so trying to retrieve a movie file. Any ideas please?

    The movie will only be where you put it.
    However,in some countries you can redownload some movies:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    Learn more about which content types are supported for iTunes in the Cloud by country, as well as where iTunes Match is available.

  • On my iphone 5 , i m facing slow wifi issue. Ios 6.0.2 didnt resloved it.any one please told me ios 6.1 fixed this issue or not b/c i m right now not in a mood to install the ios 6 .

    On my iphone 5 , i m facing slow wifi issue. Ios 6.0.2 didnt resloved it.any one please told me ios 6.1 fixed this issue or not b/c i m right now not in a mood to install the ios 6 .

    It seems that people experience slow wifi on iphone with IOS 6 under slightly different circumstances.
    Some have slow/choppy video streaming, some have problems with large dropbox files, some with app store and some with podcasts.
    Which is your problem AdeelRasheed?
    Me personally, I have download speed when on wifi.
    But only when downloading podcasts...
    Running 6.0.1 or 6.1 on iPhone 5, iPhone 4 and iPad 2.
    On WIFI I can download a 45 mb app from the appstore in less than a minute. I can stream Youtube and Netflix with no problems. Internet browsing - no problems.
    But downloading podcasts with Instacast 3, Downcast or the Apple Podcast app happens at a rate of 20-80 kb/s when on WIFI. As soon as I switch to 3g ( 4g/LTE is not yet available from my local provider) my download speed goes to between 300kb/s and 2 mb/s.
    Anyone else have this problem?

  • Can any one plz send me a screenshots of LDB

    Can any one plz send me a screenshots of LDB

    Hi
    Goto SE36 Tcode and press f4 and see the related LDB and its components like Selections, Structures, Database program etc
    see the doc
    A logical database is a special ABAP/4 program which combines the contents of certain database tables. You can link a logical database to an ABAP/4 report program as an attribute. The logical database then supplies the report program with a set of hierarchically structured table lines which can be taken from different database tables.
    LDB offers an easy-to-use selection screens. You can modify the pre-generated selection screen to your needs. It offers check functions to check whether user input is complete, correct, and plausible. It offers reasonable data selections. It contains central authorization checks for data base accesses. Enhancements such as improved performance immediately apply to all report programs that use the logical database.
    Less coding s required to retrieve data compared to normal internel tables.
    Tables used LDB are in hierarchial structure.
    Mainly we used LDBs in HR Abap Programming.
    Where all tables are highly inter related so LDBs can optimize the performance there.
    Check this Document. All abt LDB's
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=%2flibrary%2fabap%2fabap-code-samples%2fldb+browser.doc
    GO THROUGH LINKS -
    http://www.sap-basis-abap.com/saptab.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9bfa35c111d1829f0000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c6/8a15381b80436ce10000009b38f8cf/frameset.htm
    /people/srivijaya.gutala/blog/2007/03/05/why-not-logical-databases
    Re: **LDB**
    www.sapbrain.com/FAQs/TECHNICAL/SAP_ABAP_Logical_Database_FAQ.html
    www.sap-img.com/abap/abap-interview-question.htm
    www.sap-img.com/abap/quick-note-on-design-of-secondary-database-indexes-and-logical-databases.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db9bb935c111d1829f0000e829fbfe/content.htm
    Gothru the blog which provides info on LDB's:
    /people/srivijaya.gutala/blog/2007/03/05/why-not-logical-databases
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • HT4436 I both have iCloud accounts and would like to share photo's etc. Can any one please advise if this is possible and how to do it?

    My wife and I both have iCloud accounts and would like to share photo's etc. Can any one please advise if this is possible and how to do it?      
    I have a Macbook-pro and Ipad, my wife has a much loved ipad.

    It's all described in iCloud Help here: http://help.apple.com/icloud/#mmc0cd7e99

  • How to install windows 7 on my macbook pro mid 2009 using usb. right now aim using mavericks 10.9 can any one please help me. I tried to edit plist in boot camp but it went wrong please help me

    how to install windows 7 on my macbook pro mid 2009 using usb. right now iam using mavericks 10.9 can any one please help me. I tried to edit plist in boot camp but it went wrong please help me.
    Iam new to coding. please help me.

    try the solution posted by kunu here and report back
    https://discussions.apple.com/thread/5105056?tstart=0

  • I am not able to access my photos through the photo application... when I click on the photo app, I can see the camera roll but a transparent album screen is over it and I cannot click on the photos to see it... can any one please help ???

    I am not able to access my photos through the photo application... when I click on the photo app, I can see the camera roll, but a transparent "album" screen is over it and I cannot click on the photos to see it... can any one please help ???

    Known bug.  Quit the Camera App, double-tap the home key and delete Camera from the recent apps bar. Fire it up again, should be good.

Maybe you are looking for

  • Lightroom Faces: Two People with the Same Name

    I downloaded Lightroom CC last night and came up with the following question: I have an uncle and a cousin with the same name...can Lightroom create two different "people" or will I need to name them each differently? I'm guessing it's the latter but

  • Alligning Select Options in WebDynpro

    Hi, I need to align the select options with that of parameter vertically in a single row.Kindly suggest me the procedure to proceed.I have given the link of my screen below. http://selectoptions.blogspot.in/2012/02/blog-post.html#!http://selectoption

  • Issu with multiselection using Checkbox in adf 11.1.1.7

    Hi Experts, in my  application i m using table with pagination property and i also add multiselection using boolean check box , i created boolean transient variable in VO  , and multiselection work fine but in one scenario its fail , Scenario is :- s

  • Single query

    Hello to all I have the following trigger           SELECT COUNT(*) INTO ESISTE FROM A_PAZIENTI_NPRELIEVO  PNP           WHERE K_CODE  =  :new.K_CODE           AND  ANNO     = :new.ANNO           AND TIPORD    = :new.TIPORD           AND DATA_R    =

  • Streaking in Image, Bad Print Head - but Which One? HP Deskjet 130

    In my poster prints there is subtle streaking and discoloration.  From two years of printing I know this means: print head issue.  Usually I just buy all new print heads and am done with it but business has been slow.  I need to figure out which prin