Not Printing Item Schedule line items in SAP Script

Hi ,
I modified  copied sap standard script(MEDRUCK) and copied my Zprogram to standard program.
But here every thing is fine but i am not getting schedule line items and item text  in items data for every item
thanks,
sriram

Hi
Pls Check in the Line item Ur using the syntax properly or not..In SAP if it ios syntax error it won show..Pls chk the syntax properly ...POr try to debug the script and see whether item text is coming or not.
If it is not coming check me23n whether tat PO has item text or not..if it is there Problem is in ur Include text.

Similar Messages

  • How to leave half line space in SAP Script

    Actually , I have a doubt regarding half line spacing on SAP Script ..
    I am working on Cheque Printing with  fbz5
    Now the issue in  the date, there are 8 box for the date in cheque .
    i.e  0 2 0 7 2 0 1 4
    Currently the date is comming on the cheque box ..like half up the box and half inside
    IF I give one space in cheque  window of my script with  /   its taking complete 1 space
    and result is ,it going down ..with one space
    I want to leave exact half line space ..so date is  adjusted  in the middle .
    I also tried moving my cheque  window from  upper margin in all format(CH , CM , MM  IN ..) above
    But it is taking exact one space .

    Hi Darshit,
    While creating the tab position, you have a option of line spacing.
    make it to 0.5 lines, to make exact half line.
    And also another way out, you can check by moving the 8 box created for the date up by 0.5 lines.
    Regards,
    Ganesh Lathi.

  • Title should not appear in Ship to Address in SAP SCRIPT

    Hi all,
              Title Information should not appear in Ship to Address in SAP Script.
    help me , what are the commands to be used in ADDRESS-ENDADDRESS.
    Regards
    R.Ragu

    Thats why I am asking you to not to print that PO tile field. Instead keep some dummy variable that does not have any value.
    /:           ADDRESS PARAGRAPH AS
    /:             TITLE    &LFA1-ANRED&
    /:             NAME     &LFA1-NAME1&, &LFA1-NAME2&, &LFA1-NAME3&, &LFA1-NAME4&
    /:             STREET   &LFA1-STRAS&
    /:             POBOX    &LFA1-PFACH&  CODE &LFA1-PSTL2&
    /:             CITY     &LFA1-ORT01&, &LFA1-ORT02&
    /:             POSTCODE &LFA1-PSTLZ&
    /:             COUNTRY  &LFA1-LAND1&
    /:             REGION   &LFA1-REGIO&
    /:             FROMCOUNTRY &T001-LAND1&
    /:           ENDADDRESS
    in the above LFA1-ANRED will have some value right .  so replace it with some other variable say v_dummy.
    Reward points if useful.
    Regards.
    Nageswar

  • Line number in Sap Script

    hi,
    How to get line number in sap script form?
    Regards,
    Sal.

    hi ,
    there is no specific field for this you have to put a counter for that check these links
    Link for SAP Scripts (step by step procedure)
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Create_A_SAPSCRIPT_Form/How_to_Create_SAPSCRIPT.html
    SAPScripts
    http://esnips.com/doc/1ff9f8e8-0a4c-42a7-8819-6e3ff9e7ab44/sapscripts.pdf
    http://esnips.com/doc/1e487f0c-8009-4ae1-9f9c-c07bd953dbfa/script-command.pdf
    http://esnips.com/doc/64d4eccb-e09b-48e1-9be9-e2818d73f074/faqss.pdf
    http://esnips.com/doc/cb7e39b4-3161-437f-bfc6-21e6a50e1b39/sscript.pdf
    http://esnips.com/doc/fced4d36-ba52-4df9-ab35-b3d194830bbf/symbols-in-scripts.pdf
    http://esnips.com/doc/b57e8989-ccf0-40d0-8992-8183be831030/sapscript-how-to-calculate-totals-and-subtotals.htm
    SAP SCRIPT FIELDS
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/d1/8033ea454211d189710000e8322d00/content.htm
    scripts easy material
    http://www.allsaplinks.com/sap_script_made_easy.html
    regards,
    venkat.

  • How to display the number of line items in sap-script report?

    Hi friends,
    I need a help regarding the SAP Script. In my script (report) I create two pages and created three windows (MAIN, HEADER, FOOTER) for each pages. Now the problem is while displaying the fewer line item which can come under the main window of the 1st page these line items are comming perfectly but for the remaining line items that comes on the second page the table headings and the boexs are not comming.
    Also it is displaying the total and the amount in text in every pages that should be display in last page.
    Here if I eleminate or comments the total and the amount in text for the first page the same is reflected in second page. Also I need to display the page-nor for each pages to displayed.
    I am requesting all the people out there kindly help me to solve this issues.
    Thanks and Regards

    There is no pre built solution for this. But we can show total pages in the report body.
    one way is Create a other column in the report with code sum(count(1))/25. that gives you total number of pages. 25 here is no of rows in each page. The code you can write in narrative "Total pages in the report are @5" and out put may be "Total Pages in the report are 30".
    If you are using pivot tables, you can try this.
    http://oraclebizint.wordpress.com/2008/01/17/oracle-bi-101332-pagination-in-pivot-tables/
    - Madan

  • Line items separed line(Uline) in SAP Script

    Dear Friends.
    I want to print a separated line (Uline) in-between each line item and the line should not come when it is last line item of the page.
    I am going to print in first page with 7 records and next all pages with 17 records.
    here I have written it for first page which is working but how to do with rest of the pages???
    Here I have taken a flag when the line item reach to 7th record, and i am using it in my form window as bellow:
    /: IF $GV_FLAG& = 'X' AND &PAGE& = '1'
    /: ELSE
    UN &sy-uline(151)&
    /: ENDIF
    The same i want  for rest of the pages.....but the remaining pages will have 17 records per a page..
    Could you pls suggest me on this...
    Thanks,
    Sridhar.

    Hi Sridhar,
    I am assuming that $GV_FLAG& is for 7 records, so take another falg like this for second page $GV_FLAG2& and count it for 17 records.
    [code]/: IF $GV_FLAG& = 'X' AND &PAGE& = '1'
    /: ELSE
    UN &sy-uline(151)&
    /: ENDIF
    /: IF $GV_FLAG2& = 'X' AND &PAGE& <> '1'
    /: ELSE
    UN &sy-uline(151)&
    /: ENDIF[/code]
    Regards
    Sudheer

  • BOX command does not print vertical/horizontal lines in SAP Script

    Dear all,
    in sap script we are using the BOX command to draw some boxes. DUring the print preview, all the boxes look
    just fine including horizontal and vertial lines. But, when we print the output, I get the output minus
    the vertical lines and some horizontal lines.
    Regards,
    rukku
    Edited by: Rukmangada Reddy Ramala on Mar 23, 2010 2:23 PM

    Hi rukku,
    Which device type are you using?
    Please have a look at SAP notes:
    77976, 19807 and 183948.
    Regards,
    David

  • My hp f380 all in one will not print items in queue

    My printer keeps disconnecting from my computer or going offline and will not print things so they go into the queue and i am unable to view or print anything from queue

    Hi jaimi,
    I understand you're having some issues printing with your Deskjet F380 printer. I will certainly do my best to help you with this.
    This document here covers all of the operating systems and will guide you through a few things to get the print jobs our of the queue.
    Hope this helps, have a great day!
    Please click “Accept as Solution ” if you feel my post resolved your issue, as it will help others find the solution faster
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    **MissTeriLynn**
    I work on behalf of HP

  • Delivery date not updated in Schedule line

    Hi friends,
    We are trying to update the delivery date of a schedule line in a sale order item through BAPI_SALESDOCUMENT_CHANGE. This goes well for all the cases except when the last sale order item is fully delivered. When the last sale order item is fully delivered, the BAPI is unable to update the delivery date for any of the other schedule line items in the same sale order.
    While debugging standard SAP program SAPMV45A, we found that the XVBUP item always points to the last sale order item (FM: SD_FIELD_INPUT_CHECK) and as this is fully delivered, it says that the order is completely delivered and hence delivery date EDATU cannot be changed.
    Could anyone please help to resolve this issue?
    Thanks,
    Sharmila
    Edited by: Sharmila Subramanian on Mar 17, 2011 8:17 AM

    Use following function  and update  schedule_lines  and    schedule_linesx  table.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
      EXPORTING
        salesdocument     = p_vbeln
        order_header_in   = s_order_header_in
        order_header_inx  = s_order_header_inx
        behave_when_error = 'P'
      TABLES
        return            = it_return
        order_item_in     = i_order_item_in
        order_item_inx    = i_order_item_inx
        schedule_lines    = i_sched
        schedule_linesx   = i_schedx.

  • Header text not printed for scheduling agreement

    Hi All,
    I have issue with header text print out for scheduling agreement (SA).
    In SA when I am manually writing some note and then taking print out, system is giving me correct output with maual note.
    I have one standard text (ST) which I need to be printed in evry SA, so in SPRO I created new head text for vendor and in copying rule for text for SA, I created linkage of SA header text with Vendor head text.
    In vendor master, I inserted ST in newly created vendor header text.
    So now when ever I create new SA for vendor system will determin header text from vendor master.
    Now after creating SA when I check the SA, I am able to my ST in SA, but at the time of print out this ST in not printing.
    Please let me know what could be the reson.
    Regards,
    Sameer

    I dont understand about what you mean by expand.
    When you a print PO, PO text  (header or item) it will check to the configuration setting.
    The system didnt care if its adopted from vendor master or info record, or whatever you make in the copying rule.
    In your case : you create a standard text then it get copied into PO , then you set the standard text to the PO for print out, example the standard text : word is
    "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
    Then in the PO the text appear will be like below(the same, because it get copied)
    "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
    If you configure it in define text for SA, then it the print out it will also (the same)
    "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
    So what text need to expand?

  • Converting contract to sales order does not auto create schedule lines

    Hi
    When I convert quotation to sales order, then schedule lines get auto created.
    But when I convert contract to sales order, then schedule lines don't be auto created. Instead, a confirmation screen for proposal delivery date pops up for every line item in the sales order.
    Is there any suggestion how can I solve my problem ?
    Thanks..

    Hi,
    In standard SD module, system checks availability for each line item, gives you popup screen of confirmation.
    If you don't want availability or popuscreen of confirmation,then
    Go to VOV6 >>> Select schedule line which you are using in sales order for line item >>> Remove tick mark of availability check.
    Else
    Remove availability check rule from material master >>> Under tab Sales : ganral/plant
    kapil

  • Safety stock not covered by schedule lines in planning run

    Hi !
    In our organization we are trying to implement scheduling agreements and automatic creation of delivery schedule lines through MRP. We have MRP type PD and it considers the reservations created by PM orders and Production orders as requirement elements. When I do the planning run, it creates schedule lines for the PM order reservations and purchase requisition for safety stock. I need it to create schedule lines for all scenarios. Kindly help and suggest a solution.
    Regards,
    Satya

    Hi,
    Please refer the below links.
    Schedule Lines not getting created in MRP
    Re: No Scheduling line is generated when RUN MRP
    Hope it helps you.
    Thanks.

  • MRP is not generating any schedule line in my vendor's scheduling agreement

    Hello all,
    My question is: why the MRP is not generating any new line in my vendor's scheduling agreement?
    This is the scenario:
    I have created a vendor's scheduling agreement with transaction ME31L
    I have created a customer's scheduling agreement with transaction VA31 and those characteristics:
    - Forecast scheduling lines
    - JIT scheduling lines
    - MRP to DS type assigned to type C: Requirements according to forecast delivery/Deliveries according to JIT
    I have run MRP with transaction MD01
    MRP is generating some purchasing requistions, not purchase orders because we have set up a release strategy which requires 2 approvals, but those purchasing requests are not generating any new line in the vendor's scheduling agreement.
    Any idea why it could be? Please do not hesitate to ask for further explanations. Thank you

    Hi,
    Check if stock is available for the material in that plant.
    Also check the requirement date for the material and compare it with the planning horizon for that plant.
    Check your material master MRP view.
    Create source list(for material and plant in question) with MRP indicator 2.
    Thanks and Regards,
    Maheshwari

  • MRP not creating some schedule lines

    Hello Gurus,
    I hava peculiar issue for a Material.which has got dependent requirement from a header materila.
    For some reason they want to run MD03 for this partnumber "ABC" . Materila is x type. It has got Valid SA, Valid SOurcelist,Valid QA.It has rounding value of 60, MRP type PD and EX .Not plannig teimw fence RLT is zero, GR time is 1 days .
    In MD)4 below u can observe SChedule line is created except for feb 2nd, 03rd,o6, 7th.
    QUESTION-1 :In below MD04 report no schedule lines were created for Dep req of feb 2nd, 03rd,o6, 7th.
    Question 2:- even when STock is minus 6717 , the schedule line generated is for just 1400 etc
    MD04 for "ABC" in Plant
    02/01/2012     SafeSt     Safety stock               480.000-     47.000-
    10/17/2011     OI-SL     0451404013/00030          6.000              41.000-
    01/25/2012     DepReq     28299890               4.000-             45.000-
    01/31/2012     DepReq     28299889               512.000-     557.000-
    02/01/2012     ShipNt     0197672394/0550397074          540.000      17.000-
    02/01/2012     DepReq     28299889               600.000-     617.000-
    02/02/2012     ShipNt     0197676022/0550397074          900.000      283.000
    02/02/2012     DepReq     28299889               300.000-     17.000-
    02/03/2012     DepReq     28299889               3,300.000-     3,317.000-
    02/06/2012     DepReq     28299889               1,400.000-     4,717.000-
    02/07/2012     DepReq     28299889               1,400.000-     6,117.000-
    02/08/2012     SchLne     0550397074/00010          1,320.000      4,797.000-
    02/08/2012     DepReq     28299889               1,400.000-     6,197.000-
    02/09/2012     SchLne     0550397074/00010          1,380.000      4,817.000-
    02/09/2012     DepReq     28299889               1,400.000-     6,217.000-
    02/10/2012     SchLne     0550397074/00010          1,380.000      4,837.000-
    02/10/2012     DepReq     28299889               1,400.000-     6,237.000-
    02/13/2012     SchLne     0550397074/00010          1,740.000      4,497.000-
    GURUS PLEASE ADVICE
    Edited by: HKR on Feb 1, 2012 4:43 PM

    Hello
    Please check if there is any rescheduling exception messages near the fixed planning elements.
    Notes 71877 and 25388 provides more details about the rescheduling check during the MRP run.
    BR
    Caetano
    Edited by: Caetano Almeida on Feb 1, 2012 12:33 PM

  • Output type to print pending schedule lines only

    Hi,
    Is there a standard Output type to print only pending schedule lines thru ME9E, with the respective delivery date, schedule Qty, delivered Qty and pending Qty,
    Please revert.
    Thanks & Regds,
    Ritesh

    Check this link:
    output type is used for sending / printing "schedule lines" against sch agr
    Re: Email output of PO
    Edited by: Afshad Irani on Aug 30, 2010 12:26 PM

