Output control

Hi ,
  i developed the SAPscript for PO and created the output type by assigning the access sequence. Now the problem when creating or changed the PO  if the net amount is more than 5000 then it has to print and if it is less than 5000 then sapscript need to print.
1. can i assign the same print program(standrd) and SAPscript in one output type with different media
2. where to shift the output media based on the total item value LS or GT 5000. Is it possible to switch the output media.
Regards,
Challa

Hi,
Since the NETWR field is not available in the EKKO table..you have to get the value from the memory..
Example code to get the net value
FIELD-SYMBOLS <fs_komp> TYPE KOMP.
data: lv_field(50).
  lv_field = '(SAPLMEPO)KOMP'.
  ASSIGN (lv_field) TO <fs_komp>.
  if sy-subrc ne 0.
    lv_field = '(SAPMM06E)KOMP'.
    ASSIGN (lv_field) TO <fs_komp>.
    IF SY-SUBRC <> 0.
      EXIT.
    ENDIF.
  endif.
Check the net value
  IF <FS_KOMP>-NETWR > '5000'.
    SY-SUBRC = 0.
  ELSE.
    SY-SUBRC = 4.
  ENDIF.
Hope this helps..
Thanks,
Naren

Similar Messages

  • My Bluetooth USB wireless transmitter for my portable speakers has quit working.  Preferences says, "The selected device has no output controls", it used to work just fine.  Can anybody help?

    My Bluetooth USB wireless transmitter for my portable BT speakers has quit working.  Preferences says, "The selected device has no output controls", it used to work just fine.  The internal and a pair of wired external speakers work fine.  Can anybody help?

    Just tested something and it worked.
    If I put the headphones all the way in, the mac recognizes it as a digital output.
    But if i don't put it all the way in, it recognizes it as headphones and works perfectly.
    It's probably this crappy headphones.
    If anyone has the same problem, try this out.

  • VOFM formula on output control based on  item category(PSTYV)

    Hi Gurus,
    I created an Output Control requirement in VOFM.
    In the requirement ABAP codes, may I know how can I access the list of item lines category (looking for vbap-pstyv in particular) while I am creating the sales order in VA01, because the sales order is not saved yet, so I cannot get from table VBAP ?
    Any way to find the variables available ?
    Thanks in advance.
    Best Regards,
    Vasumathi
    Edited by: komma vasumathi on Jun 22, 2009 3:26 PM

    Hi there,
    When the sales order is created, all data is stored in the internal tables 1st in USEREXIT_SAVE_DOCUMENT_PREPARE, MV45AV0V_VBAP-PSTYV_VALUES
    in MV45AFZZ.
    So you can refer the fields from there. Item catg is stored in XVBAP table.
    But 1 doubt. Why do you want to trigger the O/p before the order is saved? Usually any O/p is triggered after saving the doc.
    Once the document is saved, data is stored in data base tables & you can refer from them.
    Regards,
    Sivanand

  • Purchase Order Output Control

    Hi,
    I am trying to create an ORDERS05 IDoc when a PO is created and sent to a folder via EDI processing.
    Here are the steps I followed...
    1. Created RFC Destination for EDI Subsystem (TCP/IP connection)
    2. Created File port and included the RFC Destination in the Outbound trigger tab.
    3. Created partner profile (Vendor)
             a. Outbound parameters - message type ORDERS,
                      i. Outbound Options - receiver port - file port created in step 2
                                                    basic type - ORDERS05
                      ii. Message Control - Application - EF
                                                     Message Type - NEU
                                                     Process Code - ME10
    4. Create PO (ME21)
    when I look under Menu Header -> Messages it goes to a printer instead of the File Port I created.
    Am I missing a step? Please let me know.
    Thanks,
    Sneha

    Thanks Kalpanashri,
    I followed what you said and this is what I received...
    <i>Maintain outgoing EDI-connection data for partner 1002514
    Message no. VN032
    Diagnosis
    The system could not locate the EDI partner agreements (outbound) for partner 1002514.
    System response
    You cannot use transmission medium 'EDI' with this partner.
    Procedure
    Maintain the EDI partner agreements for partner 1002514. Make sure to create entries for output control as well as for outbound parameters.</i>

  • Output control and message types

    Hi guys,
    my problem is this:I have created a new message type for output control for Purchase Order but when I create a new PO and click on 'messages'  I expect that the new message type appear as a DEFAULT for example other messages like NEU,etc....
    Customizing is OK--> I have parametrized the tr.NACE in all points and also Message Determination Schemas...What can I do?Is there a way to set message types as a DEFAULT for Output control  in Purchase Order?
    Thanks in advance,10 points for a resolutive answer...
    Bye
    Maximilian

    HI
    I assume that you have created a new message type by cpoying a standard.
    Basic:
    You need to maintain access sequence, form routine, forms.. for this output types (which should not be a problem if you are copying from std.)
    Important:
    You also need to maintain the Fine- tuned control for message type, for  the new output type.
    You need to add your new output type in the output determination schema.
    then the thing should work. try!
    MRao.

  • Output Control Routine for Order Confirmation

    Hi,
    I have a problem in sending out order confirmation when the customer have a credit block, no order confirmation is being sent.
    Checked on transaction NACE, the routine for Order Confirmation (Routine 2), returns a sy-subrc =4
    when  the credit block is set. What is the best way to correct this?
    Thanks,
    Catherine

    Create the new routine in VOFM->Requirement->Output Control. Make the required changes in routine source text and assign it to output procedure (NACE).
    Thank You,
    Ganesh

  • Standard script and code for output control ticket in IW32

    Hi,
    I am working on a output control ticket which gets printed using transaction IW32.
    I have to create Z driver program and z form and attach it to shop paper.
    I just wanted to make sure that RIPRCT00 and PM_COMMON are the standard program and form for this output control ticket.
    Because even though if I keep a break point in the program RIPRCT00 to see the data its fetching, when I do the print preview after going in IW32 I don't go inside the standard program RIPRCT00.
    So I am wondering if RIPRCT00 and PM_COMMON are the standard prohgram and form attcahed with output control ticket ?

    You must enter something in the form.  The reason for this is because in the program when it is going to execute the print of the papers, it is call the subroutine(form) of the print program.  It gets these values from your configuration in SPRO.  It is doing something like this.
    perform print_paper in program zriprct00.
    Of course, "print_paper"  and "zriprct00" are variables retrieved from the configuration.
    So, in summary,  In SPRO,  configure the output type to use the PRINT_PAPER form of program "ZRIPRCT00" and the sapscript form ZPM_COMMON. 
    If you are developing a completely new "Z" print program, you must have an entry point in which the program is executed.  You will have to have a subroutine(form) very simular to PRINT_PAPER,  or you can just copy and paste that code into your new program. 
    Make sense?
    Regards,
    Rich Heilman

  • Message Determination & Output Control

    Hi all,
    What Message Determination & Output Control?
    Why we use them , also what are the configuration steps in same?
    Please guide me alon with transaction codes involved in it?
    Thanks in Advance.
    Komal

    Hi Komal,
    The message determination Process is the process in which you select how you want your output.
    You go to T code "NACE" and can see which Application area is activated for which type. Eg. for PO gernally it is NEU. So you can select from here that which procedure and further which sap script or smart form as well as print driver or program is attached to that and can do amendements if desired.
    Also you can maintain what are the out put detrmination method attached to that like print, email, EDI , fax etc.
    Cheers!!
    Biren Agnihotri

  • Output Control - Message for Orders

    Hi all,
    i have in my system a message ZDWO ( Distribution ALE-Partner function CO-Sending immediatly-Condition ORDER TYPE) for sales orders. It works for all kind of orders except for one that hasn't automatic sending (but this type is in the list of conditions).
    What can be the reason for this? depending on the partner? or on the type of sales order? or else?
    Any ideas?
    Thanks in advance.

    Hi,
    You need to maintain condition records (transaction NACR) for application V1 (Sales). Once you added the missing order type condition, the system will propose the output control in VA02 for the corresponding sales order(s).
    Regards,
    Ferry Lianto

  • Output control and outbound parameters

    Can you please help me locate the output control and outbound parameters...
    thank you in advance...

    Hi Pabito,
                  I am assuming that you need to send an outgoing EDI - Mail or fax to a specific partner. This process is possbile if you could set up the output control for sales  documents.
    spro->sales & distribution -> BF -> Output control-> output determination -> maintain output determination for sales documents -> Assign output types to partner function.
    Make sure that an output determination procedure is assigned to the sales dco type.
    Also Maintain condition records for the output type and the transmission medium(EDI) using the trx NACE.
    I hope this is what you are looking for, i also have a faint notion that you might be lookin how to setup an edi connection with the partner.!!!
    If my notion is right do ping back to know more abt that,If you find this piece of information do take some time to award points to mee
    - Girish

  • Output control list BBP_PPF

    Hiya.
    Can please somebody explain when our Buyers click on the the Output Control Purchase Order transaction in enterprise portal, they do not see the modern web style version but are seeing the traditionil dynpro version that is the SAP R3 stye?
    warmest regards, Pooja.

    Keren,
    sorry I misunderstood your requirement.
    The ways of controlling user screens is one of 3.
    1. Screen Variants - you say you have already tried this
    2. Use a BADI to hide fields or control user defined fields, if one is available?
    3. Modify the template - extreme solution that will create future issues during upgrade but sometimes is the only way.
    As I am a functional person you would need to contact your ABAP/technical support for the details.
    Hope this helps
    Allen.

  • Function to send fax the attachment of the pur. order when i output control

    Hi friends,
    when i output control purchase order -
    user want to send also the attachment documents when i click on output push button.
    is anyone know how can i do that?
    wich function can send the attachmant to fax?(it could be image, document,excel...etc).
    thanks in advanced,
    Michal.

    Hi,
    Which FAX server software do you use?
    PO output with attachment is standard function in SRM.
    SRM -> PO with attachment via SMTP -> FAX server (attachment conversion) -> FAX protocol -> Vendor
    Regards,
    Masa

  • BBP_PPF - Output Control Purchase Order

    Dear Experts,
    We use SRM Server 5.50
    Is anyone knows how can we control the UI of transaction 'Output Control Purchase Order' (BBP_PPF)?
    Thanks & Regards,
    Keren

    Keren,
    sorry I misunderstood your requirement.
    The ways of controlling user screens is one of 3.
    1. Screen Variants - you say you have already tried this
    2. Use a BADI to hide fields or control user defined fields, if one is available?
    3. Modify the template - extreme solution that will create future issues during upgrade but sometimes is the only way.
    As I am a functional person you would need to contact your ABAP/technical support for the details.
    Hope this helps
    Allen.

  • PO Output control

    Hello,
    I am trying to define a requirement such that a new output for a PO is through medium EDI, and any repeat (or change) output are assigned medium Fax as default.
    Request you to help me resolve it.
    Thanks
    Rajeev

    Hi,
    Please take a look at the following links,they contain the details requested related to  PO Output control.
    http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b7c9f43d711d1893e0000e8323c4f/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/69/e5cb365f6511d2b458006094b9476a/content.htm
    <b>Reward if helpful.</b>
    How to reward?
    Click on the star icon next to the response for which you wish to reward points. A popup window will appear. Use the radio buttons to mark a response "Solved My Problem," "Very Helpful," or "Helpful."

  • Restrict IDOC processing through output control

    Hi,
    We want to send one idoc (ORDERS) only to a particular logical system while creating purchase order through output control
    Can anybody explain how we can restrict sending idoc to only one logical system?
    Thanks in advance

    You can control output processing for shipments(VT01n docs) based on overall status by maintaining Activity profiles for shipment types.
    SPRO: Logistics execution->Transportation->Shipments->Define and assign activity profiles.
    Type a variant name in the status field you want to process edi for the shipment type and click on maintain.
    Select shipment checkbox in the 'Print after save' box and enter the EDI output type.
    Regards
    Sridhar

  • Can't get computer to show volume input/output controls, Can't get computer to show volume input/output controls

    Can't get computer to show volume input/output controls, Can't get computer to show volume input/output controls

    How, what, why, where, when!
    This is the Logic Pro forum.
    We're going to need more information if this is in regards to using Logic Pro.
    Computer model & year, audio interface, Logic Pro version..etc..etc

