OA / VC CYCLE URGENT PLESE

Can you plz help us this
Original Message -
From: Vairavan T
To: Raj Mahimker
Cc: Chandrakant Gosawi ; Manoj Bhanawat
Sent: Wednesday, May 09, 2007 4:50 PM
Subject: Re: OA / VC Cycle for error
Dear Raj,
I had checked entire cycle of  Valuation Class(MM42),  Tax Code(ME12), validity period, MC Code
in the contract as per the proforma invoice 12738 for vendor 105191  -  VC Parties, found ok.
Pl find out the reason for VC Cycle error for vendor 105191
" Unable to create consignment commision - FI/CO"
" Interface : inconsistent FI/CO line item data"
Best Regards
Vairavan.T
Original Message -
From: Raj Mahimker
To: Vairavan T
Cc: Chandrakant Gosawi ; Manoj Bhanawat
Sent: Wednesday, May 09, 2007 3:40 PM
Subject: Re: OA / VC Cycle for error
Please check
100870 is a OA Vendor OR VC Vendor
Becuase contract is mantained under OA
Original Message -
From: Vairavan T
To: Raj Mahimker
Cc: Chandrakant Gosawi ; Manoj Bhanawat
Sent: Wednesday, May 09, 2007 3:12 PM
Subject: Fw: OA / VC Cycle for error
Dear Raj,
As required by you, we are giving below the vendor details where we are facing OAVC Cycle Error.
Location        Vendor Code
405                100870
405                105191
Best Regards
Vairavan.T
Original Message -
From: Vairavan T
To: Amit Kasat ; Raj Mahimker
Cc: Manoj Bhanawat ; Chandrakant Gosawi ; gmohan
Sent: Wednesday, May 09, 2007 2:15 PM
Subject: Fw: OA / VC Cycle for error
Dear Amit / Raj,
We have been informed by Pune commercial team that while executing OAVC Settlement cycle, they are getting OAVC Cycle error
due the contract and margin changed subsequently. 
We are attaching herewith the screen shot of "OAVC Error"  and also Contract Log View ( ZVIEW_CONTRACTLOG) for your reference.
Request you to please give us the solution, to enable us to clear all GRIR-OA/VC before this month end.
Best Regards
Vairavan.T
Original Message -
From: Chandrakant Gosawi
To: Vairavan T
Cc: [email protected]
Sent: Thursday, April 26, 2007 11:06 AM
Subject: OA / VC Cycle for error
Dear Sir,
Sir, I have facing problem of OA/VC cycle error,while booking the invoice. I attached the error screen shot for your information.
This error show after, we fire the ZOASETTELE Command.
Please guide me
Chandrakant Gosawi
Pune Central
Original Message -
From: Vairavan T
To: Manoj
Cc: [email protected] ; G Mohana Sundaram
Sent: 25/04/2007 7:53 PM
Subject: Re: details of 9 series code
Yes. Certainly Manoj.
Pl Give my mobile number also to your team for any problem.  93430 90714.
Best Regards
Vairavan.T
Original Message -
From: Manoj
To: Vairavan T
Cc: [email protected] ; G Mohana Sundaram
Sent: Wednesday, April 25, 2007 7:20 PM
Subject: Re: details of 9 series code
Thanks Vairavan for immediately looking into the matter
we are facing some problem in passing OA -VC settlement (verious types of errors is showing while passing settlement)
My team mate Mr Chadrakant Gosawi   will send  u screen shot of problems ,  request you to help him into that
Manoj

Hi Sepali
SAP NetWeaver Visual Composer is a tool for model-driven content development that enable business experts to easily create applications which can be used in the SAP NetWeaver Portal and be based on service calls to back-end systems.
SAP NetWeaver Visual Composer enables you to build user interfaces that access various applications. The application that Visual Composer creates can then be used by a workflow tool as a step in the overall business process. For example, I can create a Visual Composer application, then build a Guided Procedure that uses my VC application. In fact, in most of the TechEd sessions related to Guided Procedures, Visual Composer was used to build a component of the overall process built by Guided Procedures. The Guided Procedure handled the process, while Visual Composer handled the user interface and the call to the application that was being executed.
So, it is not a tool to gather business requirements.
Please go  through the following link to know more:-
https://www.sdn.sap.com/irj/sdn/wiki?path=/pages/viewpage.action?pageId=4411
Regards
Navneet

