How to Drilldown to one Transaction

Hi,
I have listed one report using 'REUSE_ALV_GRID_DISPLAY'. In my report i want to allow when clicking the po number it will automatically take into PO transaction. in list we can use at line-selection. here how to do ?

see below simple code
REPORT zsdw_alv_dbl_click .
*Purchasing Document Header
TABLES: ekko.
TYPE-POOLS: slis. "ALV Declarations
*Data Declaration
TYPES: BEGIN OF t_ekko,
ebeln TYPE ekpo-ebeln,
ebelp TYPE ekpo-ebelp,
statu TYPE ekpo-statu,
aedat TYPE ekpo-aedat,
matnr TYPE ekpo-matnr,
menge TYPE ekpo-menge,
meins TYPE ekpo-meins,
netpr TYPE ekpo-netpr,
peinh TYPE ekpo-peinh,
END OF t_ekko.
DATA: it_ekko TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
wa_ekko TYPE t_ekko.
*ALV data declarations
DATA: fieldcatalog TYPE slis_t_fieldcat_alv WITH HEADER LINE,
gd_repid LIKE sy-repid.
*Start-of-selection.
START-OF-SELECTION.
PERFORM data_retrieval.
PERFORM build_fieldcatalog.
PERFORM display_alv_report.
*& Form BUILD_FIELDCATALOG
Build Fieldcatalog for ALV Report
FORM build_fieldcatalog.
fieldcatalog-fieldname = 'EBELN'.
fieldcatalog-seltext_m = 'Purchase Order'.
fieldcatalog-col_pos = 0.
fieldcatalog-outputlen = 10.
fieldcatalog-emphasize = 'X'.
fieldcatalog-key = 'X'.
APPEND fieldcatalog TO fieldcatalog.
CLEAR fieldcatalog.
fieldcatalog-fieldname = 'EBELP'.
fieldcatalog-seltext_m = 'PO Item'.
fieldcatalog-col_pos = 1.
APPEND fieldcatalog TO fieldcatalog.
CLEAR fieldcatalog.
fieldcatalog-fieldname = 'STATU'.
fieldcatalog-seltext_m = 'Status'.
fieldcatalog-col_pos = 2.
APPEND fieldcatalog TO fieldcatalog.
CLEAR fieldcatalog.
fieldcatalog-fieldname = 'AEDAT'.
fieldcatalog-seltext_m = 'Item change date'.
fieldcatalog-col_pos = 3.
APPEND fieldcatalog TO fieldcatalog.
CLEAR fieldcatalog.
fieldcatalog-fieldname = 'MATNR'.
fieldcatalog-seltext_m = 'Material Number'.
fieldcatalog-col_pos = 4.
APPEND fieldcatalog TO fieldcatalog.
CLEAR fieldcatalog.
fieldcatalog-fieldname = 'MENGE'.
fieldcatalog-seltext_m = 'PO quantity'.
fieldcatalog-col_pos = 5.
APPEND fieldcatalog TO fieldcatalog.
CLEAR fieldcatalog.
fieldcatalog-fieldname = 'MEINS'.
fieldcatalog-seltext_m = 'Order Unit'.
fieldcatalog-col_pos = 6.
APPEND fieldcatalog TO fieldcatalog.
CLEAR fieldcatalog.
fieldcatalog-fieldname = 'NETPR'.
fieldcatalog-seltext_m = 'Net Price'.
fieldcatalog-col_pos = 7.
fieldcatalog-outputlen = 15.
fieldcatalog-datatype = 'CURR'.
APPEND fieldcatalog TO fieldcatalog.
CLEAR fieldcatalog.
fieldcatalog-fieldname = 'PEINH'.
fieldcatalog-seltext_m = 'Price Unit'.
fieldcatalog-col_pos = 8.
APPEND fieldcatalog TO fieldcatalog.
CLEAR fieldcatalog.
ENDFORM. " BUILD_FIELDCATALOG
*& Form DISPLAY_ALV_REPORT
Display report using ALV grid
FORM display_alv_report.
gd_repid = sy-repid.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = gd_repid
i_callback_user_command = 'HANDLE_ALV_UCOMM'
it_fieldcat = fieldcatalog[]
i_save = 'X'
TABLES
t_outtab = it_ekko
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " DISPLAY_ALV_REPORT
*& Form DATA_RETRIEVAL
Retrieve data form EKPO table and populate itab it_ekko
FORM data_retrieval.
SELECT ebeln ebelp statu aedat matnr menge meins netpr peinh
UP TO 9 ROWS INTO TABLE it_ekko
FROM ekpo." WHERE MATNR = 'CH 01'.
ENDFORM. " DATA_RETRIEVAL
*& Form HANDLE_ALV_UCOMM
text
-->R_UCOMM text
-->RS_SELFIELDtext
FORM handle_alv_ucomm USING r_ucomm LIKE sy-ucomm rs_selfield TYPE
slis_selfield.
DATA : mess TYPE string, index(4) TYPE n.
DATA wa TYPE t_ekko.
index = rs_selfield-tabindex.
READ TABLE it_ekko INTO wa INDEX index.
SET PARAMETER ID : 'BES' FIELD wa-ebeln.
CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.
CLEAR INDEX.
ENDFORM. "HANDLE_ALV_UCOMM

