My_BAPI shuldReceive input & returning back output?

I hv a Prog. my_ALV, which out puts the ALV report, by taking the Selection criteria from Selection screen.
So, now, the requirement is(I dont hv Functional Specs),
1 - I hv to develop a my_BAPI
This my_BAPI shuld(this BAPI in such a way that,),
1 - import/use the Selection criteria
SUBMIT my_ALV???????????
2- input this selection criteria into my_ALV prog. as input and shuld yield the output(need not display)
3-Again now, I hv to return/export this output to memory.
EXPORT LIST TO MEMORY
So,
1) Wht is the ideal Prog. flow?
2) What r the key syntxes I can use ?
3) Wht r the structures I need to create?
4) Wht is the addition for SUBMIT my_ALV??????????? syntax, Is it VIA SELECTION SCREEN or USING SELECTION SCREEN or else?
5) Is this sytax is right one to get result,
EXPORT LIST TO MEMORY
or any additios needed?
6) Do v hv any SAP bapi for this purpose?
thanq.
Message was edited by:
        Sridhar
Message was edited by:
        Sridhar

.

Similar Messages

  • Packing Material returned back to inventory

    Hi,
      Our client uses standard costing for all materials. We have a scenario where material is packed in drums. The drums are then returned back into inventory as the material is despatched to the customer packed in a different form. A drum rate per pound of production is loaded into the standard cost of the packed material. The problem now is that the inventory of the used drum is in a balance sheet account while the credit for drum cost on production goes to the P&L account. Is there some method by which only that portion of the drum cost on production can be credited to a reserve account?
      I was thinking i could apply an overhead rate on the packed material and credit it to an internal order and end of month settle to a balance sheet account. But overhead cannot be provided on output, rather it is based on input. is there some way by which I could use template allocation to credit an order andd debit the production order? Or is there some other better method?
    Thanks,
    Shivram

    Hi
    I myself never used it, but I know it can be used to allocate OH based on Output....
    refer this thread for more details... Re: Activity Type Planning on the basis of  Raw materials
    Moreover, I would prefer to use a work around as below, which I used in a similar scenario
    1. Convert the Drums into Fixed Asset... The FA recon account can be "Inventory of Drums".. Dont club this account under FA in your Financial St Version in FI
    2. Assign a Manual Dep Key in this asset masters... i.e. You can manually post the Depreciation of these assets as per your choice
    3. Post this entire dep into one cost center... Later on allocate it to the Prod orders or absorb it as an overhead using costing sheet
    To make it more simpler, assign an activity type "PRDQTY" in your Routing.... This PRDQTY will record your Prod Qty....
    The Activity Qty of this PRDQTY will be equal to your Base Qty of the routing.... So, whatever output you confirm on the Prod order in CO11N, the same amount of Act Qty will also get confirmed
    Then calculate the Act Price for this act type which will be Depreciation amount for wear n tear / Prod Qty.... THIS IS EXACTLY WHAT YOU WANT!!
    Br, Ajay M

  • Cmdlet Get-AzureVMImageDiskConfigSet returns no output

    The cmdlet Get-AzureVMImageDiskConfigSet seems to return no output. The help shows:
    NAME
    Get-AzureVMImageDiskConfigSet
    SYNOPSIS
    This cmdlet returns an object for disk configuration set, which is from the input image context.
    SYNTAX
    Get-AzureVMImageDiskConfigSet [-ImageContext] <OSImageContext> [<CommonParameters>]
    DESCRIPTION
    This cmdlet returns an object for disk configuration set, which is from the input image context.
    PARAMETERS
    -ImageContext <OSImageContext>
    The VM image context.
    Required? true
    Position? 2
    Default value
    Accept pipeline input? true (ByValue, ByPropertyName)
    Accept wildcard characters? false
    <CommonParameters>
    This cmdlet supports the common parameters: Verbose, Debug,
    ErrorAction, ErrorVariable, WarningAction, WarningVariable,
    OutBuffer, PipelineVariable, and OutVariable. For more information, see
    about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
    INPUTS
    OUTPUTS
    Microsoft.WindowsAzure.Commands.ServiceManagement.Model.VirtualMachineImageDiskConfigSet
    NOTES
    -------------------------- EXAMPLE 1 --------------------------
    C:\PS>Get-AzureVMImage -ImageName $img | Get-AzureVMImageDiskConfigSet
    I ran:
    Get-AzureVMImage | Get-AzureVMImageDiskConfigSet
    got nothing back.
    I ran:
    $OSImageContext = Get-AzureVMImage
    verified 276 objects received of TypeName: Microsoft.WindowsAzure.Commands.ServiceManagement.Model.OSImageContext which is what the cmdlet Get-AzureVMImageDiskConfigSet  is expecting..
    Tried:
    $OSImageContext = Get-AzureVMImage
    Get-AzureVMImageDiskConfigSet -ImageContext $OSImageContext[0] -Verbose -Debug
    still getting nothing..
    Sam Boutros, Senior Consultant, Software Logic, KOP, PA http://superwidgets.wordpress.com (Please take a moment to Vote as Helpful and/or Mark as Answer, where applicable)

    nope
    Sam Boutros, Senior Consultant, Software Logic, KOP, PA http://superwidgets.wordpress.com (Please take a moment to Vote as Helpful and/or Mark as Answer, where applicable) _________________________________________________________________________________
    Powershell: Learn it before it's an emergency http://technet.microsoft.com/en-us/scriptcenter/powershell.aspx http://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx

  • How to call an alv report from another program and return back

         Hello ,
    I am calling one abap program (Prgm B) from another program (Prgrm A).
    Here, Prgm B is an ALV report. I have fetch some data from Prgem B that gets stored in an internal table.
    Now, I am using below code in Prgrm A,
      SUBMIT Prgrm B VIA SELECTION-SCREEN
                          WITH SELECTION-TABLE rspar
                          EXPORTING LIST TO MEMORY
                          AND RETURN.
    When Prgrm A executed, it lead me to selection screen of Prgrm B and when I click F8, it shows me the report output, In short, it doesnt return back to Prgrm A. It ends up showing me the alv report if Prgrm B even afetr using RETURN statement.
    I want to get back to Prgrm A by fetching some data from Prgrm B.
    Please let me know, if i am missing something.
    Regards,
    Seema

    Hi Seema,
    Refer below code.
    DATA: v_matnr LIKE mara-matnr.
    DATA: t_listobject TYPE abaplist OCCURS 0 WITH HEADER LINE.
    DATA: t_mara TYPE mara OCCURS 0 WITH HEADER LINE.
    DATA: BEGIN OF t_ascilist OCCURS 0,
             line(200).
    DATA: END OF t_ascilist.
    data var(3) type c.
    SELECT-OPTIONS: s_matnr FOR v_matnr.
    var = '  3'.
    START-OF-SELECTION.
       SUBMIT ztestaks1 WITH s_matnr IN s_matnr EXPORTING LIST TO MEMORY
       AND RETURN.
       CALL FUNCTION 'LIST_FROM_MEMORY'
            TABLES
                 listobject = t_listobject
            EXCEPTIONS
                 not_found  = 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.
       ELSE.
         CALL FUNCTION 'LIST_TO_ASCI'
    *     EXPORTING
    *       LIST_INDEX               = -1
    *       WITH_LINE_BREAK          = ' '
           TABLES
             listasci                 = t_ascilist
             listobject               = t_listobject
           EXCEPTIONS
             empty_list               = 1
             list_index_invalid       = 2
             OTHERS                   = 3.
         IF sy-subrc <> 0.
           MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
         ELSE.
           WRITE:/ 'Below are the lines from the submitted program.'.
           LOOP AT t_ascilist.
             WRITE:/ t_ascilist-line.
           ENDLOOP.
           SKIP 2.
         ENDIF.
       ENDIF.
       IMPORT t_mara FROM MEMORY ID 'T_MARA'.
       WRITE:/
    'Here is the output from the table exported from the submitted program.'
       LOOP AT t_mara.
         WRITE:/ t_mara-matnr.
       ENDLOOP.
    Submitted program
    REPORT  ZTESTAKS1.
    DATA: v_matnr LIKE mara-matnr,
           v_maktx LIKE makt-maktx.
    DATA: t_mara TYPE mara OCCURS 0 WITH HEADER LINE.
    DATA: BEGIN OF t_makt OCCURS 0,
             matnr LIKE makt-matnr.
    DATA: END OF t_makt.
    SELECT-OPTIONS: s_matnr FOR v_matnr,
                     s_maktx FOR v_maktx.
    START-OF-SELECTION.
       SELECT matnr INTO TABLE t_makt
                    FROM makt
                   WHERE matnr IN s_matnr
                     AND maktx IN s_maktx.
    if not t_makt[] is initial.
       SELECT * FROM mara
                INTO TABLE t_mara FOR ALL ENTRIES IN t_makt
               WHERE matnr = t_makt-matnr.
    endif.
       EXPORT t_mara TO MEMORY ID 'T_MARA'.
       WRITE:/ 'This list is from the submitted program'.
       SKIP 1.
       LOOP AT t_mara.
         WRITE:/ t_mara-mtart.
       ENDLOOP.
    Hopes this helps you.
    Thanks,
    Ashok.

  • Remove_column( ) of cl_wd_table not returning back the column reference

    Am using the remove_column( ) of cl_wd_table to remove a particular table column & also get the reference of a the same for inserting at a different position. But the system doesn't return back any value. I tried doing a get_column( ) before doing the remove_column( ) but even that wasn't able to get the reference to that column. I debugged & observed that the system was internally reading an internal table ME->ch_COLUMNS to get the list of columns but this table was empty and so the READ was failing.
    method GET_COLUMN.
      CLEAR the_COLUMN.
      IF index > 0.
       READ TABLE ME->ch_COLUMNS INDEX index INTO the_COLUMN.
      ELSE.
       READ TABLE ME->CH_COLUMNS WITH KEY TABLE_LINE->ID = ID INTO
       THE_COLUMN.
      ENDIF.
    endmethod.
    I had bound the TABLE to a context node based on dictionary structure SCARR & 3 fields CARRNAME, CARRCODE & URL.  Please advise as to why the column references aren't available.
    Uday

    Hi Suman,
    Thanks for the reply.
    In WDDOMODIFYVIEW I have put the below coding:
    method WDDOMODIFYVIEW .
      check first_time = abap_true.
      wd_this->gr_table ?= view->get_element( id = 'TABLE' ).
    endmethod.
    I need to change the table column position when the user clicks on a pushbutton. The attribute context_element is an importing parameter of type if_wd_context_element and have declared gr_table in view attributes as of type CL_WD_TABLE.  The coding is as below:
    method ONACTIONMOVE_DOWN .
      data: old_index type i,
            new_index type i,
            lr_column type ref to cl_wd_table_column.
      old_index = context_element->get_index( ).
      check old_index < 3.
      lr_column = wd_this->gr_table->get_column( index = old_index ).
      wd_this->gr_table->remove_column( index = old_index ).
      new_index = old_index + 1.
      wd_this->gr_table->add_column( the_column  = lr_column
                                     index       = new_index ).
    endmethod.
    By the way I have noticed something else while debugging inside the standard code for get_column( ). The ME->CH_COLUMNS is empty but there is another attribute ME->CH_GROUPED_COLUMNS which has the type ref info for the 3 columns which am displaying in the TABLE. I haven't set anything specific properties for the table either. Any inputs from your side would be very useful.
    Edited by: Uday on Aug 29, 2008 11:09 AM

  • CALL A TRANSACTION  IN SIMPLE REPORT AND RETURN BACK TO REPORT

    I 'VE A REQUIREMENT IN WHICH I HAVE TO MAKE A REPORT PROGRAM. IN THIS REPORT PROGRAM I HAVE TO CALL A TRANSACTION cs11 IN BACKGROUND AND THEN PICK ITS OUTPUT VALUE (DISPLAYED IN alv GRID OF cs11) AND THEN RETURN BACK TO MAIN PROGRAM. DO SOME CALCULATION WITH THE BROUGHT DATA AND THEN DISPLAY THEM ON THE REPORT alv OUTPUT.
    iS THIS POSSIBLe? IF YES? HOW.
    PLEASE HELP.

    try creating two reports.....ztest_a and ztest_b
    do your call transaction in ztest_b
    in ztest_a you can write submit ztest_a and return....
    see if this works...
    Message was edited by:
            Priyank Jain

  • Help Needed: Returning Back to Windows 8 after downgrading to Windows 7

    Hi guys, im just new here.
    I have a MSI GE40 gaming laptop which I bought 2 months back.
    Within those 2 months of usage, I always encounter my laptop to be very slow in shutting down. It always take, maybe up to 10 minutes to fully shut down. The screen goes black but the power button stays on orange color, & as I said, it takes a long time  for the power button to be completely unlit. But for start up, its blazing fast.
    Thinking that windows 8 itself is the culprit of super slow shutting down, I searched the net on how to downgrade to windows 7.
    Of course I did make a back up first on a 16gb usb flash drive using the pre-installed recovery software from MSI which was completed successfully.
    Then I made some tweaks on the bios (ie select legacy & disable secure boot) & boot using windows 7 installation DVD, deleted all partitions (since the notebook comes with GPT partition) to be able to install windows 7. I installed all the drivers which I downloaded from MSI website specific to my notebook.
    But the problem is not solved, it is still very slow in shutting down, & now even boot up becomes very slow too.
    So I downloaded & execute the firmware & bios for windows 7 from msi website (again, specific to my model). But still the same, the notebook is still very slow both in shutting down & start up.
    So I decided to go back again to windows 8, I tried to boot from the flash drive (I adjusted from the bios & make the flash drive to be the first priority) but it did not boot from it. I tried F11 on start up & selected to boot from usb flash drive but again, to no avail.
    So the last one I did was downloaded windows 8, make a bootable flash drive out of it, boot from it and luckily, I succeed - I have now again a windows 8 msi ge40 laptop.
    But I wanted my laptop to be reinstated to factory setting, i.e, all preinstalled softwares are there, the bios is default for windows 8. So I tried to update the bios to the one for windows 8 again (since I downgraded the bios to the one for windows 7 when I downgraded the OS to windows 7). But I could not update the bios, the laptop is not booting from usb flash drive containing the bios.
    I tried also to recover using F3 on start up but the system does not recognize the flash drive (with system back up). I tried also on PC settings but to no avail.
    Now guys, I need your help.
    How can I return back my laptop to default factory settings?
    Thank you.
    (sorry for my not so good English)

    Hello:
    I think it's not only about the OS version, you need to return this back to your shop to repair with the slow shot down issue, because the OS should be shot down in 30 seconds, far from your GE40 times.

  • Simultaneously read more than one input and generate output

    Is it possible To simultaneously read more than one input and generate outputs depending on these inputs? If this isn't possible what is the best way to go about making some sort of timed loop that will read an input, read the next input, decide whether or not to output and so on. Hope someone can help. Thanks.Message Edited by Esmith13 on 05-25-2005 01:36 PM

    Hi,
    You should look at the synchronized examples for analog input and output that can be found in the example finder under:
    Help>>Find Examples>>Hardware Input and Output>>DAQmx>>Synchronization>>Multi-Function
    These will get you started to being able to handle multiple tasks at the same time.
    I hope this helps. Have a Great Day!
    George

  • Error while executing SSIS package - Error: 4014, Severity:20, State: 11. A fatal error occurred while reading the input stream from the network. The session will be terminated (input error: 109, output error: 0)

    Hi,
    We are getting the following error when running our SSIS packages on Microsoft SQL Server 2012 R2 on Windows Server 2008 R2 SP1:
    Error: 4014, Severity:20, State: 11.   A fatal error occurred while reading the input stream from the network. The session will be terminated (input error: 109, output error: 0)
    SQL Server Data Tools and SQL Server Database Engine reside on the same server.
    We tried the following:
    Disabling TCP Chimney Offload
    Installed Windows Server 2008 SP1
    Splitting our SSIS code into multiple steps so it is not all one large continuous operation
    The error occurs during a BulkDataLoad task.
    Other options we are investigating with the engineering team (out-sourced, so delayed responses):
    Firewall configurations (everything is local, so this should not make a difference)
    Disabling the anti-virus scanner
    Are there other things we can try?
    Any insight is greatly appreciated.
    Thanks!

    Hi HenryKwan,
    Based on the current information, the issue can be caused by many reasons. Please refer to the following tips:
    Install the latest hotfix based on your SQL Server version. Ps: there is no SQL Server 2012 R2 version.
    Change the MaxConcurrentExecutables property from -1 to another one based on the MAXDOP. For example, 8.
    Set "RetainSameConnection" Property to FALSE on the all the connection managers.
    Reference:
    https://connect.microsoft.com/SQLServer/feedback/details/774370/ssis-packages-abort-with-unexpected-termination-message
    If the issue is still existed, as Jakub suggested, please provide us more information about this issue.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Xbacklight returns 'No outputs have backlight property' on Sony laptop

    Laptop: Sony VAIO VGN-NW130D
    Graphics: Mobility Radeon HD 4500 Series
    WM: xmonad
    I am trying to get the two brightness adjustment keys on my laptop to work, which they currently they do not. To this end I want to map a xbacklight command to each of these keys.
    Problem: running xbacklight alone or with any arguments and options returns: No outputs have backlight property
    I read here that "it is a driver issue. The vesa and fglrx drivers simply do not support backlight setting. You may get better results from the radeon driver." (The OP is not me.)
    But I am using the Radeon driver (xf86-video-ati), so maybe this is not accurate. However I was using the fglrx driver before this, and the xf86-video-radeonhd driver before that. Is it possible that, even though I have now removed them, some trace of them remains, so that xbacklight mistakenly detects a driver with which it does not work? I closely followed ArchWiki's simple instructions when removing each driver before installing a new one.
    Additional info: I am currently using laptop-mode-tools to automatically set brightness upon startup. This is fine if I want a static (or at least not quickly adjustable) brightness, but I do not think there is any clean way to make it work with the Fn keys. laptop-mode-tools writes to /proc/acpi/video/VGA/LCD/brightness but I also have /sys/class/backlight/acpo_video0/brightness which would presumably work as well.
    Thank you for any help I have been eating neighborhood children in frustration.
    Last edited by error (2010-08-01 03:50:56)

    try with setpci command ( for eg  setpci -s $DEVICE F4.B=<your brightness level> device is your device bus id)

  • Input Tax and Output Tax calculating wrong figures

    Hi,
    I have created Input Tax and Output Tax codes in SAP.
    Input Tax- 3%
    Output Tax- 4%
    All the configuration is done as required. But when I am posting the Purchase and Sales Invoice, the tax amount is not calculating correctly.
    For example:
    Input Tax Calculation should be:
    Vendor A/C.............. Cr 30000-
    Expense A/C............ Dr 29100
    Input Tax A/C............ Dr 900 (@3% on 30000)
    Input Tax Calculation in SAP:
    Vendor A/C.............. Cr 30000-
    Expense A/C............ Dr 29126.21
    Input Tax A/C............ Dr 873.79 (@3% on 30000)
    The same is happening to Output Tax transactions.
    Please advice.

    My understanding about the Input Tax and Output Tax was wrong. In the issue reported
    Input Tax Calculation should be:
    Vendor A/C.............. Cr 30000-
    Expense A/C............ Dr 29100
    Input Tax A/C............ Dr 900 (@3% on 30000)---my understanding was wrong.
    Input Tax 3% should be charged on Expense amount, in this case Rs 30000. But because in the editing option calculate tax on net amount option was not selected, hence SAP was giving the below entry, which is correct as well.
    Vendor A/C.............. Cr 30000-
    Expense A/C............ Dr 29126.21
    Input Tax A/C............ Dr 873.79 (@3% on 29126.21) which is correct.
    Hence, the Vendor amount should be Expense + Input Tax= 30000 * 3%=900 + 30000 (expense) = 30900.
    Correct Entry should be:
    Vendor A/C...............Cr 30900
    Expense A/C............Dr 30000
    Input Tax A/C............Dr 900
    Resolved. Pankaj has given the correct answer.

  • I would like to return back OS X Maverick from 1 month experience with OS X Yosemite ? Where i could find out link to download OS x Maverick?

    I would like to return back OS X Maverick from 1 month experience with OS X Yosemite ? Where i could find out link to download OS x Maverick?

    Battery – Runaway Applications Can Shorten Battery Time
    Battery Testing
    Battery Won’t Charge
    Battery won’t charge completely - Yosemite
    Wi-Fi: How to troubleshoot Wi-Fi connectivity
    Wi-Fi Problems in OS X Yosemite
    Wireless Diagnostics
    Also try turning off Bluetooth.

  • How can servlet return the output as html content with drawing picture?

    Does anybody know how can a servlet return the output as html content with drawing picture?
    The drawing picture is drawn at runtime by the servlet.

    Thanks, BalusC.
    But I am not sure if I understand your reply fully.
    From my understanding, you are telling me to first generate a html from a servlet with the image <IMG> tag pointing to a servlet which will be responsible to generate an image?
    For example, <IMG SRC="http://myserver/servlet/testservlet">
    Could you confirm this?

  • How can I return back to my Nigerian store from US store?

    I want to make a purchase, the system prompted me that the item is only available in the US store, and that do i want to shift to US store now? so i said YES! so I went to the US store but later I was told that my account cannot purchase from the US store that's should return toNigerian store. But the system did not prompted me back asking whether I want to return to Nigeria store, each time I want to download, I will be ask to return back to Nigerian store but I did not know HOW to? Therefore I need an assistant to return back to my Nigerian store both for my purchase and my download. Thanks.

    See  >  Change your iTunes Store country
    Here  >  http://support.apple.com/kb/HT1311
    Settings > iTunes & App Stores > Apple ID: > View Apple ID > Country/Region = Change Country / Region

  • BOM and Production Order: Multiple Inputs to Multiple Outputs

    Dear All, My client's industry required BOM and Production Order must be Multiple Inputs to Multiple Outputs. We propose to create customization program to work on it but client do not want any customizations. Any suggestions? SAP B1 8.81 PL13 Thank you very much in advance. Best Regards, Vivian

    Hi,
    Please advice your requirement with an example. There is possibility to input multiple components to produce single finished product.
    Not sure you have checked with SAP help file. If not refer SAP help file and below blog.
    http://scn.sap.com/community/business-one/blog/2014/03/01/how-to-implement-production-in-default-sap-business-one
    Thanks & Regards,
    Nagarajan

Maybe you are looking for

  • Change value in a field and reflect value of another field

    Hi all, I have a situation here where in the Single Customer View, under the Completed Task. When I changed the value of a field name called Status to "Completed" in the Edit screen and I save it, another field that is in the same screen called "Comp

  • How Do I Edit Text in Adobe Flash CS5

    I have a premade .fla file I purchased from a web development company. I works when I open it with IE or whatever but I just dont know how to change the dummy text with in the pre made flash template and I wonna change th ecolor from green to black.

  • Keeping or changing...that is the question!

    I have a macbookpro 13" early 2011 should i upgrade my Ram and get an SSD or buy the new macbookair???

  • Slow systemd-vconsole-setup service at boot (apparently)

    Hello,      I am trying to understand the timing of my boot sequence, particularly the systemd part. I have the feeling that systemd-vconsole-setup.service is taking quite a long time for what it is supposed to do, since I get systemd-analyze blame |

  • Adobe Color Printer Utility and PS CS6

    When attempting to print without Color Management in PS CS6 (in the Color Handling section of the Photoshop CS6 Print dialog box) I get a pop-up error message that says I must use the Adobe Color Printer Utility. It refers me to this page: http://hel