How to code  EXIT_SAPLACC4_001...Kindly Help

Hi gurus,
I have to code a user exit EXIT_SAPLACC4_001 so that it can accomodate custome fields...I know there is a parameter in the tables tab in this FM where we have fields using which we can do  this...but i am not sure on how to code this...can anuone out there please help me with this...also steps to do this will be helpful...
can someone help...
Cheers:
Jim
Message was edited by:
        jimmy wiliams

Hi Jim,
The following is the documentation from fm
Table for Customer Enhancement
Description
Container used to transfer data for calling up user exits when processing update BAPIs in Accounting. The user exit must be activated with transaction CMOD (extension ACBAPI01) for this to be possible.
In addition to the container (structure BAPIEXTC), the document header (structure ACCHD) and line items (structure ACCIT) from the accounting document are also transferred in the exit. The accounting document header and line items can be supplemented or modified in this way.
The container does not have a structure, which means that the user can transfer any data in character format. If line items are to be supplemented, the relevant line item ( ITEMNO_ACC,), which is also contained in other parameters, must be transferred, as well as the data.
Notes
The accounting document is a temporary document and is used by the system to provide all relevant data for the components carrying out updates. The document itself is not updated.
Further Information
User exit documentation
and also check the following thread give you info related to how to fill up custom fields
<a href="http://www.sapfans.com/forums/viewtopic.php?t=137643&postdays=0&postorder=asc&highlight=bapiaccglpostingpost+extension1&start=0">Link From Sapfans.com</a>
aRs

