Help with output type

Hi Gurus,
I have a requirement to create a print program to trigger the messages which are in waiting status when fulfill some conditions.
requirememt as follows:
Heading: Invoice data (ICB for purchased goods) via IDOC
1. Within Replenishment process the invoice is send by IDOC.
There are two cases:
a.process the Idoc immediately, if the Inco terms are ex works
b.create the Idoc, but donu2019t process it immediately
When the inbound shipping notification is in the system and the fields u201Ddateu201D (LIKP-PODAT) and u201Ctimeu201D (LIKP-POTIM) has been filled, the invoice  Idoc ( step 2 ) can be posted.
2. The message output is set on dispatch time 3 ( send with application own transaction )
3. New message type is needed for these kind of invoice
4. A new print program check all messages which are still waiting for process and check, if the Inco term is maintained in table Y11L1_34_MM_BART with X in field PROC_IM or the fields in table LIKP-PODAT and LIKP-POTIM are filled (means goods are in the warehouse). When one of these checks are fulfilled, process the Idoc.
I dont understand,, I didnot work on the output types..
As per my understadin there are output types when they run some transtion in yellow and they are triggered immediately,
now they want to collect all the output types(messages) anmd trigger them when fulfilled the two conditions above.
I see in NACE , the application V3 and a z output type,
my question is:
can you provide me a sample program if you have come across , Ithinkn a print program neeed to be developed and assing in the NACE transaction.
Please let me know the procedure for doing this.
thanks & regards,
Nazeer

Hi,
Have a reference to the standard program "RSNAST00" which is used for triggering the output types.
Regards
Vinod

