Sap sript - order confirmation

Hi Experts,
Can anybody tell me how to get link between standard text based on sales area(combination of sales org/ Distribution center/ Division)
There is a requirement where standard text is stored in some variable and the print program/form will need to pick up the appropriate standard text based on the sales area of the sales order.
Thanks,
Suman

Thanks for the suggestion or guidance.
The standard text will be stored as Name = ORDCONF_TEXT_(sales org)_(distributionchannel)_(division)
Text ID = ZSD
Examples: ORDCONF_TEXT_4000_01_01 ,
ORDCONF_TEXT_4000_01_80 , ORDCONF_TEXT_1000_01_01
The print program /form will need to pick up the
appropriate standard text based on the Sales Area
(combination of Sales Org / Distribution Center /
Division) of the sales order [VBAK-VKORG /
VTWEG / SPART], provided a standard text has been
created for that Sales Area. Itu2019s not required
that every sales area have a standard text, so if one
is not found, this step should be skipped and
the rest of the print program executed.
The new text should print after 2 blank lines after
the Printable Notes text (which is after the
line items and the Total Net Price prints).
The font should be the same size as the Printable
Notes, but bolded rather than italicized
The text should print in the same columns as the
Printable Notes currently print in (Material
Description / Scheduled Ship Date / Quantity)
So the logic i have used is this below code:
I used a subroutine in the layout of the main window becoz i need to print it in the main window below after 2 blank lines of line items.
Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of code
But still its not getting printed .Plz tell me where i am going wrong.
Edited by: Rob Burbank on Nov 10, 2009 9:50 AM