Maybe you are looking for

  • Ordering by third person of  copy of an order of an ibook ? is it possible?

    Dear aal of you, dear Aple support, could you let me know if with the nr of an order (comes in the package of the book) would it be possible to order a copy (paid by the one who ordered, without the creator knowing of it ?) thanks for your answer kin

  • Delete EO customization

    Hi, I have done the EO substitution. But facing some issue on that page. So I want to delete the customization done on the standard EO. I tried jdr_utils.deletedocument . Is it the right step to delete customized EO? or is there any other step requir

  • LSMW  Field Mapping: can't map Batch Input Structure for Session Data

    In step 5 Maintain Field Mapping and Conversion Rules, I can not see Batch Input Structure for Session Data Fields. Can somebody tell what's wrong? Here's what I see: Field Mapping and Rule         BGR00                          Batch Input Structure

  • Lenovo U410 SDD Fails

    Hi, I have a Lenovo U410 laptop with windows 8.1. First the boot of my system was really slow (taking like 15 mins)! So I checked the forum and deinstalled expresscache and now it works faster. So I thought I'll setup Intel Rapid Start Technology, fo

  • Why can't I download adobe photoshop elements 10

    I bought Adobe Photoshop Elements 10 and can't seem to figure out how to install it.  I'm new to Apple.  With a PC it automatically downloads and walks you through installation.