OUTPUT type status change

Hello All,
We have an OUTPUT type for Distribution ALE (for Order confirmation), we stop OUTBOUND IDOC depending on few conditions.
Problem : OUTPUT type shows RED status (fair enough),
No Log (unfair).
I need to change the status to green and generate a log
stating IDOC is generated for blah blah reasions.
Is it possible?
Thanks in advance.
Regds,
Manohar

Hi Manohar,
To get a green light on OUTBOUND IDoc's you need to set the status to 03.
You can do that as follows:
DATA: it_status TYPE bdidocstat OCCURS 0 WITH HEADER LINE.
it_status-docnum = '<your IDoc number>'.
it_status-status = '03'.
APPEND it_status.
CALL FUNCTION 'IDOC_STATUS_WRITE_TO_DATABASE'
     EXPORTING
          idoc_number     = docnum
          no_dequeue_flag = space
     TABLES
          idoc_status     = it_status
     EXCEPTIONS
          OTHERS          = 0.
Keep in mind, that you need, from time to time, run the report RBDMOIND (or transaction BD75) to check if the IDoc's were correctly handled (send). This will then set status 12 for all status 03 outbound IDoc's and will report problems.
Regards,
Rob.

Similar Messages

  • Delivery Schedule output type for change

    Hi all,
    i have created a custom output type for delivery schedule. i am using this output type to send IDoc. For create it is working fine. i have maintained condtion record as well.
    whenever the delivery date and qty is changed, change output type is triggered but it fails there. the error shows no IDoc could be generated as there are no changes releveant to that.
    i checked the configuration field relevant to printout changes, in that for table EKET-EINDT and menge i have checked the scheduling agreement. but here i could not find delivery schedule.
    Can you please help on this..
    Thanks

    Hi
    You need to confiugre output determination. Please check the below link.
    Re: Email output of PO
    output determination
    Regards
    Antony

  • How to not retriggered output type when changes are made in Purchase Order

    Hi All,
    Could you let me know how can I resolve this one?
    We have a custom output type. Now this output type should NOT be automatically retriggered if a change is made to the document/purchase order. Currently the system automatically repeating the output type for every change made to the document/purchase order. But there is still an option for the user to be able to manually repeat the output.
    TIA

    Hi,
    1.In order to restrict the output type to trigger you need to write the requirement routine in transaction
       VOFM> requirements>output control.
    2. create the requirement routine in application EF and write the required logic and pass the sy-subrc EQ 4 if you not require to trigger the output type and pass sy-subrc equal 0 to trigger the output type.
    3. assign this requirement routine to custom output type.

  • Change flag deactivaion for PO output message type during change mode

    Hello All,
    WE are using automatic message output determination functionality for PO output type. This output type has been configured for creation and change mode under Fine tuning.
    Two output type are configured, for example ZAAA is output type for ALE and output type ZBBB for  archiving.
    Here  archiving functionality is used to transfer attachment from ERP system to SUS supplier portal as a pdf file. This is done via enhancement and the attachment transfer is working fine.
    During creation mode both the output types are determined and successfully processed and as a result attachment is transferred to supplier portal which is absolutely correct. In the attachment all PO line item can be seen which works well.
    Now I change the PO and add a new PO line item, system automatically default both the output type for change mode and upon saving both the output type are successfully processed.
    Now here is the problem in change mode only the added PO line item is sent as an attachment to the supplier portal. Here the requirement is see all the PO line items including the once which were newly added.
    Solution is if we uncheck the change flag for output type ZBBB during change mode then all the PO line item can be seen under the new attachment with new version.
    Please let us know how this functionality can be acheived ... is there an user exit available.
    We have a work around where we are running a background job every 3 mins and based on the last successfully processed message for output type ZAAA we are attaching first output type ZBBBfor archiving the changes and then ZAAA for sending the changes along with attachment to Supplier portal.However this solution is a temporary one , we need a concrete solution for this.
    Please advise.
    Thanks,
    Yatin

    Hello All,
    Thanks for the reply,
    But we cannot modify the existing print program as this print program is being used in different countries also.
    We already know a solution that during change mode if we remove the change flag from output type ZBBB then all the PO line items along with the recent changes can be seen under the attachment under supplier portal.
    The question comes now, how do we automate this processu2026 Is there any standard progam or user exit available.
    Manually, if you add a message type ZBBB in ME22N tranasction for creation mode then all PO line item with recent changes get transferred but we need to automate this process for create and change PO transaction.
    Thanks,
    Yatendra

  • Repeat Purchase Order Output Type - Auto Repeat

    Hi,
    Currently, when we create the Purchase Order the output type will be automatically generated in the message tab once the  Purcahse Order is saved.  In our Purchase Order process, we have using the function Purchase Order Online Approval and Purchase Order Auto-email to vendor once the Purchase Order is approved.  
    For the Purchase Auto-email to vendor, we have modified the output type program to enable the Purchase Order auto-email function to vendor once the Purchase Order and it's working successfully and teh email is based on the output type status.
    Now we have problem when the approved Purchase Order is revised and requires the reapproval. Once the Purchase Order is reapproved there is no new output type is genereated and therefore now email is out to vendor.Need the expert advice how to configure to repeat the output type when the Purchase Order is reapproved.
    Rgds
    Zahari

    You have to ensure all the changes that are print relevant are included in the following configuration. Basically you have specify the PO fields that are print relevant, which means any change on this field will trigger a new print out message.
    Here is the configuration path
    SPRO -> Material Management -> Purchasing -> Messages -> Fields Relevant to Printouts of changes

  • IDOC output type configuration

    Dear All,
    We are integrating with another system for warehouse management and delivery note print out will be taken from third party system once delivery is created in SAP. When delivery is created, and IDOC DESDAV will be sent to third party system which carries all necessary information for delivery note.
    My question is, to trigger DESDAV IDOC  I have copied LALE output type and changed some setting. I have maintained condition record .
    The settings are : Access Sequence  : 0008, Access to condition, Send with periodically scheduled job, Tran mission medium: Distribution ALE,
    Since the process is as i am sending to third party system not to a specific partner , i have deleted the partners assigned in the standard " SP" and left the field blank in partner function.
    When i create delivery, this output put is appearing twice in Determination analysis,  and not appearing automatically. when i maintain manually, system is asking for partner(SP).
    How do i maintain the third party system as my partner. I have two questions here
    1) Output type is not appearing in Delivery
    2) should i maintain the third party system as sold to party SP or LS(logical system)
    Kindly guide me.
    Note: I have maintained the output type in IDOC - DESDAV and when IDOC triggered manually, IDOC is getting generated.
    Regards
    Fazal

    Hi Santhosh,
    I am able to trigger IDOC now and below are my setting.
    Maintain Partner function LS in output type
    Maintain partner role "LS" in WE20 which i have not maintained.
    Creation of condition record with Dispatch time - Send immediately
    Now i am able to trigger IDOC when Delivery is created. Thank you for help.

  • 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

  • Output type MLGR

    hello, friends.
    i have set up output type MLGR, medium 7 for sending via SAP mail to an internal user account, for goods receipt.
    i execute the transaction and manually include the output type during change mode MB02 for the material document.
    the system sends a message to the user account, but there are no text messages despite entering the text.  the system issues message nr VN333.
    how do i go about solving this?  or could anyone refer me to the proper thread?
    many thanks.

    hello, friend!  i figured it out. 
    for those who sent in their ideas, many thanks just the same.

  • E-Recruiting:Status change Activities on screen

    Dear Experts,
    I need to understand a few things about performing activities on candidacies(Object NE) . Please help me out in the following queries :
    We are implementing eRecruiting 603,specifically succession planning.
    I have created some custom activities (of type status change) & assigned them to some cutom created processes.
    In the BSP page, the list of candidacies NE for each NB is shown.
    The various processes (custom as well as standard) are also shown on the screen as different tabs.
    I have one Z activity Assigned to object status "intended as successor" and another assigned to status " rejected".
    1) To begin with all the NEs are shown in the ALL tab.If i perform any status change activity(intended as successor or rejected), the NE completely disppears from the screen (even from tab ALL) . Is this the standard expected behaviour ? There is a Process called "Rejection".But the Rejected NE is not shown in this tab. Is there any way i can show the NE under the Rejection tab? The same happens for status "intended as successor".
    2)Is this how all the status-change activities behave on screen? The NE is not shown on the screen but the changed status is reflected in the table 5139
    3)At the end of the process,for a NB,how can a succession planner see the NEs with status "intended as successor" if the NEs disappear from screen on performing this activity.
    Any assistance and thoughts on this will be invaluable.
    Many thanks,
    Sowmya

    Hello Sowmya,
    I think the SAP customizing mght tricked you a bit. The status of the candidacy which you set with the status changing activity has nothing to do with the tabs in the screen you are talking of.
    The Tabs result from the processes (or process steps - wording is not very clear here). Either you see all processes that are assigned to recruiting or succ planning or if you have assigned a recruiting plan to the requisition you will have tabs for each process(step) for which are activities in the recruiting plan.
    The candidacy is counted on the tab in which its most recent activity is in. So the status change activity rejected and the process rejected have nothing to do with each other directly. Only if it is the most recent activity of the candidacy and it belongs to the process reject the candidacy will be counted on the tab.
    If the candidacy disappears at all this results from the filters you set in the upper area of the screen. In the recruiting candidacy list the default filter restricts the candidacies shown to "in process" that might be the reason why the candidacies disappear after status change.
    Best Regards
    Roman Weise

  • Delivery Output Type not updated automatically in change mode

    Hello,
    I am dealing with a strange problem.
    If i open delivery to change using VL02N then, output type configured for reissue is updated properly and on save ouput type is getting successfully processed also.
    Now if i open VL03N and then using change mode button on application toolbar i go to change of delivery, then output type is not getting created. The issue was figured out when i tried to open delivery from shipment and then using change button i tried to change and save delivery....
    Expectiing solution from experts.
    Thanks
    Hari

    Hi,
    May be this behaviour is due to the application in which you are opening the delivery. When you open the delivery from shipment, check the transaction code in the screen in system status. If it is VL03N, then it is correct. But if it is VT03N, then it is expected that even in change mode, the output is not triggered.  Pls check this once.
    I tried the same thing in an invoice from where i opened a SO and then went in change mode, and the otuput is getting retriggered.
    I hope teh configuration of your output is correct. Ensure that the Multiple Issuing button is ticked on, if you want yoru output type is to be triggered everytime you go in change mode.

  • Output type processing status

    Hello All,
    i have an output type for a delivery. whenever a new delivery is created or modified, i need to collect that information and write it to the application server, and also need to change the processing status of output type from yellow to green.
    please anybody tell where to write this logic and how to change the traffic signal status....
    thx in advance,
    Sippy.

    Hi,
    In NACE you will be provided with the output types................
    write a custom driver program that makes your work...and ask support team to configure your progam to
    the Standard SAP transactions where you want your program have to execute.
    thanks,
    vinayaka

  • Change output type of Purchase Order

    Hi All,
    Is it possible to programmaticlly change(or add) the output medium in transaction me21n / me22n when a user creates a PO?
    I've been able to config the system to allow the PO to either be emailed or faxed upon the user saving. There is a requirement that when the user clicks the save button through a pop up window they can either choose fax or email, and it must then either fax the PO off, or it must email it depending on what they selected.
    Is this possible?
    Thanks!

    U can do it, provide the desired Output types are configured in NACE.
    Just look it in NACE > Output types 'EF'  and select NEU click Processing routines,see what all output types defined.
    Now Goto> tcode ME23n> choose an order> In essages>Check wether message type has the medium FAX or Email. Set the message Output type for ur desired and save,
    Click on Further data and select at the time of saving.
    For FAX  you have to make some technical customizing in transaction SCOT in order to configure Fax connexion from SAP and then set the file fomrat you want for fax.
    Remember that if you want to send Fax directly from SAP, SAP need to be connected to a Fax Card or a Fax Server .
    Edited by: Bala Krishna on Aug 13, 2008 9:42 PM

  • How to change the header text on output type in sapscript

    Dear All,
    In the sapscript, I would like to changes the header text from invoice number to sales number on the output type z001.
    Could someone can guide me?
    Thanks.

    Hi,
    Please go through following link :
    http://forums.adobe.com/thread/870081#870081
    Thanks and Regards,
    Vibhuti Gosavi | [email protected] | www.infocepts.com

  • Want to change output type for 10000 sales orders through MASS

    Hi Friends,
    I would like to change the Output type in the sales order for 10000 sales orders.
    Can I do with MASS transaction. If so, Plz let me know how ?
    Is there any other process to change the output type for 10000 sales orders, as its difficult to manually in each and every sales order.
    Its very urgent issue, Plz let me know at the earliest.
    Thanks & Regards,
    Praveen Kumar. A

    This may be little tough for 10000 sales orders.
    1. You have to remove the output record for the irrelevant output record using tcode VV12 for the relevant document type. So now for the document type, the old output wont be triggered.
    2. Now, create output records for hte correct output type in VV11 tcode(for the output type BA03) for the document type. Now this output will be triggered for all the document types you are creating from now onwards.
    3. To trigger the output type BA03, in all the old orders, you just have to open these sales orders in change mode (VA02), and just save it. When u open it the output type BA03 will be automatically triggered as the master data is maintained in VV11. But because just opening all the 10000 sales orders in VA02 one by one be a mechanical task, you have to think of some tool for this.
    May be a CATT procedure can do the trick. Else, you can just create a small program, where you can upload these sales orders and the program will just open these orders in change mode and just saves it (without making any changes). Then the output will be retriggered.
    Here again, if you are printing the output directly, it is advisable to trigger the output in batch mode(Date/Time field is 1 in VV11), and then you can again trigger the printing again using the program RSNAST00 after office hours for these 10k orders.
    I hope I answered ur query.
    Pls lemme know if you need some more info. (You can reward me too...)

  • Change language of output type in output type condition?

    Hey Team ABAP,
    subject is MM output type determination for PO.
    Standard finds his customized output type and sets communication language of supplier as output type language.
    I need to somehow change that, as we dont want to print our PO´s in supplier language but in logon language.
    I didnt found a way to customize it in a way that it determines the output type with logon language. So i thought: "well, lets do it in a condition then".
    I coded a new condition and set that condition in the OT scheme for desired OT.
    Problem is that manipulating XNAST[] at this point doesnt really make any impact. copndition runs in main program SAPLV61B which is actually the main program for messaging, so i´m at the correct nast and dirty assigns cant help me either.
    I guess my problem is cause SPRAS is actually a key field of NAST respective XNAST then.
    Besides, i cant just goto the driver program and set nast-spras = sy-langu there, as we want to make use of the language of the output type.
    What i want is: output type gets determined in logon language, but when user decides to change the language it should take effect.
    Any ideas?

    well one more addition to this:
    Setting that checkbox does what i want, but only language wise.
    Setting it also prevents you from beeing able to assign a partner to that output type which again is bad.
    So now i end up having a problem without the checkbox and as well with the checkbox.
    Just wanted to let you know... beeing on my way to modify FM messaging then.

