Condition one process according to another

Hello,
I have a page, which fetch a row from tableA, let the user modify it, and then save it to tableB, using Automatic DML process.
I need to update a column in tableA, only if the Automatic DML process was successful.
Any way I can condition the second process – updating tableA – by the successful completion of the first process – Automatic DML on tableB?
Thanks for the help,
Arie.

Hi Scott,
Thanks on your prompt reply. It's actually make sense.
While on the subject, it could be a useful enhancement to add an exception option to the automatic DML process declaration, which will allow us to enter some code to deal with them.
Best Regards,
Arie.

Similar Messages

  • How can I pass parameters from one process flow to another process flow?

    How can I pass parameters from one process flow to another process flow (sub process) in warehouse builder? let me know the steps I have to do in warehouse builder.
    Thanks in advance,
    Kishan

    Hi Kishan,
    Please post this question to the Warehouse Builder forum:
    Warehouse Builder
    Thanks, Mark

  • How can one process "ask" if another process is running?

    Hi there,
    This is a very general question: how can one process "ask" if another process is running?
    In other words, what 2 process share together.
    Thanks for any help.

    This code will print all active Threads.
    Look at at the API docs for further information.
    ThreadGroup tg=Thread.currentThread().getThreadGroup();
            while(tg.getParent() != null)
                tg=tg.getParent();
            tg.list();

  • Error:Assign handling Unit from one Process order to another process order

    Hi Experts,
    I am facing different issues in assigning handling unit from one process order to another.
    Business process:
    1. Two similar Process Orders are existing in the system
    2. Delivery is created for first process order using LP10 for one or more components
    3. TO is created in foreground using VL06P
    4. TO is confirmed by providing in stock available Handling Unit (HU) / storage Unit details Using LT12
    5. Customized transaction is used to reassign newly created HU (created in previous step) from first process order to second process order. As a result many steps are performed in background for delinking the HU from first process order to second process order (including creation of different TOs)
    I am facing different issues in the process:
    1. Sometimes while confirming the TO in step 4: error is received as "Reservation item 0065 with material 4013959300300 does not exist" OR "Reservation item with material does not exist"
    2. If the TO is confirmed in step 4. I am facing error in step 5 as "Warehouse number  does not exist (new selection required)"
    Both these errors are standard errors and I could not find much information on them in SCN also.
    If anyone can throw light on any of them then it would be great.
    Please let me know if any additional information is required.
    Thanks
    Harsh Aggarwal

    Hi Manish
    Thanks for your response. Actually, the customized program is used only in fifth step and not till TO confirmation so that error is not related to Customized program. However, in some cases I am able to do the confirmation but the error is received in 5th step i.e. Warehouse number  does not exist (new selection required)"
    Any further guidance you can provide. I will ask ABAP to check the customized program but the error seems to be a standard error.

  • Stopping one process chain when another is running

    Hi All,
    We have two process chains which are inter dependent.
    One process chain has to be scheduled hourly & another daily.
    I would like to know the way to stop the hourly running process chain when the daily process chain is running.
    & the daily process chain run time will be varying like 1-2 hours.
    Please help me to solve this problem
    REDDY

    Hi,
    You can do it.
    1.Create one Table with Flag (Values 0 or 1), and give Table maintaince also in SM30.
    2.Craeate one program to check the Table Flag = 0 or 1. If it is 0 then trigger Event then that event will trigger Hourly Process Chain. You need to schedule this Program Hourly. (Your Hourly PC wil work based on Events)
    3. Craete Daily Process Chain, once it will start it will update teh Flag =1 then once it will reach the last node it will turn the flag = 0.
    Start
        |
    Update Flag = 1 in table (Program)
        |
    Load data
        |
    Update Flag = 0 in table (Program)
    4. So every hour your program will run (in Step 2), it will check table Entry and trigger Event.
    The code is like below
    Report1.
    IF Flag = 0 Then
    *Raise Event
    DATA: EVENTID LIKE TBTCJOB-EVENTID.
    DATA: EVENTPARM LIKE TBTCJOB-EVENTPARM.
          EVENTID = 'ZEVENT1'.
          EVENTPARM = 'ZEVENTPARAM'.
      CALL FUNCTION 'RSSM_EVENT_RAISE'
              EXPORTING
                I_EVENTID                    = EVENTID
                I_EVENTPARM                  = EVENTPARM
             EXCEPTIONS
               BAD_EVENTID                  = 1
               EVENTID_DOES_NOT_EXIST       = 2
               EVENTID_MISSING              = 3
               RAISE_FAILED                 = 4
               OTHERS                       = 5
            IF SY-SUBRC <> 0.
             MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                     WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
            ENDIF.
    ELSE
    Exit
    endif
    Note: It will Work try it. Don't forget to give SE30 access to table, because some time if you want to maintain Flag value manually, you required it.
    Thanks
    Reddy
    Edited by: Surendra Reddy on Mar 9, 2009 11:09 AM

  • How to constraint one attribute according to another?

    Hi,
    I have an element which has two attribute A and B. A's value can be 'a' or 'b', if the value of 'a', B's value should be 'b1' or 'b2', else, B's value should be 'b3' or 'b4'.
    How to express this contraintion in xsd?
    Thanks, Robin

    This type of validations come under the "rule-based" validation domain. Hence cannot be accomplished with XSD Schema.
    There are two different flavors for an xml schema language:
    -- Grammar based. (e.g. XSD Schema; DTD...)
    -- Rule based. (Schematron)
    A rule-based schema language specifies the relationships that must hold between the elements and attributes in an XML instance document. [as is the case here]
    Schematron is one of the types of rule-based schema languages.
    For more details on types of schema languages: http://www.xfront.com/schematron/Two-types-of-XML-Schema-Language.html
    Schematron Introduction:
    http://www.xml.com/pub/a/2003/11/12/schematron.html
    regards,
    Asheesh Ambardar

  • Process steps for Capital goods transfer from one exciseable plant to another exciseable plant

    Please guide me about below mention process :
    Capital goods transfer from one exciseable plant to another exciseable plant with updation of RG23C register.
    Goods purchase in prev month.

    Company code to company code u have to treat the another company as Vendor/Customer in each company code books. Then the process is same.  Sale order, delivery and billing to the Customer(2nd company code i.e. stock receiving company code).  Then in receiving company code based on the delivery document of other company code GR can be made. and IV.

  • How to copy the Pricing conditions from one Distribution Channel to another

    Generally we use VK11 transaction to create conditional records .
    but I Need to Know whether is it Possible to copy the Pricing conditions from one Distribution Channel to another with same name and same internal Characteristics .
    Since we have around 70+ of Condition type with different parameter Sequence.So Instead of Going for BDC whether is there any standard Funct Modules/programs/BAPIs to do this?
    How to make a copy Condition types from One Distribution Channel to another.
    since SAP has already provided to copy conditions from Customer to customer.
    Likewise i need to know whether SAP is facilitating for these feature also.
    Iam Dubious in this issue.
    Hope Fully looking for the answers.
    Harish.N

    - IDOC_INPUT_COND_A (you can create IDOC, but also call directly)
    - call transaction / batch input (use transaction XK15, as used by LSMW)
    - use group of function modules RV_CONDITION_COPY, RV_CONDITION_SAVE, RV_CONDITION_RESET + commit.
    if you search SDN on 'RV_CONDITION_COPY' you'll find more info I believe.
    Someone mentioned BAPI_PRICE_CONDITIONS as well.

  • Problem with Conditional Page Process

    Application Express 3.1.0.00.32
    I have a conditional page process that whenever a user clicks on the create or save button, certain values are stored in one table and certain are stored in another dependent on the value of a page item.
    If a user opens a record and makes a change to the entry but doesn't change the current status, the information saved differs from when the current status is altered. Since the code, syntaxically, is correct, I'm more incliendeid to think this is an APEX issue however here is the code:
    declare
      v_current_status  pls_integer;
    begin
      select fk_lov_status_id
        into v_current_status
        from com_status
       where fk_proj_master_id = :P23_CS_FK_PROJ_MASTER_ID
         and pk_com_status_id = (select max(pk_com_status_id) from com_status);
    if v_current_status = :P23_FK_STATUS_ID then
      null;
      elsif (:P23_STATUS_COMMENT is null) then
        INSERT into com_status
          (fk_lov_status_id,
          fk_proj_master_id,
          status_comment)
        VALUES
          (:P23_FK_STATUS_ID,
          :P23_CS_FK_PROJ_MASTER_ID,
          'An update was not made to the status description.');
        commit;
      elsif (:P23_STATUS_COMMENT is not null) then
          INSERT into com_status
            (fk_lov_status_id,
            fk_proj_master_id,
            status_comment)
          VALUES
            (:P23_FK_STATUS_ID,
            :P23_CS_FK_PROJ_MASTER_ID,
            :P23_STATUS_COMMENT);
          commit;
      else
        null;
      end if;
    end;Condition Type is: Request is Contained within Expression 1 for the values of the push buttons (SAVE,CREATE)
    When Button Pressed is not conditional.
    When running the page, the error ORA-01403: no data found is given.
    In debug, the last couple of lines are:
    0.06: Processing point: AFTER_SUBMIT
    0.06: ...Process "Process Row of PROTRAC_MASTER": DML_PROCESS_ROW (AFTER_SUBMIT) #OWNER#:PROTRAC_MASTER:P23_PK_PROJ_MASTER_ID:PK_PROJ_MASTER_ID|IUD
    0.08: ...Process "com_status null_desc (apply)": PLSQL (AFTER_SUBMIT) declare v_current_status pls_integer; begin select fk_lov_status_id into v_current_status from com_status where fk_proj_master_id = :P23_CS_FK_PROJ_MASTER_ID and pk_com_status_id = (select max(pk_com_status_id) from com_sta
    0.08: Encountered unhandled exception in process type PLSQL
    0.08: Show ERROR page...
    0.08: Performing rollback...
    Any ideas would be appreciated.

    Here is the debug log after changing the status and not inputting any information in the description:
    The description isn't reporting as %null% even though the page item is empty, it is reporting as "".
    0.01: A C C E P T: Request="SAVE_bottom"
    0.01: Metadata: Fetch application definition and shortcuts
    0.01: NLS: wwv_flow.g_flow_language_derived_from=FLOW_PRIMARY_LANGUAGE: wwv_flow.g_browser_language=en-us
    0.01: alter session set nls_language="AMERICAN"
    0.01: alter session set nls_territory="AMERICA"
    0.01: NLS: CSV charset=WE8MSWIN1252
    0.01: ...NLS: Set Decimal separator="."
    0.01: ...NLS: Set NLS Group separator=","
    0.01: ...NLS: Set date format="DD-MON-RR"
    0.01: ...Setting session time_zone to -06:00
    0.02: Fetch session state from database
    0.02: ...Check session 1623472074064569 owner
    0.02: ...Metadata: Fetch Page, Computation, Process, and Branch
    0.02: Session: Fetch session header information
    0.02: ...Metadata: Fetch page attributes for application 527, page 23
    0.02: ...Validate item page affinity.
    0.02: ...Validate hidden_protected items.
    0.02: ...Check authorization security schemes
    0.02: Authorization Check: "2378670777792367583" User: "LREDMOND" Component: ""
    0.03: Session State: Save form items and p_arg_values
    0.03: ...Session State: Save "P23_NAME" - saving same value: "MAY TEST PROTRAC 60"
    0.03: ...Session State: Save "P23_DESCRIPTION" - saving same value: "may is testing protrac atleast 60 times."
    0.03: ...Session State: Save "P23_PROJ_MAN_ID" - saving same value: "%null%"
    0.03: ...Session State: Save "P23_TRACKIT_WORK_ORDER" - saving same value: ""
    0.03: ...Session State: Saved Item "P23_FK_STATUS_ID" New Value="17"
    0.03: ...Session State: Save "P23_STATUS_COMMENT" - saving same value: ""
    0.03: ...Session State: Save "P23_PK_PROJ_MASTER_ID_COUNT" - saving same value: "15 of 15"
    0.03: ...Session State: Save "P23_PK_PROJ_MASTER_ID_PREV" - saving same value: "16"
    0.03: ...Session State: Save "P23_PK_PROJ_MASTER_ID_NEXT" - saving same value: ""
    0.04: ...Session State: Save "P23_CS_FK_PROJ_MASTER_ID" - saving same value: "17"
    0.04: ...Session State: Save "P23_DATE_BEGIN" - saving same value: ""
    0.04: ...Session State: Save "P23_ESTIMATED_DATE" - saving same value: ""
    0.04: ...Session State: Save "P23_DATE_COMPLETED" - saving same value: ""
    0.04: ...Session State: Save "P23_APP_MANAGER_ID" - saving same value: "%null%"
    0.04: ...Session State: Save "P23_APP_MANAGER_PHONE" - saving same value: ""
    0.04: ...Session State: Save "P23_APP_MANAGER_EXT" - saving same value: ""
    0.04: ...Session State: Save "P23_REQUESTER_ID" - saving same value: "%null%"
    0.04: ...Session State: Save "P23_REQUESTER_PHONE" - saving same value: ""
    0.04: ...Session State: Save "P23_REQUESTER_EXT" - saving same value: ""
    0.04: ...Session State: Save "P23_FK_AGENCY_ID" - saving same value: "%null%"
    0.04: ...Session State: Save "P23_AGENCY_FNAME" - saving same value: ""
    0.04: ...Session State: Save "P23_AGENCY_LNAME" - saving same value: ""
    0.04: ...Session State: Save "P23_AGENCY_NUM" - saving same value: ""
    0.04: ...Session State: Save "P23_AGENCY_EXT" - saving same value: ""
    0.04: ...Session State: Save "P23_CREATEBY_USER" - saving same value: "MAY"
    0.04: ...Session State: Save "P23_CREATEBY_DATE" - saving same value: "01/21/2009"
    0.04: ...Session State: Save "P23_LASTMOD_USER" - saving same value: "LREDMOND"
    0.04: ...Session State: Save "P23_LASTMOD_DATE" - saving same value: "02/03/2009"
    0.05: ...Session State: Save "P0_LAST_CHANGE_DATE" - saving same value: "03-FEB-2009 14:15:46 by LREDMOND"
    0.05: Processing point: ON_SUBMIT_BEFORE_COMPUTATION
    0.05: Branch point: BEFORE_COMPUTATION
    0.05: Computation point: AFTER_SUBMIT
    0.05: ...Perform computation of item: P23_NAME, type=SQL_EXPRESSION
    0.05: ...Session State: Save "P23_NAME" - saving same value: "MAY TEST PROTRAC 60"
    0.05: ...Perform computation of item: P23_AGENCY_FNAME, type=SQL_EXPRESSION
    0.05: ...Session State: Save "P23_AGENCY_FNAME" - saving same value: ""
    0.05: ...Perform computation of item: P23_AGENCY_LNAME, type=SQL_EXPRESSION
    0.05: ...Session State: Save "P23_AGENCY_LNAME" - saving same value: ""
    0.05: Tabs: Perform Branching for Tab Requests
    0.05: Branch point: BEFORE_VALIDATION
    0.05: Perform validations:
    0.05: ...Item Not Null Validation: P23_NAME
    0.05: ...Item Not Null Validation: P23_DESCRIPTION
    0.05: ...Item Not Null Validation: P23_FK_STATUS_ID
    0.05: ...Regular expression validation: P23_AGENCY_NUM
    0.05: ...Regular expression validation: P23_REQUESTER_PHONE
    0.05: ...Regular expression validation: P23_APP_MANAGER_PHONE
    0.05: ...Item is numeric validation: P23_TRACKIT_WORK_ORDER
    0.06: ...Regular expression validation: P23_DATE_BEGIN
    0.06: ...Regular expression validation: P23_ESTIMATED_DATE
    0.06: ...Regular expression validation: P23_DATE_COMPLETED
    0.06: ...PL/SQL "function body returning boolean" Validation: if to_date(:P23_DATE_BEGIN, 'MM/DD/YYYY') > to_date(:P23_DATE_COMPLETED, 'MM/DD/YYYY') then return false; else return true; end if;
    0.06: ...PL/SQL "function body returning boolean" Validation: if to_date(:P23_DATE_COMPLETED, 'MM/DD/YYYY') < to_date(:P23_DATE_BEGIN, 'MM/DD/YYYY') then return false; else return true; end if;
    0.06: ...PL/SQL "function body returning boolean" Validation: if to_date(:P23_ESTIMATED_DATE, 'MM/DD/YYYY') < to_date(:P23_DATE_BEGIN, 'MM/DD/YYYY') then return false; else return true; end if;
    0.06: Branch point: BEFORE_PROCESSING
    0.06: Processing point: AFTER_SUBMIT
    0.06: ...Process "Process Row of PROTRAC_MASTER": DML_PROCESS_ROW (AFTER_SUBMIT) #OWNER#:PROTRAC_MASTER:P23_PK_PROJ_MASTER_ID:PK_PROJ_MASTER_ID|IUD
    0.07: ...Do not run process "com_status (create)", process point=AFTER_SUBMIT, condition type=NEVER, when button pressed=CREATE
    0.07: ...Process "com_status null status description": PLSQL (AFTER_SUBMIT) declare v_current_status pls_integer; begin select fk_lov_status_id into v_current_status from com_status where fk_proj_master_id = :P23_CS_FK_PROJ_MASTER_ID and pk_com_status_id = (select max(pk_com_status_id) from com_st
    0.08: ...Do not run process "ApplyMRD", process point=AFTER_SUBMIT, condition type=NEVER, when button pressed=DELETE
    0.08: ...Do not run process "AddRows", process point=AFTER_SUBMIT, condition type=NEVER, when button pressed=
    0.08: Branch point: AFTER_PROCESSING
    0.08: ...Evaluating Branch: AFTER_PROCESSING type: "REDIRECT_URL" button: (No Button Pressed) branch: SAVE,CREATE,SAVE_bottom,CREATE_bottom
    0.00:
    0.00: S H O W: application="527" page="23" workspace="" request="" session="1623472074064569"
    0.00: Language derived from: FLOW_PRIMARY_LANGUAGE, current browser language: en-us
    0.01: alter session set nls_language="AMERICAN"
    0.01: alter session set nls_territory="AMERICA"
    0.01: NLS: CSV charset=WE8MSWIN1252
    0.01: ...NLS: Set Decimal separator="."
    0.01: ...NLS: Set NLS Group separator=","
    0.01: ...NLS: Set date format="DD-MON-RR"
    0.01: ...Setting session time_zone to -06:00
    0.01: NLS: Language=en-us
    0.01: Application 527, Authentication: CUSTOM2, Page Template: 2731847145165324410
    0.01: ...Session ID 1623472074064569 can be used
    0.01: ...Application session: 1623472074064569, user=LREDMOND
    0.01: ...Determine if user "LREDMOND" workspace "37289604050814421" can develop application "527" in workspace "37289604050814421"
    0.01: Session: Fetch session header information
    0.01: Saving g_arg_names=P23_PK_PROJ_MASTER_ID and g_arg_values=17
    0.02: ...Session State: Save "P23_PK_PROJ_MASTER_ID" - saving same value: "17"
    0.02: ...Metadata: Fetch page attributes for application 527, page 23
    0.02: Fetch session state from database
    0.02: Branch point: BEFORE_HEADER
    0.02: Authorization Check: "2378670777792367583" User: "LREDMOND" Component: "PAGE"
    0.02: Fetch application meta data
    0.03: Computation point: BEFORE_HEADER
    0.03: Processing point: BEFORE_HEADER
    0.03: Show page template header
    0.04: Computation point: AFTER_HEADER
    0.04: Processing point: AFTER_HEADER
    0.04: ...Process "Fetch Row from PROTRAC_MASTER": DML_FETCH_ROW (AFTER_HEADER) F|#OWNER#:PROTRAC_MASTER:P23_PK_PROJ_MASTER_ID:PK_PROJ_MASTER_ID
    0.04: ...Process "Get Next or Previous Primary Key Value": GET_NEXT_OR_PREV_PK (AFTER_HEADER) #OWNER#:PROTRAC_MASTER:PK_PROJ_MASTER_ID::::P23_PK_PROJ_MASTER_ID:P23_PK_PROJ_MASTER_ID_NEXT:P23_PK_PROJ_MASTER_ID_PREV::::P23_PK_PROJ_MASTER_ID_COUNT:
    0.04: ...Session State: Save "P23_PK_PROJ_MASTER_ID_NEXT" - saving same value: ""
    0.04: ...Session State: Save "P23_PK_PROJ_MASTER_ID_PREV" - saving same value: "16"
    0.04: ...Session State: Save "P23_PK_PROJ_MASTER_ID_COUNT" - saving same value: "15 of 15"
    0.35: Computation point: AFTER_FOOTER
    0.35: Processing point: AFTER_FOOTER
    0.35: Log Activity:
    0.35: Execute Count=0
    0.35: End Show:

  • Transfer assets from one asset class to another having different depreciation keys.

    Hi Gurus,
         I am a noob in FICO, and I am facing a problem while transferring assets from one asset class to another.
    Below is the scenario.
    I created two assets 100000000000-0 under asset class 4690a and 200000000000-0 under asset class 4690b. And I am trying to transfer the
    asset from class 4690b to 4690a by selecting the option ‘New Asset’ in the transaction ABUMN. While doing this, I am receiving an error message as below.
    'Posting with trans. type 300 not possible (No acquisition posted).'
         Message No. AA324.
    Diagnosis:
         Transaction type 300 belongs to a transaction type group, which can only be used to post to assets to which posting has already been performed. However, no postings have been made to this asset.
    Procedure:
         Use a transaction type from a transactio type group, which can be used for the first acquisition to an asset.
    The error is related to the transaction type which I hadn’t explicitly created anywhere. But, when checked in transaction AO76, the transaction  type 300 belongs to the transaction type group 30. In this group I am not able to find any solution related to the error.
    Moreover, in some of the threads in SCN, I read that modifying the transaction type group might lead to something fatal.
    Kindly help me in the below.
    1. What exactly the error message is related with?
    2. Is there any other method to transfer the asset to another class?
    Please let me know if any further details are required regarding the scenario.

    Hi ,
    I understand that you want to transfer the old asset to new asset with different asset class with different depreciation keys and the old asset is not yet capitalized and does not have any Asset Values.
    Assuming that since the First Asset is not yet capitalized, that seems to be that its just that ASset Master is created and no Asset Values appear in the Asset.(in other words no acquisition, capitalization, no dep. start etc.)..
    Alternatively this asset can be advised to be blocked and flagged for deletion and create a new Asset in the new Asset Class and then capitalize the new asset by doing the acquisition according to the business process i.e. either via PO based process(GR) or Non PO based process.
    The transfer of asset is required incase the old asset still have the values and you are transferring the old asset to new one with the left over values.
    Also would request you to kindly share some screenshots of the AW01n of the old asset and screenshots of the AS03 to have more idea on it and provide a better solution to the same..
    Warm Regards,
    Vineet

  • How to pass data from one internal session to another

    Hi SAP Experts,
    How to pass data from one internal session to another and from One external session to another external session. I used import and export parmeter and SPA/GPA parameters. What is the other way to pass data?
    Please tel me urgently
    Thank you
    Basu

    Memory Structures of an ABAP Program
    In the Overview of the R/3 Basis System you have seen that each user can open up to six R/3 windows in a single SAPgui session. Each of these windows corresponds to a session on the application server with its own area of shared memory.
    The first application program that you start in a session opens an internal session within the main session. The internal session has a memory area that contains the ABAP program and its associated data. When the program calls external routines (methods, subroutines or function modules) their main program and working data are also loaded into the memory area of the internal session.
    Only one internal session is ever active. If the active application program calls a further application program, the system opens another internal session. Here, there are two possible cases: If the second program does not return control to the calling program when it has finished running, the called program replaces the calling program in the internal session. The contents of the memory of the calling program are deleted. If the second program does return control to the calling program when it has finished running, the session of the called program is not deleted. Instead, it becomes inactive, and its memory contents are placed on a stack.
    The memory area of each session contains an area called ABAP memory. ABAP memory is available to all internal sessions. ABAP programs can use the EXPORT and IMPORT statements to access it. Data within this area remains intact during a whole sequence of program calls. To pass data to a program which you are calling, the data needs to be placed in ABAP memory before the call is made. The internal session of the called program then replaces that of the calling program. The program called can then read from the ABAP memory. If control is then returned to the program which made the initial call, the same process operates in reverse.
    All ABAP programs can also access the SAP memory. This is a memory area to which all sessions within a SAPgui have access. You can use SAP memory either to pass data from one program to another within a session, or to pass data from one session to another. Application programs that use SAP memory must do so using SPA/GPA parameters (also known as SET/GET parameters). These parameters are often used to preassign values to input fields. You can set them individually for users, or globally according to the flow of an application program. SAP memory is the only connection between the different sessions within a SAPgui.
    The following diagram shows how an application program accesses the different areas within shared memory:
    In the diagram, an ABAP program is active in the second internal session of the first main session. It can access the memory of its own internal session, ABAP memory and SAP memory. The program in the first internal session has called the program which is currently active, and its own data is currently inactive on the stack. If the program currently active calls another program but will itself carry on once that program has finished running, the new program will be activated in a third internal session.
    Data Clusters in ABAP Memory
    You can store data clusters in ABAP memory. ABAP memory is a memory area within the internal session (roll area) of an ABAP program and any other program called from it using CALL TRANSACTION or SUBMIT.
    ABAP memory is independent of the ABAP program or program module from which it was generated. In other words, an object saved in ABAP memory can be read from any other ABAP program in the same call chain. ABAP memory is not the same as the cross-transaction global SAP memory. For further information, refer to Passing Data Between Programs.
    This allows you to pass data from one module to another over several levels of the program hierarchy. For example, you can pass data
    From an executable program (report) to another executable program called using SUBMIT.
    From a transaction to an executable program (report).
    Between dialog modules.
    From a program to a function module.
    and so on.
    The contents of the memory are released when you leave the transaction.
    To save data objects in ABAP memory, use the statement EXPORT TO MEMORY.
    Saving Data Objects in Memory
    To read data objects from memory, use the statement IMPORT FROM MEMORY.
    Reading Data Objects from Memory
    To delete data clusters from memory, use the statement FREE MEMORY.
    Deleting Data Clusters from Memory
    please read this which provide more idea about memory
    Message was edited by:
            sunil kumar

  • More than one process bind() to a multicast port.

    Hi,
    I found one strange behavior when there are more than one process bind() to the same multicast port. The problem is as the following:
    If there is a process bind to a port, say 2000 and joined a multicast group. This process did not do a SO_REUSEADDR,
    before bind() and join the multicast group. Later on, I have another program in the same host joining the same multicast group with the same port number (with SO_REUSEADDR), the second process will not be able to receive any data from the multicast group (with the same port number) eventhough the second process can join the multicast group successfully.
    However, if both process call setsockop with SO_REUSEADDR, both process can receive multicast data from the multicast group. The simplest fix is to have both set SO_REUSEADDR. But the problem is, the first application is an off-the-shelf software and we do not have source code to it.
    I wonder if this is a problem with Solaris. Any thoughts?
    Thanks,
    Shao

    Hi,
    I found the answer to this question. Basically, according to the source code (Solaris 8 Foundation Source), ip6.c, line #2510, multicast data is forwarded to all "listeners" only if the first "binder" has a SO_REUSEADDR set. What that mean is, if the first "binder" does not set SO_REUSEADDR before bind(), any subsequent bind() with SO_REUSEADDR is meaningless (in practical terms).
    My question is, is this behavior correct? I think it's much better to allow subsequent listeners (successfully bind and joined the multicast group) to be able to receive data. The reason is that if the first binder does not set SO_REUSEADDR before bind() the port and joined the multicast group should not deny any "late comers" to join in and participate in the multicast group. "Fixing the code" is not always practical especially if one of the application is a third-party application. Or reject bind() if the first "binder" does not allow SO_REUSEADDR.
    Any comment?
    Regards,
    Shao

  • Display region after one process has run

    I am using htmldb2.0 and I want to display regions after one process in another region of the same page has run. There is type named as "when process in comma delimited list of Process IDs has run" in condition type of region edit. I tried it with putting my process name(also followed with comma) in expression 1 text area but it doesn't work. I am wondering if this doesn't work, how can I implement it in my application.
    Thanks in advance,
    Ke Lin

    I do not get but....
    If one process on page start...then page is not rerenderd until it is finished. If process if finished page is submited and then on refresh page process is not running.
    So I do not understand how can two process be started on the same process together?
    If this si so maye this could be the solution....
    could you create autonomous transaction (it commits their data regarding transaction that it participate in!) to make some parameter in table to 1.
    When other process starts it checks this value and if this param is 1 then it should not continue.
    P.S.
    Do not forget to put another autonomous transaction procedure which will set param to "0" after process finish.
    Do this main proc with strong exception handling to ensure that param is allways set to 0.

  • Internet Problem - One site will load, another won't. Then mintues later, the site that previously would load won't and the one that wouldn't will. I'm also pulling up a lot of pages in all text. Pics won't load or only one will load and the rest won't...

    Several weeks ago, I began to have some very strange internet connection issues. All the lights on my modem stay on and my computer shows full wi-fi signal, but I suddenly I won't be able to load any pages. Other times, I'll be able to load pages from one site, but not another. It's not the same sites all the time though.... sometimes I'll be able to load pages from one site and not another, and then 5 minutes later it'll switch and I'll be able to load pages from the site I previously couldn't and I won't be able to load pages from the site I previously could. A lot of pages are coming up just text with no pics... and then 5 mintues later that site will load normally and another site will come up just text. It does the same thing whether I'm connecting wirelessly or via an ethernet cable. It also doesn't matter which browser I use (I've tried Safari, Chrome, and Firefox). Although, once in a while when using chrome, I get a DNS error page instead of the usual 'cannot find server'. I contacted my service provider and I'm not losing speed or dropping packets. According to them, the problem I'm having is very strange since diagnostic tests show no problems at all. Perhaps someone has run into this before and has a suggestion?

    Then if you have tried all the browsers try connecting the system to yoour router with an Ethernet cable and turn WiFi off. If you have the same problem then it more then likely after your computer, Router or modem or connection from your ISP.
    If you get good browsing with the Ethernet cable then it is either the WiFi card in your Mac or the WiFi system in your router.

  • Free Goods from One Material Group to Another Material Group

    Salute Masters!! 
    I need your valuble suggestion, please provide.
    I need to configure Free Goods of Material Group to Material Group.
    User want:
    1) Free Goods from one Material Group to another Material Group, like F010 to F040
    2) User should have option to change from one Material Group to Other Material Group, which He / She want, like F010 or F020, F030, F040 any one of them.
    Suppose;
    Line Item Material Belongs to One Group Quantity in Gallons Free Goods from Any Material Group Quantity in Gallons
          1            A                                              3                                    F010                                             4
          2            B                                              3                                     F020
          3            C                                              4                                     F040
    Any No. of Line Item Any No. of Material
                                       from One Group      Total 10                   From Any Material Group
    (Comprising of 3-4 Different Material from 1 Group, they should be able to choose/provide Free Goods from other Material Group)
    3) While creating Sales Order what Quantity (Gallons/No./Ltr) to be put?
    How I can configure this scenario?
    Please suggest, is it  possible through KEY COMBINATION?
    Rgds.
    Srivastav
    +91 7829755109
    Skype ID: sanjai.srivastav1

    Hi,
    if you want to give free goods from other group it can be possible only for EXCLUSIVE free good type
    In exclusive free goods, a material different from the orignal material can be specified as the free goods.
    Example: A customer who buys 200 crates of beer, gets 5 boxes of glasses free.
    In VBN1 >> Exclusive
    See column ADD FREE MATERIAL
    While creating Sales Order what Quantity (Gallons/No./Ltr) to be put?
    Maintain alternative units in material master >> Additional data >> Material master,BUT it is only main item
    Those item u want to give free that items unit is derived from free goods condition record and it CANNOT be change in order

Maybe you are looking for