Similar Messages

  • PO Return Cycle (Urgent)

    Hi all
    i have created the Return PO (Mvt-161)and done the J1IS
    my question is how to return the CST as we have created the PO with CST condition and we can,t take CST in Excise invoice Through J1IS
    is there any separate procedure for CST return
    Please let us know
    Thanks in Advance

    Before raising J1IS you will be carrying out Return Delivery with reference to the PO indirectly the material document of GRN with Mvt Type 101.We will capture Vendor Excise Invoice.By return delivery one more material document will be raised subsequently accounting doc which offsets the cst claimed in first matl doc and first a/c doc.As we will raise Cedit Memo and J1IS (All these will take care of nullification of CST already claimed).
    Regards.......Award if useful.

  • Fbcj cash journal very urgent plese help me

    hi,
    How to find the saved documents but not posted in fbcj.
    normally if it is posted it will update in g/l.
    But i need only saved documents.
    please help me.
    regards,
    Harip priya

    Hi,
    Go to FBCJ display screen, select the date range you want and select 'Print Cash Journal' icon at the top it will display total line items during the period you selected with status buttons.
    Red bottons indicate Just entered line items
    Yellow bottons indicate entered and saved items
    Green bottons indicate entered, saved and posted items.
    Assign points if useful.
    Sarma BH

  • Urgent Correction

    Hi,
    Is it required that in urgent correction the maintenance cycle should be in a particular phase. Do we change phases as in case of the normal correction?
    Regards,
    Kriti Bhalla.

    Hi Kirti,
    Urgent corrections are independent to the maintenance cycle.Urgent corrections are permitted in every phase except for the Go-Live phase.So it is not required to be in any particular phase for urgent correction .
    Regards,
    Sumit

  • Updating bw content

    hi,
          we have downloaded bw content in zip format
          while unzipping 3 folders are created 35,36,37
          in cu36 we imported all data and cofiles
          but for ifiles in program RSIRTRIM it is asking a task request.
          we created a workbench request and executed .
          it has given a worning that request does not contain tables and a error that could not found  log 
          file
             Do we need to put any data in request?
       it is urgent plese help me,
    points will be awarded
    regards,
    badari

    Thats a good idea...
    but you will run into trouble when you have dozens of swf
    files. In this case you would have to rename each filename and
    rewrite all of the internal paths, each time you want to update
    your content.
    Update
    I've just googeld a bit and found this one:
    Cache
    Manager
    maybe this is it, i will check this one out, too.

  • Plese I need urgent help, my iPhone another was stollen please I need help and I dond have any contact urgent number

    Plese I need help urgent my iPhone  was stollen I dont heve any contact i need to know what to dooo?
    <Personal Information Edited by Host>

    Hello Stormova,
    I can understand your situation, do the following things first.
    1. File a Police Report
    image copyright City of Providence 
    File a report with the police in the city where the phone was stolen. This may or may not directly lead to the recovery of your phone, but having documentation of the theft may help in dealing with cell phone and insurance companies and, if you can get data about the location of your phone, having the police report on file may be necessary for getting the police to help you recover it.
    2. Call Your Cell Phone Company
    Making this the second step in the process. Some cell phone company representatives may be more inclined to take action when you've got a police report, others may act right away without one. Calling your cell phone company to report the theft and have the account tied to the phone suspended or canceled will help ensure that you're not stuck paying for charges incurred by the thief. Try tracking the phone first, though, since cancelled service could make tracking it hard.
    3. If you have Setup iCloud on your iPhone
    Login to https://www.icloud.com/ with the same Apple Id & password that you have configured on your lost iPhone and see if you can find all your Contacts there ( you will only find the contacts on iCloud if you have setup iCloud Account on your iPhone and had taken a backup on iCloud before)
    On the same page you can also track the location of your iPhone if you have Find My iPhone Enabled on your iPhone earlier, and if your iPhone is connected to any Internet connection (Wifi/Cellular) you can see the last location and inform the same to the Cops.
    http://support.apple.com/kb/ht5668

  • Urgent help on cycle count

    Hi,
    How can i do Itemwise cycle count irrespective of the locations
    Scenario:
    Item ABC is lying in multiple warehouses. While physically doing the cycle count for Item, the exercise is carried for all warehouses where the item exists.
    i.e Itemwise cycle count irrespective of the locations.
    Thanx in advance.
    Regards
    Rasika

    Hi Rasika
    First define the Cycle count
    Path:
    Admin=>Setup=>Inventory=>Inventory Cycle
    Fields(Name,frequency,alert,time)
    Connect this cycle count to the Item Group
    Path:
    Admin=>Setup=>Inventory=>Item groups (Cycle count field)
    Connect the corresponding itemgroup to the items
    Now you can see in the Inventory tab of item master data the cycle count details
    On the particular date and time it will give u an alert
    Now you can go to the Inventory=>Inventory transactions=>Initial quantities
    In the Inventory tracking tab:
    Enter the counted in whse against the item
    If there is any difference in the quantity stored with the quantity counted it will make that difference in the stock posting
    Once you had updated the stock posting it will post the difference (i.e, it will update the stock as well as the valuation)
    This u have to do individually for  the different warehouses
    HTH
    Have a nice day
    Regards
    baskar

  • Urgent plz...CHanging project/maintenance cycle phase

    i have implementation project and activated ChaRM for it.
    the task list and project cycle has been created scuccessfully.
    i created change request and assigned to that task list. when i set status "Development Complete" i need to import the TRs manually (SDMJ), but for that the phase of the cycle should be "DEVELOPMENT WITH RELEASE"
    i can change the task list phase by executing report /TMWFLOW/PHCNTRL_DB_UTILITY and the TR is imported to QAS successfully as well but the project cycle (SDDV) is still in :DEVELOPMENT W/O RELEASE" ???
    and when i try to change the phase (CRM_DNO_MONITOR -> SDDV -> Next phase) it gives error
    Message no. SOCM_ACTION_LOG 090
    Diagnosis
    An exception has been triggered in PPF action processing.
    System Response
    Action processing has been terminated. The status of the transaction is still incorrect.
    Procedure
    You cannot execute the action until the cause of the error has been removed.
    The error messages will be kept until the transaction is next checked for subsequent analysis.
    Procedure for System Administration
    If necessary, analyze other messages in the application log for the incorrect transaction. To analyze the termination, you can activate the breakpoints in the checkpoint group socm_exception.
    Additional Information:
    Exception CX_SOCM_CONDITION_VIOLATED occurred (program:
    CL_IM_CHM1_HF_CHECK_SET=======CP, include:
    CL_IM_CHM1_HF_CHECK_SET=======CM002, line: 327).
    Please Help

    Hasan Sidra wrote:
    thank you Prakhar for ur reply..
    >
    > Prakhar can you plz correct me..
    > when we activate charm, it creates a Task List and a Project cycle. Is it necessary that these two must be synchronized??
    > Means the status (i.e dev with release, test, go live) should be same or we can transport all the TRs only by maintaining Task List??
    yes ..task list and project cycle must be in sync
    > Because i can not change the status of SErvice DEsk Project any means but i can transport TRs by changing Task List status by /TMWFLOW/PHCNTRL_DB_UTILITY..
    >
    > Please help
    there is no service desk project...but a service desk transaction wihch in turn automatically updates the status of task list..this transaction and task list both are attached to corr changes of ur project
    generally the process is to change the status using service desk transaction not using that report that report is used in case of problem occured....therefore used for force closing the cycle.
    Hope it clarifies
    Regards
    Prakhar
    Edited by: Prakhar Saxena on Jan 9, 2012 11:00 AM

  • Urgently required  the procedure of cycle count open interface

    Hi friends
    I am a beginner in oracle apps .I want to Know the exact procedure for
    cycle count open interfaces.
    I want to know
    1>how interfaces are developed ?
    2>how many tables are used ?
    3>how validations are done ?
    Kindly co-operate me....
    thanks....
    Email:[email protected]

    Hi David
    I want to know the procedure for cycle count open interface i.e.
    1> How the data from flat file is uploaded in oracle INV
    How many Tables are needed?
    2>What validations are required ?
    3>How these validations are performed ?
    If you have any document pls send it to me at :
    [email protected]
    thanks for ur responce ......

  • Import Review Cycle of Submittal from Excel (Urgent)

    Hi Everyone,
    Is it possible to import review cycle of submittal from excel, I'd tried to make a it by infomaker but the cycle is not created?
    Thanks
    Alireza Noordoust

    The following is XML used to create a single revision for a specific submittal with the master_key identified. You must first log in to get your session ID and then set the Group and project. (Be aware that there are several actions which which may not work with the SUT type. In particular the Get Initial Data does not work.) Again if you do not have the programmer help or would like some limited help I can give you a hand.
    <?xml version="1.0" encoding="UTF-8"?>
    <request xmlns="http://app.expedition.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://app.expedition.com/ http://127.0.0.1/exponline/xml-schemas/request.xsd">
    <header requestType="DETAIL" sysitemtype="SUT">
    <sessionId>9bbb52d040874ea79a1145958e</sessionId>
    <action>INSERT</action>
    <SUT>
    <project_name>YourProject</project_name>
    <parent_key>000ATSYBJ6309710000000BURN</parent_key>
    <sys_item_type>SUT</sys_item_type>
    <description>Proposed XXX</description>
    <revision_number>001</revision_number>
    <item_type>SUT</item_type>
    <review_set>1</review_set>
    <revision_status>UNS</revision_status>
    </SUT>
    </header>
    </request>

  • How to Avoid Infinite Validation Cycles (JBO-28200) = urgent.. , pls help

    Hi Guys,
    On my order entries application I have these attributes :
    ProdCode
    Qty
    WHCode
    Batch
    User only enters ProdCode and Qty, the application will then pick the warehouse and batch where the product and the quantity is available.
    So I put the logic inside validateEntity method and SETs the WHCode and Batch Attributes from within it. Here comes the problem, this cause ERROR :
    JBO-28200: Validation threshold limit reached. Invalid Entities still in cache
    Where else can I put this logic ? that executes only ONCE per entity ?
    (If I put the logic in the setProdCode and setQty methods, it will be called twice , isn't it ?)
    Thank you for your help,
    xtanto

    Hi all,
    I found another solution to implement validation. I changed the validation level from Transaction level to Entity Level.
    Still the question why I got the Validation Exception remains open.
    Eniko

  • How to integrate Adobe Live cycle designer to ABAP workbench --urgent

    Hi All ,
    I am using SFP transaction to creation of Adobe forms .I am doing it for the first time . I just got front end installed with adobe livecycle . should i do anything more to get the designer in the layout tab of SFP transaction .
    I am currently getting a error sapofficeintegration trace 141 .. I have not configured ADS is this because of this .
    Regards
    Abhi

    Hi Abhilash,
    "Server: SAP Web AS 6.40 Java (for all scenarios), SAP Web AS 6.40 ABAP (if you are looking at high-volume print scenarios), Adobe document services (run-time component), Adobe Credential (for creating interactive PDF forms)
    Frontend: SAP NetWeaver Developer Studio with Adobe LiveCycle Designer (for Web Dynpro for Java development) and/or SAP GUI 6.40 with Adobe LiveCycle Designer (or 6.20 - for developing in SAP Web AS 6.40 ABAP), Active Component Framework (for filling interactive forms in a Web Dynpro application), Adobe Reader 6.0.2 or higher (on the frontend PC)" - from <b><a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2a8a0a37-0301-0010-f794-aecd1bb426e0#q-4">INteractive Forms FAQ</a></b>
    I will suggest you to have Adobe Reader >7
    SAP GUI with patchlevel >18.
    ADLCD >= 7.
    Even you dont have ADS you must be able to see ADLCD in SFP. but you wont be able to activate ya get the output.
    if you have properly copied the ADLCD seperatley into the Adobe Folder. while clicking the layout tab. open the ADLCD  seperately. see if it gets opened.
    or design it in ADLCD and import and export the xdp through fb_xdp_down and fb_xdp_up transactions.
    Hope these helps. do update and alos search in the Interactive Forms home page as well as the Forum to get the details. there are already many posts related to it.
    Thanks and Regards,
    Anto.

  • How to generate a pwm whose duty cycle has to be varied depending on the frequency of the input trigger??

    Sir/madam,
    I am quite new to the Labview FPGA module. 
    I am currently working on an application where i have to generate a pwm to control the ON time duration . The pwm ON time depends on the frequency of an input signal.I want to retrieve the ON time value from a lookup table which contain the duty cycle values for the pwm at different frequencies of the input.This input also has to work as a trigger. The input is pulsed and the trigger has to generate the pwm at every rising edge. I am using a PCI 7831R-  RIO series. I am urgently in need of some help and i have hardly a  couple of weeks before i meet the deadline.
    I am trying hard to learn the basics from the shipping examples but not able to quite make my vi work. 
    Kindly lend a helping hand and i would be very grateful to anybody who can help. Thanks a lot in advance.
    Do ask in case of any clarifications required. I  think i have explained my problem quite well. 

    Hello Manu,
    You can refer 
    Developing a PWM Interface using LabVIEW FPGA or PWM Output with LabVIEW FPGA
    How this helps.
    Best Regards, 
    Hardik Asawa
    AE
    National Instruments  
    Message Edited by Hardik Asawa on 05-05-2010 12:46 AM

  • Satellite Windows 8 laptop will no longer boot up after performing a power cycle

    I have a Satellite C855-55107 laptop. It had been working fine, and one day starting this problem: When booting up, it would bring the desktop screen up, and would not let me get to the sign in screen. I went to the Troubleshooting Help here and performed a power cycle. Now, it won't even boot up. The power is working fine. What do I need to do, and what do you think caused the original problem?

    Hi! bec! I don't run W8. You could have picked up a Virus ect. Hard to really tell. There will be better replies during the week. I would restore back to factory.If you were infected, that should cure that problem. You could also make a system repair disk and try to boot with it. It can be made with any computer that is running W8. If you don't have that option, I guess it's back to factory.
    http://forums.toshiba.com/t5/System-Recovery-and-Recovery/Creating-a-System-Repair-Disc-for-Windows-...
    THROUGH F12 AT STARTUP  
    To access the System Restore, Refresh and Reset options using the F12 option at startup, perform the following:
    If not already, ensure the computer is completely shut down. How To: Shut Down a Laptop with Windows 8
    Now restart the computer by pressing the power button - IMMEDIATELY start tapping the F12 key on the keyboard until the "Boot Menu" screen appears.
    Using the arrow keys, select <HDD Recovery> and press "Enter".
    On the next screen you are asked to confirm if you want to contiue with recovery. Select "Yes".
    The computer will bring you to the Advanced startup screen.
    Select Troubleshoot. Under Troubleshoot you will see “Refresh” and “Reset”.
    Select “Advanced options.” Located here is "System Restore."
    Plese read this carefully.
    http://forums.toshiba.com/t5/Windows-8-Knowledge-Base/How-To-Shut-Down-a-Laptop-with-Windows-8/ta-p/...
    I Love my Satellite L775D-S7222 Laptop. Some days you're the windshield, Some days you're the bug. The Computer world is crazy. If you have answers to computer problems, pass them forward.

  • Error during GR(very very urgent)

    Hi all,
    i am using a developed program for GR.i used this program before.there was no error.but now i am facing error like
    <b>PO ordered quqntity exceeded by 18,000 EA.</b>.i am using <b>BAPI_GOODSMVT_CREATE</b> for goods transfer.
    In the selection screen, i am putting
    PO number- PO1
    material number- MAT
    GR quantity- 18,000
    delivery order-111
    i want to receive the material MAT of quantity 18,000 from that PO.initially i have ordered PO quntity as 1 lakh. Till now i have received 42,000 materials,now i try to receive 18,000 materials.but it is showing this type of error.
    This error is fired from the return parameter of that BAPI only.error having message class-M7 & error no-022
    is comming.
    i am giving my coding below.plz suggest where is the problem.it is very very urgent.recently my company has added some patches to update the SAP.is this the cause for that error.plz suggest.
    any idea will be highly appreaciated.
    Regards
    REPORT zmui001
           LINE-SIZE 140
           LINE-COUNT 65
           NO STANDARD PAGE HEADING.
    *-- DATA DECLARATION--
    *-- tables
    TABLES : ekpo,
                ekbe,
             marv.
    *--Includes
    INCLUDE : <icon>.                   " Include for Icons
    *-- Types
    TYPES : BEGIN OF t_mseg,
              ebeln LIKE ekko-ebeln,
              name1 LIKE lfa1-name1,
              lifnr LIKE lfa1-lifnr,
              eknam LIKE t024-eknam,
              mblnr LIKE mkpf-mblnr,
              matnr LIKE ekpo-matnr,
              maktx LIKE makt-maktx,
              lgort LIKE mseg-lgort,
              charg LIKE mseg-charg, "chg: 10/17/2005
              menge LIKE mseg-menge,
              budat LIKE mkpf-budat,
              bldat LIKE mkpf-bldat, " chg : 08/18/2003
              xblnr LIKE mkpf-xblnr,
              END OF t_mseg.
    DATA:  BEGIN OF t_ekbe,
              ebeln LIKE ekbe-ebeln,
              ebelp LIKE ekbe-ebelp,
              bwart LIKE ekbe-bwart,
              matnr LIKE ekbe-matnr,
              menge LIKE ekbe-menge,
              END OF t_ekbe,
              BEGIN OF t_ekpo,
              ebeln LIKE ekpo-ebeln,
              ebelp LIKE ekpo-ebelp,
              matnr LIKE ekpo-matnr,
              menge LIKE ekpo-menge,
              END OF t_ekpo.
    TYPES : BEGIN OF t_options.
            INCLUDE STRUCTURE itcpo.
    TYPES : END OF t_options.
    *--Internal tables
    DATA: BEGIN OF i_item OCCURS 50.    "Create Material Document Item
            INCLUDE STRUCTURE bapi2017_gm_item_create.
    DATA: END OF i_item .
    DATA: BEGIN OF i_return OCCURS 20.  "Return parameter
            INCLUDE STRUCTURE bapiret2.
    DATA: END OF i_return.
    DATA: BEGIN OF i_part OCCURS 0,     " Internal table for split data
            part(20),
          END OF i_part.
    DATA: BEGIN OF i_return1 OCCURS 20.  "Return parameter
            INCLUDE STRUCTURE bapiret1.
    DATA: END OF i_return1.
    *-- Work areas
    DATA: BEGIN OF wa_header .       "Material Document Header Data
            INCLUDE STRUCTURE bapi2017_gm_head_01.
    DATA: END OF wa_header .
    DATA: BEGIN OF wa_return .       "Output Structure
            INCLUDE STRUCTURE bapi2017_gm_head_ret.
    DATA: END OF wa_return .
    *-- Work areas
    DATA: wa_mseg TYPE t_mseg,
             wa_ekbe LIKE t_ekbe,
             wa_ekpo  LIKE t_ekpo,
          wa_options TYPE t_options,
           i_ekbe LIKE STANDARD TABLE OF  t_ekbe,
            i_ekbe2 LIKE STANDARD TABLE OF  t_ekbe,
           i_ekpo  LIKE STANDARD TABLE OF  t_ekpo.
    *---Variables
    DATA: v_first,         " variable to get first digit
          v_set TYPE c,
          v_found TYPE p,
          v_menge TYPE p,
          v_ebeln LIKE ekko-ebeln,
          v_lifnr LIKE ekko-lifnr,
          v_belnr LIKE ekbe-belnr,
          v_postdate LIKE mkpf-budat,
          v_bukrs LIKE marv-bukrs,
          v_datum LIKE sy-datum,
          v_lgort LIKE mard-lgort,   " Stge. location
          v_bwart LIKE mseg-bwart,   " Movement type
          v_infnr LIKE eina-infnr,   " Info record no.
          v_ltsnr LIKE eina-ltsnr.
    *---Constants
    CONSTANTS: c_comma TYPE c VALUE ',',   " For splitting data at commas
               c_01(2) TYPE c VALUE '01',  " For movement code in Bapi
               c_b     TYPE c VALUE 'B',   " For mvt. Indicator in Bapi
               c_save(4) TYPE c VALUE 'SAVE', " For button text
               c_clear(5) TYPE c VALUE 'CLEAR', " For clear button
               c_mvmt(4) TYPE c VALUE 'MVMT',
               c_ok(2)   TYPE c VALUE 'OK',
               c_error(5) TYPE c VALUE 'Error'.
    *--SELECTION SCREEN DESIGN--
    SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME.
    PARAMETERS:     p_bar(75) ,  " Scanned data from barcode
                p_ebeln LIKE ekko-ebeln, " PO number
                p_matnr LIKE ekpo-matnr, " Material number
                p_menge LIKE ekpo-menge, " Quantity
               p_lifnr LIKE ekko-lifnr, " Vendor code
                p_frbnr LIKE mkpf-frbnr, " Reference doc for goods mvt
                p_status(5) TYPE c.
    SELECTION-SCREEN END OF BLOCK blk1.
    SELECTION-SCREEN PUSHBUTTON 15(10) v_save USER-COMMAND mvmt.
    SELECTION-SCREEN PUSHBUTTON 40(10) v_clear USER-COMMAND clear.
      INITIALIZATION -
    INITIALIZATION.
      v_save = c_save .
      v_clear = c_clear.
    *--AT SELECTION_SCREEN--
    AT SELECTION-SCREEN .
      IF sy-ucomm = c_clear.
        PERFORM f_clear.
      ELSE.
        IF sy-ucomm <> c_mvmt.
           if not  sy-tabix is initial and  sy-ucomm <> c_mvmt.
    *--- Extracting the data by splitting the scanned values.
          PERFORM f_get_split_data.
    *--- Validating the input data.
          PERFORM f_check_inputs.
        ELSE .
    *--- Validating the input data.
          PERFORM f_check_inputs.
    *-- Determining the posting date and period check.
          PERFORM f_get_posting_date.
    *---Post goods movement
          PERFORM f_post_receipt.
        ENDIF.
      ENDIF.
               SUBROUTINES                                               *
    *&      Form  f_check_inputs
        Validating the input parameters
    FORM f_check_inputs.
    *-- Validating material no.
      SELECT SINGLE matnr INTO p_matnr
        FROM mara
          WHERE matnr = p_matnr.
      IF sy-subrc = 4.
        p_status =  c_error.
        MESSAGE e003(zm) WITH 'Material no.'.
      ENDIF.
    *-- Validating JHT reference no.
      SELECT SINGLE ebeln
                    lifnr
                    bukrs
                    INTO (p_ebeln, v_lifnr , v_bukrs)
                    FROM ekko
            where unsez = p_unsez. chg:07072003
              WHERE ebeln = p_ebeln.
      IF sy-subrc = 4.
        p_status =  c_error.
        MESSAGE e003(zm) WITH 'Purchase order no.'.
      ENDIF.
    *-- Validating material po combination
      SELECT SINGLE *
           FROM ekpo
             WHERE ebeln = p_ebeln
               AND matnr = p_matnr.
      IF sy-subrc = 4.
        p_status =  c_error.
        MESSAGE e003(zm) WITH 'Purchase order no.' ' and Material no.'.
      ENDIF.
    *--- Checking for DO entry . (chng : 30/06/2003)
      IF  p_frbnr IS INITIAL.
        MESSAGE e018(m7) WITH 'Delivery no.'.
        p_status =  c_error.
        PERFORM f_clear.
      ENDIF.
    *-- Validating material po do combination
      SELECT SINGLE a~belnr
                    INTO v_belnr
                    FROM ekbe AS a
                      INNER JOIN mkpf AS b
                       ON   abelnr = bmblnr
                       AND agjahr = bmjahr
                      WHERE a~ebeln = ekpo-ebeln
                        AND  a~ebelp = ekpo-ebelp
                        AND  b~xblnr = p_frbnr.
      IF sy-subrc = 0.
        MESSAGE e019(zm) WITH v_belnr.
        p_status = c_error.
        PERFORM f_clear.
      ENDIF.
      p_status =  c_ok.
    ENDFORM.                    " f_check_inputs
    *&      Form  f_get_split_data
       Extracting the data by splitting the Scanned data
    FORM f_get_split_data.
    *-- Splitting the data at commas
      SPLIT p_bar AT c_comma INTO TABLE i_part.
    *-- Assigning the parts to variables.
      LOOP AT i_part.
        v_first = i_part-part+0(1).
        TRANSLATE  v_first TO UPPER CASE.
        CASE v_first .
         WHEN 'V'.
           p_lifnr =  i_part-part+1(10).
          WHEN 'P'.
            p_matnr = i_part-part+1(18).
          WHEN 'Q'.
            p_menge = i_part-part+1(13).
          WHEN 'K'.
            p_ebeln = i_part-part+1(10).
          WHEN 'D'.
            p_frbnr = i_part-part+2(16).
          WHEN OTHERS.
            CONTINUE.
        ENDCASE.
      ENDLOOP.
    ENDFORM.                    " f_get_split_data
    *&      Form  f_get_posting_date
    Determing the posting date for document
    FORM f_get_posting_date.
    *-- get the current period for todays date.
      DATA: l_period LIKE t009b-poper.
      CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
        EXPORTING
          i_date               = sy-datum
          i_periv              = 'K4'
       IMPORTING
         e_buper               = l_period
      E_GJAHR              =
       EXCEPTIONS
         input_false          = 1
         t009_notfound        = 2
         t009b_notfound       = 3
         OTHERS               = 4
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    *-- Determining whether the open period
      SELECT SINGLE *
                    FROM marv
                    WHERE bukrs = v_bukrs.
      IF sy-subrc = 0.
        IF l_period = marv-lfmon .
          v_postdate = sy-datum.
        ELSE.
          CALL FUNCTION 'BAPI_CCODE_GET_FIRSTDAY_PERIOD'
               EXPORTING
                    companycodeid       = v_bukrs
                    fiscal_period       = marv-lfmon
                    fiscal_year         = marv-lfgja
               IMPORTING
                    first_day_of_period = v_postdate
                    return              = i_return1.
          IF NOT i_return[] IS INITIAL.
            LOOP AT i_return1.
              MESSAGE i016(zm) WITH i_return-message.
            ENDLOOP.
          ENDIF.
        ENDIF.
      ENDIF.
    ENDFORM.                    " f_get_posting_date
    *&      Form  f_post_receipt
    Post the goods receipt for entered data.
    FORM f_post_receipt.
      PERFORM f_fill_item.
      PERFORM f_fill_header.
      PERFORM f_execute_transfer.
      PERFORM f_clear.
    ENDFORM.                    " f_post_receipt
    *&      Form  f_fill_item
      Updating the item data for the GR
    FORM f_fill_item.
    Checking for IQC cycle is done here.(chng : 23/07/2003)
      PERFORM f_check_iqc.
    *---- Assigning movement type as per IQC cycle.(chng : 23/07/2003)
      IF v_lgort IS INITIAL.
        MOVE '101'   TO i_item-move_type.
        SELECT SINGLE lgort INTO i_item-stge_loc
        FROM ekpo
         where ebeln  = v_ebeln and  " chg :07/07/2003
           WHERE ebeln  = p_ebeln AND
               matnr = p_matnr .
      ELSE.
        MOVE v_lgort TO i_item-stge_loc.
        MOVE v_bwart TO i_item-move_type.
      ENDIF.
      MOVE p_matnr TO i_item-material.
      MOVE p_menge TO i_item-entry_qnt.
    move v_ebeln to i_item-po_number. " 07/07/2003
      MOVE p_ebeln TO i_item-po_number.
      MOVE v_lifnr TO i_item-vendor.
      MOVE c_b TO i_item-mvt_ind.
    select single ebelp into i_item-po_item " chg :29/07/2003
       from ekpo
          where ebeln  = p_ebeln
            and   matnr = p_matnr
           and elikz = ''.
      SELECT ebeln
                ebelp
                matnr
                menge
                INTO CORRESPONDING FIELDS OF TABLE i_ekpo
                FROM ekpo
                WHERE ebeln = p_ebeln
                   AND matnr = p_matnr
                   AND loekz = '' .
      SORT i_ekpo BY ebeln ebelp matnr.
      LOOP AT i_ekpo INTO wa_ekpo.
        IF v_found = 0.
          SELECT ebeln  ebelp
                bwart  menge
                INTO CORRESPONDING FIELDS OF TABLE i_ekbe
                FROM ekbe
                WHERE ebeln = p_ebeln
                AND ebelp = wa_ekpo-ebelp
                AND matnr = p_matnr.
                          and elikz = '' .  CHG -- 03/19/2004
          IF sy-subrc = 0.
            LOOP AT i_ekbe INTO wa_ekbe .
              IF wa_ekbe-bwart = '101'.
                v_menge = v_menge + wa_ekbe-menge.
              ENDIF.
              IF wa_ekbe-bwart = '102'.
                v_menge = v_menge - wa_ekbe-menge.
              ENDIF.
              IF wa_ekbe-bwart = '122'.
                v_menge = v_menge - wa_ekbe-menge.
              ENDIF.
            ENDLOOP.
    chng: 03/19/2004 compare po qty against receipt
            v_menge = v_menge + p_menge .
            IF wa_ekpo-menge >= v_menge .
              v_found = 1.
              MOVE wa_ekpo-ebelp TO i_item-po_item.
            ENDIF.
          ELSE .
            v_found = 1.
            MOVE wa_ekpo-ebelp TO i_item-po_item.
          ENDIF.
        ENDIF.
        CLEAR : wa_ekbe, i_ekbe, v_menge.
      ENDLOOP.
      IF v_found = 0 .
        MESSAGE e003(zm) WITH ' delivery items'.
      ENDIF.
      APPEND i_item.
      CLEAR : i_item, v_found .
    ENDFORM.                    " f_fill_item
    *&      Form  f_check_iqc
    Checking the storage location for the (chng : 23/07/2003)
    FORM f_check_iqc.
      CALL FUNCTION 'Z_M_GET_IQC_STATUS'
           EXPORTING
                matnr          = p_matnr
                lifnr          = v_lifnr
           IMPORTING
                lgort          = v_lgort
                bwart          = v_bwart
                ltsnr          = v_ltsnr
                infnr          = v_infnr
           EXCEPTIONS
                non_iqc_vendor = 1
                OTHERS         = 2.
      IF sy-subrc <> 0.
        CLEAR : v_lgort , v_bwart , v_ltsnr.
      ENDIF.
    ENDFORM.                    " f_check_iqc
    *&      Form  f_fill_header
      Updating data in the header
    FORM f_fill_header.
      MOVE v_postdate TO wa_header-pstng_date.
      MOVE sy-datum TO wa_header-doc_date.
      MOVE p_frbnr TO wa_header-ref_doc_no.
    ENDFORM.                    " f_fill_header
    *&      Form  f_execute_transfer
          Executing the goods movement.
    FORM f_execute_transfer.
      CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
           EXPORTING
                goodsmvt_header  = wa_header
                goodsmvt_code    = c_01
           IMPORTING
                goodsmvt_headret = wa_return
           TABLES
                goodsmvt_item    = i_item
                return           = i_return.
      IF i_return[] IS INITIAL .
        COMMIT WORK.
    *---  UPdating Info record for IQC cycle ind.(chng : 23/07/2003)
        IF NOT v_ltsnr IS INITIAL.
          UPDATE eina SET ltsnr = v_ltsnr
          WHERE infnr = v_infnr.
        ENDIF.
        REFRESH : i_item.
        CLEAR : wa_header,v_ltsnr , v_infnr,v_bwart,v_lifnr.
        MESSAGE i012(migo) WITH wa_return-mat_doc.
        PERFORM f_do_print.
      ELSE.
        REFRESH : i_item.
        CLEAR : wa_header,v_ltsnr , v_infnr,v_bwart,v_lifnr.
        PERFORM write_errors.
      ENDIF.
    ENDFORM.                    " f_execute_transfer
    FORM write_errors.
      WRITE: 0(90) sy-uline ,
             /0'|',
              3 'System messages for GR posting',
              90 '|',
             /0(90) sy-uline .
      LOOP AT i_return.
        CASE  i_return-type.
          WHEN 'E'.
            MESSAGE i016(zm) WITH i_return-message.
          WHEN 'W'.
            MESSAGE i017(zm) WITH i_return-message.
          WHEN 'I'.
           WRITE: /0'|',
                  icon_yellow_light AS ICON ,
                  '|',
                  10 i_return-message,
                  90 '|'.
            MESSAGE i018(zm) WITH i_return-message.
          WHEN 'S'.
           WRITE: /0'|',
                  icon_green_light AS ICON ,
                  '|',
                  10 i_return-message,
                  90 '|'.
            MESSAGE i018(zm) WITH i_return-message.
          WHEN OTHERS.
           WRITE: /0'|',
                  icon_red_light AS ICON ,
                  '|',
                  10 i_return-message,
                  90 '|'.
            MESSAGE e016(zm) WITH i_return-message.
        ENDCASE.
       AT LAST .
         WRITE:/0(90) sy-uline .
       ENDAT.
      ENDLOOP.
    ENDFORM.                    " write_errors
    *&      Form  f_clear
    Clearing the input parameters
    FORM f_clear.
      CLEAR : p_ebeln ,
              p_bar,
              p_matnr,
              p_frbnr,
              v_lifnr,
              p_menge,
              p_status.

    Hi all,
    can anyone suggest any idea?
    Regrds
    pabitra

Maybe you are looking for