Similar Messages

  • Program for t-codes -kindly help

    dear friends,
    i am in need to know abap programs to the t-codes. for example for creation of sales order (va01), there is a program called SAPMV45A. similar to that i want programs for t-codes in mm.
    creation of material master- mm01/mm02/mm03
    vendor master  xk01/xk02/xk03
    info record me01/me02/me03
    RFQ   ME41/ME47/ME49
    purchase request me51n/me52n/me53n
    po       me21n/me22n/me23n
    GR   MIGO
    INVOICE VERIFICATION :- MIRO
    is there any other method to see the program for the corresponding t-codes.
    kindly help.how to see the programs in sap
    regards,
    flemmings

    Hi,
    If u want to see the program enter the t code in command field and then go to system (on top) and then status u will get details of program.
    Thanks
    suresh

  • How to code to get intermediate results in webdynpro ALV? Please help!

    Hi Experts,
    I got following info from help file to generate Intermediate Results(subtotal).
    Can somebody help me with sample code to achieve this?
    Basically I want to subtotal 'Qty' column based on 'Product' field.
    By default, all values in a field are used in the calculation during aggregation. However, you
    are also able to generate intermediate results. You group the data records that contain the
    values for an intermediate result and display each intermediate result in its own result row.
    To generate intermediate results, you have to provide certain information:
    &#9679; To specify in which field the values from which the intermediate results are calculated
    are located, generate an aggregation condition for the desired field. The overall result is
    displayed in the result row.
    &#9679; To specify which data records are contained in an intermediate result, group the data
    records: You sort the ALV output by the field that includes the criterion for the
    intermediate result.
    &#9679; To then generate the intermediate results, calculate the intermediate results using the
    field with the criterion.
    &#9679; To then display the intermediate results, switch on the display of intermediate results.
    You are able to make the following settings for intermediate results:
    &#9679; Generate intermediate results
    &#9679; Display intermediate results
    &#9679; Setting levels for drilling down intermediate results
    &#9679; Set the position of the result rows (see Settings for Aggregation [page 196])
    &#9679; Forbid the generation of intermediate results
    Prerequisites
    &#9679; You have generated an aggregation object for at least one aggregatable field.
    &#9679; The field with the criterion for intermediate results is not an aggregatable field, and
    therefore has an alphanumeric data type.
    Generate Intermediate Results
    To generate intermediate results in a field that already has an aggregation condition, generate
    a sort condition for the field of a column (another column) (see Sorting [page 190]).
    In this sort condition, define whether intermediate results are to be generated. To do this, use
    the methods of the class CL_SALV_WD_SORT_RULE.
    Methods for Generating Intermediate Results
    Function Method
    Generate intermediate results SET_GROUP_AGGREGATION
    Check whether intermediate results are displayed GET_GROUP_AGGREGATION
    Display Intermediate Results
    Once you have made all settings, to generate intermediate results you have to switch on the
    display of these intermediate results. You use the methods of the interface class
    IF_SALV_WD_FIELD_SETTINGS for this (implementing class
    CL_SALV_WD_CONFIG_TABLE).
    Methods for Displaying Intermediate Results
    Function Method
    Display intermediate results SET_GROUP_AGGR_DISPLAYED
    Check whether intermediate results are displayed GET_GROUP_AGGR_DISPLAYED
    I have tried a bit but it is not working. here is my code:
    get field and create aggregation rule of type total
    lr_field = l_value->if_salv_wd_field_settings~get_field( 'Qty' ).
    lr_field->if_salv_wd_aggr~create_aggr_rule( ).
    lr_aggr_rule = lr_field->if_salv_wd_aggr~get_aggr_rule(  ).
    lr_aggr_rule->set_aggregation_type( if_salv_wd_c_aggregation=>aggrtype_total ).
    l_field = l_value->if_salv_wd_field_settings~get_field( 'PRODUCT' ).
    l_sortrule = l_field->IF_SALV_WD_SORT~create_sort_rule( ).
    l_sortrule~SET_GROUP_AGGREGATION( 'Y').
    l_value->if_salv_wd_field_settings~SET_GROUP_AGGR_DISPLAYED( 'Y' ).
    Please help
    Message was edited by:
            gopalkrishna baliga

    Hi Gopalakrishna balgia,
    I think i have answered in the below thread. Check it out.
    How to show Subtotal in webdynpro ALV(ABAP)? Kindly help!
    Regards
    Rakesh

  • How to transfer file from ipod touch to i tunes. i have files in my ipod , ut itunes is  new so its telling if u sync the ipod all the files will be replaced but no files in the itunes.. so kindly help me how to transfer the files  from i pod to itunesb

    how to transfer file from ipod touch to i tunes. i have files in my ipod , ut itunes is  new so its telling if u sync the ipod all the files will be replaced but no files in the itunes.. so kindly help me how to transfer the files  from i pod to itunes......

    Some of the information below has subsequently appeared in a document by turingtest2: Recovering your iTunes library from your iPod or iOS device - https://discussions.apple.com/docs/DOC-3991
    Your i-device was not designed for unique storage of your media. It is not a backup device and media transfer was designed for you maintaining a master copy of your media on a computer which is itself properly backed up against loss. Syncing is one way, computer to device, updating the device content to the content on the computer, not updating or restoring content on a computer. The exception is iTunes Store purchased content.
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer - http://support.apple.com/kb/HT1848 - only media purchased from iTunes Store
    For transferring other items from an i-device to a computer you will have to use third party commercial software. Examples (check the web for others; this is not an exhaustive listing, nor do I have any idea if they are any good):
    - Senuti - http://www.fadingred.com/senuti/
    - Phoneview - http://www.ecamm.com/mac/phoneview/
    - MusicRescue - http://www.kennettnet.co.uk/products/musicrescue/
    - Sharepod (free) - http://download.cnet.com/SharePod/3000-2141_4-10794489.html?tag=mncol;2 - Windows
    - Snowfox/iMedia - http://www.mac-videoconverter.com/imedia-transfer-mac.html - Mac & PC
    - iexplorer (free) - http://www.macroplant.com/iexplorer/ - Mac&PC
    - Yamipod (free) - http://www.yamipod.com/main/modules/downloads/ - PC, Linux, Mac [Still updated for use on newer devices? No edits to site since 2010.]
    - 2010 Post by Zevoneer: iPod media recovery options - https://discussions.apple.com/message/11624224 - this is an older post and many of the links are also for old posts, so bear this in mind when reading them.
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive - https://discussions.apple.com/docs/DOC-3141 - dates from 2008 and some outdated information now.
    Copying Content from your iPod to your Computer - The Definitive Guide - http://www.ilounge.com/index.php/articles/comments/copying-music-from-ipod-to-co mputer/ - Information about use in disk mode pertains only to older model iPods.
    Get Your Music Off of Your iPod - http://howto.wired.com/wiki/Get_Your_Music_Off_of_Your_iPod - I am not sure but this may only work with some models and not newer Touch, iPhone, or iPad.
    Additional information here https://discussions.apple.com/message/18324797

  • I have amny duplicate contact numbers under various names , coz when i syncronised my i phone with facebook this happened , now i want to identify them and delete  them kindly help how i can save my time

    i was using blackberry earlier and when i syncronized it with facebook and gmail it added many contacts to my phonebook leading to duplication , now i have got all thoes contacts transfered to my i phone and even downloaded appliciation to delete duplicates in i phone though it is paid application but of no use as it has not recognised the duplicate contact numbers in phonebook but it recognise only exact duplicates kindly help me how i can delete duplicate contact numbers with diffrent names

    Just go ahead and go to settings>Facebook> Contacts OFF and do the same with Gmail. THe contacts related to those acct will dissapear. Then when you sync again with Gmail be carefull BCS IT SAYS IF YOU WANT TO JUST ADD THE CONTACTS OR MERGE THEM!!!!

  • How to send HTML email using alert framework? Kindly help!

    Hi Experts,
          I am using alert framework (alert category) to send email. In the email message I want to use HTML content along with some hyperlinks.
         How can I do this?
         kindly help!
    Thanks
    Gopal
    Message was edited by:
            gopalkrishna baliga

    Hi,
    To send hyper links, you can add the links in the FollowUp Activity.
    The content of the mail from the alert framework will be a text mail.
    One option would be to check in your SCOT settings if it would be possible to set the Content Type as TEXT/HTML . If yes, then maybe this should be possible.
    Regards
    Bhavesh

  • Photoshop CS6 could not update successfully.  Error codes Adobe Photoshop 13.0.1.3 Installation failed. Error Code: U44M1P7  Extension Manager 6.0.8 Update Installation failed. Error Code: U44M1P7  Please help me figure out how to call customer service. 

    Photoshop CS6 could not update successfully.  Error codes Adobe Photoshop 13.0.1.3 Installation failed. Error Code: U44M1P7  Extension Manager 6.0.8 Update Installation failed. Error Code: U44M1P7  Please help me figure out how to call customer service.  I would prefer to talk to someone directly.

    Are you using any disk cleaner or optimization tools like CleanMymac or Mackeeper?
    Regards,
    Ashutosh

  • How to test system down in XI? Kindly help!

    Hi Experts,
        I have a JMS -> XI ->SAP R/3 scenario.
        If the remote SAP R/3 is down then I have to trigger an alert.
        In the runtime workbench, i have configured the alert in Alert Configuration.
        In this I have given the alert category, receiver service, interface and namespace.
        How do I test the system down scenario without actually making the system down?
    I have tried to test it via runtime workbench test tool and stopping the receiver communication channel. But SXMB_MONI shows the message successfully processed.
       Why the XI message is not in error?
       How do I actually test this scenario?
       Kindly help me!
    Thanks
    Gopal

    > 1. The report RSARFCEX to restart this message from
    > SM58.
    Correct.
    > 2. Executing report RSQIWKEX restarts errored msg in
    > SXMB_MONI.
    It restarts the error messge from the Queue in SM58. If the message is deleivered successfully from Sm58, the message in MONI gets updated. It does not restart the message from MONI.
    > 3. Msgs are processed in tRFC queues only in IDOC
    > scenarios.
    Ths blog has answers ,
    /people/sap.india5/blog/2006/01/03/xi-asynchronous-message-processing-understanding-xi-queues-part-i
    <i>Further in asynchronous communication, the calls can be executed either by tRFC (Transactional RFC) or qRFC (Queue RFC). In tRFC, RFC calls are stored in database along with corresponding data under a unique transaction id (TID). However in tRFC, LUW (Logical Unit of Work) are executed independently of each other and the sequence specified by sending application is not maintained. And this particular requirement leads to qRFC communication wherein all LUWs are processed in the same sequence as determined by sending application.</i>
    Not only Idoc's used by other Interfaces as well.
    Regards
    Bhavesh

  • How to map one element to multiple target nodes? Kindly help!

    Hi Experts,
       I have a source XML:
       <Inventory>
             <MaterialNo>Z001</MaterialNo>
             <InventoryLineItem>
               <BatchNo>B001</BatchNo>
               <Quantity>100</Quantity>
             </InventoryLineItem>
             <InventoryLineItem>
               <BatchNo>B002</BatchNo>
               <Quantity>120</Quantity>
             </InventoryLineItem>
             <InventoryLineItem>
               <BatchNo>B003</BatchNo>
               <Quantity>50</Quantity>
             </InventoryLineItem>
       </Inventory>
    I want the target output as: This is a RFC function module which has an internal table ITAB_STOCK as the input parameter.
       YGET_STOCK
           ITAB_STOCK
             Item
                 MM - Z001
                 Batch - B001
                 Qty - 100
             Item
                 MM - Z001
                 Batch - B002
                 Qty - 120
             Item
                 MM - Z001
                 Batch - B003
                 Qty - 50
       What I am getting is:
            YGET_STOCK
           ITAB_STOCK
             Item
                 MM - Z001
                 Batch - B001
                 Qty - 100
             Item
                 Batch - B002
                 Qty - 120
             Item
                 Batch - B003
                 Qty - 50
          The MaterialNo (MM) is not coming in all the items. What could be the problem in my graphical mapping? How to achieve the expected target uisng graphical mapping?
          Kindly help!
    Thanks
    Gopal

    Hello,
      Just do the below mapping you will get it...
    Map InventoryLineItem to Item in your table.
    Then MaterialNo--->CopyValue---->MM
                                       [0]
    You will get it let me know if not.
    Regards,

  • Kindly help  how to inlcude a menubar in a  existing web page....

    Hi,
    I am a beginner in Dreamweaver and learning.I am using Dreamweaver CS5 version.i have a created a vertical menu bar with submenus in dreamweaver.i already have a webpage which contains a menu which is not browser compatible.
    For the reason , i used the dreamweaver menu bar.Is it possible to include just the menu bar in to an existing webpage which is generated at run time.
    Truncate.jsp is a page which loads the whole page at run time.previously i have used XML mapping to load the menus.Kindly help on how to include the menu.jsp / menu.html created in dreamweaver.
    Thanks a lot....

    Jegadees_b wrote:
    Hi,
    I am a beginner in Dreamweaver and learning.I am using Dreamweaver CS5 version.i have a created a vertical menu bar with submenus in dreamweaver.i already have a webpage which contains a menu which is not browser compatible.
    For the reason , i used the dreamweaver menu bar.Is it possible to include just the menu bar in to an existing webpage which is generated at run time.
    Truncate.jsp is a page which loads the whole page at run time.previously i have used XML mapping to load the menus.Kindly help on how to include the menu.jsp / menu.html created in dreamweaver.
    Thanks a lot....
    Use  SSI (Server Side includes)
    Wherever you want the menu to appear in the pages of your website add:
    <?php include ('menu.html'); ?>
    <?php include ('menu.jsp'); ?>
    If you you are not running a local sever then you will only see the results when you upload to your remote server providing it is set up to use php.
    or if you prefer to work with html files you can use:
    <!--#include virtual="menu.html" -->
    <!--#include virtual="menu.jsp" -->
    But you must change the page extention to .shtml for any page in which you insert the includes.

  • Kindly help me how to view html file in swing using jbutton

    hello..im a begginer at j2se language and im working on my school project..kindly help me how to view html files by clicking button at javax.swing..thanks

    Here you go:public class HTMLViewer implements Runnable, ActionListener
         public void run() {
              JFrame frame = new JFrame("View HTML");
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              JButton button = new JButton("Click me!");
              button.addActionListener(this);
              Container cp = frame.getContentPane();
              cp.add(button, BorderLayout.CENTER);
              frame.pack();
              frame.setLocationRelativeTo(null);
              frame.setVisible(true);
         public void actionPerformed(ActionEvent e) {
              if (Desktop.isDesktopSupported()) {
                   Desktop d = Desktop.getDesktop();
                   try {
                        d.browse(new URI("www.google.com"));
                   } catch (IOException ex) {
                        ex.printStackTrace();
                   } catch (URISyntaxException ex) {
                        ex.printStackTrace();
         public static void main(String[] args) {
              EventQueue.invokeLater(new HTMLViewer());
    }If that's not what you're looking for you need to ask more specific questions.

  • How to filter data in message mapping?Kindly help! URGENT

    Hi Experts,
    I have a source XML as shown below:
    <Inventory>
    <InventoryItem>
    <InventoryQty>
    <MaterialNo>X001</MaterialNo>
    <ItemCode>InTransit</ItemCode>
    <Quantity>1000</Quantity>
    </InventoryQty>
    <InventoryQty>
    <ItemCode>Available</ItemCode>
    <Quantity>1500</Quantity>
    </InventoryQty>
    <InventoryQty>
    <ItemCode>UnRestricted</ItemCode>
    <Quantity>1250</Quantity>
    </InventoryQty>
    </InventoryItem>
    <InventoryItem>
    <InventoryQty>
    <MaterialNo>X002</MaterialNo>
    <ItemCode>InTransit</ItemCode>
    <Quantity>1500</Quantity>
    </InventoryQty>
    <InventoryQty>
    <ItemCode>Available</ItemCode>
    <Quantity>1600</Quantity>
    </InventoryQty>
    <InventoryQty>
    <ItemCode>UnRestricted</ItemCode>
    <Quantity>1200</Quantity>
    </InventoryQty>
    </InventoryItem>
    </Inventory>
    My Target XML is mapped to a RFC Fnction module (YGET_STOCK). The target function module has a internal table (ITAB_STOCK) as input:
    YGET_STOCK
    ITAB_STOCK
    item
               - <Material>X001</Material>
               - <AvailableStock>1500</AvailableStock>
               - <IntransitStock>1000</IntransitStock>
    item
               - <Material>X002</Material>
               - <AvailableStock>1600</AvailableStock>
               - <IntransitStock>1500</IntransitStock>
    </Inventory>
    So how to get the desired target XML using graphical XI mapping?
    I have tried using graphical mapping and I am getting the following:
    YGET_STOCK
    ITAB_STOCK
    item
               - <Material>X001</Material>
               - <IntransitStock>1000</IntransitStock>
               - <AvailableStock></AvailableStock>
    item
               - <Material>X001</Material>
               - <IntransitStock></IntransitStock>
               - <AvailableStock>1500</AvailableStock>
    </Inventory>
    As shown it is reading only the first <InventoryItem> and splitting the Available and InTransit quantity into two separate items of the internal tables instead of putting them into one item.
    Kindly help me! URGENT!
    Thanks
    Gopal
    Message was edited by:
            gopalkrishna baliga
    Message was edited by:
            gopalkrishna baliga
    Message was edited by:
            gopalkrishna baliga
    Message was edited by:
            gopalkrishna baliga
    Message was edited by:
            gopalkrishna baliga

    what is ur mapping def...did u map <InventoryItem> to -
    item in rfc?

  • How does RFC adapter with EO/EOIO work? Kindly help!

    Hi Experts,
            How does a sender or receiver RFC adapter works when QOS is EO or EOIO (Async)? In other words, for EOIO, are the messages are queued? How does this queueing work? Does it use FIFO logic? where do we specify the max limit of messages that can be queued?
    Also what is the significance of 'Initial connection' and 'maximum connections' in communication channel? I have given the default value 1 for both. What should be the ideal value and why?
    In my Async RFC - XI scenario sometimes XI is able to receive the messages but sometimes it doesnot even though the sender system is UP and running.
    I cannot see any messages in SXMB_MONI even though the sender has sent the messade.
    Why RFC adapter is behaving like this? What could be the issue?
    Kindly help!

    EOIO: How does this queueing work? Does it use FIFO logic?
    >> yes it uses FIFO logic in EOIO.
    Also what is the significance of 'Initial connection' and 'maximum connections' in communication channel? I have given the default value 1 for both. What should be the ideal value and why?
    >>>noof rfc connections we are using for connecting to XI to RFC minmum is 1 maximum is 50 bydefault. you increase this value by changing the default setting.
    How does RFC adapter with EO/EOIO work? Kindly help!
    Posted: Mar 21, 2007 4:15 AM 
    Hi Experts,
    How does a sender or receiver RFC adapter works when QOS is EO or EOIO (Async)? In other words, for EOIO, are the messages are queued? How does this queueing work? Does it use FIFO logic? where do we specify the max limit of messages that can be queued?
    Also what is the significance of 'Initial connection' and 'maximum connections' in communication channel? I have given the default value 1 for both. What should be the ideal value and why?
    Why RFC adapter is behaving like this? What could be the issue?
    >>check ur sender RFC adapter. chekc whether data is sent from RFC . see logs in R/3.

  • How to change the order of target message? kindly help

    Hi Experts,
              I have a source message with fields EmpNo, EmpName, Dept and joining date. The target message has the same structure but fields are in different order. That is, EmpName, Dept, EmpNo and joiningdate.
    How to achive the target message with message mapping and without using a different message type for target?
    Kindly help
    Thanks
    Gopal

    Hi Gopal,
    Try this one.
    1. Create Only one message type of target type.
    2. Go to XSD tab and export the "XSD" of the message type.
    3. Change the <xsd:sequence> element to <xsd:all>
    4. Then import the "xsd" in external definitions.
    5. Use the imported "xsd" and create Message mapping. Give both source and target the same message type from XSD.
    6. just Map one to one.
    Now you can get ur required target structure. Since it is <xsd:all> it will accept ur input file.
    Regards,
    P.Venkat

  • How to monitor XI scenarios? Kindly help!

    Hi Experts,
          I have two scenarios:
          1. (.Net application)webservice - XI - RFC(SAP R/3)
          2. (TIBCO)JMS - XI - RFC(SAP R/3)
           How do I monitor if SAP R/3 is down? I need to trigger an email alert.
           How do I monitor if .Net application is down? I need to trigger an email alert.
           How do I monitor if TIBCO is down? I need to trigger an email alert.
           How do I monitor if XI itself is down? I need to trigger an email alert.
          Kindly help!
    Thanks
    Gopal

    <b>How do I monitor if SAP R/3 is down? I need to trigger an email alert.</b>
    If data is send to R3 and if the system is donw then thru alert config u will be able to montior it. if r3 is down u can find some BASIS components that will do this job. for this u need to check with ur basis team
    <b>How do I monitor if XI itself is down? I need to trigger an email alert.</b>
    check for the basis components that mails the admin abt the system failure.
    <b>How do I monitor if .Net application is down? I need to trigger an email alert.
    How do I monitor if TIBCO is down? I need to trigger an email alert.</b>
    if data is pulled by xi adapts then configuration of alerts will just do. for any adapts that is based on polling method mail can be send by configuration of alerts. for trigger event methods like http and proxy (sender) then we need to check for other workarounds....remember bhavesh commenting on alerts for intimating r3/xi failure without any workarounds but dont have the link now

Maybe you are looking for

  • Macbook 5.2 kernel panic

    please check my kernel panic http://dl.dropbox.com/u/62100678/kernel.log i dont know why always have panic AHT say what memorytest clear

  • How do I fix a cracked metal frame?

    Incident The laptop fell off my lap landing on the floor, battery corner first. Situation The battery is jutting out were it locks into the iBook. Now I get only 5 minutes battery life. The connecters and lock are fine but the metal frame is cracked.

  • 2 producers/ 1 consumer for a Producer/Consumer Architecture

    I am trying to aquire two seperate tasks (one with analog and one with digital signals).  The digital signal needs to be aquired at a much higher rate (10 times higher).  The data from both of these aquisitions is required for writing to the same fil

  • CILK language installation error

    hi all; i'm using IMac with intel processor and i'm using Mac OS X 10.5.8 and i installed Cilk multithreading programming language ... but when i execute "make install" command after success full execution of ./configure, i get one error"error to exe

  • Which one to chose between Netwevae XI and Portal as a career option.

    Hi, I have just taken up the training in NS XI and in a dilema to chose between XI & Portal as a career option. I have sufficient amount of experience in ABAP and wish to proceed further in any of the two. Can any one please advice which one would be