ARXSGP module: AR Statement Generation Program

ARXSGP module: Statement Generation Program
My Requirement:
AR Customer statement output file I want to send to customer by email, that is if user submit customer statement program by default that output should send or forward to that particular customer by e-mail. How to do this set up, kindly advice me
Thanks and regards
Subbu Ramesh

1. Create generic send email program with attachment (using unix host file)
2. Customize ARXSGP.rdf into a custom report
3. Add in after report to call the generic send email program using FND_REQUEST.SUBMIT_REQUEST, passing the concurrent_requesT_id as parameter.
HTH

Similar Messages

  • AR Statement Generation Program ARXSGP Spawned

    Hello,
    We are getting issue when we Print/RePrint AR Statement, Oracle Submit TWO Concurrent Programs and it take too much time to finish.
    In Form Oracle show two request submited. US:12345678 ESA:12345679
    Any body has any idea!
    ORACLE AR
    Concurrent Program: Print Statements
    Executable: ARXSGPO
    Output : PostScript
    Current Form
    Form Application : Receivables
    Form Name : ARXSUPST
    Form Path : /oracle/appl/orad1at2/product/OA/ar/11.5.0/forms/US/ARXSUPST.fmx
    Form Version : 11.5.28
    Form Last Modified : $Date: 2004/06/14 23:45 $
    Thanks

    Please post the details of the application release, database version and OS.
    We are getting issue when we Print/RePrint AR Statement, Oracle Submit TWO Concurrent Programs and it take too much time to finish.What are the two concurrent programs?
    For performance, do you have the statistics collected up to date?
    Please also see these docs.
    Statement Generation Program (ARXSGP) Taking Over 24 Hours [ID 467690.1]
    Release 12 Issues in Statement Printing and AR Customer Balance Statement Letter [ID 565507.1]
    On 12.1.X Statement Generation Program complete with error due to Performance Issue [ID 1204176.1]
    Statements: How to Enable Debugging for Statement Generation Program ARXSGP [ID 436733.1]
    Statement Generation Program (ARXSGP): Overview, Setup and Troubleshooting [ID 1349752.1]
    ARXSGP Statement Generation Program Performance [ID 841193.1]
    Statement Generation Program (ARXSGP): Known Issues, Patches and Enhancement Requests [ID 1352529.1]
    ARXSGP Statement Generation Program Slow Performance [ID 1342662.1]
    If you still have the same issue, enable trace and generate the TKPROF file -- https://forums.oracle.com/forums/search.jspa?threadID=&q=Enable+AND+Trace+AND+Concurrent&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Registration Statement generation Program

    Hi All,
    Can some one please help me out for the registration of Statement Generation Program?
    I need to customize the Print Statement program (ARXSGPO) and register it with a new name, while i am registering it as a single request i am not able to fetch any output.
    As per my analysis when we submit the Print Statement program from print document screen it submits a Spawn program(ARXSGP) which populates some tables and then run ARXSGPO.
    I have registered two reports same as ARXSGPO and ARXSGP but don’t know how to add them in Print Document screen or some other way to complete the registration.
    Please let me know if require any other information for my requirement any help will be highly appreciated.
    Thank You,
    Pragati

    840741 wrote:
    Yes I checked the document and I do see a Bug 5839898 which has not been concluded with any solution. So what I understand from the note is that the program was left as it is and is not supposed to be run simultaneously.
    Correct and this answers your question.
    Thanks,
    Hussein

  • Statement Generation Program- Incompatability

    Hi,
    We are trying to find out if the 'Statement Generation Program' can be run simultaneously for more than a customer within a operating unit. Are we expecting to see any issues in terms of the performance or the output if we have the program run simultaneously. Would appreciate any quick response.
    Thanks,
    Vinoth Gopal.

    840741 wrote:
    Yes I checked the document and I do see a Bug 5839898 which has not been concluded with any solution. So what I understand from the note is that the program was left as it is and is not supposed to be run simultaneously.
    Correct and this answers your question.
    Thanks,
    Hussein

  • How to customize AR Statement Generation program

    Hi,
    Our client needs some additional attributes in the AR Statement generation program.
    The program is a Spawned program and internally calls an RDF ( ARXSGPO.rdf )
    How can we customize the program(spawn type) to include some additional fields in the output.
    Regards
    Kishore

    I have a same requirement.But my understanding of Customer Balance Report on 12.1.1 is slightly different.
    My understanding is Spawned Program Statement Generation Program insert data into AR_STATEMENT_HEADERS & AR_STATEMENT_LINE_CLUSTERS tables and kick off standard report AR Customer Balance Statement Letter. This report does not have rdf attached to it rather has Data Template ARXSGPO.xml which fetches the data.
    Now my question is how do I customize the Data Template ARXSGPO.xml . Update File button has been disabled on this data defination. Also is there any way I can apply something similar to unix softlink here.
    Thanks in Advance

  • AR: Statement Generation Program, showing OLD Chargebacks/Payments

    Hi,
    We are facing an issue where the Print Statements Report is showing Chargebacks and Payments dated all the way to year before(since when we went live). And all these chargebacks & payments have no Amount Due and have been reconciled/cleared. Following is the sample body of the report.
    No changes has been made whatsoever except for an upgrade from 12.0.3 to 12.1.3.
    Statement Date 27-NOV-11
    According to our records, your account with us contains the following balances as of the statement date
    InvoiceDate Transaction Number     Transaction Type     Due Date      Customer PO      Amount      Amount Due
    02-MAY-10 99999           Invoice          01-JUN-10                0.00
    28-JUL-10      99999           Payment                Check: 900619250:     26.48
                                  1,281.99
    28-JUL-10      99999           Adjustment           Chargeback Adjustment -26.48
    29-JUL-10      99999           Payment                Check: 900619944:     214.47
              17,256.97
    29-JUL-10      99999           Adjustment           Chargeback Adjustment -214.47
    Another thing is, I am trying to check whats there in ar_statement_headers and ar_statement_line_clusters tables and nothing is coming up. However, when I run the report(Reprint/draft) I am able to see the output.
    Any ideas would be greatly appreciated....
    Thanks in advance

    Hi
    the following article should help http://blogs.oracle.com/xmlpublisher/2008/03/20#a890
    Particularly Gareth's article linked in the article above
    Regards
    Tim
    http://blogs.oracle.com/xmlpublisher

  • Error: REPORT/PROGRAM statement missing , program type is I (include).

    Hi,
    I have created a REPORT Program (Z Program) and also created a TOP INCLUDE. I am NOT using Function module. When I tried to syntex check the INCLUDE, system is giving
    following error:
    REPORT/PROGRAM statement missing, program type I (Include).
    Can you help me in resolving this error.
    Currently TOP include has only one statement to declare a Constant.
    Thanks,

    hi,
    take your program in se80.
    double click on the program name. Right click on it and press Activate. All the include will get activated and the problem will get solved.
    Regards,
    Renjith Michael.
    http://www.sourceveda.com/

  • Imp: Module pool Or Dialog programming

    Hi ,
    I have got  a requirement to work on module pool programming.....Please help me with some documents which explains me about it from scratch clearly .
    Awaiting for ur reply...........

    basics of module pool
    <u><i><b>OVERVIEW</b></i></u>
    There are programs in every domain that require certain amount of user interaction .Such requirements in ABAP are fulfilled with the help of a user dialog and dialog programming which encapsulates the entire logic pertaining to the required user dialog.
    One needs to take care that user interactions with the system are comfortable and user friendly along with being logically coherent.
    <u><i><b>What is a user dialog?</b></i></u>
    Any kind of user interaction with the system can be called as a user dialog:
    1)     Entering data on the screen.
    2)     Clicking a button.
    3)     Navigation between screens.
    <u><i><b>Need of dialog programming</b></i></u>
    In a typical dialog, the system displays a screen on which the user can enter or request information. As a reaction on the user input or request, the program executes the appropriate actions: it branches to the next screen, displays an output, or changes the database.
    Example
    A travel agent wants to book a flight. The agent enters the corresponding data on the screen. The system either confirms the desired request, that is, the agent can book the flight and the customer travels on the desired day on the reserved seat to the chosen destination, or the system displays the information that the flight is already booked up.
    To fulfill such requirements, a dialog program must offer:
    • A user-friendly user interface
    • Format and consistency checks for the data entered by the user
    • Easy correction of input errors
    • Access to data by storing it in the database.
    ABAP/4 offers a variety of tools and language elements to meet the requirements stated above in the dialog programs.
    <u><i><b>
    Why dialog programming is also known as module pool?</b></i></u>
    Dialog Programming consists of screens and corresponding ABAP program. Screens call dialog modules in the associated ABAP program from their flow logic. Type M programs serve principally as containers for these dialog modules, and hence dialog programming is also known as module pools. A module pool program is a program type which is not executable directly. You can not just run by hitting F8 like a report program. You must tie a transaction code to a screen in order to start the program.
    <i><b>VARIOUS COMPONENTS OF A DIALOG PROGRAM</b></i>
    Unlike report, interface or any conversion development which generally entails the creation of one autonomous program which can be executed independently of other objects, dialog program development entails development of multiple objects none of which can be executed on its own. Instead all objects are linked hierarchically to the main program and are executed in a sequence dictated by the Dialog Main Program.
    <u><i><b>
    Components of a dialog program</b></i></u>
    1)     Transaction
    2)     Screen
    3)     GUI status
    4)     ABAP program
    All these components are explained in detail below.
    1)     TRANSACTION  :
    The transaction starts a screen sequence. You create transaction codes in the Repository   Browser in the ABAP Workbench or using Transaction SE93. A transaction code is linked to an ABAP program and an initial screen. As well as using a transaction code, you can start a screen sequence from any ABAP program using the CALL SCREEN statement.
    2) SCREEN
    As a user of an R/3 system, one is always confronted with screens. From the moment one logs on, one can see a screen and one must perform actions on this screen. All those screens are components of ABAP programs. Generally, we define the screens of an ABAP program with the Screen Painter tool of the ABAP.
    In the R/3 system, screens are program objects that consist of two parts. First, they have a layout that defines the front end appearance of the window that is presented to the user. Second, they have a flow logic that is executed on the backend by the application server. The screen flow logic is a program layer between the front end and the actual ABAP application program at the backend. The language used to program screen flow logic has a similar syntax to ABAP, but is not part of ABAP itself. Unlike ABAP programs, the screen flow logic contains no explicit data declarations. You define the screen fields by placing elements on the screen mask instead. When you define screen fields by referring to data types in the ABAP Dictionary, the runtime environment automatically creates dialogs for field help, input help, and error handling that depends on the semantics of the data type in the dictionary.
    The screen flow logic is similar to an ABAP program in that it contains processing blocks. These processing blocks are event blocks that are triggered by the ABAP runtime environment. The most important event blocks are:
    • PROCESS BEFORE OUTPUT
    The respective event (PBO) is triggered after the PROCESS AFTER INPUT (PAI) processing of the previous screen and before the current screen is displayed.
    • PROCESS AFTER INPUT
    The respective event (PAI) is triggered when the user chooses a function on the current screen.
    • PROCESS ON HELP REQUEST
    This event is triggered when function key F1 is pressed.
    • PROCESS ON VALUE REQUEST
    This event is triggered when function key F4 is pressed.
    The main task of these processing blocks is to call ABAP dialog modules using the MODULE statement. During the PBO event, you can call any dialog module in the ABAP program that is marked with the addition OUTPUT. In the PAI event, you can call any dialog module program that is marked with the addition INPUT. The screens of an ABAP program can share the dialog modules of that program. You use the dialog modules called during PBO to prepare the screen and the dialog modules called during PAI to react to the user input.
    Each screen of an ABAP program has a unique screen number. The screens of an ABAP program can be combined to form screen sequences. Screen sequences are either built statically by setting the following screen in the Screen Painter or dynamically by overriding the static setting in the ABAP program. The last screen of a screen sequence is always the one where the following screen is set to zero.
    ATTRIBUTES OF SCREEN
    Like all objects in the R/3 Repository, screens have attributes that both describe them and determine how they behave at runtime. Important screen attributes for ABAP programming:
    •     Program
    The name of the ABAP program (type 1, M, or F) to which the screen belongs.
    •     Screen number
    A four-digit number, unique within the ABAP program that identifies the screen within the program. If your program contains selection screens, remember that selection screens and Screen Painter screens use the same namespace. For example, if you have a program with a standard selection screen, you may not contain any further screens with the number 1000. Lists, on the other hand, have their own namespace.
    •     Screen type
    A normal screen occupies a whole GUI window. Modal dialog boxes only cover a part of a GUI window. Their interface elements are also arranged differently. Selection screens are generated automatically from the definition in the ABAP program. You may not define them using the Screen Painter. A subscreen is a screen that you can display in a subscreen area on a different screen in the same ABAP program.
    •     Next screen
    Statically-defined screen number, specifying the next screen in the sequence. If you enter zero or leave the field blank, you define the current screen as the last in the chain. If the next screen is the same as the current screen, the screen will keep on calling itself. You can override the statically-defined next screen in the ABAP program.
    •     Cursor position
    Static definition of the screen element on which the cursor is positioned when the screen is displayed. By default, the cursor appears on the first input field. You can overwrite the static cursor position dynamically in your ABAP program by using SET CURSOR FIELD <f>
    •     Screen group
    Four-character ID, placed in the system field SY-DYNGR while the screen is being processed. This allows you to assign several screens to a common screen group. You can use this, for example, to modify all of the screens in the group in a uniform way. Screen groups are stored in table TFAWT.
    •     Hold data
    If the user calls the screen more than once during a terminal session, he or she can retain changed data as default values by choosing System -> User profile -> Hold data.
    VARIOUS SCREEN ELEMENTS
    A screen can contain a wide variety of elements, either for displaying field contents, or for allowing the user to interact with the program (for example, filling out input fields or choosing pushbutton functions). We use the Screen Painter to arrange elements on the screen.
    We can use the following elements:
    •     Text fields
    Display elements, which cannot be changed either by the user or by the ABAP program.
    •     Input/output fields and templates
    Used to display data from the ABAP program or for entering data on the screen. Linked to screen fields.
    •     Dropdown list boxes
    Special input/output fields that allow users to choose one entry from a fixed list of possible entries.
    •      Checkbox elements
    Special input/output fields that the user can either select (value ‘X’) or deselect (value SPACE). Checkbox elements can be linked with function codes.
    •     Radio button elements
    Special input/output fields that are combined into groups. Within a radio button group, only a single button can be selected at any one time. When the user selects one button, all of the others are automatically deselected. Radio button elements can be linked with function codes.
    •     Pushbuttons
    Elements on the screen that trigger the PAI event of the screen flow logic when chosen by the user. There is a function code attached to each pushbutton, which is passed to the ABAP program when it is chosen.
    •     Frame
    Pure display elements that group together elements on the screen, such as radio button groups.
    •     Subscreens
    Area on the screen in which you can place another screen.
    •     Table controls
    Tabular input/output fields.
    •     Tab strip controls
    Areas on the screen in which you can switch between various pages.
    •     Custom Controls
    Areas on the screen in which you can display controls. Controls are software components of the presentation server.
    •     Status icons
    Display elements, indicating the status of the application program.
    •     OK field
    Every screen has a twenty-character OK_CODE field (also known as the function code field) that is not displayed directly on the screen. User actions that trigger the PAI event also place the corresponding function code into this field, from where it is passed to the ABAP program. You can also use the command field in the standard toolbar to enter the OK field. To be able to use the OK field, you need to assign a name to it.
    All screen elements have a set of attributes, some of which are set automatically, others of which have to be specified in the Screen Painter. They determine things such as the layout of the screen elements on the screen. You can set the attributes of screen elements in the Screen Painter - either for a single element, or using the element list, which lists all of the elements belonging to the current screen. Some of the attributes that you set statically in the Screen Painter can be overwritten dynamically in the ABAP program.
    Regards
    navjot
    reward points if helpfull

  • Existing Function modules or Standard upload Programs

    Hi,
    Can any one tell, Are there any Function modules or Standard upload programs exists for following transactions:
    Creating production version(C223)
    Creating Master recipe(C201)
    Creation Apportionment Structure(C202)
    Creation BOM Allocation(CS08)
    (This all tcodes comes under Production planning.)
    Thanks in advance.

    Hi Vanitha,
    Check this
    for C223
    CM_FV_PROD_VERS_MAINTAIN
    CM_FV_PROD_VERS_SAVE
    CM_FV_PROD_VERS_SAVE_ALL
    CY01_ORDER_MODIFY_PROD_VERSION
    For C201
    C2_CU_RECIPE_EXCLUDE_CREATE
    CONTROL_RECIPE_CREATE
    For C202
    APPOINTMENT_GRP_CREATE
    APPOINTMENT_CREATE
    APPOINTMENT_GENERATE
    APPOINTMENT_GENERATE_2
    For CS08
    CSAP_MAT_BOM_ALLOC_CREATE
    Hope it helps...
    Lokesh
    pls. reward appropriate points
    Message was edited by: Lokesh Aggarwal

  • LSMW or ABAP Program:- I need BAPI function module or Direct input program

    hi experts,
    I have to develop the program which uploads the transportation pricing data for freight cost management.
    the transcation code is XK15 for the application A.
    There is a program called RV14BTCI which will uploads for the application V or M not for A.
    So i can use lsmw or direct input program in both lsmw and abap program so plz help me if there is any BAPI function module or Direct input program for Application A.
    thank you,
    waiting for u r reply.
    Edited by: SANTOSH MARUPALLY on Jan 22, 2008 6:27 AM

    Hi Santosh
    Am not really sure if RV14BTCI can not be used for other applications apart from V and M.
    You can try using BAPI: BAPI_PRICES_CONDITIONS. Over the forum you can find few example coding.
    Regards
    Eswar

  • Adding customer field to selection screen of RFKORD11 - Customer  Statement Printing Program:

    Hello,
    We are required to add an important customer field to selection screen of customer
    statement printing program: RFKORD11 for our South African branch.
    Please advise us regarding this matter,
    is there a proper user-exit or a repair is needed?
    Kind Regards.

    Enhancement
    text
    F050S001
    FIDCMT, FIDCC1,
      FIDCC2: Edit user-defined IDoc segment
    F050S002
    FIDCC1: Change
      IDoc/do not send
    F050S003
    FIDCC2: Change
      IDoc/do not send
    F050S004
    FIDCMT, FIDCC1,
      FIDCC2: Change outbound IDoc/do not send
    F050S005
    FIDCMT, FIDCC1,
      FIDCC2 Inbound IDoc: Change FI document
    F050S006
    FI Outgoing IDoc:
      Reset Clearing in FI Document
    F050S007
    FIDCCH Outbound:
      Influence on IDoc for Document Change
    F180A001
    Balance Sheet
      Adjustment
    FARC0001
    Enhancements within
      archiving (FI)
    FARC0002
    Additional Checks for
      Archiving MM Vendor Master Data
    FEDI0001
    Function exits for
      EDI in FI
    FICT0001
    Exits for
      inter-company transactions
    RFAVIS01
    Customer Exit for
      Changing Payment Advice Segment Text
    RFBVX001
    Enhancement for bank
      directory transfer (Austria)
    RFEPOS00
    Line item display:
      Checking of selection conditions
    SAPLBANK
    User exit: Bank data
    SAPLF040
    WF: Preliminary
      posting (authorized for release)
    SAPLF051
    Workflow for FI
      (pre-capture, release for payment)
    SAPLFCPD
    One-time account data
      or different payee in booking
    SAPLSSRV
    User exit: Bank
      account numbers
    RFKORIEX
    Automatic
      correspondence
    please check which one  is better .

  • How to find the names of Function Module used in the program

    Hi all,
    can you people help me with this issue.I want to the names of all the Function Module used in the program  along with their parameters into an internal table.It will be helpful for your suggestions.
    Kind Regards,
    Edited by: Prasenjit Sengupta on Nov 20, 2008 7:39 AM

    Take structure of internal table as
    TYPES : BEGIN OF TY_FM,
            FUNCNAME TYPE RS38L_FNAM,  "Name of Function Module
            PARAMETER TYPE RS38L_PAR_, "Parameter name
            PARAMTYPE TYPE RS38L_KIND, " Parameter type
            R3STATE TYPE R3STATE,      "ABAP: Program Status (Active, Saved, Transported...)
            STRUCTURE TYPE RS38L_TYP,  "Associated Type of an Interface Parameter
            DEFAULTVAL TYPE RS38L_DEFO,"Default value for import parameter
            REFERENCE TYPE RS38L_REFE, "Call by reference
            OPTIONAL TYPE RS38L_OPTI,  "Optional parameters
            TYPE TYPE RS38L_TYPE,      "Reference Structure is an ABAP/4 Type
            END OF TY_FM.
    DATA : IT_FM TYPE TABLE OF TY_FM WITH HEADER LINE.

  • Function module/BAPI or standerd program to define Transport route

    Hi All,
    I am configuring the TMS configuration through ABAP program .
    I am able to configure Domain controller, and able add system to it.
    Now I am not able to define Transport route, Can anybody tell me how can I achive this? 
    Is there any function module/BAPI or standerd program for it?
    Thanks,
    Swarup

    Hello
    To check the BAPIS to related module go to swo1 tcode.
    Thank u,
    santhosh

  • Get the form module version using JDAPI program

    Hi
    I have one problem to find the verison of form module using java (JDAPI) programming.
    To the JDAPI program i am just passing the form name. by reading the form it has to say the form version.
    Is there any method to get this...
    Thanks in advance.
    Madhava

    I solved my problem...
    first of all.
    Versioning was enabled for the folder but apparently it didnt work so i disabled it and enabled it again. Then I got the correct reource instead of null.
    second thing
    later in mycode I used this to get the path of the resource
    resource.getRID().getPath();
    but this gives the path to where the version of the document can be found... something like /documents/~System/xx/xxxxx/xxxx
    where x is numbers
    after doing a little debugging I found out that
    resource.getAccessRID().getPath()
    returns the path to where in CM the resource is stored.
    I hope My experience here can help others.
    I am glad that I solved my problem, but I find it extremely worrying that some settings in CM apparently stops working without any apparent reason.
    We have experienced this with other properties like Manual Ordering, Approval process, have any one else had these problems and found the cause then I would like to hear about it

  • Problem with "Number Generation Program'

    Can someone please help me with my Number Generation Program. I am new to java and I am at a sticking point. I want to develop a program that will do the following:
    1. Accept a set of numbers (6 numbers per set).
    2. Remove duplicate numbers.
    3. Generate unique set of numbers (6 numbers per set) using only the numbers that were originally entered.
    example: -> numbers entered: 12 33 45 51 7 10
    5 34 33 8 11 21
    5 6 13 9 10 51
    duplicate numbers removed: -> unique numbers
    12 33 45 51 7 10
    5 34 8 11 21 6
    13 9
    Final result: -> generate unique set of numbers only using the above unique 14 numbers
    5 6 7 8 9 10
    5 6 7 8 9 11
    5 6 7 8 9 12
    5 6 7 8 9 13

    I am having a problem with the following:
    1. accepting the numbers
    2. removing duplicate numbers
    3. generating the number sequence sets
    As I mentioned earlier, I am new to java. I just completed my first java class and I wanted to develop this program.

Maybe you are looking for

  • Why is my safari running slow after updating my mac?

    My safari is running slow after completing a software update.  I have cleared the cache.  It did not help.

  • Problem in saving 'Z' develpments to Local Object

    Hi Experts, Let me explain my the client settings first - I'm working on a implementation project. We have a development server having four clients as 311 sandbox, 322 - customizing client (Without transactions and masters), 411 - Testing client and

  • When a bean is not a bean

    I have received an error in my servlet container stating that: cannot create bean from class PhotoBean This bean was derived from an oracle sample file, and i modified it a bit (like having a connection being provided from another class) and now when

  • Blackberry keeps locking itself

    My blackberry keeps locking itself in the middle of me using it without me even pressing the lock button? its really annoying because it will lock and then i try unlock it and then it locks again and freezes and then the buttons and scrolls stop work

  • Several test systems ?

    Hi, we have several Test systems (one is used for volume testing for example, another for training). If I create a track transport connection from the development track to tracks for volume testing and training then the transports will be trigered on