Output type should not be triggered when error in invoice

Dear Experts,
I have this issue.
Whenever there is an error in the document, the output type should NOT be triggered.
But in my case, in spite of the error "Pricing error in item 0001"the output is getting triggered.
This is a Billing Document.VF03.
In NACE, it is linked to RSNASTED-->EDI_PROCESSING form routine.
i need your help in identifying, where should be looking for this check.
check: when error in document->do not post idoc via the output type.
where will i be able to find this check.
Please guide.
Regs,
SuryaD.

FORM KOBEV_907.
*{   INSERT         D94K915917                                        1
* Declaration for Constants
constants : lc_kschl type char4 value 'ZNTP', " Message type
            lc_h type char1 value 'H',        " CREATE TRANS. TYPE
            lc_v type char1 value 'V'.        " CHANGE TRANS. TYPE
IF komkbv3-trtyp EQ lc_h.        " CREATE
  IF komt1-kschl <> lc_kschl.
*   Check o/p type ZNTP in the newly proposed o/ps in table NNAST
    READ TABLE nnast WITH KEY kschl = lc_kschl.
    IF sy-subrc EQ 0.
      sy-subrc = 4.
      EXIT.
    ENDIF.
  ENDIF.
  sy-subrc = 4.
  CHECK : KOMKBV3-UVALL CA ' C'.
  CHECK : KOMKBV3-UVPRS CA ' C'.
  CHECK : KOMKBV3-UVALS CA ' C'.
  CHECK : KOMKBV3-RELIK EQ SPACE.
  CHECK : KOMKBV3-RFBSK EQ 'C'.
  sy-subrc = 0.
ELSEIF komkbv3-trtyp EQ lc_v.    " CHANGE
  IF komt1-kschl <> lc_kschl.
* Check o/p type ZNTP in existing o/ps in table xnast and NNAST
    READ TABLE xnast WITH KEY kschl = lc_kschl.
    IF sy-subrc EQ 0.
      sy-subrc = 4.
      EXIT.
    ENDIF.
    READ TABLE nnast WITH KEY kschl = lc_kschl.
    IF sy-subrc EQ 0.
      sy-subrc = 4.
      EXIT.
    ENDIF.
  ENDIF.
    sy-subrc = 4.
    CHECK : KOMKBV3-UVALL CA ' C'.
    CHECK : KOMKBV3-UVPRS CA ' C'.
    CHECK : KOMKBV3-UVALS CA ' C'.
    CHECK : KOMKBV3-RELIK EQ SPACE.
    CHECK : KOMKBV3-RFBSK EQ 'C'.
    sy-subrc = 0.
ENDIF.
*}   INSERT
ENDFORM.
the above code is what i see in RV61B907