Similar Messages

  • How can we know one transaction is enhanced or not ?

    how can we know one transaction is enhanced or not ?

    first find enhancements related with a perticular tcode using following prog. :
    *& Report  ZUSEREXIT                                                   *
    report zuserexit no standard page heading.
    tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
             tables : tstct.
    data : jtab like tadir occurs 0 with header line.
    data : field1(30).
    data : v_devclass like tadir-devclass.
    parameters : p_tcode like tstc-tcode obligatory.
    select single * from tstc where tcode eq p_tcode.
    if sy-subrc eq 0.
       select single * from tadir where pgmid = 'R3TR'
                        and object = 'PROG'
                        and obj_name = tstc-pgmna.
       move : tadir-devclass to v_devclass.
          if sy-subrc ne 0.
             select single * from trdir where name = tstc-pgmna.
             if trdir-subc eq 'F'.
                select single * from tfdir where pname = tstc-pgmna.
                select single * from enlfdir where funcname =
                tfdir-funcname.
                select single * from tadir where pgmid = 'R3TR'
                                   and object = 'FUGR'
                                   and obj_name eq enlfdir-area.
                move : tadir-devclass to v_devclass.
              endif.
           endif.
           select * from tadir into table jtab
                         where pgmid = 'R3TR'
                           and object = 'SMOD'
                           and devclass = v_devclass.
            select single * from tstct where sprsl eq sy-langu and
                                             tcode eq p_tcode.
            format color col_positive intensified off.
            write:/(19) 'Transaction Code - ',
                 20(20) p_tcode,
                 45(50) tstct-ttext.
                        skip.
            if not jtab[] is initial.
               write:/(95) sy-uline.
               format color col_heading intensified on.
               write:/1 sy-vline,
                      2 'Exit Name',
                     21 sy-vline ,
                     22 'Description',
                     95 sy-vline.
               write:/(95) sy-uline.
               loop at jtab.
                  select single * from modsapt
                         where sprsl = sy-langu and
                                name = jtab-obj_name.
                       format color col_normal intensified off.
                       write:/1 sy-vline,
                              2 jtab-obj_name hotspot on,
                             21 sy-vline ,
                             22 modsapt-modtext,
                             95 sy-vline.
               endloop.
               write:/(95) sy-uline.
               describe table jtab.
               skip.
               format color col_total intensified on.
               write:/ 'No of Exits:' , sy-tfill.
            else.
               format color col_negative intensified on.
               write:/(95) 'No User Exit exists'.
            endif.
          else.
              format color col_negative intensified on.
              write:/(95) 'Transaction Code Does Not Exist'.
          endif.
    at line-selection.
       get cursor field field1.
       check field1(4) eq 'JTAB'.
       set parameter id 'MON' field sy-lisel+1(10).
       call transaction 'SMOD' and skip first   screen.
    THEN check into each enhancement whether any one has been changed.
    Pls reward if usefull
    S@meer

  • How to move from one transaction iView to another without losing the info.

    Hello expert,
    Is there a way to configure multiple transaction iViews in away that when I click on another iViews and want to go back to the old one, then the information is still there?  For example, we have a customize transaction that is fetched by running CM07.  I want to create two iView (CM07 and the custom transaction) in away that a user will type in the info on the CM07 iView, then click on the custom transaction iView to view the selection from CM07.  However all the information should be there when the user going back to CM07.  Right now when we are clicking from one iView to another, we have to type in the information again on CM07.
    Thank you.

    Hi ,
    See the thread below .I hope It will resolve your issue
    passing values between two transaction iviews?
    Koti Reddy
    points are welcome if it is helpful!

  • How to handle bdc for more than one transaction?

    how to handle bdc for more than one transaction?

    Hi srk,
    I am providing you with some references below. Hope this prove to be helpful to you.
    Method 1:
    Use one BDC_OPEN_GROUP
    Multiple BDC_INSERT 
    One BDC_CLOSE_GROUP.
    Call function BDC_OPENGROUP.
    Build BDC data and call lBDC_INSERT for transaction 1
    Build BDC data and call lBDC_INSERT for transaction 2
    Build BDC data and call lBDC_INSERT for transaction 3
    paas the tcodes to bdc_insert.
    call function BDC_CLOSE_GROUP.
    Also check this out:
    Here we need to record 2 transactions (shdb).
    Once completion of the recording. Populate the data into input internal table .
    Loop the internal table and process the 2 transactions
    like
    1. BDC_OPEN_GROUP
    2. LOOP AT ITAB
    a. Populate first transaction recording data
    and pass transaction to the BDC_INSERT_GROUP.
    BDC_INSERT_GROUP.
    b. Populate second transaction recording data
    and pass transaction to the BDC_INSERT_GROUP.
    BDC_INSERT_GROUP.
    ENDLOOP.
    3. BDC_CLOSE_GROUP
    the above info can be found at : How to use 2 transactions in BDC?
    Also check this out:
    Suppose u have created recordings for transactions 'MM01' 'XK01' and 'VA01'.
    Then do this:
    bdc_open_group.
    after this we have to fill the bdcdata structure for one transaction.here 'MM01'.
    bdc_insert.
    refresh bdcdata.
    after this we have to fill the bdcdata structure for one transaction.here 'xk01'.
    bdc_insert .
    refresh bdcdata.
    after this we have to fill the bdcdata structure for one transaction.here 'va01'.
    bdc_insert.
    bdc_close_group.
    Hope these are useful to you.
    Please reward if any of the above are useful.
    Regards,
    Kalyan

  • How to add spatial information and property information in one transaction

    Hi All:
    I have a oracle spatial table and property table,they are joined by equal key fields.
    I don't know how to realize to commit the spatial information and property information in one transaction.
    How to realize it?
    Thanks in advance.
    zhimin

    through triggers

  • How to handle more then one transaction in bdc

    how to handle more then one transaction in bdc

    Hi vinod,
    Call one BDC after the another, Like if u want to create a sales order and then correspondingly display it as well, u can capture the sales order created afer ur first BDC theu the messages mostly in SYMSGV1 and using this u can do a call txn skip first screne of VA03.
    If u are talking about session, get 2 session names and move them to different sessions or if both txn are dependant on each other, move it one after the other thru call txn. It is the same, howmany ever trx u wabnt to post thru BDC.
    Award points if this helps.

  • HT201359 Why am I being charges almost $16 and almost $6 when All I've ordered is ONE song???? How do I cancel the transaction???

    Why am I being charges almost $16 and almost $6 when All I've ordered is ONE song???? How do I cancel the transaction???

    http://www.apple.com/support/itunes/contact/

  • How To Perform Lot Split Transactions Using Transaction Open Interface (MTI)

    Can anyone give me some guidance on how to perform lot split transaction using MTI?
    I am using the following code:
    DECLARE
    l_transaction_type_id NUMBER := 83;
    l_transaction_action_id NUMBER := 41;
    l_transaction_source_type_id NUMBER := 13;
    l_org_id NUMBER := 1884;
    l_txn_header_id NUMBER;
    l_txn_if_id1 NUMBER;
    l_txn_if_id2 NUMBER;
    l_txn_if_id3 NUMBER;
    l_parent_id NUMBER;
    l_sysdate DATE;
    l_item_id NUMBER :=287996;
    l_user_id NUMBER;
    l_distribution_account_id NUMBER;
    l_exp_date DATE;
    BEGIN
    --For Lot Merge, there should be only one resultant lot.
    --The transaction_quantity populated in MTI/MTLI should be the entire
    --quantity that is available to transact for the org/sub/item/locator/LPN in
    --that particular lot number.
    --Get transaction_header_id for all the MTIs
    SELECT APPS.mtl_material_transactions_s.NEXTVAL
    INTO l_txn_header_id
    FROM sys.dual;
    --Get transaction_interface_id of resultant record
    SELECT APPS.mtl_material_transactions_s.NEXTVAL
    INTO l_txn_if_id1
    FROM sys.dual;
    l_parent_id := l_txn_if_id1;
    l_sysdate := SYSDATE;
    l_user_id := -1; --substitute with a valid user_id
    l_distribution_account_id := NULL; --needed for lot translate
    l_exp_date := NULL; --set if required
    --Populate the MTI record for resultant record
    INSERT INTO MTL_TRANSACTIONS_INTERFACE
    transaction_interface_id,
    transaction_header_id,
    Source_Code,
    Source_Line_Id,
    Source_Header_Id,
    Process_flag,
    Transaction_Mode,
    Lock_Flag,
    Inventory_Item_Id,
    revision,
    Organization_id,
    Subinventory_Code,
    Locator_Id,
    Transaction_Type_Id,
    Transaction_Source_Type_Id,
    Transaction_Action_Id,
    Transaction_Quantity,
    Transaction_UOM,
    Primary_Quantity,
    Transaction_Date,
    Last_Update_Date,
    Last_Updated_By,
    Creation_Date,
    Created_By,
    distribution_account_id,
    parent_id,
    transaction_batch_id,
    transaction_batch_seq,
    lpn_id,
    transfer_lpn_id
    VALUES
    l_txn_if_id1, --transaction_header_id
    l_txn_header_id, --transaction_interface_id
    'INV', --source_code
    -1, --source_header_id
    -1, --source_line_id
    1, --process_flag
    3, --transaction_mode
    2, --lock_flag
    l_item_id, --inventory_item_id
    null, --revision
    l_org_id, --organization_id
    'EACH', --subinventory_code
    1198, --locator_id
    l_transaction_type_id, --transaction_type_id
    l_transaction_source_type_id, --transaction_source_type_id
    l_transaction_action_Id, --l_transaction_action_id
    100000, --transaction_quantity
    'EA', --transaction_uom
    100000, --primary_quantity
    l_sysdate, --Transaction_Date
    l_sysdate, --Last_Update_Date
    l_user_id, --Last_Updated_by
    l_sysdate, --Creation_Date
    l_user_id, --Created_by
    l_distribution_account_id, --distribution_account_id
    l_parent_id, --parent_id
    l_txn_header_id, --transaction_batch_id
    2, --transaction_batch_seq
    NULL, --lpn_id (for source MTI)
    NULL --transfer_lpn_id (for resultant MTIs)
    --Insert MTLI corresponding to the resultant MTI record
    INSERT INTO MTL_TRANSACTION_LOTS_INTERFACE(
    transaction_interface_id
    , Source_Code
    , Source_Line_Id
    , Process_Flag
    , Last_Update_Date
    , Last_Updated_By
    , Creation_Date
    , Created_By
    , Lot_Number
    , lot_expiration_date
    , Transaction_Quantity
    , Primary_Quantity
    VALUES (
    l_txn_if_id1 --transaction_interface_id
    , 'INV' --Source_Code
    , -1 --Source_Line_Id
    , 'Y' --Process_Flag
    , l_sysdate --Last_Update_Date
    , l_user_id --Last_Updated_by
    , l_sysdate --Creation_date
    , l_user_id --Created_By
    , 'Q0000.1' --Lot_Number
    , l_exp_date --Lot_Expiration_Date
    , 100000 --transaction_quantity
    , 100000 --primary_quantity
    INSERT INTO MTL_TRANSACTIONS_INTERFACE
    transaction_interface_id,
    transaction_header_id,
    Source_Code,
    Source_Line_Id,
    Source_Header_Id,
    Process_flag,
    Transaction_Mode,
    Lock_Flag,
    Inventory_Item_Id,
    revision,
    Organization_id,
    Subinventory_Code,
    Locator_Id,
    Transaction_Type_Id,
    Transaction_Source_Type_Id,
    Transaction_Action_Id,
    Transaction_Quantity,
    Transaction_UOM,
    Primary_Quantity,
    Transaction_Date,
    Last_Update_Date,
    Last_Updated_By,
    Creation_Date,
    Created_By,
    distribution_account_id,
    parent_id,
    transaction_batch_id,
    transaction_batch_seq,
    lpn_id,
    transfer_lpn_id
    VALUES
    l_txn_if_id1, --transaction_header_id
    l_txn_header_id, --transaction_interface_id
    'INV', --source_code
    -1, --source_header_id
    -1, --source_line_id
    1, --process_flag
    3, --transaction_mode
    2, --lock_flag
    l_item_id, --inventory_item_id
    null, --revision
    l_org_id, --organization_id
    'EACH', --subinventory_code
    1198, --locator_id
    l_transaction_type_id, --transaction_type_id
    l_transaction_source_type_id, --transaction_source_type_id
    l_transaction_action_Id, --l_transaction_action_id
    100000, --transaction_quantity
    'EA', --transaction_uom
    100000, --primary_quantity
    l_sysdate, --Transaction_Date
    l_sysdate, --Last_Update_Date
    l_user_id, --Last_Updated_by
    l_sysdate, --Creation_Date
    l_user_id, --Created_by
    l_distribution_account_id, --distribution_account_id
    l_parent_id, --parent_id
    l_txn_header_id, --transaction_batch_id
    3, --transaction_batch_seq
    NULL, --lpn_id (for source MTI)
    NULL --transfer_lpn_id (for resultant MTIs)
    --Insert MTLI corresponding to the resultant MTI record
    INSERT INTO MTL_TRANSACTION_LOTS_INTERFACE(
    transaction_interface_id
    , Source_Code
    , Source_Line_Id
    , Process_Flag
    , Last_Update_Date
    , Last_Updated_By
    , Creation_Date
    , Created_By
    , Lot_Number
    , lot_expiration_date
    , Transaction_Quantity
    , Primary_Quantity
    VALUES (
    l_txn_if_id1 --transaction_interface_id
    , 'INV' --Source_Code
    , -1 --Source_Line_Id
    , 'Y' --Process_Flag
    , l_sysdate --Last_Update_Date
    , l_user_id --Last_Updated_by
    , l_sysdate --Creation_date
    , l_user_id --Created_By
    , 'Q0000.1' --Lot_Number
    , l_exp_date --Lot_Expiration_Date
    , 100000 --transaction_quantity
    , 100000 --primary_quantity
    --Get transaction_interface_id of Source record-1
    SELECT APPS.mtl_material_transactions_s.NEXTVAL
    INTO l_txn_if_id2
    FROM sys.dual;
    --Populate the MTI record for Source record-1
    INSERT INTO MTL_TRANSACTIONS_INTERFACE
    transaction_interface_id,
    transaction_header_id,
    Source_Code,
    Source_Line_Id,
    Source_Header_Id,
    Process_flag,
    Transaction_Mode,
    Lock_Flag,
    Inventory_Item_Id,
    revision,
    Organization_id,
    Subinventory_Code,
    Locator_Id,
    Transaction_Type_Id,
    Transaction_Source_Type_Id,
    Transaction_Action_Id,
    Transaction_Quantity,
    Transaction_UOM,
    Primary_Quantity,
    Transaction_Date,
    Last_Update_Date,
    Last_Updated_By,
    Creation_Date,
    Created_By,
    distribution_account_id,
    parent_id,
    transaction_batch_id,
    transaction_batch_seq,
    lpn_id,
    transfer_lpn_id
    VALUES
    l_txn_if_id2, --transaction_header_id
    l_txn_header_id, --transaction_interface_id
    'INV', --source_code
    -1, --source_header_id
    -1, --source_line_id
    1, --process_flag
    3, --transaction_mode
    2, --lock_flag
    l_item_id, --inventory_item_id
    null, --revision
    l_org_id, --organization_id
    'EACH', --subinventory_code
    1198, --locator_id
    l_transaction_type_id, --transaction_type_id
    l_transaction_source_type_id, --transaction_source_type_id
    l_transaction_action_Id, --transaction_action_id
    -200000, --transaction_quantity
    'EA', --transaction_uom
    -200000, --primary_quantity
    l_sysdate, --Transaction_Date
    l_sysdate, --Last_Update_Date
    l_user_id, --Last_Updated_by
    l_sysdate, --Creation_Date
    l_user_id, --Created_by
    l_distribution_account_id, --distribution_account_id
    l_parent_id, --parent_id
    l_txn_header_id, --transaction_batch_id
    1, --transaction_batch_seq
    NULL, --lpn_id (for source MTI)
    NULL --transfer_lpn_id (for resultant MTIs)
    --Insert MTLI corresponding to the Source record-1
    INSERT INTO MTL_TRANSACTION_LOTS_INTERFACE(
    transaction_interface_id
    , Source_Code
    , Source_Line_Id
    , Process_Flag
    , Last_Update_Date
    , Last_Updated_By
    , Creation_Date
    , Created_By
    , Lot_Number
    , lot_expiration_date
    , Transaction_Quantity
    , Primary_Quantity
    VALUES (
    l_txn_if_id2 --transaction_interface_id
    , 'INV' --Source_Code
    , -1 --Source_Line_Id
    , 'Y' --Process_Flag
    , l_sysdate --Last_Update_Date
    , l_user_id --Last_Updated_by
    , l_sysdate --Creation_date
    , l_user_id --Created_By
    , 'Q0000' --Lot_Number
    , l_exp_date --Lot_Expiration_Date
    , -200000 --transaction_quantity
    , -200000 --primary_quantity
    END;

    the first MTI record should be the source record ...ie. it should have transaction quantity as negative.
    new set of MTI records should have positive transaction quantities.
    Also ensure that sum of transaction quantities for the set should be 0...
    What is the error that you are getting?
    Thanks,
    Hrishi.

  • How to Add a single Transaction to Base role of a User in GRC AC 10

    Hello Gurus,
    I would like to know if it is possible to assign a single transaction to a user in his default roles.
    e.g) We have some Users who have been assigned some default roles, and in some case if a user requires authorization only for a one transaction e.g.) FB08 or for the matter any transaction , instead of adding a role containing many other transactions , we would like to assign only this transaction to the user.
    OR
    In other example , if a user sends a missing authorization request i.e. SU53 screenshot , and that only one transaction needs to be assigned , how can it be provisioned to that specific user ?
    Is it possible in GRC AC 10 , by using CUP or BRM ?
    Looking forward for your opnion.
    Regards,
    Victor

    Hello Victor,
    In this case, why don't you create a role including only FB08? You cannot assign a user a transaction, you have to assign a role. This is the authorization concept in SAP.
    Cheers,
    Diego.

  • How do I view the transaction log in SQL Server 2008?

    Hello,
    I want to know how to view all the transactions taken during a particular period of time. I know there is a log file, ending with .ldf, created for each database. But how do I view this file?
    Is there any tool in the SQL Server studio that can enable me to view the transactions for a given time period?
    The reason for me wanting to view the log file is that, last week during a power outage, certain amount of data was not written. And one my friend had also messed up some of the data (unfortunately, she doesn't remember what she did).
    Thanks in advance.

    Hi,
     It enables you to read from you transaction log which contains very valuable information about stuff that is happening in your database.
    select
    * from fn_dblog (null,null) ..
    EXAMPLE:
    SELECT
    FROM
    ::fn_dblog(NULL, NULL)
    WHERE
    operation = 'LOP_DELETE_SPLIT'
    Thanks,
    Leks

  • How to handle the One-Time Customer Process (Customizations - Master Datas)

    How can we handle the processes of one time customers (for example sales from a store without a warranty process fort he products)? Iu2019m planning of creating a different sales document type and use a single customer number for all of the documents created. On the other hand SAP has a solution for the one-time customers but I donu2019t know its details. Can anybody explain me the standard one-time customer process of SAP (the needed customizations and the master datas to be created)?
    Thanks in advance for the answers....

    Hi..
    the one-time customer is an account group (CPDA) that is used for "walk-in" or "cash" buyers. although this account group can be used for regular sales orders, this is intended to be used with the Cash Sales type of sales documents, where no accounts receivable is created. you also need the one-time customer as a "dummy" and avoid creating many customer masters for buyers who may only do one transaction with your company.
    when you use the one-time customer account group in the Cash Sales order, you enter the one-time customer number in the sold-to party field. the system will then prompt you to enter the actual name (and address) of the buyer. you can have the option of generating SD reports with the real names of the customers.
    you create the one-time customer the same way you do with the regular Sold-to party. there are some differences, in the sense that this is a "dummy" account. you do XD01 or VD01 to create the account, choosing account group CPDA. you also make entries in the sales areas.
    Regds
    MM

  • Master & detail table in one transaction

    Experts,
    I am useing 11g 11.1.1.4 and ADF BC, I have thought about this question quite for a while.
    I have a master & detail constructure in one page, master as af:form and detail as af: table.
    The master is 'booking' table (booking_id, create_date, create_user, user_contact) ,
    and detail is 'booking_line' table ( booking_id, booking_det_id, booking_weight, booking_volume, booking_type)
    According to my customer, user have to enter the master and detail data in one transaction and once user clicked the 'Submit booking' (actually is 'commit' operation),
    the system need to check at least one detail line have been entered by user, otherwise the error message issued and return back to the current page. how this one can be done? Thanks!

    Thanks a lot M.Jabr!
    I have used your suggestion as follwoing:
    public String cb3_action() {
    BindingContext bindingctx = BindingContext.getCurrent();
    BindingContainer bindings = null;
    bindings = bindingctx.getCurrentBindingsEntry();
    DCBindingContainer bindingsImpl = (DCBindingContainer) bindings;
    DCIteratorBinding dciter = null;
    //access the iterator by its ID value in the PageDef file.
    dciter = bindingsImpl.findIteratorBinding("BookingDetOlVO1Iterator");
    ViewObject vo= dciter.getViewObject();
    long rowsCount= vo.getEstimatedRowCount();
    if (rowsCount > 0) {
    OperationBinding operationBinding = (OperationBinding)bindings.getOperationBinding("Commit");
    Object result = operationBinding.execute();
    if (!operationBinding.getErrors().isEmpty())
    return null;
    return "BookingDone";
    } else {
    FacesContext context = FacesContext.getCurrentInstance();
    FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_ERROR, null, "Please enter at least one Booking Detail line");
    context.addMessage(null, msg);
    return null;
    but there is another propblem after testing, I found if user just click the 'createInsert' operation in detail table. but without enter any values for some required fields, then can still - return "BookingDone"; that's means the required validation are skipped. any suggestion?

  • Changing properties of multiple resources in one transaction

    Hi,
    Does anyone have an idea how to change a property in multiple resources in one atomic transaction. 
    There are some interesting comments regarding the use of "mass calls" in various SAP documents but not really anything specific.
    The changing of one property in multiple resources is not the problem.  This is easy.  The challenge is the operation in one transaction.   There is a ITransactionManager in the KM Javadoc but this looks like more of an internal class.
    Thanks.
    Dick

    Does this imply that the properties of these selectors can be modified simultaneously?
    Correct.

  • How to identify a One time Customer in Oracle Apps AR

    Hello,
    How to identify a One time Customer In Oracle APps AR?
    Is it possible to find out how many number of transactions a Customer does so that, if the number of transactions is 1, then that customer is a one time customer. or else he is not?
    Thank you
    Bob

    Hi Bob,
    to my knowledge, i cannot recollect a seeded report from oracle that could meet your requirement. You can try running the Transaction Register report from your Go live date till now, so that system would generate a list of all the Invoices along with the Customer Name, then you could export this to excel and perform a sort, filter and groupby to get the desired result ....
    However if you are a person with technical expertise, check the table RA_CUSTOMER_TRX_ALL this stores all the transaction related information ..... you can select TRX_NUMBER, BILL_TO_CUSTOMER_ID from this table and perform a count by customer...(I am not sure on the syntax and usage of sql functions) you can get the desired results ...
    Also in future, while creating a new customer if you know well in advance that this customer is going to be an ONE TIME CUSTOMER, there you could capture that information in any unused field on the customer configuration or can enable a DFF and capture this information, so it becomes very easy to identify such customers or have a report built based on it...
    I assume there is an objecive behind trying to find One time customers or customers with a single transaction history ... are you planning to disable/end date/inactivate such customers ....?
    Regards,
    Ivruksha

  • One role - One transaction - SoD errors

    I have a single role with just one transaction in it (F-44).  When I run this singel role through Risk Analysis, I get the following SoD risks.
    Risk Description:  P0030LI01 : Create fictitious vendor invoice and initiate payment for it
    Conflicting Action:  Clear Vendor (F-44)  and   Clear Vendor (F-44)
    This doesn't make any sense.  It only has an "01" under object  F_BKPF_BUK. 
    I can see a transaction conflicting with another transaction, but against itself? How can I remediate this role?  Our goal is to remediate, not mitigate whenever possible.
    Thanks,
    Peggy

    I can't agree with your suggestion because I would want F-44 in both AP01 and AP02 to catch any of the other violations that would exist.  For example, if we had F-44 with F.13, it would be an SoD violation and AP01 would catch it.  And if we had F-44 with FB01 it too would be a violation which AP02 would catch.  So I can't see disabling it from either AP01 or AP02 and I need the objects to be as they are.
    We have a number of these SoD errors with other transactions such as  FB02 with FB02 and FBV0 with FBV0 for risk F028 (Both are in AP02 and GL01).
    I'm thinking we need to create one mitigation for these types of SoD violations (which really aren't violations).  This should make the auditors happy and we aren't disabling or changing anything that would allow an SoD to get missed.
    Do you agree with my thinking?  Does anyone know what the best practice is for these?
    Thanks,
    Peggy

Maybe you are looking for

  • Are these suggestions speficic to the Windows version of Firefox? Because on my Mac version (31.0) there is no "options" in the Tool menu

    Are these suggestions speficic to the Windows version of Firefox? Because on my Mac version (31.0) there is no "options" in the Tool menu. I'm trying to figure out why Firefox has no spellcheck. I suspect it needs dictionaries installed, but it's a b

  • How to pass 0..n entities via Data Context across Activities

    I have a requirement to pass a 0..n entity from one activity to another, but I got this error message when mapping the input/output of the Task to the context. Here is my scenario: a. I have a Request Task and a Approval Task. The Requester role will

  • Report Painter GRR3

    Hi all! This is my first time to create a report painter, i'm creating a report painter to display individual Cost Centers for each Cost Center Group. The report is working fine. However, i just have a problem in the selection screen. My selection sc

  • Blocking Port 192

    The company that processes credit card transactions is insisting we block port 192. How is this done? I have hear similar issues from other companies.

  • DML(Update)  in a report

    I have a report, with a query that includes a ROWNUM, How can I do UPDATE of the table of the query with the printed rownum? For example, query report is: SELECT rownum, a.* from mytable a order by ......; I have to UPDATE one of column, say x of my