Not woking FORALL loop in  Procedure related to OCCI

hi Guys,
I have created a procedure with Object as Argument....... give below details...
My requirement is:
Create a Userdefined type which is collection of Attribute e.g (Roll,Salary,Address,Name,Mobile)
Create Index table OR Varray of Userdefined Type....
Create a pocedure argument is Object of Type Varray Or IndexTable......
FORALL.... Loop
Insert Statement
This procedure is Calling in OCCI.....
PROCEDURE
CREATE OR Replace PROCEDURE Object_Student(p student_detail)
AS
BEGIN
FORi in p.first .. p.last loop
INSERT INTO Sample_mix VALUES (p(i));
end loop;
COMMIT;
END Object_Student;
This above was not working..........
ERROR:Not enough values....
After that I changed the PL/SQL in the INSERT statement....
CREATE OR Replace PROCEDURE Object_Student(p student_detail)
AS
BEGIN
FOR i in p.first .. p.last loop
INSERT INTO Sample_mix VALUES (p(i).roll,P(i).SALARY,P(i).ADDRESS,P(i).Name,P(i).mobile);
end Loop;
COMMIT;
END Object_Student;
This is Running Successfully....
Result: Reading Records taking too much time.... OCCI
Terefore , I changed From FOR Loop TO FORALL loop..
CREATE OR Replace PROCEDURE Object_Student(p student_detail)
AS
BEGIN
FORALL i in p.first .. p.last
INSERT INTO Sample_mix VALUES (p(i));
COMMIT;
END Object_Student;
ERROR: Not Enough values......
then modified the procedure
CREATE OR Replace PROCEDURE Object_Student(p student_detail)
AS
BEGIN
FORALL i in p.first .. p.last
INSERT INTO Sample_mix VALUES (p(i).roll,P(i).SALARY,P(i).ADDRESS,P(i).Name,P(i).mobile);
COMMIT;
END Object_Student;
The Above Code is Not working..... giving the following ERRORS...
LINE/COL ERROR
5/32 PLS-00436: implementation restriction: cannot reference fields of
BULK In-BIND table of records
5/42 PLS-00436: implementation restriction: cannot reference fields of
BULK In-BIND table of records
5/54 PLS-00436: implementation restriction: cannot reference fields of
BULK In-BIND table of records
5/67 PLS-00436: implementation restriction: cannot reference fields of
BULK In-BIND table of records
LINE/COL ERROR
Could anybody tell me why here ForALL loop is not Working....??
Everything is successed... Only FORALL loop is not Working in the Procedure....
Is there any Other way .... Please reply me ASAP
Advance thanx for them....
Sanjay

I alreary added with same structure.....
Still giving the Same Error
I searched and got some help........inserted Like below example....
CREATE OR Replace PROCEDURE emp_Proc(p emp_arr)
AS
BEGIN
forall i in p.first .. p.last
INSERT INTO emp VALUES p(i);
COMMIT;
END emp_Proc;
LINE/COL ERROR
5/2 PL/SQL: SQL Statement ignored
5/2 PL/SQL: ORA-00932: inconsistent datatypes: expected - got -
Is there any solve of folling Error....