Similar Messages

  • Output type is not getting triggered for ship to party in shippment output

    Hi,
    we have maintained output determination procedure for shipments. It was working fine.
    We have just added new condition table to access sequence, and maintained the condition records also for condition type ZABC. I have checked in NACE, Application V7, I am able to find the condition type. checked in VV73, condition records displayed. But in VT02N/VT03N, we are unable to get print for  the output type.
    Why this is happening? we are able to see the procedure, condition type, access sequence, condition records in place ...why condition type ZABC is not getting triggered in the shipment output.
    Please advise and let me know if you need more details....thanks in advance.
    Thanks,
    SS

    Hi Noel,
    Thanks for your time and reply.
    We have output determination procedure for shipments, condition type ZABC, Access sequence ZABC, Condition tables 550,600,650,700 already maintained. output is working fine.we have a new requirement and created new condition table 700 with the fields" Ship to party and transportation planing point "(Condition table 700 ). we assigned the condition table 700 to access sequence ZABC. Condition type  ZABC already placed in Output determination procedure.
    We test the output, new condition record is not triggering in the output, even in output determination analysis also, we are unable to see the record 700 for the condition type ZABC. we are not sure what is the reason for the condition table that  is not picking up ? Why condition type ZABC with condition record 700 not visible in output determination analysis.
    I have checked condition records, output determination procedure. Please advise and let me know you need more details.
    Thanks,
    SS

  • Output fax not getting triggered when sales order credit block is released

    Hi Experts,
    I am working on an issue.
    I have one sales Order which has credit block.
    when we release the credit block via vkm3, then the output fax gets triggered.
    I have another sales order which has credit block,
    when we release the credit blcok via vkm3 , the output fax is NOT getting triggered.
    If any of you has worked on this setting, request your input on where to find the settings/coding for the same.
    Any advice on this please.
    Regs,
    SuryaD.
    Edited by: SuryaD on Oct 21, 2010 9:34 PM

    Hi Brad,
    Thanks for your response.
    Order 1: Issues output fax(ZFAX) correctly when block is released.(i see output zfax in te output screen)
    Order 2: Fails to issue output fax(ZFAX) even when the block is released.( i dont see any output in the output screen)
    I went to Go to -Determine analysis for both orders 1 and order 2.
    in both the analysis i am able to see the output ZFAX.
    *Analysis Output*
    *Order 1                                                                    Order 2*
    1. ZFAX                                                                   1.   ZFAX
        10(Z010)                                                                 10(Z010)
           0000122426                                                              0000122427
    2.  ZFAX                                                                   2.   ZFAX
    When i click, D.Click on the output type ZFAX on both the order Analysis output screen, i see similarities.
    There in just 2 differences as below.
    In the above screen,
    1.Order 1 ==> has some value 0000122426
    2.For Order 1==> row marked 2.(in the above screen) if i D.Click on ZFAX it says
    Diagnosis
    Output ZFAX has already been issued. Multiple issue for this output type is forbidden in Customizing.
    In the above screen
    1.Order 2 ==> has some value 0000122427
    2.For Order 2==> row marked 2.(in the above screen) if i D.Click on ZFAX it says
    No more information is available.
    Please guide as to how to initiate the debug for output processing ?
    Which screen where to switch on debugger.
    where to look further?
    Regards,
    SuryaD.
    Edited by: SuryaD on Oct 22, 2010 11:41 AM

  • Output Type is not triggering

    Hi,
    We have created routine in output determination(VOFM) to trigger the output type (for IDoc) when ever Sales Order is created and we have configured correctly. Access Sequence containes KOMKBV1, KOMPBV1, etc.
    When I checked in development system, I am getting values  in KOMKBV1, KOMPBV1, etc and it is serving my purpose,
    But when i tested same in quality system,  KOMPBV1 structure is not getting values and this is not serving my purpose ( i.e output type is not triggering) .
    Could any one please suggest me why it is happening.
    Regards,
    Aditya.

    There is no problem with Access sequence
    Below are the fields for the accesss sequence.
    Sales document type  KOMKBV1     AUART
    Sales organization      KOMKBV1     VKORG
    Distribution channel     KOMKBV1     VTWEG
    Division                        KOMKBV1     SPART
    Customer group 5        KOMKBV1     KVGR5
    Plant                             KOMPBV1     WERKS
    The same is working fine in Developemnt but  not in quality.
    I went to debugging mode while creating a sales order in both systems for checking where exactly KOMPBV1 is getting cleared.
    I could find in
    SAPMV45A
    MV45AF0B_BELEG_BEARBEITEN_ENDE
    FORM BELEG_BEARBEITEN_ENDE
    Call function messaging
    When the program is going in this..... the value for KOMPBV1 is getting cleared in Quality but the same this is working fine in Development...
    Hope this coulld help you in understanding the problem better.
    Edited by: Aditya K Ghanaria on Nov 30, 2010 4:13 PM

  • Custom output type is not triggering automatically

    Hi Experts,
    We have created a custom output type for Delivery idoc processing.
    it is working fine for all ship to patrys.
    but from last 2 months onwards we are facing problem for one ship to party.
    output type is not triggering automatically but for rest of ship to party's it is triggering automatically.
    we have maintained conditions and also selected trigger immediately.
    earlier it was working fine, but from last 2 months onwards we are facing this problem.
    Thanks
    Sai

    Hi,
    Goto the Delivery document  and in the Output screen check the Determine analysis for output.
    There it will clearly show what is missing .
    Please check that and revert back if you need more clarification.
    regards,
    santosh

  • Print program is not getting triggered when saving the application

    Hi all,
    My requirement is when i save the invoice using VF01 the print program should get triggered.
    The print program is not getting triggered when saving the application even when i have configured the outtype and have attached the print program.
    The setting "send immediately (when saving application)" is also checked.
    I need to configure it for VF01 transaction.
    The error message displayed was " please maintain output device in master data".
    Regards,
    Umesh

    Hi Umesh
    Please check if you have missed any of the following:
    1. Defining Access Sequence(can use existing).
    2. Defining Output Condition Type(can use existing). - Assigning the Driver Program and Form in processing routine.
    3. Output Determination Procedure
    4. Assign Output Procedure to Billing Types
    Kind Regards
    Eswar

  • Output types are not getting displayed in Outbound Delivery in Display mode

    Hello,
    The actual requirement is that output types should get attched to the outbound delivery when we do GI(Good Issue) on the outbound delivery.
    So, I have created an outbound delivery and did GI on it through IDoc. But, I can not see output types on the delivery (To see output types, go to Extra -> Output -> Header in VL03N) in the display mode. However, I can see in change mode (VL02N).
    Could you please suggest the solution for this?

    Hi sreeram,
    go to crm -> transactions -> basic settings -> define transaction types
    copy default email cx03 and create new zemail.
    assign that zemail to bus2000126 business activity.select the business activity and click on customizing header.assign the category email. click on channel. maintain the channels 1)GUI crm webclient UI, 2)ICW Interaction center webclient.
    save the changes.
    go to crm -> transactions -> basic settings -> settings for activities -> maintain categories, goals, priorities -> click on assign categories to transaction types.
    assign the category email(which you have assigned above) to the transaction type zemail.
    even check maintain categories as well
    click on maintain categories -> check 401 email assigned to class G email.
    Regards
    Krishna

  • Output type is not appearing in ME22N

    Hi,
    I have created some POs through sales order.i.e created a sales order and taken the PR from that.
    Using ME59N, I have converted the PR to PO. The PO will have some output types attached (in the unprocesssed status).
    The Output types (in the MESSAGES) are visible in ME23N. When I look into the PO in change mode ME22N, the output  types are not appearing....  this is not the case with all the POs. Happening only for few POs.
    Could you please suggest.
    Ramana Malladi.

    Hello,
    Review your condition record values against the PO's that don't have an output type.
    Could be something like purchasing group, material group, etc.
    Regards
    Waza

  • Billing documents should not be created when it is not released to accounti

    Hi SD gurus,
    In some situation, billing documents are generated but it is not released to accounting which results in mismatch between FI value and SD value. We go to VFX3 and see the list of billing documents and take corrective action.
    Our requirement is that the billing document should not be generated when system is not releasing this billing document to accounting.
    Please suggest a solution for this.
    Regards,
    Senthil.

    Thanks giri.
    For the following reasons, the billing documents are not released to accounting.
    1. If the user wrongly chosen the billing type for the delivery.
    2. After creating condition type, it has to be assigned in COPA. If we forgot to do it, billing doc will not released.
    Our requirement is that if the billing document is not able create accounting document, the billing document itself should not be generated.
    Hope this will be suffice to understand my issue and suggest a suitable solution.
    Points will be rewarded.
    Regards,
    Kumar.

  • For some sales orders output type is not showing even thoug configured in N

    Hi ,
    I have 100 sales orders out them 10 sales orders out put type is not appearing in VA02->goto->OUTPUT->HEADER->EDIT
    In Tcode : NACE every thing is configured accordingly.
    As an abaper what can I do.

    Hi,
    1. go to transastion VA02.
    2. enter the sales order number for which you are not getting the output type
    3. go to > extras>output--> header >edit> you will get the output messages window
    4. In Application tool bar you find the ICON i (determine analysis ) or press cntr+F1.
    5. in analysis out put you will find the reason why the output type is not getting selected.

  • Output type neu not coming automaticaly my document type zcpo contract po

    Hi
    I need output type neu automaticaly for create  purchase order  document type zcpo,nb,fo, this two condition type  coming automaticaly my output type neu,
    Following configurations i have completed for nb,fo,zcpo document type in Nace t.code
    In nace EF purchase order i click condition records NEU I click my key combination purchasing output determination document type
    purchasing document type is zcpo execute i give document type zcpo,fuction vn,medium i give 5.date time 3,lang EN,then
    i click communication comm strategy cs01,output device is HP,i tick print immidiately,request status is all statuses,status by mail is
    all statuses save it.
    in spro- messages- output control-fined tune message control-i give operation 1 for new my ouput type neu.still my condition type
    zcpo in po my output type neu not coming automaticaly plz suggest
    Regards
    Sam

    Hi,
    Go to MN05 Maintain Doc. Type, Function (VN), Medium (1), Date & Time (3) indicators select the row click on communication maintain out put device tick print immediately.
    Hope this will help you.
    Regards,
    Manish Jain

  • SHIPMENT OUTPUT TYPE AUTOMATICALLY NOT DETERMINED

    DEAR SAP Gurus,
    I got one issue i.e in shipment document the output type is not determined automatically.I checked the config settings , everything is ok and condition records are already maintained. Pl resolve this ASAP . I need to close this issue in 2 days..
    Thanks in Advance...
    Regards,
    Rafiq

    hi,
    You will resolve it following this:
    o  Start Transaction VL10CUC ("Parameter per Profile in Delivery
       Process") in the change mode.
    o  Goto the detail screen of profile '2000'.
    o  Check the status of parameter 'No OutputDet.' and correct the
       setting of the parameter:
       -  If parameter 'No OutputDet.' is active, the output
          determination is not executed for the process.
       -  If parameter 'No OutputDet.' is not set, the output
          determination is executed for the process.
    Regards,
    david

  • Om,schdule_ship_date should not be updatable when we change a request_date

    Hi all ,
    can you please help to resolve this issue?
    In OM module Sales order form
    we have request_date and schdule_ship_date and they are some default rules are defined
    as sysdate for both the dates and thses should be effected once you save the form.
    our requirement is schdule_ship_date should not be updatable when we change a request_date
    for the already existing sales order(SO).
    This can be achieved through form personalization.
    Thanks & Regards
    maruthi

    Hi dgood76,
    Becoz there are so many personalizations and dff customizations are done on the form .
    If i remove the dependency is anything is effected .
    Thank & Regards
    maruthi

  • Schdule_ship_date should not be updatable when we change a request_date

    Hi all ,
    can you please help to resolve this issue?
    In OM module Sales order form
    we have request_date and schdule_ship_date and they are some default rules are defined
    as sysdate for both the dates and thses should be effected once you save the form.
    our requirement is schdule_ship_date should not be updatable when we change a request_date
    for the already existing sales order(SO).
    Thanks & Regards
    maruthi

    Duplicate.
    schdule_ship_date should not be updatable when we change a request_date

  • Query Stripping should not be used when Aggregrate Awareness enabled.

    Hi
    We are having SAP BO 4.0 and underlying database is Teradata.
    We are using Aggregrate awareness concept and we are having single Universe for our modules which is quite complex consisting of many tables.
    each report we have created seperate queries for each functionality.
    So does query stripping should be enabled/or should not be used when we have agrregrate awareness been used more widely.
    Thanks in advance.
    regards
    Gaurav.

    Hi Gaurav Mang,
    This feature is not available for RDBMS in SAP BO 4.0 but it is available in BO 4.1 for RDBMS Database.Check below links for details
    http://evtechnologies.com/query-stripping-in-sap-businessobjects-web-intelligence-4-1/
    http://scn.sap.com/community/businessobjects-web-intelligence/blog/2012/05/11/performance-tuning-of-bo-report-with-query-stripping-feature
    Regards,
    Anish

Maybe you are looking for

  • Safari Not Showing All Images

    This is a strange one! I was on http://www.foxnews.com home page yesterday and noticed a lot of ads. I then went to Safari Preferences/Extensions and discovered that AdBlock had been turned off. I then clicked on the Enable box to turn it on and all

  • Is it possible to add a caption on each photo of my album ? Thank u

    Hello, Is it possible to add a caption on each photo of my album Iphoto ? Thank you for your help.

  • [WP8.1][C#]Interacting with web pages in WinRT

    I'm writing a Windows Phone 8.1 application. How would I programmatically interact with web pages- for example, search something on Google? The main problem seems to be, I can't access the underlying HTML document of the WebView control. What I have

  • Elements 12 install

    When I try to install Photoshop elements 12 in Windows7 I get a message "encountered an error while installing Shared Technologies" and the installation rolls back. So far I have tried: 1.  Restarting my machine as suggested in a popup window during

  • APPCRASH importing issue

    My Itunes was working perfectly untill last evening. Now when I go to import a cd onto my Itunes I get this problem: Problem Event Name: APPCRASH Application Name: iTunes.exe Application Version: 10.1.0.54 Application Timestamp: 4cdba448 Fault Module