What are  import parameters for bapi

please tell me what are the minimum  fields i  has to pass for bapi
" BAPI_SALESDOCUMENT_CHANGE ".
if  possible  give me with example
Moderator message: please (re)search yourself first.
Edited by: Thomas Zloch on Dec 8, 2010 9:07 AM

Hello,
It will all depend on what you need to change in the sales order.
For example, if you want to change something in the header only, then you need to pass ORDER_HEADER_IN and ORDER_HEADER_INX.
Similarly, if you want to change something only in the sales items then you need to pass the value in SALESDOCUMENT, ITEM_IN and ITEM_INX.
So, it will all depend on your need.
But, always pass a table in RETURN so that you get to know whether BAPI has executed successfully or there is some error in the processing.
Hope it helps.
Regards,
Himanshu

Similar Messages

  • What are the parameters for the processes menu items

    Is there anywhere that lists out what the exact parameters of the process menu items are. i.e "Make Louder, Normalize, Hard Limit, Equalize Volume Levels",
    For instance when you use "Make Louder" you see the dialog box title change from "Analyzing peeks" to "Applying Hard Limit". What exactly is happening when these processes are being applied? I realize that the Hard limiter is being applied, but with what paramaters and what does "Analyzing peeks" really mean and is there a way to do that by its self and if so what can be learned by the results.
    I would also like to know the paramaters for the others as well. It would be helpfull to know, so one could dial up or down the paramaters to achieve a similar result, but with slightly more or less effect.
    Regards,
    Don T

    Nothin?

  • What are the parameters for DB2 / JDBC Connetivity?

    I have insert IDoc data from SAP > XI > DB2.
    What are the connection parameters for the Reeiver JDBC channel to connect from XI to a DB2 database?
    Regards,
    Bhaskar

    Hey
    please have a look at the following thread
    JDBC connection to DB2 Database
    also please search SDN for DB2 drivers,there is lots of material for it
    thanx
    Aamir

  • What are import settings for downloaded purchases?

    import settings on itunes isnt the same settings for purchased downloads?

    Import settings do not apply to purchases.  When you purchase a download, it comes in the format provided by the store. 
    Some common formats are AAC/256 (iTunes Store), MP3/256 (Amazon MP3), and MP3/320 (Google Play).

  • What are the parameters for the FM

    hi can any one help me how to use this FM HR_ECM_GET_NUMBER_OF_MONTHS
    Edited by: kopparapu suresh on Jun 16, 2008 11:15 AM

    hi see this..
    report .
    parameters: p_sdate type sy-datum,
                p_edate type sy-datum.
    data: l_days type i,
          l_months type i,
          l_years  type i.
    CALL FUNCTION 'HR_SGPBS_YRS_MTHS_DAYS'
    EXPORTING
    BEG_DA = p_sdate
    END_DA = p_edate
    IMPORTING
    NO_DAY = l_days
    NO_MONTH = l_months
    NO_YEAR = l_years .
    write:/ 'Days = ', l_days.
    write:/ 'Months = ', l_months.
    write:/ 'Years = ', l_years.
    or see this..
    REPORT ZDATEDIFF.
    DATA: EDAYS   LIKE VTBBEWE-ATAGE,
          EMONTHS LIKE VTBBEWE-ATAGE,
          EYEARS  LIKE VTBBEWE-ATAGE.
    PARAMETERS: FROMDATE LIKE VTBBEWE-DBERVON,
                TODATE   LIKE VTBBEWE-DBERBIS DEFAULT SY-DATUM.
    call function 'FIMA_DAYS_AND_MONTHS_AND_YEARS'
      exporting
        i_date_from          = FROMDATE
        i_date_to            = TODATE
      I_FLG_SEPARATE       = ' '
      IMPORTING
        E_DAYS               = EDAYS
        E_MONTHS             = EMONTHS
        E_YEARS              = EYEARS.
    WRITE:/ 'Difference in Days   ', EDAYS.
    WRITE:/ 'Difference in Months ', EMONTHS.
    WRITE:/ 'Difference in Years  ', EYEARS.
    INITIALIZATION.
    FROMDATE = SY-DATUM - 60.

  • What are importants services oracle for windows ?

    I am newbies, and my question is , what are importants services oracle able to monitor on windows os (service name that we can find for all servers windows os)?
    thank you in advance

    Hi,
    see Oracle 10g Installation on Windows Server 2008 RC2
    Beware that for Windows 2008 R2 you need at least 10.2.0.4. Install 10.2.0.3 found on technet and upgrade from Metalink Patch.
    Herald ten Dam
    http://htendam.wordpress.com

  • Import parameters for FM's

    Hi
      I have to use the FM 'SERNR_DELETE_FROM_HU' to delete the existing serial number and FM 'SERNR_ADD_TO_HU' to add a new serial number. Can anyone please  tell me what are the import parameters for these FM's.
    Thanks in advance.
    Vasudha

    which system are you using?
    i guess the FM name is :SERNR_DEL_FROM_HU
    you can just see the where used list of that FM.
    its used in LV51PF17, use in similar way

  • What are the parameters of Function Module

    Hi,
    What are the parameters of Function Module?

    Function Modules are special external subroutine stored in a central library. The R/3 system provides numerous predefined function modules that you can call from the ABAP/4 programs.
    All the function Modules are created under the Function Groups. Function Groups are nothing but the related group of function modules.
    The function modules can be maintained through T.CodeSE37 and T.Code SE80.
    In general the function module has the following components.
    Documentation:
    This is the place where you can find the discription/purpose of the function module.
    Import & Export Parameters.
    Import parameters correspond to the formal input parameters of subroutines. They pass data from the calling program to the function module.
    Export parameters correspond to the formal input parameters of subroutines. They pass data from the function module back to the calling program.
    Table Parameters.
    Table parameters are internal tables. Internal tables are treated like changing parameters and are always passed by reference.
    Exceptions.
    Exceptions are used to handle error scenarios which can occur in the function modules. The function modules checks for any type of error and raise exception and returns SY-SUBRC value to the calling program.
    Source Code:
    the programming logic of the function module is written in this source code.
    Rewards if useful.

  • What are the parameters in Call transaction method?

    Hi ABAPER'S,
        Please give me what are the parameters in call transaction method?
    Thanks,
    Prakash

    Processing batch input data with CALL TRANSACTION USING is the faster of the two recommended data transfer methods. In this method, legacy data is processed inline in your data transfer program.
    Syntax:
    CALL TRANSACTION <tcode>
    USING <bdc_tab>
    MODE  <mode>
    UPDATE  <update>
    <tcode> : Transaction code
    <bdc_tab> : Internal table of structure BDCDATA.
    <mode> : Display mode:
    A
    Display all
    E
    Display errors only
    N
    No display
    <update> : Update mode:
    S
    Synchronous
    A
    Asynchronous
    L
    Local update
    A program that uses CALL TRANSACTION USING to process legacy data should execute the following steps:
    Prepare a BDCDATA structure for the transaction that you wish to run.
    With a CALL TRANSACTION USING statement, call the transaction and prepare the BDCDATA structure. For example:
    CALL TRANSACTION 'TFCA' USING BDCDATA
    MODE 'A'
    UPDATE 'S'.
    MESSAGES INTO MESSTAB.
    IF SY-SUBRC <> 0.
    <Error_handling>.
    ENDIF.
    The MODE Parameter
    You can use the MODE parameter to specify whether data transfer processing should be displayed as it happens. You can choose between three modes:
    A Display all. All screens and the data that goes in them appear when you run your program.
    N No display. All screens are processed invisibly, regardless of whether there are errors or not. Control returns to your program as soon as transaction processing is finished.
    E Display errors only. The transaction goes into display mode as soon as an error in one of the screens is detected. You can then correct the error.
    The display modes are the same as those that are available for processing batch input sessions.
    The UPDATE Parameter
    You use the UPDATE parameter to specify how updates produced by a transaction should be processed. You can select between these modes:
    A Asynchronous updating. In this mode, the called transaction does not wait for any updates it produces to be completed. It simply passes the updates to the SAP update service. Asynchronous processing therefore usually results in faster execution of your data transfer program.
    Asynchronous processing is NOT recommended for processing any larger amount of data. This is because the called transaction receives no completion message from the update module in asynchronous updating. The calling data transfer program, in turn, cannot determine whether a called transaction ended with a successful update of the database or not.
    If you use asynchronous updating, then you will need to use the update management facility (Transaction SM12) to check whether updates have been terminated abnormally during session processing. Error analysis and recovery is less convenient than with synchronous updating.
    S Synchronous updating. In this mode, the called transaction waits for any updates that it produces to be completed. Execution is slower than with asynchronous updating because called transactions wait for updating to be completed. However, the called transaction is able to return any update error message that occurs to your program. It is much easier for you to analyze and recover from errors.
    L Local updating. If you update data locally, the update of the database will not be processed in a separate process, but in the process of the calling program. (See the ABAP keyword documentation on SET UPDATE TASK LOCAL for more information.)
    The MESSAGES Parameter
    The MESSAGES specification indicates that all system messages issued during a CALL TRANSACTION USING are written into the internal table <MESSTAB> . The internal table must have the structure BDCMSGCOLL .
    You can record the messages issued by Transaction TFCA in table MESSTAB with the following coding:
    (This example uses a flight connection that does not exist to trigger an error in the transaction.)
    DATA: BEGIN OF BDCDATA OCCURS 100.
    INCLUDE STRUCTURE BDCDATA.
    DATA: END OF BDCDATA.
    DATA: BEGIN OF MESSTAB OCCURS 10.
    INCLUDE STRUCTURE BDCMSGCOLL.
    DATA: END OF MESSTAB.
    BDCDATA-PROGRAM = 'SAPMTFCA'.
    BDCDATA-DYNPRO = '0100'.
    BDCDATA-DYNBEGIN = 'X'.
    APPEND BDCDATA.
    CLEAR BDCDATA.
    BDCDATA-FNAM = 'SFLIGHT-CARRID'.
    BDCDATA-FVAL = 'XX'.
    APPEND BDCDATA.
    BDCDATA-FNAM = 'SFLIGHT-CONNID'.
    BDCDATA-FVAL = '0400'.
    APPEND BDCDATA.
    CALL TRANSACTION 'TFCA' USING BDCDATA MODE 'N'
    MESSAGES INTO MESSTAB.
    LOOP AT MESSTAB.
    WRITE: / MESSTAB-TCODE,
    MESSTAB-DYNAME,
    MESSTAB-DYNUMB,
    MESSTAB-MSGTYP,
    MESSTAB-MSGSPRA,
    MESSTAB-MSGID,
    MESSTAB-MSGNR.
    ENDLOOP.
    The following figures show the return codes from CALL TRANSACTION USING and the system fields that contain message information from the called transaction. As the return code chart shows, return codes above 1000 are reserved for data transfer. If you use the MESSAGES INTO <table> option, then you do not need to query the system fields shown below; their contents are automatically written into the message table. You can loop over the message table to write out any messages that were entered into it.
    Return codes:
    Value
    Explanation
    0
    Successful
    <=1000
    Error in dialog program
    > 1000
    Batch input error
    System fields:
    Name:
    Explanation:
    SY-MSGID
    Message-ID
    SY-MSGTY
    Message type (E,I,W,S,A,X)
    SY-MSGNO
    Message number
    SY-MSGV1
    Message variable 1
    SY-MSGV2
    Message variable 2
    SY-MSGV3
    Message variable 3
    SY-MSGV4
    Message variable 4
    Error Analysis and Restart Capability
    Unlike batch input methods using sessions, CALL TRANSACTION USING processing does not provide any special handling for incorrect transactions. There is no restart capability for transactions that contain errors or produce update failures.
    You can handle incorrect transactions by using update mode S (synchronous updating) and checking the return code from CALL TRANSACTION USING. If the return code is anything other than 0, then you should do the following:
    write out or save the message table
    use the BDCDATA table that you generated for the CALL TRANSACTION USING to generate a batch input session for the faulty transaction. You can then analyze the faulty transaction and correct the error using the tools provided in the batch input management facility.

  • What  are  the  parameters  which  control the  pop up  of  sales area

    Hi Experts
    What  are  the  parameters  which  control the  pop up  of  sales area  along with sales  office  when  Sold to party  is fed  in to the CRM order .
    I  have  an issue   that,  though  the  distribution channel  and  division  is  maintained  in the  sales org  it is not   appearing  in the pop up.
    The  BP   is extended  to the  sales area .
    If  any  one  can  give  me details / documentataion   on the setting , it  is  highly  appreciated.
    Regards
    Raj

    Dear Srikanth
    Thank  for your  up date .  in my case   the customer  is assigned  with   two sales area. The  org model  ,  nothing  is  maintained  in the  attributes , still one  is appearing in the  pop up and  and  other  one  is not . It is surpricing.
    if you  can mention the logic  of maintaining  the   division and  distribution  channel inthe attribute  it is  of great help.
    Regards
    Raj

  • What are the wildcards for FILE_MASK in FM EPS_GET_DIRECTORY_LISTING

    The wildcard for exactly 1 character is '?'.
    example: with mask ????????.STA     , I get the following files:
    BWMDAACW.STA
    BWMDAADW.STA
    BWMDAAEW.STA
    BWMDAAFW.STA
    BWMDAAGW.STA
    (all files ending with .STA, with 8 characters before .STA)
    But what is the wildcard for 'any character' ?
    I tried with *.STA     , but the result is
    test1
    test2
    test3
    test4
    y5c01
    (all the filenames with exactly 5 characters)
    with *STA, the result is
    IBAN
    PBCL
    rfbi
    stxh
    stxl
    (all the filenames with exactly 4 characters)
    (the result is the same with *123 or *XYZ !!!)
    with BW*, the result is
    BWMDAACW.STA
    BWMDAADW.STA
    BWMDAAEW.STA
    BWMDAAFW.STA
    BWMDAAGW.STA
    as expected, but * seems the right wild character for 'any character' only at the end of the mask; it seems not work as expected when it is not the last character of the mask.
    It seems very strange! What are the rules for wildcards ? (I'm in 4.7)
    thanks in advance

    CONSTANTS DAYS1980     TYPE I VALUE 3652.
    DATA: linelength TYPE i VALUE 0.
    DATA: linelength1 TYPE i VALUE 0.
    DATA: text TYPE string.
    DATA: DLIST    LIKE EPSFILI OCCURS 0 WITH HEADER LINE,
          DPATH    LIKE EPSF-EPSDIRNAM,
          PFILE    LIKE EPSF-EPSFILNAM,
          MDATE    LIKE SY-DATUM,
          MTIME    LIKE SY-UZEIT,
          POINT_IN_TIME TYPE I.
    DATA: BEGIN OF FATTR OCCURS 0,
              FILE_NAME  LIKE EPSF-EPSFILNAM,
              FILE_SIZE  LIKE EPSF-EPSFILSIZ,
              FILE_OWNER LIKE EPSF-EPSFILOWN,
              FILE_MODE  LIKE EPSF-EPSFILMOD,
              FILE_TYPE  LIKE EPSF-EPSFILTYP,
              FILE_MTIME(12),
          END OF FATTR.
    PARAMETER P_PATH(50) TYPE C DEFAULT '/TMP' LOWER CASE.
    PARAMETER P_FILE(50) TYPE C DEFAULT ' '  LOWER CASE.
    DPATH = P_PATH.
    PFILE = P_FILE.
    CALL FUNCTION 'EPS_GET_DIRECTORY_LISTING'
         EXPORTING
              DIR_NAME               = DPATH
    *          FILE_MASK              = PFILE
         TABLES
              DIR_LIST               = DLIST
         EXCEPTIONS
              INVALID_EPS_SUBDIR     = 1
              SAPGPARAM_FAILED       = 2
              BUILD_DIRECTORY_FAILED = 3
              NO_AUTHORIZATION       = 4
              READ_DIRECTORY_FAILED  = 5
              TOO_MANY_READ_ERRORS   = 6
              EMPTY_DIRECTORY_LIST   = 7
              OTHERS                 = 8.
    break developer.
    IF SY-SUBRC EQ 0.
      LOOP AT DLIST.
      linelength = STRLEN( DLIST-NAME ).
        linelength = linelength - 3.
      linelength1 = STRLEN( P_FILE ).
        linelength1 = linelength1 - 3.
      if DLIST-NAME+linelength(3) = P_FILE+linelength1(3).
        CALL FUNCTION 'EPS_GET_FILE_ATTRIBUTES'
             EXPORTING
                  FILE_NAME              = DLIST-NAME
                  DIR_NAME               = DPATH
             IMPORTING
                  FILE_SIZE              = FATTR-FILE_SIZE
                  FILE_OWNER             = FATTR-FILE_OWNER
                  FILE_MODE              = FATTR-FILE_MODE
                  FILE_TYPE              = FATTR-FILE_TYPE
                  FILE_MTIME             = FATTR-FILE_MTIME
             EXCEPTIONS
                  READ_DIRECTORY_FAILED  = 1
                  READ_ATTRIBUTES_FAILED = 2
                  OTHERS                 = 3.
        IF SY-SUBRC EQ 0.
          FATTR-FILE_NAME = DLIST-NAME.
          APPEND FATTR.
        ENDIF.
        endif.
      ENDLOOP.
      SORT FATTR BY FILE_NAME.
      LOOP AT FATTR.
        POINT_IN_TIME = FATTR-FILE_MTIME.
        CALL FUNCTION 'POINT_IN_TIME_CONVERT'
             EXPORTING
                  POINT_IN_TIME = POINT_IN_TIME
             IMPORTING
                  DATE          = MDATE
                  TIME          = MTIME
             EXCEPTIONS
                  OTHERS        = 1.
        SUBTRACT DAYS1980 FROM MDATE.
        WRITE: / FATTR-FILE_NAME,
                 FATTR-FILE_SIZE,
                 MDATE,
                 MTIME.
      ENDLOOP.
    ENDIF.
    Edited by: kk.adhvaryu on Sep 25, 2010 12:08 PM

  • Still on PS3? What are you waiting for?

    Are you still playing PlayStation 3? Why haven't you moved to the new generation with PlayStation 4? What are you waiting for? A specific game? The right price? Morpheus? 

    i'm broke at the moment, but in all fairness, I've got plenty of stuff to keep me busy as it is on my PS3 (as well as my WiiU, Amiga, Spectrum, 3DS, PC and Atarti2600) so I have no real need to upgrade. Furthermore, I'm not sure where to go next gen yet. It's tooe arly days to make a sensible decisison. Morpheus is callling to me, but currently I am much more impressed with the XboxOne with all its functionality, external HDD support and codecs, than the rather barren and user-unfriendly (for me anyway) PS4. I am also very angry and unforgiving with Sony for all the content removal on both my PS3 and SmartTV (which has lost Facebook, Midnight Pulp, Sony Entertainment TV, Crackle, Viewster and a whole host of other apps they decided they didn't want to run anymore.) As well as loads of things on the TV that just dont work properly that they cant be bothered to fix, incluing something that casues Youtube to crash all the time. The loss of PSHome was the final straw for me with Sony. Contrary to what a lot of people like to think it was very busy, and for me it was quite important, due to health issues I am fairly housebound, and it was a very good way for me to socialize.I just don't trust Sony anymore to make something that won't be downgraded in the near future. If Morpheus is great then I might be tempted to PS4 in time, but with rumors starting to emerge that the XboXone might support the Oculus, Sony have even lost the VR edge. Just wait and see for now.

  • What are the URLs for webmail and the wiki?

    I see that Lion Server supports webmail and a built-in wiki server, both available through a web browser.
    What are the URLs for these; how do I get to them? I can't find that important detail anywhere in the documentation.

    From /etc/httpd.conf
    Alias -->name --> location
    Alias /webmail /usr/share/web/webmail.html
    Alias /changepassword /usr/share/web/changepassword.html
    Alias /profilemanager /usr/share/web/profilemanager.html
    Alias /webcal /usr/share/web/webcal.html

  • What are best practices for managing my iphone from both work and home computers?

    What are best practices for managing my iphone from both work and home computers?

    Sync iPod/iPad/iPhone with two computers
    Although it isn't possible to sync an Apple device with two different libraries it is possible to sync with the same logical library from multiple computers. Each library has an internal ID and when iTunes connects to your iPod/iPad/iPhone it compares the local ID with the one the device normally syncs with. If they are the same you can go ahead and sync...
    I have my library cloned to a small 1Tb USB drive which I can take between home & work. At either location I use SyncToy 2.1 to update the local copy with the external drive. Mac users should be able to find similar tools. I can open either of the local libraries or the one on the external drive and update the media content of my iPhone. The slight exception is Photos which normally connects to a specific folder on a specific machine, although that can easily be remapped to the current library if you create a "Photos" folder inside the iTunes Media folder so that syncing the iTunes folders keeps this up to date as well. I periodically sweep my library for new files & orphans withiTunes Folder Watch just in case I make changes at one location but then overwrite the library with a newer copy from the other. Again Mac users should be able to find similar tools.
    As long as your media is organised within an iTunes Music or Tunes Media folder, in turn held inside the main iTunes folder that has your library files (whether or not you let iTunes keep the media folder organised) each library can access items at the same relative path from the library folder so the library can be at different drives/paths on different machines. This solution ensures I always have adequate backups of my library and I can update my devices whenever I can connect to the same build of iTunes.
    When working with an iPhone earlier builds of iTunes would remove any file not physically present in the local library, even if there was an entry for it, making manual management practically redundant on the iPhone. This behaviour has been changed but it will still only permit manual management with a library that has the correct internal ID. If you don't want to sync your library between machines on a regular basis just copy the iTunes Library.itl file from the current "home" machine to any other you want to use, then clean out the library entires and import the local content you have on that box.
    tt2

  • What are the Prerequisites for MDM

    HI,
    I would like to know what are the prerequisites for SAP MDM

    Hi,
    for MDM 5.5 installation, requirements are:
    MDM 5.5 Server:
    --> Microsoft windows 2000/ 2003/xp
    --> Linux -- kernel version 2.4 or higher with the following
    • libstdc ++.so.5 or higher
    • glibc 2.2 or higher
    &#61672; sun Solaris - 8 - sunos 5.8 rev .02/02 or later
    DBMS:
    --> Microsoft SQL server 2000 ( version 8.0 sp3)
    --> Oracle 9.2
    --> IBM DB2 8.1 version
    MDM 5.5 console/clients:
    --> Windows Xp, 2000, 2003 all versions
    MDM 5.5 API's:
    --> COM
    --> JAVA
    Desktop Publishing:
    --> Quark Express (windows and Macintosh)
    --> Adobe In Design (windows and Macintosh)
    Installation: MDM 5.5 console/clients:
    --> Windows Xp, 2000, 2003 all versions
    1.First we have to maintain Database server.(Sql 2000, Oracle 9i)
    2. We have to install MDM Server.
    3. After that install GUI clients.
    3.1. Console
    3.2.Importmanager
    3.3.Datamanger
    3.4.Syndicator
    4. Import manager Batch server, Syndication Batch server.
    5. Next coming to repositories go to Business content folder And select repositories .
    6.Program files --> sap MDM 5.5 --> Server > Archives> Put the repositories.
    7. In Console Mount the MDM server.
    8. Unachieve the repositories based upon Requirement
    Regarding this Any issues please let me know.I will clarify ur doubts.
    For MDM Learning
    https://www.sdn.sap.com/irj/sdn/mdm-elearning
    Please go through this link
    Regards
    Hari

Maybe you are looking for

  • Enhanced podcast (don't see chapter and pictures in podcast app on iphone or ipad)

    hi people ! i create enhanced podcast, and try that podcast on itunes app on my pc. Everything work ok, except pictures but i know that this is bug with curent version of iTunes. Then i opet same m4a enhanced podcast in quicktime app on my pc, again

  • Characters codes are not showing correctly in my wesbite. I use other browser it works but her ein mozilla its not. Please help

    This is my site http://globaledsource.com/ then the characters is not showing correctly. This is what happen in my site http://globaledsource.com/wp-content/uploads/2013/03/MAS_ThemeProbleme-1024x1024.jpg

  • Implementation of ESS and MSS

    Hi Gurus, We are looking at implementing Employee Self Service and Manager Self Service. Please help us with the pre-requisites, kind of resources required and also the high level process. Much appreciation. Kennedy. Moved from HCM to ESS Forum Edite

  • DB table for function module extractor

    I would really appreciate any comment or suggestion about this topic: Function module based extraction. I opened this thread on the BC & Extractors forum, but unfortunately none has given me any feedback yet. Thanks & Regards, Davide

  • LR 1.1 with CS2?

    In the readme file with LR 1.1 it says: "Adobe applications must be updated with the Camera Raw 4.1 plug-in order to ensure compatibility with Lightroom 1.1 develop module settings. The following products will support the Camera Raw 4.1 plug-in: Phot