Similar Messages

  • Whay FORALL loop is not Working.....

    hi Guys,
    I have created a procedure with Object as Argument.......
    CREATE OR Replace PROCEDURE Object_Student1(p student_detail1)
    AS
    BEGIN
    FORi in p.first .. p.last loop
    INSERT INTO Sample_mix VALUES (p(i));
    end loop;
    COMMIT;
    END Object_Student1;
    This above was not working..........After I have changed the PL/SQL in the INSERT statement....
    CREATE OR Replace PROCEDURE Object_Student1(p student_detail1)
    AS
    BEGIN
    FOR i in p.first .. p.last loop
    INSERT INTO Sample_mix VALUES (p(i).roll,P(i).SALARY,P(i).ADDRESS,P(i).Name,P(i).mobile);
    end Loop;
    COMMIT;
    END Object_Student1;
    now This is Running Successfully.... But After I changed From FOR Loop TO FORALL loop..
    CREATE OR Replace PROCEDURE Object_Student1(p student_detail1)
    AS
    BEGIN
    FORALL i in p.first .. p.last
    INSERT INTO Sample_mix VALUES (p(i).roll,P(i).SALARY,P(i).ADDRESS,P(i).Name,P(i).mobile);
    COMMIT;
    END Object_Student1;
    The Above Code is Not working..... giving the folloing ERRORS...
    LINE/COL ERROR
    5/32 PLS-00436: implementation restriction: cannot reference fields of
    BULK In-BIND table of records
    5/42 PLS-00436: implementation restriction: cannot reference fields of
    BULK In-BIND table of records
    5/54 PLS-00436: implementation restriction: cannot reference fields of
    BULK In-BIND table of records
    5/67 PLS-00436: implementation restriction: cannot reference fields of
    BULK In-BIND table of records
    LINE/COL ERROR
    Could anybody tell me why should This ForALL loop is not Working....??

    Yes Suresgh I tried.... But I got Same Error..... given below...
    1 CREATE OR REPLACE PROCEDURE ObjectPassing2(p student_detail1)
    2 AS
    3 BEGIN
    4 FORALL i in 1 .. p.Count
    5 INSERT INTO Sample_mix VALUES(p(i).Roll,p(i).Salary,p(i).Address,p(i).Name,p(i).Mobile);
    6 COMMIT;
    7* END ObjectPassing2;
    SQL> /
    Warning: Procedure created with compilation errors.
    SQL> sho err;
    Errors for PROCEDURE OBJECTPASSING2:
    LINE/COL ERROR
    5/33 PLS-00436: implementation restriction: cannot reference fields of
    BULK In-BIND table of records
    5/43 PLS-00436: implementation restriction: cannot reference fields of
    BULK In-BIND table of records
    5/55 PLS-00436: implementation restriction: cannot reference fields of
    BULK In-BIND table of records
    5/68 PLS-00436: implementation restriction: cannot reference fields of
    BULK In-BIND table of records
    LINE/COL ERROR
    5/78 PLS-00436: implementation restriction: cannot reference fields of
    BULK In-BIND table of records

  • We are not able to execute below procedure, plz help me ASAP.

    Dear All
    I am created one procedure with 4 parameter 1 is Ref Cusrsor rest of 3 are Varchar,But we are not able to execute below procedure, plz help me ASAP.
    CREATE OR REPLACE PROCEDURE GETCHART(RPT_CURSOR OUT RPT_PACKAGE.RPT_RESULTS,
    V_VITALCHARTING VARCHAR2,
    V_DOCIDPATIENTS VARCHAR2,
    v_fromdate varchar2,
    v_todate varchar2) AS
    D1 VARCHAR2(500);
    D2 VARCHAR2(500);
    G1 VARCHAR2(500);
    R1 VARCHAR2(500);
    R2 VARCHAR2(500);
    R3 VARCHAR2(500);
    R4 VARCHAR2(500);
    R5 VARCHAR2(500);
    H1 VARCHAR2(500);
    H2 VARCHAR2(500);
    V_COUNT NUMBER;
    RC VARCHAR2(100);
    RMI VARCHAR2(100);
    RMAX VARCHAR2(100);
    R12 VARCHAR2(500);
    REQ NUMBER;
    V_MAX number;
    v_idcount number;
    RSEQ NUMBER;
    RCH VARCHAR2(500);
    BEGIN
    INSERT INTO TEMPDATA
    SELECT ROWNUM G, TIME1
    FROM (SELECT distinct TO_CHAR(H.RECORDEDDNT, 'mm/dd/yy hh24:mi:ss') TIME1
    FROM VIEW_PATIENTCHART V,
    chartingtxheader H,
    chartingtxdetails D
    WHERE h.docid = d.docidchartingtxheader
    and v.VITALCHARTING_PK = h.docidvitalcharting
    and v.VITALPARAMETER_PK = d.docidvitalparameter
    and v.VITALCHARTING_PK = V_VITALCHARTING --General Vital Signs
    and H.DOCIDPATIENTS = V_DOCIDPATIENTS
    and TO_DATE(to_char(h.recordeddnt, 'DD/MM/YYYY'),
    'DD/MM/YYYY') BETWEEN
    TO_DATE(v_fromdate, 'DD/MM/YYYY') AND
    TO_DATE(V_TODATE, 'DD/MM/YYYY'));
    SELECT MAX(ID) INTO V_MAX FROM TEMPDATA;
    V_IDCOUNT := 0;
    WHILE V_IDCOUNT < V_MAX loop
    FOR J IN (SELECT id, ROWNUM G, vdate time1
    FROM (SELECT id, ROWNUM, VDATE
    FROM TEMPDATA
    WHERE ID BETWEEN V_IDCOUNT + 1 AND V_IDCOUNT + 8)) LOOP
    D1 := D1 || 'COL' || J.G || ',';
    D2 := D2 || '''' || J.TIME1 || '''' || ',';
    END LOOP;
    D1 := SUBSTR(D1, 1, LENGTH(D1) - 1);
    D2 := SUBSTR(D2, 1, LENGTH(D2) - 1);
    DBMS_OUTPUT.PUT_LINE(d1);
    SELECT SEQ_GETCHART.NEXTVAL INTO RSEQ FROM DUAL;
    G1 := 'INSERT INTO GETDATA2 (IDSLNO,idcount,' || D1 || ') VALUES(' || RSEQ || ',' ||
    V_IDCOUNT || ',' || D2 || ')';
    --EXECUTE IMMEDIATE G1;
    DBMS_OUTPUT.PUT_LINE(d1);
    DBMS_OUTPUT.PUT_LINE(SUBSTR(D2, 1, LENGTH(D2) - 1));
    DBMS_OUTPUT.PUT_LINE(G1);
    EXECUTE IMMEDIATE G1;
    FOR K IN (SELECT id, ROWNUM G, vdate time2
    FROM (SELECT id, ROWNUM, VDATE
    FROM TEMPDATA
    WHERE ID BETWEEN V_IDCOUNT + 1 AND V_IDCOUNT + 8)) LOOP
    FOR I IN (select s.*, rownum hslno
    from (SELECT v.CHARTNAME,
    v.PARAMETERNAME_CS,
    ' ' || v.PARAMETERNAME PARAMETERNAME,
    TO_CHAR(H.recordeddnt, 'mm/dd/yy hh24:mi:ss') TIME1,
    CASE
    WHEN IDSLNO_GN5029 IN (1040, 1041) THEN
    CASE
    WHEN TO_NUMBER(d.recordedvalue) <
    TO_NUMBER(D.MINVALUE) THEN
    decode(d.recordedvalue,
    null,
    d.recordedvalue,
    d.recordedvalue || ' ' || 'L')
    ELSE
    CASE
    WHEN TO_NUMBER(d.recordedvalue) >
    TO_NUMBER(D.MaxVALUE) THEN
    decode(d.recordedvalue,
    null,
    d.recordedvalue,
    d.recordedvalue || ' ' || 'H')
    ELSE
    decode(d.recordedvalue,
    null,
    d.recordedvalue,
    d.recordedvalue || ' ' || 'N')
    END END ELSE d.recordedvalue END IMAGECHAR,
    d.minvalue,
    d.maxvalue,
    D.UOMCODE
    FROM VIEW_PATIENTCHART V,
    chartingtxheader H,
    chartingtxdetails D
    WHERE h.docid = d.docidchartingtxheader
    and v.VITALCHARTING_PK = h.docidvitalcharting
    and v.VITALPARAMETER_PK = d.docidvitalparameter
    and v.VITALCHARTING_PK = V_VITALCHARTING --General Vital Signs
    and H.DOCIDPATIENTS = V_DOCIDPATIENTS
    ORDER BY V.DISPLAYORDER_CS, V.DISPLAYORDER
    -- v.PARAMETERNAME_CS,v.PARAMETERNAME
    ) s
    where s.time1 = k.time2) LOOP
    select count(1)
    into v_count
    from GETDATA2 d
    where d.PARAMETERNAME_CS = i.PARAMETERNAME_CS
    and PARAMETERNAME = i.PARAMETERNAME
    and idcount = v_idcount;
    IF V_COUNT = 0 THEN
    RCH := I.CHARTNAME;
    R1 := 'COL' || K.G;
    R2 := '''' || I.PARAMETERNAME_CS || '''' || ',';
    R3 := '''' || I.PARAMETERNAME || '''' || ',';
    R4 := '''' || I.IMAGECHAR || '''';
    RC := '''' || I.CHARTNAME || '''' || ',';
    RMI := '''' || I.minvalue || '''' || ',';
    RMAX := '''' || I.maxvalue || '''' || ',';
    R12 := '''' || I.UOMCODE || '''' || ',';
    SELECT SEQ_GETCHART.NEXTVAL INTO RSEQ FROM DUAL;
    H1 := 'INSERT INTO GETDATA2 (IDSLNO,UMCODE,idcount,CHARTNAME,minvalue,maxvalue,PARAMETERNAME_CS,PARAMETERNAME,' || R1 || ')' ||
    ' values(' || RSEQ || ',' || R12 || v_idcount || ',' || RC || RMI || RMAX || R2 || R3 || R4 || ')';
    EXECUTE IMMEDIATE H1;
    ELSE
    R5 := 'COL' || K.G;
    R4 := '''' || I.IMAGECHAR || '''';
    H2 := 'UPDATE GETDATA2 SET ' || R5 || '=' || R4 ||
    'WHERE PARAMETERNAME_CS=' || '''' || I.PARAMETERNAME_CS || '''' ||
    ' AND ' || 'PARAMETERNAME=' || '''' || I.PARAMETERNAME || '''';
    EXECUTE IMMEDIATE H2;
    END IF;
    END LOOP;
    end loop;
    UPDATE getdata2 s
    set s.parametername = s.parametername || ' -' || ' (' || minvalue ||
    ' -- ' || maxvalue || ') ' || UMCODE
    where s.parametername is not null
    and idcount = v_idcount
    and minvalue != 0
    and maxvalue != 0;
    UPDATE getdata2 s
    set s.parametername = s.parametername || ' -' || UMCODE
    where s.parametername is not null
    and idcount = v_idcount
    and minvalue = 0
    and maxvalue = 0;
    UPDATE GETDATA2 S
    SET S.PARAMETERNAME_CS = NULL
    WHERE ROWID NOT IN (SELECT MIN(ROWID)
    FROM GETDATA2
    WHERE idcount = v_idcount
    GROUP BY PARAMETERNAME_CS)
    and idcount = v_idcount;
    UPDATE GETDATA2 S
    SET CHARTNAME = NULL
    WHERE ROWID NOT IN (SELECT MIN(ROWID)
    FROM GETDATA2
    WHERE idcount = v_idcount
    GROUP BY CHARTNAME)
    and idcount = v_idcount;
    UPDATE getdata2 s
    set s.parametername = ' PARAMETER'
    where s.parametername is null
    AND S.PARAMETERNAME_CS IS NULL;
    v_idcount := v_idcount + 8;
    D1 := null;
    d2 := null;
    end loop;
    for i in (SELECT G.PARAMETERNAME_CS, G.IDSLNO
    FROM GETDATA2 G
    WHERE G.PARAMETERNAME_CS IS NOT NULL) LOOP
    INSERT INTO GETDATA2
    (IDSLNO, PARAMETERNAME)
    VALUES
    (I.IDSLNO - 1 + 0.5, I.PARAMETERNAME_CS);
    END LOOP;
    update GETDATA2 h set h.PARAMETERNAME_CS = null;
    update GETDATA2 h set h.chartname = rcH;
    INSERT INTO GETDATA1
    SELECT CHARTNAME,
    PARAMETERNAME_CS,
    PARAMETERNAME,
    COL1,
    COL2,
    COL3,
    COL4,
    COL5,
    COL6,
    COL7,
    COL8,
    COL9,
    COL10,
    MINVALUE,
    MAXVALUE,
    UMCODE
    FROM GETDATA2
    ORDER BY IDSLNO;
    OPEN RPT_CURSOR FOR
    SELECT * FROM GETDATA1;
    END;
    CREATE OR REPLACE PACKAGE "RPT_PACKAGE"
    as
    type RPT_RESULTS is REF CURSOR;
    type RPT_VARRAY is VARRAY(2000) of VARCHAR2(2000);
    END RPT_PACKAGE;
    Execute
    declare
    type my_newcursor IS REF CURSOR;
    begin
    GETCHART(my_newcursor,'General Vital Sign','1145561',sysdate-1,sysdate);
    end;

    Parwez wrote:
    Dear All
    I am created one procedure with 4 parameter 1 is Ref Cusrsor rest of 3 are Varchar,But we are not able to execute below procedure, plz help me ASAP.
    see a picture of my car.
    my car won't go.
    tell me how to make my car go.
    How do I ask a question on the forums?
    SQL and PL/SQL FAQ

  • W530 sometimes do not boot / boot loop

    Hey,
    Since some days my W530 sometimes have some troubles at start up. It is not every time the same procedure. Often it  gets in a boot loop till, after some loops, the windows repair set up trys to repair the system (but it came to a "fail" message) After that the laptop starts normaly.
    Sometimes it stays in the loop since I shut down and remove battery and AC adapter. After some loops again then the repair can bee done again. If i do not repair the system it came till windows logo and the notebook shut down with an sound of "power off"(no sound out of the speakers rather a "klick") and restart to next loop... The problem appears mostly on next start after I was using my Laptop mobile.
    I did an bios update without result and complete re-instalation of windows but the problems are still there. I have the illusion that after re installing windows it is a bit better(not so often) but the problem is still there. Sometimes I need 15minutes to start up windows...
    I fear it will be an Hardware failure but, the hardware scans of the solution center say everything is ok.
    Anyone have an Idea what I could do?
    Kind regards
    Solved!
    Go to Solution.

    Hey, Just for Update
    After some random reboots in normal usage out of win 7 the w530 was completely dead. Pushing the power button results just in a short blinking of the button.
    So I called the lenovo support and on next day the mainboard gets changed and everything is working again now.
    Due to that it was dfinitively a hardware failure.
    Very fast and good support from lenovo!
    Regards

  • Loop browser not showing all loops

    I have all of the jam packs and have installed them. Now I am noticing that not all the loops are showing up in the loop browser. For example I select guitars, acoustic, I see 12-8 acoustic strum 01 and 03 but no 02. I look in the folder for jam pack 3 and there sits 02. Why is it not in the browser? I have dozens of loops in my folders that are not showing in the browser. Why?

    I have the same problem, only mine may be a little more extensive. I had to do an archive/install to fix a problem I had with some problems. I then upgraded to the new version of Garageband and in the program only half of the loops show up and I can't access the rest? If someone can help please do...
    iMac G5   Mac OS X (10.4.8)  

  • When I click on Mozilla Firefox I get an error box firefox.exe - Entry Point Not Found that reads "The procedure entry point sqlite3_db_status could not be located in the dynamic link library mozsqlite3.dll."

    When I click on Mozilla Firefox I get an error box firefox.exe - Entry Point Not Found that reads "The procedure entry point sqlite3_db_status could not be located in the dynamic link library mozsqlite3.dll."

    Are you really using Windows ME?<br />
    Your More system details list shows an IE8 user agent
    You need to do a clean reinstall and remove the Firefox program folder before installing a newly downloaded copy of the Firefox installer.
    * It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    Your bookmarks and other profile data are stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder] and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.

  • PO creation-ME21n-Why SAP does not check company code and Plant relation

    Hi All,
    Does someone know, why SAP does not check Plant and company code relation at the time of PO creation or how can we put validation between plant and company code at the time of PO creation.
    <b>Example:</b> Suppose i have a company 0001 which is assinged to Plant 0001. when i am creating a PO with another company code 0002(Entering at header level-Org, data) and using Plant 0001 at line item level. SAP does not do this validation.
    How can we put this check in place?
    Thanks in advance.
    Deepak

    Hello Deepak,
    There are three types of purchasing
    - Company code specific :You need to assign company code to Pur organization
    - Plant specific : You must assign plant to pur organization
    - Cross company purchasing: No assignment between company code and pur organization.
    In the case 3, the system will not check company code and plant relationship, but it will check plant and pur organization specific.
    The following is the copy of sap help text:
    You can assign a purchasing organization to one company code. This is company-specific purchasing.
    You can assign a purchasing organization to no company code. This purchasing organization can then procure for all plants assigned to it, irrespective of the company code to which the plant belongs.
    Since each plant must be assigned to a company code, the company code can be determined via the plant in each procurement transaction, even if the procuring purchasing organization is not assigned to a company code.
    A purchasing organization must be assigned to one or more plants. This is plant-specific purchasing.
    Now, check your company-code and purchase organization assignment.
    Hope this helps.
    Regards
    Arif Mansuri

  • BAPI for goods moment is not working in loop

    Dear ABAPers,
    If i am using BAPI ( for MB1n transabtion for goods movement type 309 )with in loop first one is working fine and remaining is not working.
    If i run individually all r working fine.
    I am sending cdoe as below.
    Pl hava look on that.
      LOOP AT ITAB.
        CLEAR: GM_RETURN, GM_RETMTD,GM_HEADER,GM_CODE,GM_HEADRET.
        REFRESH: GM_RETURN,GM_ITEM.
        GM_HEADER-PSTNG_DATE = SY-DATUM.
        GM_HEADER-DOC_DATE   = SY-DATUM.
        GM_CODE-GM_CODE      = '04'.                            " MB1B
        CLEAR GM_ITEM.
        MOVE '309'                 TO GM_ITEM-MOVE_TYPE     .
        MOVE ITAB-MATNR  TO GM_ITEM-MATERIAL.
        MOVE ITAB-MENGE_REC TO GM_ITEM-ENTRY_QNT.
        MOVE ITAB-MATNR_REC TO GM_ITEM-MOVE_MAT.
        MOVE ITAB-MEINS_REC TO GM_ITEM-BASE_UOM.
        MOVE ITAB-WERKS_REC  TO GM_ITEM-PLANT.
        MOVE ITAB-LGORT_REC  TO GM_ITEM-STGE_LOC.
        MOVE ITAB-CHARG TO GM_ITEM-BATCH.
        MOVE ITAB-CHARG_REC TO GM_ITEM-MOVE_BATCH.
        APPEND GM_ITEM.
        CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
          EXPORTING
            GOODSMVT_HEADER  = GM_HEADER
            GOODSMVT_CODE    = GM_CODE
          IMPORTING
            GOODSMVT_HEADRET = GM_HEADRET
            MATERIALDOCUMENT = GM_RETMTD
          TABLES
            GOODSMVT_ITEM    = GM_ITEM
            RETURN           = GM_RETURN.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
      WAIT          =
    IMPORTING
      RETURN        =
        IF GM_RETURN[] IS NOT INITIAL.
          LOOP AT GM_RETURN.
            IF GM_RETURN-TYPE = 'E'.
              ERR_CNT = ERR_CNT + 1.
              V_MESSAGE = GM_RETURN-MESSAGE.
              UPDATE Y_MB1B SET STS_CODE = 'PE'
                               UPDATE_BY = SY-UNAME
                               UPDATE_DATE = SY-DATUM
                               MESS = V_MESSAGE
                   WHERE SRL = ITAB-SRL.
            ENDIF.
          ENDLOOP.
        ELSE.
          IF GM_RETMTD IS NOT INITIAL.
            REC_CNT = REC_CNT + 1.
            CONCATENATE 'Document' GM_RETMTD 'posted' INTO V_MESSAGE SEPARATED BY SPACE.
            UPDATE Y_MB1B SET STS_CODE = 'PS'
                       UPDATE_BY = SY-UNAME
                       UPDATE_DATE = SY-DATUM
                       MESS = V_MESSAGE
           WHERE SRL = ITAB-SRL.
          ENDIF.
        ENDIF.
      ENDLOOP.
    Pl gimme solution.
    Cheers,
    Simha.

    Hi,
                   here is the code check this for ur ref
    method IF_EX_LE_SHP_GOODSMOVEMENT~CHANGE_INPUT_HEADER_AND_ITEMS .
    ******** Data Declaration *************
      data: ls_lips type lips.
      data: ls_goods_header type BAPI2017_GM_HEAD_01.
      data: ls_gm_code type BAPI2017_GM_CODE.
      data: ls_goods_mvt type BAPI2017_GM_ITEM_CREATE.
      data: lt_goods_mvt type table of BAPI2017_GM_ITEM_CREATE.
      data: lt_return type table of BAPIRET2.
      data:ls_MATERIALDOCUMENT type BAPI2017_GM_HEAD_02-MAT_DOC.
      data: ls_MATDOCUMENTYEAR type BAPI2017_GM_HEAD_02-DOC_YEAR.
      constants: c_bwart type lips-bwart value '309'.
      ls_goods_header-PSTNG_DATE = sy-datum.
      ls_goods_header-DOC_DATE   = IS_LIKP-bldat.
      ls_goods_header-pr_uname = sy-uname.
      ls_gm_code-GM_CODE         = '06'.
      loop at it_xlips into ls_lips
           where OIC_MOT = 'PK'.
        if ( ls_lips-uepos is initial and ls_lips-pstyv = 'TAQ').
          ls_goods_mvt-MATERIAL = ls_lips-MATNR.
          ls_goods_mvt-PLANT = ls_lips-WERKS.
          ls_goods_mvt-STGE_LOC = ls_lips-LGORT.
          ls_goods_mvt-MOVE_TYPE = c_bwart.
          ls_goods_mvt-ENTRY_QNT = ls_lips-LFIMG.
          ls_goods_mvt-MOVE_MAT = ls_lips-UMMAT.
          ls_goods_mvt-MOVE_PLANT = ls_lips-UMWRK.
          ls_goods_mvt-MOVE_STLOC = ls_lips-UMLGO.
          append ls_goods_mvt to lt_goods_mvt.
        endif.
      endloop.
    by this call function BAPI Material document is created ****
      data : LS_GOODSMVT_HEADRET     TYPE BAPI2017_GM_HEAD_RET.
      CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
        EXPORTING
          GOODSMVT_HEADER  = ls_goods_header
          GOODSMVT_CODE    = ls_gm_code
        IMPORTING
          GOODSMVT_HEADRET = LS_GOODSMVT_HEADRET
        TABLES
          GOODSMVT_ITEM    = lt_goods_mvt
          RETURN           = lt_return.
      IF lt_return[] is NOT initial.
    <b>Reward points</b>
    Regards

  • Deductible tax value is not displaying in MM pricing procedure

    Dear Team,
    We are using the TAXINN condition for ED,VAT, CST and ST.
    ED and CST are the Non-deductible taxes. We are taking the input credit for other two conditions.
    All these tax values are correctly displaying in "Invoice tab-Tax". From these, non deductible tax values (ED & CST) are displaying in MM pricing procedure in NAVS condition type. But the deductible tax values (VAT & ST) are not displaying in MM pricing procedure. JEXS condition is also available in MM pricing procedure
    Could you pl provide the suitable solution to display these values in MM pricing procedure.
    Thanks & Regards,
    R.Saravanan
    +91 9003024258

    Hi,
    I've the same problem that you. Do you remember which solution you used ?
    Thanks in advance,
    A. BARBIER

  • Not Breaking the loop but how to continue with the next iteration in a For

    Hi all
    i have the following piece of code
    Please let me know, what is the /*some construct*/ which will not break the loop but goes to the next iteration skipping Login b
    Loop
    Login A
    /*some construct*/
    Login B
    End loop;
    P.S
    I should do this without Label or Exception ... I am using oracle 8i
    Thanks
    Hariharan
    T

    An [url http://www.oracle.com/pls/tahiti/tahiti.tabbed?section=48911]IF statement?
    loop
      login_a;
      if false
      then
        login_b;
      end if;
    end loop;Regards,
    Rob.

  • HRMS Dashboary is not woking for particular user

    Guys,
    oracle 11.5.10 hrms version,
    We have created responsibility for hrms Dashboard,then we have attached this responsibility with different user but some of them woking fine but the rest of is not woking and getting Error - "You do not have access to this report",
    Could you please advice.
    thanks..

    resloved the issued.

  • Wireless web page redirect not woking

    Hi all
    wireless web page redirect not woking 
    software version : 4.2.207.0
    one of the ssid on the controller has web authentication and the authentication page not showing once connected .
    some clients  ( like  laptop) authentication page shows but when we press submit button nothing happen .
    Please help

    Hi
    Tnx again , i beleive i have narrow down the problem , After physically removed the controller from the switch problem experencing only with mobile devices .In your previous reply you mentioned abt DNS .  I  did not understand the role of DNS in it. sorry for that . Once user connected SSID and browse anything , this will redirect to the virtual ip http://1.1.1.1/login.html?........ .we have not registered this virtual ip in the DNS server .
    Please help

  • Itunes not getting started getting " The procedure entry point AVCF playerenabledhardwareaccelerationkey could not be located in the dynamic link libraryAVFoundationCF.dll how to fix?

    itunes not getting started getting " The procedure entry point AVCF playerenabledhardwareaccelerationkey could not be located in the dynamic link libraryAVFoundationCF.dll how to fix?

    See Troubleshooting issues with iTunes for Windows updates.
    tt2

  • Luxadm probe / Could not find the loop address for  the device at physical path

    Using EMC FibreChannel Disks on a Solaris 10
    # luxadm probe
    No Network Array enclosures found in /dev/es
    Error: Could not find the loop address for the device at physical path.
    # echo $?
    255
    Any ideas how to fix?
    Thank,
    Marcel

    Hi Marcel,
    Which Solaris 10 release is this?
    I found a very old bug that says this problem is already fixed in Solaris 10 although the bug description says
    its mostly seen on Solaris 8 and 9.
    https://bug.oraclecorp.com/pls/bug/webbug_print.showbug?c_rptno=15123550
    The bug says that these errors are displayed when StorADE 2.1 is running its rasagent cron job, which executes a luxadm display. 
    This process runs in the background so the user is not aware that another luxadm display process is running.
    Work-around: Do not run Storade rasagent cron job at same time as another luxadm display process.
    I hope this might help to debug this problem but I puzzled why this might be happening if its already fixed.
    Let me know if the workaround helps or so I can follow-up with the right support team.
    Thanks, Cindy

  • LMS 4.2.1: Save and Reset Button not woking on Syslog Purge Settings page

    Hello,
    Did anyone notice that Save button is not woking on Syslog Purge Settings page  (Admin > Network > Purge Settings > Syslog Purge Settings) when Email: field is not empty. An Reset button is not working at all.This is the Cisco Prime LMS 4.2.1.
    Is it only my LMS server or you all have this bug?
    Regards,
    Marija

    I did a test on a system (LMS 4.2.1, W2k8 R2) and had the same issue, so this really looks like a bug in the GUI;

Maybe you are looking for

  • How to get the Full and final settelment date from PC_payresults

    Hi Experts..sairam. We are preparing Functional specification  for a report on Full and final settelement. We need to extract the  full and final settelement date from  payresults. Full and final settelement would be an offcycle run. How can we ident

  • Am I on the right track? Instead of parallel arrays I am doing this...

    Hi. I am making a phonebook aplication and am not allowed to use a database as yet for the application(will be converted into a database application at a later point.) The code is not complete and I am aware that thereating are many things missing. I

  • Screen Resolution for Recording

    Hi All, I am using Adobe Captivate 5.5. I  have captured a whole module with screen resolution of 1440 by 900. Now the requirement is to reduce the same to 1024 by 768. Is it possible to reduce this for the captured video without affecting the qualit

  • How do i change the color of the window background?

    How do I change the color of the window background? When I create a new document on indesign sometimes the blackground is white, sometimes black or gray and I d'ont know why. Thanks for help.

  • Graph Types getting shuffled when use Series for both graph types

    Hi,     I have a requirement to use two Graph types in a single Business graphics UI element. First Graph type is of STACKED COLUMN, and the second one is of LINE. When i use Series for both graph types; they are getting shuffled and not readable. Sa