Help reqd for Reverse PGI - VL09

When i try to a reverse goods issue, using transaction VL09, the following error mesage occurs sometimes - mainly with Batch Split on Bulk Deliveries
Document ****   does not contain any selectable items
The document or item entered cannot be adopted.
The error message mentions something about Suggest Zero lines indicator set ??
I am confused with the above, your help would be much appreciated
Thanks
Tony

Hi,
Are you processing VL09 with more number of documents or one by one?
Thanks
Krishna.

Similar Messages

  • How to reverse PGI @ VL09 for delivery with subsequent invoice

    Greetings
    Our business process sometimes requires billing to happen prior to PGI.
    Hence, we have modified copy control settings to allow billing based off delivery creation (rather than PGI delivery).
    No modifications to the item categories and we are using standard movement types 601/602
    My issue is at VL09.
    VL09 will not allow me to reverse without cancelling the billing document.
    I get a message No data available for these selection criteria
    I have checked OMJJ movement type settings and I dont see anything here.
    Can anyone point me in the right direction to customize such a setting if it exists?
    We are using ECC 6.0
    thank you
    Ken

    hi
    your issue as standard behavior , when delivery document  billing status completed ,  you can not do the PGI , when you cancel the billing document then only system will accept PGI ,
    when you cancel the billing document , delivery document billing status will change , so accept PGI
    this status comes based on billing document types , like final billing (f2) delivery billing status comes complete, proforma invoice completed then delivery billing status comes not yet proceed
    this is the why system not accept the PGI for final billing document done
    check proforma billing document delivery PGI
    Regards
    sankar

  • Help reqd for Selection Screen Input paramter

    Hi Friends,
    I've developed a noraml ALV grid report which have Date selection option as input selection parameter. In that , I want to declare last month date as defualt value to date-low range. Whenever the Tcode is entered, it should show the date ranges with my default values as date-low is last month date and date-high is current system date (this one I've given as sy-datlo).
    Please help me how to declare last month date to my low range field.
    thanks & regards
    sankar.

    Hi Suhas,
    i think so there is no need to specify the sign and options.
    SELECT-OPTIONS:so_dat for sy-datum.
    INITIALIZATION.
    so_dat-low = sy-datum.
    so_dat-high = sy-datum.
    append so_dat.
    START-OF-SELECTION.
    BREAK-POINT.
    it assigns BT by default.
    Sankar:Please provide your code

  • Help reqd for a newbie on Oracle App Server 10g

    I installed Oracle 10g Appserver. I have used Websphere, WebLogic and other App servers. But, Iam completely new to Oracle 10g App Server. Can you guys help me how to go about it to deploy an application on Oracle 10g App Server and if any pointers are there, they are very very helpful.
    First of my problems, is that, it is asking me for "Enter your single sign-on username and password", when I give oc4jadmin/oc4jadmin, its giving "Incorrect username or password". Can someone give me a pointer to docs, if any to resolve these issues.
    TIA.
    Thanks a lot.
    Prashanth Babu.

    Hi Hamdy,
    Thanks for the quick response. I got the document on the deployment.
    I have installed Oracle Application Server SOA suite 10.1.3.1.0 (for WindowsXP) on my machine. I did a "Basic Install" on this.
    Iam not able to understand what to do with the problem of SSO.
    Any inputs for the problem would be of great help. Thanks a ton for the same.
    Regards,
    Prashanth Babu.

  • Coding help reqd for BADI

    HI Friends,
    Im working on MB_MIGO_BADI object for MType: 261.Here, im facing a problem to call a info msg with coding effect.i.e, I've to give a conditional message says that if the user tries to change the quantity (changing the existing/available in the field text of MIGO), then it'll give a window pop-up message or info msg like "Quantity should not be changed". Pls reply ur post how to fix this.
    The fields are
    1) cs_goitem-bwart " MType
    2) cs_goitem-erfmg "Quantity
    Note: A) It'll be applied only for MType:261.
              B) Pls advise, Here, shall I declare the export and import memory id concept?
    FYI
    ******Below is the coding part declared inside the method function.
    method IF_EX_MB_MIGO_BADI~LINE_MODIFY.
    if cs_goitem-bwart eq '261'.
    *cs_goitem-erfmg is not initial and
    *call function 'CUSTOMIZED_MESSAGE'
    *exporting
    Message i006(zmsg).
    endif.
    endmethod.
    Above, it helps only showing the info msg while entering the mtype: 261.But i need to display it only if the cursor comes into Qty (ERFMG) field. Pls advise me how to fix with ur coding example.
    mail me:[email protected]

    Posted newly since one of the issue got solved.
    thanks

  • Coding help reqd for BADI - looping strategy

    Hi friends,
    Pls help me to post some example codes for looping the table control data items.
    i.e., Details available in table control item in MIGO.
    Ex:
    LINE     Material text        Qty
    1             INGOT              5.0      
    1             INGOT              2.5
    1             INGOT              10.0
    1             FURNACE OIL  180.0
    Pls help me,How to loop this table control items , so that i want to sum the consolidated qty by material wise.
    the fileds are cs_goitem-matnr and cs_goitem-qty.
    FYI, the cs_goitem is a structure of MIGO.(cant do it for looping)
    Post ur comments with sample codes.
    thanks & reagrds
    sankar.
    Edited by: sankar babu on Jan 2, 2008 10:14 AM

    Hello Sankar.
    You can write the code needed in the POST_DOCUMENT method of the BAdI where you have the IT_MSEG table, so that you can loop it and collect the qty you need.
    For example:
    data: ls_mseg type MSEG.
    data: begin of i_coll_qty occurs 0,
               matnr type matnr,
               menge type menge_d,
            end of i_coll_qty.
    loop at it_mseg into ls_mseg where shkzg = 'S'.
        i_coll_qty-matnr = ls_mseg-matnr.
        i_coll_qty-menge = ls_mseg-menge.
        collect i_coll_qty.
    endloop.
    Please reward if helpful.
    Regards,
    George

  • Help reqd for USER EXIT - VA01

    Hi all,
    i've the details of lists regarding the VA01 std enhancement assignment....but really i dont know which one'll be applicable for my USER Exit object....
    My client requiremnet is...In VA01 or VA02
    The enduser will be able to create/do the line items upto the line 4th (POSNR -004).means,we shuld restrict the line items as  a maximum of 4 only and it has to throw an error if going for 5th line item and revert back to main .
    which is the std enhancement/exit for this to declare in CMOD....the exact one
    ,i need.
    If anyone has faced the same creiteria,then pls post ur comments here in detail,else if any knows the exit name,pls reply here on urgent basis.
    my mail-id is [email protected]..for post ur comments thru mail.
    thanks & regards
    sankar

    Transaction Code - VA01                     Create Sales Order
    Exit Name           Description
    SDTRM001            Reschedule schedule lines without a new ATP check
    V45A0001            Determine alternative materials for product selection
    V45A0002            Predefine sold-to party in sales document
    V45A0003            Collector for customer function modulpool MV45A
    V45A0004            Copy packing proposal
    V45E0001            Update the purchase order from the sales order
    V45E0002            Data transfer in procurement elements (PRreq., assembly)
    V45L0001            SD component supplier processing (customer enhancements)
    V45P0001            SD customer function for cross-company code sales
    V45S0001            Update sales document from configuration
    V45S0003            MRP-relevance for incomplete configuration
    V45S0004            Effectivity type in sales order
    V45W0001            SD Service Management: Forward Contract Data to Item
    V46H0001            SD Customer functions for resource-related billing
    V60F0001            SD Billing plan (customer enhancement) diff. to billing plan
    No of Exits:         15
    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    http://www.sap-img.com/ab038.htm
    http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
    Rewards if useful.........
    Minal

  • Help reqd for ABAP Materials(pdf/doc format)

    Hi all,
    I want to have the Basic ABAP material books,which is available in sites for free download....
    Pls post ur replies with links.
    thanks & regards
    sankar.

    hello sudarshan
    http://cma.zdnet.com/book/abap/index.htm
    http://www.sapdevelopment.co.uk/
    http://www.sap-img.com/
    http://juliet.stfx.ca/people/fac/infosys/abap.htm
    http://help.sap.com/saphelp_46c/helpdata/en/d3/2e974d35c511d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_46c/helpdata/en/d6/0db357494511d182b70000e829fbfe/frameset.htm
    http://www.henrikfrank.dk/abapexamples/SapScript/sapscript.htm
    http://www.sapgenie.com/abap/example_code.htm
    http://www.geocities.com/SiliconValley/Campus/6345/abapindx.htm
    http://help.sap.com/printdocu/core/Print46c/en/Data/Index_en.htm
    http://help.sap.com/saphelp_40b/helpdata/en/4f/991f82446d11d189700000e8322d00/applet.htm
    http://www.sap-img.com/abap-function.htm
    http://www.sapgenie.com/abap/code/abap19.htm
    http://www.sap-img.com/abap/more-than-100-abap-interview-faqs.htm
    http://www.planetsap.com/Tips_and_Tricks.htm
    http://help.sap.com/saphelp_40b/helpdata/ru/d6/0dc169494511d182b70000e829fbfe/applet.htm
    http://www.henrikfrank.dk/abapexamples/SapScript/symbols.htm
    http://www.henrikfrank.dk/abapexamples/index.html
    http://sap.ittoolbox.com/documents/document.asp?i=752
    http://members.aol.com/_ht_a/skarkada/sap/
    http://sappoint.com/abap/
    http://members.tripod.com/abap4/SAP_Functions.html
    http://members.ozemail.com.au/~anmari/sap/index.html
    http://www.planetsap.com/Userexit_List.htm
    http://www.planetsap.com/Tips_and_Tricks.htm
    http://www.kabai.com/abaps/q.htm
    http://www.planetsap.com/Userexit_List.htm
    http://help.sap.com/saphelp_bw21c/helpdata/en/c4/3a8090505211d189550000e829fbbd/frameset.htm
    http://www.sapgenie.com/abap/bapi/example.htm
    http://help.sap.com/saphelp_45b/helpdata/en/65/897415dc4ad111950d0060b03c6b76/content.htm
    http://www.sap-basis-abap.com/index.htm
    http://help.sap.com/saphelp_40b/helpdata/en/fc/eb2c46358411d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_46c/helpdata/en/aa/aeb23789e95378e10000009b38f8cf/frameset.htm
    http://www.geocities.com/ResearchTriangle/1635/system.html
    http://www.sapdesignguild.org/resources/MiniSG/3_Managing/3_Functions_Table_Control.htm
    http://help.sap.com/saphelp_45b/helpdata/en/d1/801bdf454211d189710000e8322d00/content.htm
    http://www.sapfans.com/sapfans/repos/saprep.htm
    http://www.planetsap.com/howdo_a.htm
    http://help.sap.com/saphelp_util464/helpdata/en/69/c2516e4ba111d189750000e8322d00/content.htm
    http://www.sapgenie.com/abap/smartforms_detail.htm
    http://www.sap-img.com/abap.htm
    http://help.sap.com/saphelp_46c/helpdata/en/fc/eb2d67358411d1829f0000e829fbfe/content.htm
    http://www.geocities.com/victorav15/sapr3/abap.html
    http://www.henrikfrank.dk/abapexamples/SapScript/sapscript.htm
    http://abap4.tripod.com/Other_Useful_Tips.html
    http://help.sap.com/saphelp_45b/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm
    http://www.sap-basis-abap.com/sapmm.htm
    http://sap.ittoolbox.com/nav/t.asp?t=303&p=448&h1=303&h2=322&h3=448
    http://sapfans.com/
    http://cma.zdnet.com/book/abap/ch03/ch03.htm
    http://help.sap.com/saphelp_40b/helpdata/en/4f/991f82446d11d189700000e8322d00/applet.htm
    http://sappoint.com/abap/
    http://www.henrikfrank.dk/abapuk.html
    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm
    http://www.sapgenie.com/abap/index.htm
    http://www.sap-img.com/abap.htm
    http://www.sapdevelopment.co.uk/tips/tipshome.htm
    http://help.sap.com/printdocu/core/Print46c/en/Data/Index_en.htm
    http://sap.ittoolbox.com/nav/t.asp?t=322&p=322&h1=322
    http://sap.ittoolbox.com/nav/t.asp?t=448&p=448&h1=448
    http://www.thespot4sap.com/
    http://www.kabai.com/abaps/q.htm
    http://www.geocities.com/mpioud/Abap_programs.html
    http://www.sapgenie.com/abap/tips_and_tricks.htm
    http://www.sapassist.com/code/d.asp?whichpage=1&pagesize=10&i=10&a=c&o=&t=&q=&qt=
    For FAQ
    http://www.sap-img.com/abap/more-than-100-abap-interview-faqs.htm
    http://www.sapgenie.com/faq/abap.htm
    BAPI-step by step
    http://www.sapgenie.com/abap/bapi/example.htm
    Weblog for receive email and processing it through ABAP
    /people/thomas.jung3/blog/2004/09/09/receiving-e-mail-and-processing-it-with-abap--version-610-and-higher
    For Logical database
    http://help.sap.com/saphelp_46c/helpdata/en/9f/db9bed35c111d1829f0000e829fbfe/frameset.htm
    very useful
    http://help.sap.com/saphelp_46c/helpdata/EN/35/2cd77bd7705394e10000009b387c12/frameset.htm
    Useful link to websites
    http://www.hernangn.com.ar/sap.htm
    Useful for background
    http://www.sappoint.com/basis/bckprsng.pdf
    http://help.sap.com/saphelp_nw04/helpdata/en/6f/08703713bf277ee10000009b38f8cf/frameset.htm
    http://publib.boulder.ibm.com/infocenter/wbihelp/index.jsp?topic=/com.ibm.wbix_adapters.doc/doc/mysap4/sap4x41.htm
    Table control in BDC
    http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
    For posting weblog,
    /people/sap.user72/blog/2005/06/28/sdn-weblogs-making-it-easier
    Dynamic Internal table -weblog in sdn
    /people/subramanian.venkateswaran2/blog/2004/11/19/dynamic-internal-table
    Smartforms
    http://www.sap-basis-abap.com/sapsf001.htm
    http://www.sap-press.com/downloads/h955_preview.pdf
    http://www.ossincorp.com/Black_Box/Black_Box_2.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    How to trace smartform
    http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
    Workflow
    http://www.sap-img.com/workflow/sap-workflow.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
    For examples on WorkFlow...check the below link..
    http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
    http://www.workflowing.com/id18.htm
    http://www.e-workflow.org/
    http://web.mit.edu/sapr3/dev/newdevstand.html
    ALV
    http://www.geocities.com/mpioud/Abap_programs.html
    Mail
    http://www.geocities.com/mpioud/Z_EMAIL_ABAP_REPORT.html
    http://www.thespot4sap.com/Articles/SAP_Mail_SO_Object_Send.asp
    http://www.sapdevelopment.co.uk/reporting/email/attach_xls.htm
    BOM Explosion
    /people/prakash.singh4/blog/2005/05/15/explode-boms-in-enterprise-portal-using-htmlb-tree--part-1-abap
    BOM
    http://help.sap.com/saphelp_erp2005/helpdata/en/ea/e9b7234c7211d189520000e829fbbd/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/d1/2e4114a61711d2b423006094b9d648/frameset.htm
    http://www.sap-img.com/sap-sd/sales-bom-implementation.htm
    http://www.sap-basis-abap.com/sappp007.htm
    OLE
    http://www.sapgenie.com/abap/ole.htm
    http://help.sap.com/saphelp_46c/helpdata/en/59/ae3f2e488f11d189490000e829fbbd/frameset.htm
    ALVGRID with refresh
    http://www.geocities.com/mpioud/Z_DEMO_ALV_REFRESH_BUTTON.html
    For language setting and decimal separator
    /people/horst.keller/blog/2004/11/16/abap-geek-7-150-babylonian-confusion
    Oracle queries
    http://sqlzoo.net/
    To format SQL
    http://www.sqlinform.com/
    SCOT settings
    http://www.sap-img.com/basis/basis-faq.htm
    Status Icon [ALV,Table Control,Tab Strip]
    http://www.sapdesignguild.org/resources/MiniSG-old/from_develop/norm_status_icons.htm#positioning_4
    ALV Group Heading
    http://www.sap-img.com/fu037.htm
    For multiMedia
    /people/thomas.jung3/blog/2005/05/11/using-classic-activex-controls-in-the-abap-control-framework
    Uploading LOGO in SAP
    http://www.sap-img.com/ts001.htm
    LSMW
    http://www.sap-img.com/sap-data-migration.htm
    http://www.sapgenie.com/saptech/lsmw.htm
    http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf
    http://www.sap.info/public/INT/int/glossary/int/glossaryletter/Word-17643ed1d6d658821_glossary/L#Word-17643ed1d6d658821_glossary
    Here are the two links which contains lots of PDFS:
    http://www.easymarketplace.de/online-pdfs-q-s.php
    http://www.consolut.de/saphelp/sap_online_help.html
    ABAP is Advanced Business Application Programming language used in SAP.
    For more details and learning goto sdn ABAP home page -
    https://www.sdn.sap.com/irj/sdn/developerareas/abap
    http://help.sap.com/saphelp_webas630/helpdata/en/6f/c7b041548011d192fd0000e829fbc6/frameset.htm
    http://help.sap.com/saphelp_webas630/helpdata/en/ab/5c46f64c5911d192f30000e829fbc6/frameset.htm
    This will give clear idea about ABAP.

  • Help reqd for finding TAXES & CONDITIONS FOR GIVEN PO IN SAP-SCRIPT

    HI ALL,
             Currently iam working on SAP-SCRIPT developing PO in that i displayed fields like EMATN TYPE EKPO-EMATN,( material no. )
                 TXZ01 TYPE EKPO-TXZ01, ( long text )
                 MEINS TYPE EKPO-MEINS, ( units )
                   MENGE TYPE EKPO-MENGE (quantity)
    now i want to display taxes & conditions for given ematn no.( material no . ) so from which tables i should get the data  how to display. plz help me.
    thanks in advance.
    Regards,
    mahesh dudam

    Hi !!
      for this please study teh following extract :
    All pricing values are maintained in the KONV table for the respective pricing condition . Extract these values from KONV table by passing EKKO-KNUMV values for the Purchase order number from the EKKO purchase order header table .
    ************************************************************************88
    FORM GET_PRICING_DATA  USING    P_KNUMV.
      SELECT * INTO TABLE I_KONV
                FROM KONV
                WHERE KNUMV = WA_EKKO-KNUMV.
      IF SY-SUBRC = 0.
        SORT I_KONV.
      ENDIF.
    ENDFORM.                    " GET_PRICING_DATA
    *&      Form  get_tax_details
    extract Tax item details.
         -->P_EBELp  for purchase order item.
    FORM GET_TAX_DETAILS  USING    P_EBELP.
      DATA : L_OCTROI LIKE KONV-KWERT,
            L_BASE LIKE KONV-KWERT,
            L_OTHERS LIKE KONV-KWERT,
            L_DISCOUNT LIKE KONV-KWERT,
            L_PFORWARD LIKE KONV-KWERT,
            L_INSU LIKE KONV-KWERT,
            L_NUM LIKE I_KONV-KUMZA VALUE 1,
            L_DENO LIKE I_KONV-KUMNE VALUE 1,
            L_KPEIN LIKE KONV-KPEIN VALUE 1,
            L_FRT LIKE KONV-KWERT,
            L_CHAR(15).
    *-- getting numerator and denominator for base value.
      READ TABLE I_KONV  WITH KEY KSCHL = 'PBXX'.
      IF SY-SUBRC = 0.
        L_NUM = I_KONV-KUMZA.
        L_DENO = I_KONV-KUMNE.
        L_KPEIN = I_KONV-KPEIN.
      ELSE.
        READ TABLE I_KONV  WITH KEY KSCHL = 'PB00'.
        IF SY-SUBRC = 0.
          L_NUM = I_KONV-KUMZA.
          L_DENO = I_KONV-KUMNE.
          L_KPEIN = I_KONV-KPEIN.
        ELSE.
          READ TABLE I_KONV  WITH KEY KSCHL = 'P001'.
          IF SY-SUBRC = 0.
            L_NUM = I_KONV-KUMZA.
            L_DENO = I_KONV-KUMNE.
            L_KPEIN = I_KONV-KPEIN.
          ELSE.
            READ TABLE I_KONV  WITH KEY KSCHL = 'P000'.
            IF SY-SUBRC = 0.
              L_NUM = I_KONV-KUMZA.
              L_DENO = I_KONV-KUMNE.
              L_KPEIN = I_KONV-KPEIN.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDIF.
      CLEAR : V_OCTROI,V_OTHERS, V_DISCOUNT,V_PFORWARD,V_INSU,V_FTR.
      LOOP AT I_KONV WHERE KPOSN = P_EBELP.
    *-- Considering the numerator denominator and UOPricing
        IF   I_KONV-KPEIN = 0  .
          I_KONV-KUMZA = 1.     " Numerator
          I_KONV-KUMNE  = 1.    " Denominator
          I_KONV-KPEIN  = 1.    " Unit of pricing
        ENDIF.
       IF NOT I_KONV-KWERT  IS INITIAL .
         IF  I_KONV-KRECH = 'C'  AND  I_KONV-KSCHL <> 'PB00'
           AND I_KONV-KSCHL <> 'PBXX'.
           I_KONV-KWERT  = ( I_KONV-KWERT * I_KONV-KUMZA  )
                           * L_KPEIN / ( I_KONV-KUMNE * I_KONV-KPEIN ).
         ELSEif I_KONV-KRECH = 'C'  AND  I_KONV-KSCHL = 'PB00'
           AND I_KONV-KSCHL = 'PBXX'.
           I_KONV-KWERT  = ( I_KONV-KWERT * L_NUM * L_KPEIN ).
                          / ( L_DENO ).
        elseif I_KONV-KRECH = 'A'  AND  I_KONV-KSCHL = 'PB00'
           AND I_KONV-KSCHL = 'PBXX'.
           I_KONV-KWERT  = ( I_KONV-KWERT * L_NUM * L_KPEIN )
                            / ( l_deno ).
         ENDIF.
       ENDIF.
        CASE I_KONV-KSCHL.
    *-- For base price
          WHEN 'PB00'.
            L_BASE = L_BASE + I_KONV-KWERT.
          WHEN 'PBXX'.
            L_BASE = L_BASE + I_KONV-KWERT.
          WHEN 'P000'.
            L_BASE = L_BASE + I_KONV-KWERT.
          WHEN 'P001'.
            L_BASE = L_BASE + I_KONV-KWERT.
    *-- For octroi
          WHEN 'JOCM'.
            L_OCTROI = L_OCTROI + I_KONV-KWERT  .
    *-- For discount calculation
          WHEN 'ZDT%'.
            L_DISCOUNT = L_DISCOUNT + I_KONV-KWERT .
          WHEN 'ZDN%'.
            L_DISCOUNT = L_DISCOUNT + I_KONV-KWERT.
          WHEN 'ZDTV'.
            L_DISCOUNT = L_DISCOUNT + I_KONV-KWERT .
          WHEN 'ZDNV'.
            L_DISCOUNT = L_DISCOUNT + I_KONV-KWERT.
    *--- For packing forwarding .
          WHEN 'ZPNV'.
            L_PFORWARD = L_PFORWARD + I_KONV-KWERT.
          WHEN 'ZPN%'.
            L_PFORWARD = L_PFORWARD + I_KONV-KWERT.
    *--- For frieght .
          WHEN 'ZFTV'.
            L_FRT  =  L_FRT + I_KONV-KWERT.
          WHEN 'ZFT%'.
            L_FRT  =  L_FRT + I_KONV-KWERT.
          WHEN 'ZFNQ'.
            L_FRT  =  L_FRT + I_KONV-KWERT.
    **-----for others
         WHEN 'ZOTV'.
           L_OTHERS  =  L_OTHERS + I_KONV-KWERT.
         WHEN 'ZOT%'.
           L_OTHERS  =  L_OTHERS + I_KONV-KWERT.
         WHEN 'ZOTP'.
           L_OTHERS  =  L_OTHERS + I_KONV-KWERT.
         WHEN 'ZONV'.
           L_OTHERS  =  L_OTHERS + I_KONV-KWERT.
         WHEN 'ZON%'.
           L_OTHERS  =  L_OTHERS + I_KONV-KWERT.
         WHEN 'ZONP'.
           L_OTHERS  =  L_OTHERS + I_KONV-KWERT.
    *--- for insurance
          WHEN 'ZINV'.
            L_INSU  =  L_INSU + I_KONV-KWERT.
          WHEN 'ZIN%'.
            L_INSU  =  L_INSU + I_KONV-KWERT.
          WHEN OTHERS.
            CONTINUE.
        ENDCASE.
        CLEAR I_KONV.
      ENDLOOP.

  • Help reqd for printing the word text into two lines(AMOUNT in Rupees)

    Hi all,
    Im working for cheque printing and in the Amount in words column....im getting the text in a single line...as i've made it as in my script.
    (im moving the rate in to amount thru FM "HR_IN_CHG_INR_WRDS"....
    and it displaying into a single line....)
    But in every bank cheque...we have only a limit space for the first line and balance words should come in to the next line....How to achieve this in my form print.(when im giving the cheque(laser print) inside the printer for print)...
    *******FYI..
    now im getting it as
    RUPEES Ninety Seven Thousand Thirty seven and four paise only.(its going out in my cheque as it's coming in a single line,going beyond the words column)
    the above one...i want to print it as two lines as like in normal cheque...
    what condition i've to give and how to split the text or make it to continue in the second line....
    Pls do the needful with any examples or any coding.....
    help needed
    thanks & regards
    sankar

    hi Nehal,
    the below one is my coding part........FYI
    DATA AMT LIKE REGUD-WAERS.
    data: words(120) type c,AMOUNT(120).
    data: ant like PC207-betrg,t like reguh-vblnr,t1 type int4.
    FORM WORDS TABLES intab
    STRUCTURE itcsy outtab
    STRUCTURE itcsy.
    READ TABLE intab INDEX 1.
       t   = intab-value.
    select single RWBTR from reguh into ant where vblnr eq t.
    ant = ant * ( -1 ).
    CALL FUNCTION 'HR_IN_CHG_INR_WRDS'
    EXPORTING
    AMT_IN_NUM               = ant
    IMPORTING
    AMT_IN_WORDS             = words.
    amount = words.
    READ TABLE outtab INDEX 1.
      MOVE WORDS TO outtab-value.
      MODIFY outtab INDEX 1.
    ENDFORM.                    "diff
    with the above code,im getting the amount field in a single line and it goes out beyond the line specified.
    How to split it as a length basis as u said....pls explain in detail...
    thanks & regards
    sankar

  • Urgent: Help Reqd for outfile

    Hi,
    My Oracle version is 10g and I am using SQL Plus.
    When I use command:
    select * from emp into outfile 'e1.txt';
    it gives me error:
    ORA-00933: SQL command not properly ended
    I have tried all the possible options but none work.
    Please help me solve it,
    thanks,
    R.GOPALAN

      select * from emp into outfile 'e1.txt';
                             ^
                             |
                             |
                             is not a command
    a SELECT statement with an INTO clause is to be used with a PL/SQL. those what you see on the INTO clause are all variables that are declared in PL/SQL code. basically the correct syntax is
      select [column,...] into [variable,...] from [table]
    anyway where do you happen to get the idea that the OUTFILE is an oracle command?

  • Urgent: Help reqd for designing layout

    Hi,
    I need some assistance is designing following scenario:
    How to have a calculated column in the layout?
    Consider a cost center group A having 3 cost centers rolled up under it. First amount is planned for group and then distributed either manually or using function to each of the 3 cost centers.
    1. Now in the layout I want a column which shows % for each cost center of the total amount. Ex: if cost center group A = $300 and each cost center has $100 in it then for which cost center it should show 33.33%.
    2. Also not if this % value is changed then figures should change accordingly. Ex: if for 1 cost center 33.33% is changed to 25% then now its amount should change to $75 and $25 should go to not assigned.
    Note: there is no key figure in the cube which stores this % value. It is something which is required only during planning.
    How can I achieve the above scenario?
    Thank you,
    sam

    Now in the layout I want a column which shows % for each cost center of the total amount. Ex: if cost center group A = $300 and each cost center has $100 in it then for which cost center it should show 33.33%.
    Define the key figure for the percentage and include in the layout as a display column; write a fox formula to derive the % and when you run the fox, the comparison colum will be displayed automatically.
    For examaple:
    = * .80.
    If your percentage varies per cost centre, then define a variable of type numeric value and use VARV command to get the variable value.
    Ravi Thothadri

  • Help reqd for user exit

    Hi all,
    the requirement is...
    In MIRO,the Incoimg invoice should not be posted without an empty field of amount(WRBTR) in the Basic Data.Currently as per std,it's not a mandatory field and can be posted by not entering any amount in that.So, either we have to make it as a mandatory field or should restrict not to saving the data if posting of empty field.(Not giving any amount)***seems,it tells the user to give the amount as mandatory.
    How to do this.....if its coming under the USER Exit object...pls post both how to get the std program and enhancement assignment(it asks while creating user exit in CMOD) also for user exit.
    thanks & regards
    sankar.

    hi
    Program name is SAPLMR1M
    For MIRO tcode, you have below user exits.
    LMR1M001            User exits in Logistics Invoice Verification                    
    LMR1M002            Account grouping for GR/IR account maintenance                  
    LMR1M003            Number assignment in Logistics Invoice Verification             
    LMR1M004            Logistics Invoice Verification: item text for follow-on docs    
    LMR1M005            Logistics Inv. Verification: Release Parked Doc. for Posting    
    LMR1M006            Logistics Invoice Verification: Process XML Invoice             
    MRMH0001            Logistics Invoice Verification: ERS procedure                   
    MRMH0002            Logistics Invoice Verification: EDI inbound                     
    MRMH0003            Logistics Invoice Verification: Revaluation/RAP                 
    MRMN0001            Message output and creation: Logistics Invoice Verification     
    EXIT_SAPLMR1M_003 may useful to you. Check with this.
    Reward if it dose
    Thanks
    Siva Kumar.

  • Help reqd for Tcode - Customer master

    Hi all,
    What is the t-code to get all the datas of Customer Master available in my SAP system.So that, i can export the same into my excel sheet file.
    i tried in XD03 and table KNA1...both are not working out.
    in KNA1 it's loading the datas to excel by screen/list wise which is showing in the
    table list screen.
    I want all the datas in can be viewd in the system and same also be loaded into excel file. (like MM60 for materials and MKVZ for vendors).
    Pls do the needful.
    thanks & regards
    sankar.

    Dear Sankar,
    Kindly use T.Code "S_ALR_87012180" to get the customer master data.
    Regards,
    Bijal Shah

  • Help reqd for determining header char combination in Manual Planning

    Hi,
    I have created a manual planning layout which has 3 chars in lead col, 5 KF in data col and all remaining chars in the header. Now when I display plan data for this layout at time it displays me records only for one combination of header chars. And so I have hit next combination button to navigate thru remaining records. Is there a way by which I can have all the records with all possible header char combination at once?
    If hit the other combination button and empty all the header fields and then execute it says me no records found for this combination coz then in this case it searches for the records with all the fields blank.
    Thank you,
    sam

    Multiple options:
    1. dependent characteristics (like profit centre / comp code) wont be modelled in the layout. You will have to derive them as chararacteristics relationship. If you wish to keep the dependent characteristics in the layout, then you need to write a exit variable which will populate comp code by reading profit center. Reg cost element, you can have it in loead column. With this setting, if you chose a profit centre in the header and the company code will be populated and for a given profit centre, you cna view the plan data.
    2. Create a report and this is a better approach. You dont need a exit or anything. From report, build a jump to UPSPL for entering plan data.
    Ravi Thothadri

Maybe you are looking for