VF01 Invoice posting / Idoc output type / Paretner Profile missing

Hi,
I need a functionality to create ABAP code to send email, but I do not know in which place it would be the best to put it.
While posting an invoice VF01 t-code, output type idoc is defined and normally is generated. Altghough sometimes partner profile is missing (it is customer number) and then idoc is not generated.
I use standard program RSNAST and edi_processing form for idoc generation.
1) is edi_processing form executed when partner profile is missing?
2) where would it be the best to put abap code to send email?
Thank you

Hi,
I have seen the stded program RSNASTED and the routine EDI_Processing.
1) Yes Edi_Processing is executing when if the parnter profile is missing
2) I think there Perform in the rotuine EDI_PROCESSING
   " PERFORM READ_PARTNER_PROFILE USING HELP_RETURNC." after this  excuting this perform , check for the return value and if EQ ZERO thn proceed further or Else send a mail .
Thankz
Aditya

Similar Messages

  • SD IDoc (output type RD04) requires posting on 2 separate ERP system

    Dear Experts,
    I am migrating current SAP system  (v4.0B) to ECC6.0.
    This is done by phases.
    Currently, there are SD transaction on Intercompany customer posted through output type RD04 (EDI).
    When ECC6 go live, the transaction above would be created on ECC6 and requires posting to Intercompany accounts still on 4.0 system. Please advice on how:
    1.  the EDI posting be routed from ECC6 to 4.0 system.
    2. the successful posting message be captured from 4.0 system to ECC6.
    TQVM

    Dear Experts,
    I'd appreciate your input on my inquiry.
    Tqvm

  • SD invoice posted with document type RV ,

    Hi all,
    I try to do incoming payment for SD invoice posted with document type - RV. when i used to do incoming payment by transc code: f-28. An ABAP dun error occurs, stating termination " message type-X".
    Is it possible to do incoming payment for SD invoice from FI. Urgent help needed.
    Regards
    Raj

    Hi,
    Once an Invoice is created in SD, An Accounting document is generated with document type RV. RV Doc. Type shows that the customer is liable to pay the amount.
    While you post the document through f-28, the document type shuld be changed to customer payment.
    It may be one of the reason. So select the docment type customr payment  but not RV and try
    Regards

  • IDoc output type not getting configured in IDoc-File scenario

    Hello
    I am having IDoc to file scenario where I want to post Delivery Document to legacy system. For this I have configured following EDI configuration for Delivery through NACE transaction
    1] Created output type
    2] Created partner function as EDI LS for this output type
    3] Configured RSNASTED as Processing Routines for output type
    4] Included this output type in the Header output procedure
    5] Configured XI system as the partner in partner profile with appropriate Message control
    Still when I attempt to include this output type in the Delivery it gives me "Output for partner could not be configured". The detail message says "In Customizing, the 'CannotBeChanged' indicator has been set for output type".
    I checked in SPRO but could not find such flag.
    Does anyone had came across such output type configuration.
    Thanks in advance.
    I know this question might be not appropriate in XI forum as it comes under EDI but it has become necessary for XI profs -:)
    Regards
    Rajeev

    Hi,
    Please check the following
    1. Condition Table
    SPRO > Material Management> Purchasing -> Message -> Output Control->Condition Tables->Define Condition Table for Purchase Order
    Select:
    Purchasing Doc. Type,
    Purch. Organization,
    Vendor
    2. Access Sequences
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Access Sequences->Define Condition Table for Purchase Order
    3. Message Type
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Types->Define Message Type for Purchase Order
    Copy NEU to ZNEU or YNEU
    4. Message Determination Schemas
    4.1. Message Determination Schemas
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Schema->Define Message Schema for Purchase Order-> Maintain Message Determination Schema
    4.2. Assign Schema to Purchase Order
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Schema->Define Message Schema for Purchase Order-> Assign Schema to Purchase Order
    5. Partner Roles per Message Type
    SPRO -> Material Management-> Purchasing -> Message -> Output Control-> Partner Roles per Message Type ->Define Partner Role for Purchase Order
    6. Condition Record
    Navigation Path: SAP Menu-> Logistics -> Material Management -> Purchasing-> Master data->Messages-> Purchase Order-> MN04-> Create
    Now you create PO (ME21N) and save it. Go to ME22N and print the PO by giving output type ZNEU or YNEU.
    G.Ganesh Kumar

  • Invoice Verification IDoc Output

    Hi,
    When a parked invoice is posted via MIR4, we require an IDoc to be created. When the FM IDOC_OUTPUT_IDOC is called, it fails due to the payment terms being blank. At the time of posting the invocie the payment is populated. SAP is clearing out this field.
    Does anyone have experience of this type of output.
    Thanks
    Martin

    Suresh,
    I have mine set up in message schema MR0004 (ERS Procedure (MRRL)) and I do not have anything in the requirement field.   
    To state the obvious, output type set up is not retroactive.   So any settlements done prior to your set up will not be affected.
    Regards,
    Sandra

  • Propose Custom Idoc, output type issue

    Dear Experts,
    I want to populate a custom idoc(Idoc already existing) by proposing the output type in the purchase order for which I created a output type and made an entry in Application 'EF' (NACE),
    Also created a process code thru we41 and assigned both of these in the outbound parameters of the partner profile.
    But for some reason I'm getting an error while propsing and saving the purchase order, Is there a way that I can identify why the error occurred.
    Or can some one shed some light if I need to do any extra configuration if I'm playing with a custom Idoc.
    Thanks for all
    -Amit

    >
    Vinod Kumar wrote:
    > Have you done the partner profile configuration in WE20.  Have you mentioned message control? What is the exact error which is appearing while saving PO?
    >
    > Regards
    > Vinod
    Vinod,
       I did all the partner profile configurationand maintanied message control too, While saving I'm not getting any error, but after saving, if I go back to the output type and see the output is in Red coulor (Indicating failure), I'm not sure how to check where the error occured.
    Thanks
    -Amit.

  • Idoc Output type

    Hi,
    I am using output types to trigger Idocs whenever a sales order is created or changed using EDI as output type. ORDERS05 Idoc type is triggered whenever a sales order is created/changed. But along with that outbound Idoc type, an Inbound Idoc is also getting created of type ORDERS05 which is not desired. Any Ideas why is it so?
    Thanks

    ..

  • 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.

  • VL01N delivery saves triggers Proforma Invoices through delievry output typ

    HI Gurus,
    Iam facing one issue related to work flow, senerios is sales order- once delievry saves, it triggers one output type ZGF8, and it triggers Proforma invoice type ZGF8.
    In delievry output type ZGF8, we have output program Z_EVT_LIKP_OUTPUT, and Form Rouitne CREATE_EVENT.
    Now user want to differnt delivery type and differnt proforma invoice type same as above.
    My question is how the system is triggers ZGF8 proforma billing type automatically, where in the system have the setting.
    Please guide
    Thanks
    Ramki

    Hi Ram Ki,
    I think your problem is more toward the setting of the output determination. You can consult with your functional consultant who normally set this up.
    For your reference, you can go to transaction NACE, where you can see:
    1. Procedure that is active
    2. Output type belongs to the procedure
    3. Access Control which fields used for comparison
    4. Condition record which values used for comparison, to determine whether the output type is to be triggered.
    Regards,
    Lim...

  • MB1B transfer posting Idoc/Message type for outbound and inbound

    Hello All
    Can anyone tell me the idoc/message type for movement type 313 outbound and 315 inbound to SAP. This is for MB1B Enter Transfer Positing.
    Thanks
    Ricky

    Its WMMBXY

  • Output type selection is missing for report  S_ALR_87013558

    Hi,
    In report S_ALR_87013558 output type selection is not seen in production. whereas it was there before, and its there in quality. Please help how should i bring it back.
    Points are awarded in full for correct answer.
    Thanks

    Hi Krishna
    Just check whether you the authorization to display the report in Production. You might have the authorisation if the development and quality, but some times not in Production.
    Regards
    Sridhar

  • Getting FLBP to run after posting IDOC of type FINSTA01

    Hi experts:
    We are getting an EDI 820 feed from Chase of customer payments. That feed is taken by PI an an IDOC for each payment is created of type FINSTA01. After it processes we need the automatic matching program FLBP to run immediately after the status 53 of the IDOC to clear open invoices.
    1) Is there a segment field I can populate in FINSTA01 to make this happen automatically - I didn' see one.
    2) Is there a user exit where I can set a parameter to force the FLBP to take place at the end? If so, what user exit and what do I need to set?
    3) If not, is there a user exit that occurs after the successful processing (status 53) of the IDOC, where I could call that transaction? I can't find one.
    I really don't want to create a custom IDOC for this to tack that code on the end of the process. My fallback solution is to create a job to run FLBP but I can't tie it to the successful completion of a FINSTA01 IDOC.
    Any ideas would be much appreciated.
    Thanks,
    Scott

    no answer

  • Error in invoice output type.

    Hi All,
    When we are trying to send invoice using ZXXX output type and external send as medium i.e transmission medium is 5  using VF02. This invoice is not going out and output type is in red/error status with no process log.
    Could you please help.
    Thanks,
    N M Poojari.

    Well, that's poor programming as you've already figured out.  The output program should be calling NAST_PROTOCOL_UPDATE and adding a message to the processing log so you can determine what's wrong without guessing or debugging.  What you need to do now is debug the output program and find the point where it sets the return code (the parameter in the output subroutine call) to a non-zero value and determine the condition that that triggered the error.

  • Urgent!!! - output type

    What do u mean by.....
    The invoice program for output type ZD06(YVRxxxxx) ....

    Hi
    To take the Output of the application document you need a Output type, Driver program and Script form/smartform and these three are to be assigned in the NACE transaction and configure the output type with Medium and partner in the Document.
    For application docs like order, delivery and Invoice and pur order these are must
    so here in your case for Invoice it is Output type and driver program you have mentioned.
    see the doc
    Output Determiantion :
    You can use output control to automate either messages or subsequent processing of partner-specific messages"
    This means, it provides a method for you to perform subsequent processing once a document is saved in the system. This subsequent processing is normally to print the document, but can also include activities such as:
    - Faxing the document
    - Emailing the document
    - Sending an idoc of the document
    - Sending an EDI message for the document (via an Idoc)
    - and so on.
    In general, it uses the condition technique to determine what, if any, output is to be produced. The condition technique works by selecting key fields from the document (document type, plant, etc.) and matching them to master data records you have previously set up. If there is a match, then output is produced.
    You can use transaction NACE for the output determination settings for all applications.
    1. When you start transaction NACE, a list of all represented applications appears.
    2. From this initial screen, you can access all the individual processing screens for output determination from the EDIT menu.
    3. Select the relevant application. This transaction does not have a menu path in customizing.
    Refer the following links.
    http://help.sap.com/saphelp_crm40/helpdata/en/b3/58bf39f7568648e10000000a11402f/content.htm
    http://help.sap.com/saphelp_erp2004/helpdata/en/c8/19878343b111d1896f0000e8322d00/frameset.htm
    http://help.sap.com/saphelp_erp2004/helpdata/en/c0/4e4746497d11d385ee0000e81ddea0/content.htm
    NACE is the Tcode used to link the Application type, Output Types and its processing Routines like ( Driver programs and attached Script forms or Smartforms).
    You should know the Application of a document first Like:
    for PO it is EF, for sales Doc's it is V1, for Delivery docs it is V2, for billing Doc's it is V3 etc.
    so first select the Application type (ex: EF) for PO and press OUtput types
    then a list will come in that you should know the related output type for PO.
    in this case it is NEU,
    select that and click on the processing Routines button on the left side
    it will display the Medium, Driver Program and the Script form or smartform related to that document..
    Reward points for useful Answers
    Regards
    Anji

  • Relation between message type and output type in ALE

    Hi
    I have a meeage type with me. I want to find the processing routine for the idoc. Procesing routine is acessed from  NACE - application -output type ( as far as i know ). Now how do i know the output type for the message type. Are the output type and message type related ?
    thanks
    sankar

    Hi,
    U can see the output type for message type here WE20 ->outbound parameters -> message control
    For invoice if mesage type is INVOIC and its output type is RD00 or ESYM or MAIL.
    output type is four character code which describes characteristics of output itself
    Regards

Maybe you are looking for

  • Currency format combined with if else issue

    Hi all, Basically, I need to get the value from if else statement, then use currency format to format the currency according to their currency code. the following is my if else statement to show the A.PAY_PROMISE_AMT or A.PROMISE_AMT <?xdofx:if A.PAY

  • How do I add to my message the request for a recipient to notify me that he has received the e-mail?

    Thank you very much for your help.

  • How to implement a keyListener in JSF/JSP

    Hello, I�m using JSC and want to implement a keyListener in my application. I want to press ENTER and a method in my java class should be called (regardless of the component, which has the focus). Is this possible (normally, a component must have the

  • Spry Vertical Bar and IE

    This is probably an easy one... My URL is http://www.plpimports.com When the page is opened in FF, the layout of the menu is exactly the way I want it: each item in the menu is on its own line, expanding to fill the entire width of the sidebar and al

  • AME Audio problem

    I have tried to use Adobe Media Encoder CS4 to convert an FLV file to MP4 but the resulting video has no audio. Does any one have an idea what I am doing wrong? MacBook Pro 10.5.7 - 2.64Ghz Intel Core 2 Duo