How to call to Two Movement Type in One Include Programe

hi all,
i have make a include for calling a smart forms.My requirement is i have to call to or or Movement Type from one include.you can see that if im calling with Movement Type '101' and '105' than it will execute but when i add Movement Type '122' and '124',than
it will call SAPSPCRIT.
Thanks.

thanks

Similar Messages

  • How to display two movement type for same PO no.in same row in alv grid.

    Hi All
          I have one PO no suppose 1812006400 which have 2 movement type(BWART) suppose 101 & 351 i want to show the both movement
    type in one row.now in my case its showing two different row.i made 1 seperate column in final internal table i.e. movement type2.Plz help us.
          Kindly see attachment..

    Hi Samadhan,
    Try the following code for merging the Movement type into single row using Control Break statements(AT END OF...AT END).
    "Sort the internal table based on PO Number and movement type
        SORT IT_TABLE BY PO_NUMBER BWART.
    "Process the LOOP.
       LOOP AT IT_TABLE INTO WA_FINAL.
         WA_FINAL-PO_NUMBER = WA_TABLE-PO_NUMBER.
         "Merge Movement type
         IF WA_FINAL-BWART IS INITIAL. 
          WA_FINAL-BWART = WA_TABLE-BWART.
         ELSE.
         CONCATENATE WA_FINAL-BWART '/' WA_TABLE-BWART INTO WA_FINAL-BWART.
         ENDIF.
         AT END OF PO_NUMBER
          FLAT_END = 1.
         ENDAT.
         IF FLAG_END = 1.
          APPEND WA_FINAL TO IT_FINAL.
          CLEAR: WA_FINAL,
                       FLAG_END.
         ENDIF.
        ENDLOOP.
    Regards
    Rajkumar Narasimman

  • How do automate using two output types in an invoice based on plant

    Hello,
    Can you tell me how to configure automatically two output types for the same invoice.
    My client has business in USA and Europe.We are using only one sales organization. But we need to print invoices in letter size and A4 size depending on whether the invoice is created in europe or in USA. So , I have created two output types, one for letter size and one for A4 size. How do I configure so that if it is based in a plant/shipping point in Europe it is printed using the A4  output type else in letter size. Please suggest.
    SAPSDUSER

    I do not think you can use plant/shipping point in your access sequence for invoice output on header level, unless you add these fields to header level kommunication structure and populate these fields in userexit.
    You can either
    1. define requirement routines for your 2 output types which are mutually exclusive (if plant = A routine 1 returns sy-subrc = 0, routine 2 returns sy-subrc <>0, if plant = B routine 1 returns sy-subrc <>0, routine 2 returns sy-subrc = 0). You can assign requirements to output type either in output determination procedure OR in the access sequence. I would do it in output determination procedure. Check transactions NACO or NACE.
    OR
    2. add your fields to komkbv3 communication structure, populate your fields in thsi structure in userexits which are called from the function module komkbv3_fill and then you can either use then in the access sequence for your output types or create routines as in case 1. but the logic will be a simple check statement since KOMKBV3 is available in these routines.
    3. In fact you can use one output type and select your layout in the print program itself... which may be even easier for you. We use this approach to select proper layout for GEOs which may have several layouts depending on region for example... so the output type is defined per country, then layout is selected by print program. (tnapr-fonam = ..., nast-spras = proper language, set country '' to use proper decimal & date format...)
    Message was edited by:
            Siarhei Mahulenka

  • Group two movement types

    Hello,
    I would like create a new movement type 971 which group two movement type :
    - movement type 531 and
    - movement type 541
    It is possible ? How to do that ?
    Thanks for your help. Best regards.

    hi ,
    It is not possible to combine two movement into  one
    1. Movement 531 - is for By product
    At the time of production confirmation, the by-product that is produced gets transferred to the respective location. In this case the SCRAP, the goods movement takes place with the movement type ‘531 – Receipt of by-product into unrestricted use.
    2. Movement 541 -   is for sending the material to the subcontracting end.
    What is your requirement
    G.Ganesh Kumar

  • How and where to define  movement type for O4G1 or O4H1

    Hello.
    When Loading confirm(O4G1) and Delivery confirm(O4H1), some movement types create.
    For example, 
    After Loading confirm 311->647->101.
    After Delivery confirm 309.
    How and where to define  movement type for O4G1 or O4H1.
    Please, answer to me.
    Good day~!

    Hi Bulk shipment type and   intransit posting group will determine the Movement type.
    For Define bulk shipment type  ;
    SPRO => Industry Solution Oil & Gas (Downstream)=>TD   (Transportation and Distribution) =>TD Bulk Shipment => Define bulk shipment type
    For Define intransit posting group  :
    SPRO => Industry Solution Oil & Gas (Downstream)=>TD   (Transportation and Distribution) =>TD Bulk Shipment =>Intransit Stock =>Define intransit posting group.

  • How to call the 'DETAIL' function in ALV for a program?

    Dear Friends,
    I have a prf_tree (TYPE REF TO cl_gui_alv_tree), and I added below codes to add an new button for displaying the detail record, it works fine:
    CALL METHOD prf_toolbar->add_button
        EXPORTING
          fcode     = prf_tree->mc_fc_detail
          icon      = icon_detail
          butn_type = cntb_btype_button
          text      = ''
          quickinfo = 'Show Details'.
    Everytime I click this new button, a window will popup and display the record details.
    My question is: how to call this standard function  ('DETAIL' function) in a program? for example:
    CASE ldf_ok_code.
        WHEN gcf_okcode_save.
          PERFORM okcode_save.
        WHEN 'SHOW_DETAIL'.
          CHECK  gdf_nodkey_9003 IS NOT INITIAL.
          PERFORM SHOW_DETAIL.(How to write this code to display the detail data of the selected record?)
      Thanks a lot!

    Hi,
    Go for Interactive Reporting
    like When u click on the output then it will show the Detail report u want .
    for that purpose Pls
    Use Hide command .
    And call another report
    by using SUBMITT Program

  • How do I combine two iTunes accounts to one.?

    How do I combine two iTunes accounts into one?

    iTunes Account = Apple ID...
    From Here   http://support.apple.com/kb/HE37
    I have multiple Apple IDs. Is there a way for me to merge them into a single Apple ID?
    Apple IDs cannot be merged. You should use your preferred Apple ID from now on, but you can still access your purchased items such as music, movies, or software using your other Apple IDs.

  • How to make a two-way process to one-way process?

    Hi,
    How to make a two-way process to one-way process?
    My requirement is:
    1. I have developed an asynchronous BPEL process, and I am calling a PL/SQL procedure using a DB adapter.
    2. The property "syncMaxWaitTime"=120 seconds in domain.xml.
    3. The partner lnk is one-way operation and it takes more than 120 secons.
    4. So my process throws TimeOut error and the transaction will be rolled back.
    5. If the transaction is rolled back then the instance will not appear in the console.
    6. The wired thing is the call to DB is actually doing the complete task successfully even it takes more than 120 sec.
    7. Is there a way where I can handle this Timeout exception and bring the transaction to complete normailly?
    What I am expecting a solution like [http://download-uk.oracle.com/docs/cd/B31017_01//integrate.1013/b28981/events.htm].
    I tried this example, but in my process I am not getting onResult operation as my process is one-way process? Is there a way where I can make this a two-way operation, after taht I will try to use the Pick activity as shown in the above example.
    --Khaleel

    Hi Khaleel,
    Please refer 122.DBAdapter/advanced/endToEnd/DirectSQLPerformance/README.txt in bpel/samples/tutorials.
    See the "A-Sync to Synchronous " section to convert the asynchronous process initiated by DB adapter to a Synchronous process.
    In your case the problem can be solved by creating a synchronous BPEL process and invoke the asynchronous process initiated by DB adapter in it. You can add the pick activity in the synchronous BPEL process to monitor the timeout.
    Best Regards
    Meenal Orkey

  • How do I make multiple movies look like one?

    I created a demo of 136 slides with mostly screencaps and one
    small flash animation. The final published flash file is
    approximately 30MB. When the demo is run on multiple computers, the
    CPU utilization rises up to almost 100%, this makes the demo run
    very slowly on most computers. I was advised to cut my captivate
    movie in half ( in slides)... however even then the CPU utilization
    is quite high. How can I break my demo into multiple linked movies
    (to bring down the file size) but still have it play smoothly
    without it stopping to load after each new movie? How do I make
    multiple movies look like one?
    Thank you.

    Would it work to make the navigation of the page go to the
    next movie?

  • How do you select and move more than one bookmark at a time? Shift+Click does not select multiple items that are next to one another in a list because the item

    How do you select and move more than one bookmark at a time?
    Shift+Click does not select multiple items that are next to one another in a list because the items open in firefox before this happens.

    Use the bookmarks library. You may use Shift +Click, and Ctrl + Click to create groupings of selected bookmarks to drag and drop.
    * one method of opening the bookmarks library is keyboard shortcut <br /> Ctrl+Shift+B (Windows)
    *see also [[How to use bookmarks to save and organize your favorite websites]]
    *and [[Use bookmark folders to organize your bookmarks]]

  • How can I have two itunes accounts on one computer?

    How can I have two itunes accounts on one computer?

    Not sure what you mean.
    An account is a user name and password.
    Sign into whichever account you want to use for purchasing.
    Authorize the computer for both account to listen to the content.

  • How can I combine two itunes accounts into one?

    How can I combine two itunes accounts into one?

    Items purchased from the iTunes Store are permanently associated with the account from which they were originally purchased.  Apple provides no way to change this.
    However, if you wish to put content from two accounts into a single iTunes library, you can easily do so.  Use the command File > Add File (or Folder) to Library.

  • HOW DO I INSTALL TWO DIFFERENT ITUNES ON ONE COMPUTER

    how do i install two itunes accounts on one computer using windows 7

    By creating a second user account for the other person.

  • How can call a function module(RFC)in one server to another sever in my rep

    How can call a function module(RFC)in one server to another sever in my report program.
    What i am know whenever rfc enabled immediately radio button checks then only it will come.
    please justify.

    Syntax
    CALL FUNCTION func DESTINATION dest [EXPORTING p1 = a1 p2 = a2 ...]
    [IMPORTING p1 = a1 p2 = a2 ...]
    [CHANGING p1 = a1 p2 = a2 ...]
    [TABLES t1 = itab1 t2 = itab2 ...]
    [EXCEPTIONS [exc1 = n1 exc2 = n2 ...]
    [system_failure = ns [MESSAGE smess]]
    [communication_failure = nc [MESSAGE cmess]]
    [OTHERS = n_others]].
    http://help.sap.com/saphelp_47x200/helpdata/en/22/042537488911d189490000e829fbbd/frameset.htm

  • How the system determines the Requirement type  for one sales order

    Hi,
    SAP-SD Gurus,
    Please tell me how the system determines the Requirement type  for one sales order?
    Thanks & Regards,
    Sreenivas.P

    Hi,
    System follows some search criterial to determine the requirement type
    1. First, an attempt is made to find a requirements type using the strategy group in the material master.
    2. If the strategy group has not been maintained, the system will determine it using the MRP group.
    3. If the MRP group has not been defined, the system uses the material type instead of the MRP group when accessing the corresponding control tables.
    4. If no requirements type is found here, the system assumes a special rule and attempts to find a requirements type with the aid of the item category and the MRP type.
    5. If this is not possible, a last attempt is made to find a requirements type with the item category only.
    6. If the last attempt fails, the system declares the transaction as not relevant for the availability check or transfer of requirements.
    Please check the path
    SPRO->SALES & DISTRIBUTIONS->BASIC FUNCTIONS>AVAILABILITY CHECK AND TOR->TRANSFER OF REQUIREMENTS--->DETERMINATION OF REQUIREMENT TYPE USING TRANSACTION.
    Hope it will clarify
    regards,
    santosh

Maybe you are looking for

  • How to call ABAP client proxy?

    Hello, I am getting confused with ABAP client proxy now. I've defined a outbound service interface (Message Interface) in PI, based on the service interface I generated the ABAP client proxy in the abap backend system. There are two possible ways to

  • Archive logs are missing in hot backup

    Hi All, We are using the following commands to take hot backup of our database. Hot backup is fired by "backup" user on Linux system. ======================= rman target / nocatalog <<EOF CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK T

  • Po strategy

    Hi guys, We have configured release strategy with five levels as follows level1   1,000 to 10,000 level2   10,001 to 1,00,000 level3  1,00,001 to 10,00,000 level4 10,00,001 to 15,00,000 level5 > 15,00,000 Our requirement is as follows Suppose any PO

  • Making text glow with a spinning logo in menu

    hi all maybe hal could help me, i am wanting to create some menu pages ,where i have a spinning logo and text that glows when selected,not sure how to do it,i nearly can understand about creating menu pages in photoshop using layersfor the glow ,but

  • Notification alert All Apps In Xperia Z1

    Hello I have a phone: Sony Xperia Z1  It is a wonderful and very excellent and supernatural Hahahaha Occurred in my mobile phone problem notification and notices and alerts. When the screen is locked, when it comes to e-mail message, or Facebook noti