Similar Messages

  • Mail text in order confirmation output

    Hi, SD gurus:
    In our SAP system, order confirmation output is currently sent to customer via email with PDF attachement, works perfectly.  Email has proper title (order number), order confirmation PDF attachment, but without any content in the mail body.
    User has requested to including a following text in the mail content body - "For terms and conditions, please visit our website.....".
    I did following: In IMG config -> maintain output type, under output types, folder "maintain title and text", i maintained the above text.  However when the order confirmation is sent, it still only has the mail subject, and PDF attachment, the text that i maintained is not appeariing in the mail content body.
    Please advise whether i missed anything?
    Many thanks,
    Hailan.

    Hi, Sai:
    Thanks for your reply.  I will try this function module.  But before that, is there a way to achieve this through standard config?  I thought there is a way to do it in config.  Would you know whether what i did was wrong? 
    i went to IMG -> xxxxxx -> maintain output type -> go to the order confirmation output type, and then double click "mail title and tex",  then click green arrow back, and has the screen to maintain the language, text and document title, i add text "fof terms and conditions, please visit xxx" in the text field.  I though this text field is where the mail body text comes from.    Is there anything i did wrong?
    Many thanks again!
    Hailan.

  • Status in Service Order Confirmation-relevant items

    Hi SDNs,
    When I create a confirmation follow-up from a service order / repair order/ etc, an set it to completed, relevant items in order keep in released status. Shouldn't they get completed too?
    thanks
    Pablo

    Hi Pablo,
    As of now standard SAP Service Order Confirmation status completion will not change the status of the preceding Service Order. But the customers can call and implement this scenario using the BadI : ORDER_SAVE which gets called after every Save. I feel that customers can hook their business specific logic here and thus can control the Status Management. Status of Service Confirmation is very important as it triggers the subsequent processes like Billing and Delivery.
    Do you have such scenario where you need to change the preceding document? It would be great if you can share it in the forum.
    Hope this helps.
    Thanks,
    Samantak.
    Service Confirmation - Status
    http://help.sap.com/saphelp_crm70/helpdata/en/0a/4d88ef587649f4a9d16bf34c487fe6/frameset.htm

  • Update Process Order Confirmations Back to SAP ECC

    Hi,
    Is there a document or step by step guide which explains how i can update  SAP EARP with process order confirmations from my shopfloor?  Below is the scenario i am looking for help in
    1. There is a SQL server table where the SHOP floor update the quantity manufactured against a Process order.
    2. I need to pick up that data from the SQL server table and update the ERP against that Process order.
    Can any one explain how this can be achieved.
    I checked the sample's and the templates in SDN but none of them actually show how to update any ERP?
    Please advice!!.
    Regards
    Suraj

    Check this one
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60ac6bb8-a684-2b10-208d-b90883004a5e
    https://www.sdn.sap.com/irj/scn/downloads?rid=/library/uuid/204a13d0-399d-2b10-ec84-9c254cd7efd4
    You use this component to enable the shop floor operators to record their production order and process order confirmations using a touch screen user interface. In SAP ERP Central Component (SAP ECC) operators must complete many steps to confirm orders. Instead, you can use this interface, on a touch screen to enter the production performance easily and effectively. You can also use this component to obtain operators' work lists and information on their current activities.
    Regards
    Ram Upadhyay

  • Smartforms SAP-delivered form template for SD Sales Order Confirmation

    All,
    I am trying to find the SAP-delivered form template for SD Sales Order Confirmation. I looked in OSS Note 430621 and I can not see it there.
    This is the sales order likeness of what LB_BIL_INVOICE is for invoice.
    Thanks in advance, Saint Paul Pete

    Hi Balaji,
    This is your old friend damo(annamali university)!. Saw your question!. I will send you the answer.
    [email protected]
    Regards,
    Damo

  • Email Sales Order Confirmation to "Created By" -

    Hi Experts
    I have a requirement where we need to email the Order confirmation output to the person who has created the sales order.
    So lets say i am creating a sales order and my user id is 9999. (SY-UNAME).
    Now as we have implemented HR module and our PERNR and user name are same.
    So in other words my PERNR will also be 9999 and email is maintained in HR record and well as user record.
    How can i achieve this functionality and Email order confirmation printout to "Created By".
    We dont want to send order confirmation to SP or SH but just created by.
    Thanks in advance.

    HI Shiva,
    I did exactly as you said but it send the email to the email ID maintained in Ship-to-party customer.
    I think "Recipient" field is just used for cover page (Incase you are printing cover page), i dont think SAP uses it for sending the form output.
    I think SAP sends output based on the partner function, so if i specify SH, SAP will send it to SH.
    I tried using "Created By" partner type too and all email setting are maintained for the creator and printer is properly setup but it doesn't allow me to use this partner function.
    I tried using both "$1" and "§§" but both of them doesn't work.
    I have also tried using Employee responsible partner type "ER" but even that doesn't work.
    Will appreciate if you can provide a solution for this.
    Thanks in advance.

  • Credit Block and Order Confirmation

    I have a requirement where the client would like to send out some sort of an 'Order Acknowledgement' as soon as the order is saved if the order goes on Credit Hold. The system is set up to generate an order confirmation when there are no credit credit blocks. Standard SAP would not generate a BA00 output on save since the sales order is incomplete. Once the credit hold is removed and the order is saved the system will automatically generate that output (since the order will be complete) but till such time as the credit hold is not removed how can I generate an output to be sent to the customer just to indicate that their order has been received?
    Suggestions would be greatly appreciated.
    Thanks in advance.

    Hi
    Create a new Output Type (Copy of BA00) and assign the same in your Output Procedure in NACE Transaction. For this new Output Type do not maintain any requirement or maintain a new requirement (can be created in VOFM) as per your logic and assign the same for your new Output Type. You may also check the Requiremnt 9 and 11 if that is of your any use.
    Regards
    Amitesh Anand

  • Report  showing list of order confirmations and open/close reservations?

    Hi
    Can we have any standard report having list of  order confirmations and open/close reservations in SAP PM ?
    Regards
    Pooja

    Hi Pooja,
    Try IW12, Display Document flow, if you are looking for a combined report of Order confirmations and Material status.There are various other reports related to order confirmations and Material status seperately. For material status you can use IWBK.
    Better place to post PM questions is in Enterprise Asset management Forum.
    Warm regards,
    Srinivas Potluri

  • Credit block not allowing delivery dates on the order confirmations

    Hello,
    We are a full module SAP shop on ECC 6.0.
    For one of our businesses, we have credit checking to take place at the time of Sales Order entry.  This is causing an issue for the business because they are using Demand planning and need to have the Delivery Dates on the Order confirmations and they also want to be able to run an ATP check on the Sales Order.  The credit check on sales order entry, prevents them from doing both of these things.
    Does anybody know if there is a way to get the dates to show up on the order confirmations when a sales order is on credit block?   Also, is it possible to run the order through ATP checking with this sales order credit block taking place?
    thanks for your help!

    Dear,
    Ideally this question should have been posted in ERP SD forum.Please check out your credit check settings in OVAK and OVA8. Hopefully it help you.

  • Outbound Order Confirmation - Output control for incomplete sales orders

    Hi EDI Folks,
    I have a simple question. I want to send EDI 855 for only the completed sales orders.
    Whenever inbound sales order is processed and if the order is incomplete. I don't want to send the order confirmation for the order at that point of time. When that order is made complete, then only i want to send the order confirmation (EDI 855).
    How can we do it??
    What is the output determination requirement for this??
    Right now i am using requirement '02' which proposes EDI output for both complete and incomplete sales orders.
    Please respond to the above quesition.
    Thanks and waiting for your reply,
    Creasy Matt

    MxG,
    For both plant and pricing condition functional config was already done. If any of these two fields are missing, the status of sales order will be incomplete.For incomplete orders also, the EDI output is being proposed.
    Now just tell me, in which SAP program, do i have to put the break point?
    Where exactly ??
    Thanks and kind regards,
    Creasy Matt

  • COGI error generated while collective order confirmation

    hi ALL, this is the real  task for all PP GURUS.
    the issue is related with collective order confirmation.
    client is using customised program ZPP_CONF to confirm the collective order which is based on the sap spro program CORUPROC.this include automatic goods receipt,backflush & actual cost update .as user use zpp_conf for confirmation all this actions happened in backgruond.
    now after using ZPP_CONF . the confirmation is not happening .instead of that it is going in COGI where they are getting a error massage which is as follows
    "You have no authorization for this transaction with movement type 101u201D
    this error continues for 10-15 minutes after doing refresh it goes. & confirmation happens.
    this is not happening for all orders but for 8 out of 10.
    users have proper authorisations.
    they have enough stocks in st. locn.
    they are loosing lot of time becuse of this.
    HOW CAN I RECTIFY THIS ERROR GURUS?
    when i search i found this is written in the CORUPROC documentation
    Incl. incorrect goods movement: Not only preselected but also incorrect goods movements that are usually processed with transaction COGI are  selected and processed. 
    VENKADESH

    Hi,
    The Program CORUPROC only can adjust the Errors in Goods movements. It can not handle the Table Locks..
    The Program CORUAFWP, can taek care of table locks also, apart from the Errors in Goods Movements.
    Refer below thread for similar type of problem..
    COGI errors
    Hope this helps..
    Regards,
    Siva

  • Reg:Bapi for mass creation of production order/confirmation

    Dear Experts,
    I wanted to know with the following BAPI is it possible to create Multiple production orders for different semifinshed Materials along with material availability check and other functions similar to CO01 transaction.
    I knew there are standard transactions for mass confirmation for production orders. But i need a confirmation on this BAPI . As i am planning to go-ahed with ,mass creation of production order creation / Order confirmation in single custom transaction.Need back flush activity even supported.
    BAPI_PRODORD_CREATE to create the orders.
    BAPI_PRODORD_RELEASE to release the orders.
    BAPI_PRODORDCONF_GET_TT_PROP to get the default data for the confirmation.
    BAPI_PRODORDCONF_CREATE_TT to ost the confirmation of production order.
    Along with this BAPI do i need to commit any other BAPI to carry out back flush for components.
    Need your suggestions to take it further.
    Regards,
    Daya.

    Dear SAP Daya
    If the issue has been solved, please close this thread.
    You have already mentioned that the issue has been resolved, thefore, you should not ask for help on another thread before closing this one, as it looks like you are trying to force people to answer your threads.
    Users are always trying to answer as many threads as possible on good will we don't need this kind of "incentive".
    Please read carefully the The SCN Rules of Engagement, especially point 8:
    Be responsive. If an SCN member has answered your question, please mark the answer as "helpful” or “correct”. Mark the discussion as “answered,” so that other members can find the answers more easily
    Also, I checked your old threads and I could observe that there is only one closed. Please review your old threads and close those already solved.
    BR
    Caetano

  • PPPI PI sheet to trigger HUM goods receipt and PI order confirmation

    Hi gurus,
    We're running into a problem when setting up our PI sheets.
    We're using Handling Unit Management for our finished products and would like to use the PI sheet to post both the goods receipt of handling units and the order confirmation. For now let's assume all activities and ingredients are backflushed.
    For the HUM section we've created a function module that combines transactions COWBPACK and COWBHUWE. When called by itself it works like a dream.
    For the order confirnation we've successfully used standard SAP message category PI13, but also only when called by itself.
    The problem is when we combine them:
    When combining the Z function module to contain both COCI_CONFIRM_ORDER (from the PI13 message) and our ZHUM function modules, it appears that the COCI_CONFIRM_ORDER blocks the process order so the COWBHUWE part of our function module cannot be executed. This has something to do with the way SAP handles the "commit" in the function module.
    Now, I noticed it's possible to include more than one message category in customizing for the PI sheet category (when configuring through the wizard).  The idea is then to process the messages with a background job, filtering through the message category so we do the HUM part immediately and the confirmation only at the end of the shift so they don't block each other.
    However, when I do this still only one message category is created after processing the PI sheet.
    Do you know how to create messages with multiple message categories from the same PI sheet? Or if that's not the way, is there a better way to set up this process?
    Sorry for the long text, just wanted to be precise.  Any help is, as usual, greatly appreciated.
    Kind regards,
    Elt

    Hi
    1. What is quantity of the waste material you get as by product? Do not you wan it to be handled as scrap? What is the %age of scrap you have defined in the BOM for the material? You wll have some data regarding this. Or else how do you arrive at decission that after subcontract processes the waste you are paying him, Is it umpsum basis or material quantity basis. The best way is to have a Subcontract PO, but for that even though you do not weigh the watse quanity you must be having so historical data for the waste quantity generated and the conversion of the sane to other SFG , definitely you can arrive that on a pro_rata basis. Have a Code for the waste mateial. Release Subcontract PO for SFG which is what you get back, and issue the components( waste) to subcontractor.
    Please remember your PO intially will be for Provisional quantity if you are unable to reach a fixed quantity. Amend the PO before GR as per the actual quanity for which you wish to pay the vendor.
    For the waste quanity stock updation you use 262(w/o refe to Prd order) after the FG is confirmed.
    Material price updation happens cirrectly in this process.
    2. You can pay the vendor as you wish by by this process but what about the price updation for the ordered material SFG. When you can receive by product in separate Txn againt FG then why can not you follow the proces no. 1?
    3. I would not liketo suggest 3 rd option as that becomes much comlicated for a simple operation.
    Best Regards

  • Link between Service Order / Confirmation in CRM and Purchase Order in ECC

    Hi all,
    Does anyone knows what the possible link is between a Service Order / Service Order Confirmation in CRM and a Purchase Order in ECC ? I heard that this could be found somewhere in the document flow of a Service Order ....
    How do we get the Purchase Order number from ECC in the Document flow section of an Service Order in CRM ?
    We need the PO number somehow to be able to create a Goods Received document in ECC from CRM.
    BR,
    Abjuh

    Hello Abjuh,
    As of CRM 4.0 (with Service Industry extensions), you can automatically create ECC Purchase Orders from a CRM service order.
    It is possible to track the status of the individual service order items with the document flow.
    Please refer to the SAP Help for more information.
    http://help.sap.com/saphelp_crm70/helpdata/EN/46/8bae7e9e886160e10000000a1553f7/frameset.htm
    Kind regards,
    Kristoff.

  • How to tigger SISCSO01 Idoc for sales order confirmation

    Hello Experts,
    I have a requirement where in I need to send the sales order confirmation as an IDoc. I need to use SISCSO01 IDoc type for that.
    Can any please tell me how to configure SAP to trigger this IDoc when ever a sales order is confirmed.
    In which T-Code is this sales order confirmation is done? and how to trigger the IDoc?
    Thanks,
    Suma

    Hi Suma,
    We need to maintan BD64 and WE20 with the Idoc SISCSO01 type. This is will automatically trigger the Idoc when we create a sales order.
    You need to matain NACE for tiggering the IDoc. For that use BA00 in output types and configure program RSNASTED, from rotine as ALE_PROCESSING. In default values give transmission medium as ALE and parter function as SP.
    Then come back to NACE-Condtion records and maintain meduim as A and date as 4.
    Please reward if helpfull.
    Thanks,
    Srikanth

Maybe you are looking for

  • Inspector will not open.

    The inspector window will no longer open, either by clicking the icon or selecting "Show Inspector" from the view menu. I recently upgraded to Snow Leopard, but I can't be sure when this behavior started. Today I updated my iWork '09 to the latest av

  • How can I see all the Transaction Code that the client is using?

    How can I see all the List of Transaction Code that the client is using?

  • Exadata - Storage Cells

    We had two flash disks go offline on a storage server! We restarted the storage cell on Friday. The physical disks never came back online. They are still showing as syncing or offline. ASM has dropped the disks. 2 Of the DB's are not even coming up.

  • "The Application Compressor quit unexpectedly"

    I have recently upgraded from G5 to Mac Pro 2x2.66GHz Dual-Core Intel Xeon, 2GB ram, OSX 10.4.9. I tried to export my timeline from FCP 5.0.4 to Compressor and I get "The Application Compressor quit unexpectedly". Every single time I try i will get t

  • Keywording Keyboard Shortcut for Collapsing Hierarchy???

    All, Is there a Keyboard shortcut that will allow me to collapse any/all expanded section in the Keyword List without having to go to each open branch and closing individualy? If anyone knows of a resource / list of shortcut specifically for keywordi