IDOC Number based on the output type

Hi,
I have a special requirement where in I need to find the IDOC number generated from the output type .
I have the NAST details and the Invoice number and need to find the IDOC generated for the particular NAST entry.
Is there any table or FM which gives this information in SAP.
Please let me know.
Regards
Praneeth

All,
Solved myself.
Used FM WFMC_PROTOCOL_GET to get the IDOC number based on the NAST value.
Regards
Praneeth

Similar Messages

  • Need Billing doc. number based on header Output type and also billing docum

    Hi
    I have header Output type and also billing document type.
    will you please help me to get the billing document no. based on above combination, any SAP table, i was aware about the same. but i forgot the table name.
    Thanks
    Vanraj

    Hi,
    Check the Table NAST for the Billing documents associated with the OUTPUT type.
    regards,
    santosh

  • User exit -BADI for overriding Partner number in Purchase order output type

    Hello All,
    We have a requirement wherein the EDI message type will distribute the Idoc to the partner number determined in the output type of the purchase order. We are maintaining the condition record for a generic partner number in MN04 and we want this partner number with partner role SH from the condition record to be modified to the sales order sold to party partner number. We are using third party processing and hence sales order number can be fetched from account assignment (EKKN) table of the purchase order. Kindly do let me know the user exit /BADI that can be used for achieving this functionality.
    Thanks in advance for your immediate response.
    With regards,
    Joseph Anand B

    Hi,
    check with below link,
    fo this one you will find both user exit and badis
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/find%252bapplication%252bclass%252bwith%252bexits%252band%252bbadis%252bfor%252ba%252btransaction
    Regards,
    Madhu

  • Assigning the output  type to the shipment number

    hello,
    can any one tell me how to assign the output type to the shipment number.
    Ex: ALTR to all my shipment numbers. By default, its taking other output types.
    Thanks in advance.

    Hello!
    Please check which output-types for shipment have been maintained in transaction code VV7x (Output-Condition Records).
    Menu path: Logistics -> Sales and Distribution -> Master Data -> Output -> Shipment
      - VV71 - Create
      - VV72 - Change
      - VV73 - Display
    Or go to customizing (TCode: SPRO) to verify how they have been maintained:
    Menu path: IMG -> Logistics Execution -> Transportation -> Basic Transportation Functions -> Output Control -> Maintain Output Determination for Shipments
    Regards.

  • No processing log generated from the output type for the IDOC

    Dear experts,
    the output type which is triggered with a transmission medium Special Function has not generated any IDOC.
    The question is what is the role of a Special function and EDI transmission.
    In some cases the system has generated an IDOC and some cases not. The output is pickedup automatically, but
    does not always trigger an IDOC, Thats is the issue I am facing.
    Therefore in cases where there was no IDOC created there is no processing log generated.
    KIndly help.

    The status is green, and when I try to show the IDOC it  doesnt show and no processing log.
    The same output is processed for a delivery and it creates a IDOC but sometimes it doesnt.

  • IDOC number related to the delivery

    Hi All,
    I have issue regarding finding out IDOC related to a delivery.
    When the output is processed for a delivery, idoc gets created. Now this idoc number gets stored in the EDIDC table. In delivery one can get the related idoc number by checking the processing logs for the output type.
    Is there any specific FM which can give me the idoc number of the latest processed output type for that delivery. I have delivery number and output type.
    Thanking in advance.
    Regards,
    Shahu

    Hi..
    I think need to add further to my question.
    I have an interface progra in which I am sending IDOC details related to the delivery.
    Now in this interface program, I have delivery no and the processed output type. Using this how can get the IDOC no. I cannot go to EDIDC to get the idoc no as it will be performance intensive or to any transaction. I need to code here to somehow get the idoc number using this delivery and output type.
    I am trying the following approach but could not implement it so far.
    In delivery is I go to header>output>check the processed output type -->processing log --> the idoc number  will be present in this log.
    I am trying to code in the interface program to read this idoc number present in processing log.
    Is there any way I can achive this.
    regards,
    Shahu
    Regards,
    Shahu

  • IDoc number based upon sales data.

    Hi Experts,
    How to get the IDoc number in case I have sales document number or any other data which is being send in IDoc, any way we can get the IDoc number?
    Also help me know the program to process the IDocs in background, I know the t.code bd87 is used to process the idocs, but how to process in background via a batch job.
    thanx
    Garima

    Hi,
    You may use t.code we09 to get the Idoc number based upon data,
    you need to provide the information like Idoc basic type, date range etc to filter the data,
    and under "Creteria for search in data records",  provide the segment name, search in field and value against you are looking for a Idoc number.
    Use following programs to process the IDocs in background:-
    RSEOUT00 u2013 Process all selected IDocs (EDI) 
    RBDAPP01 u2013 Inbound Processing of IDocs Ready for Transfer
    Some use full t.code for IDoc processing:-
    WE60 u2013 IDoc documentation 
    BD87 u2013 Inbound IDoc reprocessing 
    BD88 u2013 Outbound IDoc reprocessing 
    BDM2 u2013 IDoc Trace 
    WE19- Testing IDoc.
    regards
    Vivek.

  • What are the output type and Tcodes?+

    What are the output type and Tcodes?

    hi,
    ex-how to config output type.
    You will assign output types using Transaction NACE.
    Do the follow steps to assign output type
    1)Select Application Type V2 which will have description Shipping.
    2)Click on Output types button.
    3)Go to change mode by pressing Ctrl+F4.
    4)Select one output type which already exists
    5)Do Copy As(F6)
    6)Give your output type against Output Type field.
    7)Under General data Tab, Give Program and Form routine and Save the data.
    i think it a work of functional guy but at senior level i think it is not a big deal for abaper.
    Check the following documentation
    In NACE t-codewe have the application for each one. based on the application output type can be defined, based on output type script and print progrma can be defined.
    If suppose data can be read from EDI then we should go for condition records.
    So whenever we execute the script first composer checks the output type and then execute the program. in program whenever opn form FM will be populate then script will open first. After that again program till another FM will populate if it then script will populate........like it is cycle proces. Composer does all these things and at last it will submit that output to spool.
    Go to the Transaction NACE.
    choose the related sub module.. like billing or shipping
    doubel click on Output Types
    Choose the Output Type for which whcih you wanted your script to trigger
    Then select the Output Type and double click on Processing Routine
    Then go to create new entries--> Select the Medium (1- print output), then enter your Script and Print Program detls --> Save and come out
    Now go to the Transaction (for which you have created the output type)... Issue output--> Select the output type --> Print....
    Device Types for SAP Output Devices (Detail Information)
    Definition
    The device type indicates the type of printer to be addressed. When you define an output device, choose the name of the device type that was defined in the SAP System for your printer model, such as Post2 for a PostScript printer. In the case of frontend printing under Microsoft Windows, you can also use the generic (device-independent) device type SWIN.
    The system uses the information in the device type to convert a document from the internal SAP character representation (spool request in OTF or in text format) to a device-specific, print-ready data stream (output request). Since a device type specifies attributes that apply to all devices of a certain model, it can be shared among device definitions. For example, all devices in the SAP spool system that are compatible with Hewlett-Packard LaserJet IIID printers would use the HPLJIIID device type.
    You should not confuse the device type with the printer driver. The device type is the total of all attributes of an output device that the SAP System must know to control the output device correctly, such as control commands for font selection, page size, character set selection, and so on. These attributes also include the printer driver that SAPscript/Smart Forms (the SAP form processor) should use for this printer. The SAPscript printer driver that is to be used for devices of this type for output formatting is therefore only an attribute that the device type specifies.
    How do I choose the correct device type?
    • In most cases, the SAP System already provides the appropriate device type for the printer type for the printer model that you want to use.
    These standard device types are completely defined and need no modification or extension before you use them in device definitions.
    • You can also download missing device types from the sapserv server. For a current list of the supported device types, see SAP Note 8928 in the SAP Service Marketplace.
    • Most printers can be controlled using a generic format, such as PostScript. They can be switched to a mode that is compatible with one of the standard printers for which an SAP device type is available. In this case, a supported model is emulated.
    • Almost all printers are delivered with Microsoft Windows printer drivers. The system can control these printers with the generic (device-independent) device type SWIN. The Microsoft Windows spool system then performs the processing of the print data.
    • If the specified device types are not available, and generic device types cannot be used, you must create your own device type or edit a copy of an existing device type. We recommend that only those with specialist knowledge of the SAP Spool System and printer driver code do this. For more information, see Defining a New Device Type .
    Attributes of a Device Type
    A device type is distinguished by the attributes listed below. If you change an existing device type or create a new device type, you must change at least some of these attributes.
    • Character set: A character set specifies the codes with which characters must be represented in the print-ready output stream (output request). This code replaces the generic SAP characters set that is used internally by the SAP spool system (spool request).
    • Printer driver: You can specify different printer drivers for printing SAPscript documents and ABAP lists.
    • Print controls: Print controls represent printer operations, such as boldface or changing the font size. These print control are replaced by printer-specific commands during the creation of the output request from a spool request.
    • Formats: Formats specify the format supported by the SAP system. The system differentiates between SAPScript formats (DINA4 and LETTER) and ABAP list formats (X_65_132 = 65 rows/132 columns).
    • Page format: A page format is the interface between a format and SAPscript. It specifies the paper dimensions with which SAPScript can calculate the row and column lengths.
    • Actions: Actions are output device-specific commands that are required for the implementation of a format. The action printer initialization, for example, can contain a printer command with which the number of rows on a page is defined. There is a set of actions for every format supported by a device type.
    regards
    siva

  • Get the Serial Number based on the  Delivery

    Hi Experts,
    I want to fetch the serial number based on the delivery number  and Item.
    If I see in the LIPS table we have the field like SERNR but we dont have data in that field.
    But in the VL03n transaction Serial Number exists for the same delivery.
    Please any one Suggest me Using which table we can fetch the serial number.
    Thnx ,
    Sam

    TABLES: RSEROB.
    DATA : S_LV_IRSEROB TYPE STANDARD TABLE OF RSEROB WITH HEADER LINE.
    *       S_LV_ORSEROB TYPE STANDARD TABLE OF RSEROB WITH HEADER LINE,
    *       WA_RSEROB TYPE RSEROB.
    CLEAR : S_LV_IRSEROB , S_LV_ORSEROB , WA_RSEROB .
    *LOOP AT ITAB_LT_ITEMS INTO WA_ITEMS.
      S_LV_IRSEROB-TASER   = 'SER01'.
      S_LV_IRSEROB-LIEF_NR = WA_ITEMS-VGBEL.---delivery no.
      S_LV_IRSEROB-POSNR   = WA_ITEMS-VGPOS.--delivery item
      APPEND S_LV_IRSEROB.
      CALL FUNCTION 'GET_SERNOS_OF_DOCUMENT'
        EXPORTING
          KEY_DATA                  = S_LV_IRSEROB
    *   STATUS_PRE_READ           = ' '
    *   EQUNR_CORR                = 'X'
        TABLES
          SERNOS                    = S_LV_ORSEROB
    *   SERXX                     =
       EXCEPTIONS
         KEY_PARAMETER_ERROR       = 1
         NO_SUPPORTED_ACCESS       = 2
         NO_DATA_FOUND             = 3
         OTHERS                    = 4.
    *  IF SY-SUBRC EQ 0.
    *    Loop at S_LV_ORSEROB INTO WA_RSEROB.
    *      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
    *  EXPORTING
    *    INPUT         =  WA_RSEROB-SERNR
    * IMPORTING
    *   OUTPUT        = WA_RSEROB-SERNR        .
    *      WA_ITEMS-SERIAL_NO = WA_RSEROB-SERNR(18).
    *      MODIFY ITAB_LT_ITEMS FROM WA_ITEMS.
    *    ENDLOOP.
    *  ENDIF.
    *ENDLOOP.

  • Update LIKP table while saving the output type in VT02N transaction

    Hi All,
    I have a requirement where i have to update Delivery Priority(LPRIO) field in LIKP table while saving the output type in VT02N transaction. I am not able to use the BAPI "BAPI_OUTB_DELIVERY_CHANGE" or FM "WS_DELIVERY_UPDATE" because, when we save the output type the programs that are configured in NACE are triggered in update mode and hence i will get a roll back error.
    Let me know other ways of updating the table at the time of saving output type for shipment transaction VT02N.

    This could be a result of one of the following reasons:
    1: Incorrect smart form/routine assigned in the output configuration (NACE)
    2: Serial number range of the delivery expired
    3: The default settings of the user (SU01) processing the delivery is missing the default printer name.
    Hope this is helpful
    Manish

  • Assigned the output type with AR also,It is printing in ENGLISH Only.

    Hi,
    I have written a Z Smartforms and Z print program.
    I have used ZRV56TD00(Copied from standard program RV56TD00),Inside it I have submitted the program(Z print Program) for the shipment number for the transaction code VT03N.
    It is now printing the form in english well and good.
    Now I want the same to work for the ARABIC.
    I had done the arabic translation in SE63 and If I run the program It is printing only in English.
    When the assigned the output type with AR also,It is printing in ENGLISH Only.
    Suitable answers will be rewarded.
    Regards
    Manohar S
    Edited by: Manoj on Jun 17, 2008 4:13 PM
    Edited by: Manoj on Jun 17, 2008 4:14 PM
    Edited by: Manoj on Jun 17, 2008 4:15 PM

    Hi Manoj,
    Goto transaction NACE and check wether you have mentioned the language in Mail title and texts for the particular message type.
    let me know if you require in more detail.
    Regards,
    Sharath

  • Trigger the  output  type

    Hello ,
    I  forgot  to  create  a  condition  record  for  output  type  for  sales orders........
    Is  there  any  program  that  I  can  retrigger  the  Output  type  now  for  existing  orders?
    Thanks and  best  regards
    L

    Hi,
    Yes,you can process this output again by using the program "RSNAST0D".
    Goto the T.Code "SE38".
    Enter the program name as "RSNAST0D".
    Enter the Application as "V1(If it is Sales)".
    Enter the object Key as "00 followed by your Sales Order Number"(total should be 10 digits).
    Enter the output type.
    Select your appropriate Transaction medium.
    Selection type as "2(Repeat processing)".
    Execute.
    For Billing,you can use the same program or the T.Code "VF31".
    Regards,
    Krishna.

  • Find the SAP Script name for the Output type RD00 and Appli V3

    Hi Gurus,
    My requirement was to copy the Std SAP Script for the output type RD00 and application name V3 and to do some modification.
    Please any one suggest me how to find the Std SAP script based on the above Output type and Appl ?
    Regards
    paul

    Hi,
    The script Name is LB_BIL_INVOICE
    You can find byNACE>V3>Output Types>RD00-->Processing Routines
    In thje output type Press Change button and select New entries.
    Regards
    Sandipan
    Edited by: Sandipan Ghosh on Mar 31, 2008 12:06 PM

  • User exist for controlling the OutPut type in sales order

    Hi
    Is their any exist which controls the output type based on header data of the order? VA01/02.
    Best regards
    Satish Kumar K

    Hi,
    IN the VOFM routine you can use the structure KOMKBV1 which will be populated with the sales org (VKORG), division (SPART) and order type (AUART).
    Example
    SY-SUBRC = 4.
    IF KOMKBV1-VKORG = '0001' AND
        KOMKBV1-SPART = '12' AND
        KOMKBV1-AUART = 'ZXXX'.
    SET THE return code to 0 to propose the output type.
      SY-SUBRC = 0.
    ENDIF.
    Hope this helps..
    Thanks,
    Naren

  • What is the medium of the emil in the output type?

    what is the medium of the emil in the output type?
    pleae send asap

    Hi
    For sending emails, you have to select either 5 or 7
    5 is for sending emails through internet based emailing/sending emails thorugh the network
    7 is for sending emails through SBWP in SAP itself, In this case, the emails will be send to the user ids in SAP, and the users can see their emails in SBWP tcode.
    For 5,
    you also have to maintain your SMTP settings in tcode SCOT. Your basis guy will help you in this.
    Hope this helps you
    You can reward if this helps you

Maybe you are looking for