Similar Messages

  • Need help with output type EDI for ERS

    All,
    I want to be able to run and ERS settlement and have the invoices created sent via EDI/XML to the supplier.   I have several questions on the set up.
    1)  I have output type ERS6 which is defined as ERS EDI.  I assume because it does not start with Z* this is SAP standard, so I shouldn't have to modify any of this.
    2)  I've added my supplier to this output type. 
    3)  I assume I need to create a partner profile for this supplier?  If so can someone tell me the message type to use?
    Is there any set up I'm missing in this process?   I've executed ERS but do not get an idoc and I'm fairly certain it's because I haven't done the partner profile set-up.
    Thanks for your help.
    Sandra

    Hi,
    You don't have to modify thise setup unless you have any customized requirement.
    You are missing partner profile setup.Carry out the setup and run MRRL tcode to create the idocs
    Enter the following values using tcode WE20.
    Field                                       Value
    Message type                         GSVERF
    Partner type                             LI (vendor)
    Partner function                        LF (vendor)
    Port                                         SUBSYSTEM ( Port to your middleware)
    Output mode                            such as Collect IDocs
    Basic type                                GSVERF01
    Application                                 MR
    Output type                                ERS6 or the type you have defined
    Regards,
    Karuna

  • List of script and smart forms(except TNAPR) with output type or print prog

    How to find out List of SAP SCRIPT and SMART FORMS (except TNAPR)with output type or print program..I like to chk in output type WMTA  whch form should use.kindly help on this

    Hi
    WMTA is special msg and doesn't create any print: so you can't find a sapscript or smartform to link to it.
    WMTA is a message for delivery, so you can find it by NACE trx or TNAPR table (It's the same): infact here it can find only all messages of logistic modules (SD & MM).
    The routine ENTRY of RLAUTA20 is called by WMTA and creates a Transfer Order (for WM, Warehouse Management, module), so if you need to create a print for that msg you need to change prg RLAUTA20,
    Max

  • Printing issue in smartform with output type

    Hi ,
    I am facing issue while I am taking print from zebra printer.
    I am trying to take a print from MB90 but its not coming but its giving status 'processed' and same from the spool, in spool its showing status complete but not giving any printout.
    if I m attaching  my smartform with another output type which already working for another label(smartform), then its giving print.
    So, what I want to know..
    Its can be a problem with output type config or from basis side.
    Please help.
    Thanks,
    Sandeep

    well i have seen setting are correct but having one issue it doesnt trigger automatically I do it manually from MB90 and rest of the things are correct becaoz i have seen while debug its going correct form from driver program, when i am runniing from MB90 manually .
    Thanks,
    Sandeep

  • Need Help with data type conversion

    Hello People,
    I am new to java, i need some help with data type conversion:
    I have variable(string) storing IP Address
    IPAddr="10.10.103.10"
    I have to call a library function which passes IP Address and does something and returns me a value.
    The problem I have is that external function call in this library excepts IP Address in form of a byte array.
    Here is the syntax for the function I am calling through my program
    int createDevice (byte[] ipAddress).
    now my problem is I don't know how to convert the string  IPAddr variable into a byte[] ipAddress to pass it through method.

    Class InetAddress has a method
    byte[]      getAddress() You can create an instance using the static method getByName() providing the IP address string as argument.

  • KE30 decimal not display in quantity column with output type object list

    Hi everyone,
         I already set number format "0.000" in change form screen but when I execute report with output type object list (ALV) that report don't display decimal in quantities column e.g. 0.470 displayed to 0 .
        How can I set number format in output type object list on Transaction code KE30?
    Thanks in advance.
    Pipit

    Hi,
    Better to raise this issue in CO Forum. You can expect some solution.
    regards

  • How to send invoice through email with output type RD00?

    What are the configuration settings to send invoices through email with output type RD00?

    Hi,
    Please go through the following links:
    [E-mail|Email Configuration Settings]
    [e-mail|Re: EMAIL BILLING DOCUMENT TO CUSTOMER THROUGH SEND MAIL OPTION IN VF02]
    After triggering the output,goto T.Code SOST and process it.
    So that e-mail will be triggered immediately.
    You can use External send/EDI/simple mail for this.
    Regards,
    Krishna.

  • PO print issue with output type

    hello,
    i have maintained a output type for a purchase organisation in MN04, VN partner keep blank , medium 1 for print out and in date time : 4
    output device is 'LOCL'  "print immediately" and "release after output" are active in communication.
    a message type generated when i created a PO, but it is a red light, and processing log is "Error in OPEN_FORM for document xxx".
    how to resolve this problem?
    best regards,
    Edited by: colin hong on Nov 11, 2010 5:25 AM

    Hi,
       With the help of ABAP'r, please check the Custom Scriptform...
    Also chk "http://help.sap.com/saphelp_nw70/helpdata/en/d6/0dba1a494511d182b70000e829fbfe/content.htm"
    1. Re: difference between open_form & Start_form (urgent)
    Regards
    GK.

  • Problem with Output type NEU in PO

    hI all,
    I would like to have the possibility to send the PO document via mail.
    Therefor I changed the smartform and the program as I did it for some other. I tested it and it works.
    To do so, I've created a new output type ZNEU by copying the NEU output type.
    I've created a new schema including my ZNEU output type in place of the standard NEU.
    I inculded the schema I've created for output type ZNEU.
    I did all the customizing in the NACE transaction, I've created the condition record for ZNEU in the transaction MN05 on the level 'document type', and also set  the communication strategy.
    But there is somethin missing, because by creating a PO, the system doesn't set the ZNEU message type in the PO automatically. Looking the protocol, it says that a valid output condition has been found but it is still not set in the PO.
    Any idea ? I looking for this problem for hours...
    thank you

    It is a possibility that 'smartform' has formatting error and although it is going to the print program as guided by condition records..
    But not assigning the output type with PO document
    Can you please do two things:
    1. Put a break-point in print program and see if control goes there or not
    2. Test the output after adding it in manually in PO
    Thanks.

  • Error with Output Type NEU - External Send

    Hello Gurus,
    I try to send Purchase Order by email, and I got this error message;
    Access                    Message               Description
    20                    540               Output not found
    Access                    (complete)     
    Field in condition table                                               Field in document                          Value in doc.
    Purchasing Doc. Type                                                Purchasing Doc. Type                           ZNB
    Please, I really appreciate any help.
    Regards,
    Hector

    Hi ,
    Check if you miss any settings in the following steps,
    Go to NACE
    - Select EF and click on OUTPUT TYPES.
    - Then select Output Type NEU and click on processing routines
    - In that you have to add a new entry - medium 5
    - Then you need to assign a program, form routine and form.
    - You can use the standard program i.e. SAPFM06P, FORM routine is always ENTRY_NEU and standard MEDRUCK.
    - Then in PARTNER FUNCTION you need to add a new entry: medium - 5 and function - VN
    - For subject of the mail go to Mail Title and Texts. In title give PO No. &EKKO-EBELN &
    - Under General data -> Replacement of text symbols give program as SAPMM06E and Form Routine as
    TEXT_SYMBOL_REPLACE
    - Now the subject will be PO No. xxxxxxxxx.
    - You need to maintain your email id in tcode SU01 and also the vendor's email id. - Now while creating a new purchase order change the medium to External Send
    - Then go to Communication Method and select CS01 ALSO make sure that the Cover Page Text has value PO No. &EKKO-EBELN&
    - Go to tcode ME9F
    - Execute.
    - Select the checkbox and click on Output Message.
    - You will get a message MAII XXXXXXXXXXX generated
    SAP NOTE FOR EMAILING PO :SAP note 191470
    Regards,
    Prabu

  • Associating process code with output type ?

    How to associate a process code with an output type ?

    How to associate a process code with an output type ?

  • Problem with output type--urgent

    Hi experts,
      My requirement is i need to post a vendor lkiability. For that we create a output type 'ZALV'. We also created a report program . In nace we attached the program and output type with medium '8'. we call the same subroutine Entry which available in standard program (CMSR_OUTPUT_ENTRY whcich is attched to medium 8 and o/p type:CMSF). Up to this one my output type works fine and processed successfully.In that Entry some function modules called.
    When i added my own code in report program it gives a error
    saying that '   POSTING_ILLEGAL_STATEMENT".
       Statement "CALL SCREEN" is not allowed in this form.
    There is probably an error in the program
    "SAPLTAX1".
    This program is triggered in the update task. There,
    following ABAP/4 statements are not allowed:
    -  CALL SCREEN
    -  CALL DIALOG
    -  CALL TRANSACTION
    -  SUBMIT
    In my code i am not used these statements also.
    The error in code is:PERFORM skftabn_ergaenzen.
    xbset-first = 1.
    xkzinc = space.
    IF bkpf-xmwst = 'X'.
      ok-code = 'CALC'.
      IF bkpf-xsnet = space.
        xkzinc = 'X'.
      ENDIF.
    ELSE.
      ok-code = 'PRUF'.
    ENDIF.
    IF i_xsimu NE 'S'.
      xnodia = 'X'.
    ELSE.
      xnodia  = space.
      ok-code = 'SHOW'.
    ENDIF.
    Bild dunkel prozessieren -
           evtl. veraenderte Steuern merken
    IF xusvr = 'X'.
      PERFORM ustaxes_detail USING i_bkpf.
    ELSE.
      IF sy-tcode(1) = 'M'
      or bkpf-tcode(1) = 'M'.
      OR bkpf-tcode(1) = 'M' OR NOT dynpro_501 IS INITIAL.
        CALL SCREEN 301.
      ELSE.
        CALL SCREEN 300.
      ENDIF.
    ENDIF.
    ok-code = space.
    Please give me a solution --- It is very urgent.
    Regards
    Pratap.M

    Hi ,
    Use this one . These are standarrd includes you need to include.
    INCLUDE riprid01.            " General DATA and TABLE struct.
    INCLUDE riprif01.               " General PRINT routines
    PERFORM print_paper.
    Main Form which is called.
    FORM print_paper.
    Import Data ---Copied From SAP Program
      PERFORM data_import. * This you have to copy from standard SAP program
    *&-- Populate internal table for header part of form.
      PERFORM data_population.
    Your scrpit printing logic will be done in this.
    *&--Script printing.
      PERFORM main_print.               " Print the PAPER now
    Do reward.
    Thanks,
    Madhura

  • Script Form print issue with output type

    hello,
    i have maintained a output type for a purchase organisation in MN04, VN partner keep blank , medium 1 for print out and in date time : 4
    output device is 'LOCL' "print immediately" and "release after output" are active in communication.
    a message type generated when i created a PO, but it is a red light, and processing log is "Error in OPEN_FORM for document xxx".
    after checked, custom script from caused this issue, but how to resolve this problem?
    best regards,

    Hello,
    The error ME142 can have different causes like missing authorizations
    or a terminated connection. Please see SAP notes 397691 and 532251. This note
    states that is errors occur when purchasing documents are output, If
    errors occur when purchasing documents are output, the system generates
    an error message in the message log of the message overview. However,
    error message ME142 'Error in OPEN_FORM for document &' contains only
    the information that an error occurred and not the error cause. With the
    attached source code, the error cause is also displayed in the error
    message.
    Regards,
    David

  • Help in output type

    Hiee gurus,,
    I have created a billing output type in nace i.e. ZDSS,
    I have also assigned that output type for a billing document in VF02 but the output type is not getting triggered.
    Please help me regarding this issue.. what could be the reason behind that and please suggest a solution.
    I am new into abap.
    Thanx

    Keep a break point at below line of code in the program RSNAST00 and check which output type  is triggering
    perform (tnapr-ronam) in program (tnapr-pgnam) using returncode
                                                              us_screen
                                                              if found.

  • Subquery results need help with output

    Requirements:
    There is request to dump every day’s data from one table into text file.
    Tables:INSPECTION_RESULTS
    NJAS
    Primary Key: RES_SYS_NO
    Parent table: INSPECTION_RESULTS
    Child table: NJAS
    Purpose:
    1. obtain output results for the MIN and MAX RES_SYS_NO from INSPECTION_RESULTS table for yesterday’s date.
    2. Create comma delimited file for following columns using above table data output.
    Script thus far:
    SELECT NJA_RES_SYS_NO||','||NJA_TEST_REC_NO||','||NJA_LIC_ST_ID||','||NJA_ETS_ID||','||NJA_SW_VER||','||NJA_TECH_ID||','||NJA_VIN||','||NJA_LIC_NO||','
    ||NJA_LIC_JUR||','||NJA_LIC_SRC||','||NJA_MODEL_YR||','||NJA_MAKE||','||NJA_MODEL||','||NJA_VHCL_TYPE||','||NJA_BODY_STYLE||','||NJA_CERT_CLASS||','||
    NJA_GVWR||','||NJA_ASM_ETW||','||NJA_ETW_SRC||','||NJA_NO_OF_CYL||','||NJA_ENG_SIZE||','||NJA_TRANS_TYPE||','||NJA_DUAL_EXH||','||NJA_FUEL_CD||','
    || NJA_VID_SYS_NO||','|| NJA_VRT_REC_NO||','|| NJA_ARMSTDS_REC_NO||','|| NJA_RSN_F_N_TESTABLE||','|| NJA_DYNO_TESTABLE||','||
    NJA_CURR_ODO_RDNG||','|| NJA_PREV_ODO_RDNG||','|| NJA_PREV_TEST_DT||','|| NJA_TEST_TYPE||','||
    NJA_TEST_START_DT||','|| NJA_TEST_END_TIME||','|| NJA_EMISS_TEST_TYPE||','|| NJA_TEST_SEQ_NO||','
    ||NJA_LOW_MILE_EXEMP||','||NJA_TIRE_DRY||','|| NJA_REL_HUMID||','|| NJA_AMB_TEMP||','||NJA_BAR_PRESS||','|| NJA_HCF||','||
    NJA_GAS_CAP_ADAP_AVL||','|| NJA_GAS_CAP_REPL||','|| NJA_OVERALL_GAS_CAP_RES
    FROM NJAS
    WHERE NJA_RES_SYS_NO IN (SELECT MIN(NJA_RES_SYS_NO) FROM INSPECTION_RESULTS WHERE NJA_RES_SYS_NO IN
    (SELECT MAX(NJA_RES_SYS_NO) FROM INSPECTION_RESULTS, (SELECT SYSDATE-1 FROM DUAL))
    It works but not sure if I am getting accurate results. Can anyone help me fine tune this subquery script? Thanks!
    Scott

    Duplicate post
    See my answer in your other posting here Re: need help with script

Maybe you are looking for

  • Can't open documents "you will need a newer version of pages..get upgrade at app store" App store says I have the current version.

    Can't open documents some as recent as yesterday. "you will need a newer version of Pages...you can upgrade from the app store" The app store indicates i have the current version, upgrade not appropriate. A relatively new problem.

  • Customer Reserves Significance in sales order.

    Hi all, in the header status table VBUK , there is a field UVK03(customer reserves 3). I need to know under what conditions or how this field is updated during sales order or delivery processing. The values for this field are "blank", "A-not yet proc

  • Re: Contact Nokia

    Hi, I have problem with my nokia 2700c. The music player is very very slow.Even my friend has same phone and has got a similar problem after updating the software. Till now no update is released. Also after update screensaver has been removed. So i r

  • Grid View has stopped working, help!!!

    The +Play Album ,Artist+ , etc... button in grid view doesn't appear anymore when I mouse over. It sometimes would appear in some of the top rows , but never throughout the whole page. So annoying , does anyone have any ideas of why this is happening

  • CC desktop app not showing installed apps ?

    Tried quitting desktop app then renaming - OPM.db to OPM.dbOLD then restarting, but still not showing majority of installed apps. Recently upgraded to Yosemite