Maybe you are looking for

  • HOW TO FIX COLUMN IN BEX REPORT

    Hello Gurus, I have created BEX report in which user want 1st two column (Material and its describtion) to be fixed as if he want to check all relavent result related to Material the first 2 column should not be move it should be fixed and rest other

  • How to store two maps in Oracle

    Greeting, folks, This message is also refering to the previous topic: help: spatial indexing by QiangHan. Sorry for duplicates here. Hi, thanks Dan. It helps a lot. Actually the thing I really want to do is to figure out what capabilities oracle can

  • Et_FORM_DATA_ADD, problem in getting Line object

    Hi, This is my first time using the et_FORM_DATA_ADD event. Objective: upon Add the Quotation, check each UnitPrice in the Document line. Problem: unable to get the children (lines) object from the parent (Documents) object. The For - Next loop is al

  • How can I make Firefox not-display images?

    About 20 years ago I could configure Mosaic to not-display images. I browse with lynx usually now, but have to use something else when I need Javascript. Sometimes I want to not-display images. I can't find a setting in Firefox for this.

  • Frequently I will be asked to sign in to my Apple account, but it is using an email I don't use with Apple. How can I get this to stop?

    I use an iPod4 Touch and am using IOS 6.1.6. Frequently I will be asked to sign in to my Apple account, but it is using an email I don't use with Apple. How can I get this to stop? This is happening repeatedly throughout the day. I don't have an Appl