Maybe you are looking for

  • Report for Material consumption quantity  & its cost in Repetitive MFG.

    Hello, Is there any Standard Report available in SAP to check the Quantity of raw / intermediate material consumed & their cost in Repetitive manufacturing Backflush transaction MFBF? Thanks

  • Select statement in ABAP

    Hi,    I have a table with couple of GUID fields. Primary key is the main GUID. I have another field by name temp_guid which can have the normal guid values or 00000000000000000000000000000000. I want to write a select statement as follows: My table

  • Report Painter in Background??

    How do you pass parameters or a variant to this FM (crif_rw_web_call_report)? I want to run a nightly job that executes a custom report painter report (with a selected variant or parameters) and dumps that data to a file. Edited by: Daniel Simpson on

  • My MBP keeps rebooting....!!!!

    Hi guys I hope you will be able to help me my mbp keeps rebooting every 15 minutes approximatively. here is the kernel panic message : Anonymous UUID:       BE16E9B5-F3D8-4A31-A408-6D7BB900F9AB Tue Mar 25 11:27:55 2014 panic(cpu 0 caller 0xffffff8005

  • Making a Google Base Feed

    Can anyone explain to me how to make a google base feed with numbers? I've tried creating and submitting a feed multiple times, but I keep getting an error message saying "We didn't understand your delimiter".