Posting Debit Memo (SO) through IDOC throwing V1213 error msg.

HI Guys,
             Debit Memo has been created using the idoc.
Getting the error status in IDOC - 51 - Message V1213 - Condition ZR00 is not allowed as header condition
I am using custom BAPI using SD_SALESDOCUMENT_CREATE FM inside it.
The error is thorwn by PRICING_CHECK FM.
Ironically the idoc is posting successfully when there is only one item, if its more than one.. throwing error V1213.
When I debug it, PRICING_CHECK FM is the culprit.
PRICING_CHECK FM  is called 2 times, one per item. During first call the item No. komp-kposn = 0010,
in 2nd call  komp-kposn = 0000. thats why its throwing this error in the first place.
But why the item value is 0, during 2nd call.. no idea.. !
Interestingly VBKD table stores the item 0010 and 0000 in its entries.. when I force it to posting successfully in debug mode.
Entries in VBAP are normal.
But when I create the debit memo manually with 2 items, its posting without an error. its accepting condition type ZR00.
Now I turn on the header condition in V/06 for testing purpose only. Now its posting for more than one item..
But I can't turn it on permanantly, as its not recommended by business.
but its posting coreectly in other system where header condition is turned off. !!
Thanx for Ur time..
Cheers

In SD/LE tables, posnr (item) no. 0 refers to the header.  So, in VBKD, if you have 0000 and 0010, the SO has one and only one item.  In your case, obviously, ZR00 is not intended to be a header condition and can only be applied at the item level... and the only item to which the condition can be applied is 0010.

Similar Messages

  • POST DEBIT MEMO USING VA01

    HI GUYS
    CAN ANYBODY HELP ME TO POST DEBIT MEMO USING T CODE VA01
    WHAT R THE INPUT VALUES WE NEED TO GIVE AND THE PROCESS
    THANKS IN ADVANCE
    SREENI...

    hi
    Goto VA01 enter your order type as for Debit memo request
    now enter the sold to party, material , quantity, and the rate difference amount
    save the deit memo request
    By default there will be the billing block remove it by going to VA02 and also enter the order reason
    and save it
    now goto VF01 and create the debit memo and save
    If it also involves any excise duties then goto J1IS and create the excise JV for the difference in duties
    regards

  • Firefox crashes and when attempting to launch after the crash it won't and throw and error msg that js.3250 can't be found- but same file is in Mozilla directory. I must then download new 3.6.8 and lose all tabs.

    # Question
    Firefox crashes and when attempting to launch after the crash it won't launch; throwing an error msg that " js.3250 can't be found" - but same file is in Mozilla directory.
    I must then download new 3.6.8 and lose all tabs and history.

    I have a similar problem. Recently my FF8 has been crashing a lot. It regularly locks up an entire core of my PC and often just shuts down. It has just done it a moment ago and when it started back up it did the whole "this is embarrassing" thing and asked me if I wanted to reload my tabs. I deselected the one that I was trying to view as I suspected that it may have been the cause (unlikely; it was node4.co.uk) but anyway, let's skip it just in case. Click on the button to restore and up pops my homepage only. So all of my other tabs, which I was using for work incidentally, are gone.
    This is not the first time this has happened on FF8. It happened a lot recently on FF6 I think it was (so hard to keep track now, Mozilla) and I switched to Chrome as a result, but it turns out that it crashes even more than FF6 did. FF7 was a vast improvement but FF8 is so unstable/unpredictable for me at the moment that I think I'd rather use IE9 than this. It's driving me mental, clearly! I wish I could kill the process manually and have it retry restoring tabs. Hey, there's an idea Mozilla; give us a menu item that allows us to restore the session to how it started to try again or at the very least get a list of the pages we were looking at. They don't show up in Recently Closed Windows and the Restore Previous Session is greyed out too. Gah! Help!

  • Error while posting debit memo in TC: FB75

    Hi All,
    Can anyone help me out on the following error...
    We are trying to post parked customer debit memo in TC: FB75 but system threws error message "Item Category 04000 not allowed in accounting transaction 0200/0001".
    What is the reason for this error and how should i resolve without any impact on the business
    Thanks,
    Vijaya

    The error message is issued because business transaction 0200 does not allow item category 04000 (Cash Account) to be used. This is pre-configured in the system and should not be changed by the customer.
    In this case, I'd suggest to create another transaction variant (ex. Z004) for business transaction 0000 - unspecified posting as it allows all item categories to be used and customized according to the business needs.
    To do so:.
    1) IMG: Define Business Transaction Variants
    - define new transaction variant (ex. Z004) for unspecified posting = business transaction 0000
    - make sure to include all item categories that are same as
    business transaction 0200 + 0001 BUT add item category 04000
    2) IMG: Define Splitting Rule
    - define the split rule for 0000 + Z004 (new variant)
    - make sure to "copy" all setting of split rule 0200 + 0001
    - additionally include item ct. 04000 for 'items to be edited'
    3) After this, please assign 0000 + Z004 to the document type.
    Syed Saleem

  • Asset Issue  - When execute AR01, system throw a error msg .AB064

    Hi   Gurus,
    need guidance to solve the issue.
    When my user run a t-code AR01,   System throw a error "No data was selected - Message no. AB064".
    Then checked through SU53.  It shows that Authorization was successfully given.  Checked with my Basis Consultant also.  He confirmed that the required authorization was given to user.  I  don't know  what the system reacts like this..
    Pl guide me to solve  the issue....
    (  As a consultant, i have all rights / authorization. When i executed AR01, it works perfectly ) .
    tks / Devi Aparna...

    The below are the (xxxx) madatory things before you go and execute the report.
    Company code                      xxxx
    Asset number
    Subnumber
      Asset class
      Business area
      Cost center
      Plant
      Location
      Asset super number
      Worklist
      Report date                     xxxxx
      Depreciation area               xx (Dep area 01, 15, 30, 60, 65)
      Sort Variant                     xxxx
      Translation method
    Try this
    Thanks

  • GR posting against Inbound Delivery through IDoc

    Hi All,
    Our requirement is to post GR triggered from external system in the form of IDoc against Inbound Delivery.
    We wish to know :
    1) IDoc type and
    2) Process code and
    3) Identifiers along with mandatory fields in the Idoc.
    Regards,
    Kiran

    Hi All,
    Our requirement is to post GR triggered from external system in the form of IDoc against Inbound Delivery.
    We wish to know :
    1) IDoc type and
    2) Process code and
    3) Identifiers along with mandatory fields in the Idoc.
    Regards,
    Kiran

  • Posting of bank detail through IDOC from IBM Websphere

    Hi
       I am facing a problem during the seletion of the Basic IDOC type in the websphere .I trying to get the bankdetails of the business partner , for that I have selected the Basic Idoc type in the configaration of the IBM websphere BUPA_C_BANKDETAIL_ADD01.
    But after the seletion when we try to connect its showing error like "<b>Segment couldnot be read for the release 700"</b>
    I have checked with the release of the SAP also , it is 700 only .
    Can anyone please help me out in this matter , its really urjent .
    Thanks & Regards
    Debasri Sarkar

    Hi,
    Have read the documentation for bapi BAPI_ACC_DOCUMENT_POST and check for documentation import parameter EXTENSIONIN 2
    Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIO
    Description
    This enhancement structure can be used to transfer additional fields.
    There are four fields available for each data record (VALUEPART1 - 4), which each contain 240 characters. A defined ABAP dictionary structure can be transferred in the field STRUCTURE, on the basis of which the field contents are read.
    The accounting document can be supplemented and changed in an implemented BAdI ( ACC_DOCUMENT) before the active accounting component is called.
    The class CL_EXM_IM_ACC_DOCUMENT is available as example implementation. Here, for each data record of the parameter that is transferred the ABAP dictionary structure is checked and the content of the fields VALUEPART1 to -4 is set in the structure. If the structure that is transferred contains a field POSNR, the associated lines of the accounting document are updated using the contents of the enhancement.

  • Having problems SENDING mail through hostway account (relay error msg)?

    Want to spare others the 2 week nightmare of configuring email so that "relay error" message would not prevent emails from being sent.
    Settings / Accounts/ mail/ then...
    1. enter pop/smtp account and pw
    2 SMPT settings: "authentication" - check "password"
                               SSL - "OFF' if port setting is 587
                                         "ON" if port setting is 465
    3. Enter both user name and password where it says "optional"
    Good luck!

    Try this, it will create a mailbox in messaging and work like your desktop, to refresh you need to hi-lite the mailbox then select options-sync email, use it on my N97 instaed of standard email
    http://forum.dailymobile.se/index.php?action=dlattach;topic=426.0;attach=43906
    Just download to pc drag and drop to phone and install !
    If I have helped at all, a click on the White Star is always appreciated :
    you can also help others by marking 'accept as solution' 

  • Issue related to Debit Memo Request

    hello,
    I am facing one issue related to debit memo request,as when i generating Debit memo request through DP90 t code,in debit memo request whatever the line items it will generate through this t code it all are getting in to NON-EDITABLE MODE,so i need to make this in to EDITABLE MODE, i have change in the condition types  as "MANUAL" even though its getting in to non editable mode ,so please help me to make this line items in to editable mode.

    Hi Abdul,
    We have a provision in DP90 itself to change the price of the conditions, if manual changes are allowed to the conditions. Please check the configuration setup of the condition type whether manual changes are permitted or not.
    Regards,
    SAM

  • Debit Memo changes

    Posted Debit Memo for customer with one tax code for example D1 now i wanted to change it from that Debit memo from D1 to D2.
    It is possible to change tax code from Debit Memo from D1 to D2. If not how to solve the issue to change to Debit Memo to D2..
    Please guide me.
    Thanks

    Hello
    Only the option is reverse the document and re post, SAP is not allowed to change after posting
    Thanks
    Kameshwar Rao

  • Combine selected Debit memo request Items into one invoice

    Hi
    The requirment is to select line items from multi debit memo request documents and combine those line items into one invoice.
    So far, our ABAP developer is designing an selection screen to list all the line items met certain criteria (e.g. certain material number, or certain service rendered dates etc.) from multi debit memo request.
    My challenge is how actually combine all these line items and push into one invoice ?
    I see that in VF01 SAP provides the capability to combine multi sales documents into one invoice processing . ( forget about the invoice split rule for now.) , but the item selection is greyed out.
    If I use VF06 do the collective billing, where to enter the line items ?
    Is there some user exit / BAPI can push line items from different sales document into one invoice creation ?
    Please let me know if my requirement is not clear.
    Thanks
    Edited by: Eric Y on Aug 25, 2008 6:04 AM

    Reply to R.Janakiraman:
    1.) As my understanding that debit memo is a billing invoice. Debit Memo Request is a sales doc. At least what I meant here debit memo and billing invoice is the same document.
    2.) We would like create the debit memo (invoice) through "SD" not FI.
    The challenge still exists, let me explain.
    Let's say we have 50 Debit Memo Request (DMR) Documents ready to bill the customer and each DMR has multi line items.
    e.g. DMR 001 has 20 line items and DMR 002 has 30 line items.
    The customer would like to take the 10 line items from DMR 001 and 20 line items from DMR 002 ( by certain selection criteria) to combine into one invoice.
    I was thinking use VF01 to combine the DMR 001 and 002 and let the program put billing block on those non-billed items, but in reality it doens't work; because some of the line items in the original DMR may have already been blocked the user. If the program put billing block, I can't tell whether the line item billing block is set originally by end user or the program.
    What I am trying to search for is the solution to take some of the line items from different DMRs and combine into one invoice, not combine several DMRs into one single invoice.
    Please help if there is any BAPI can do the job .
    Thank you, Ashish Mohapatra , I will ask our ABAP developer to investigate the bapi
    BAPI_SALESDOCU_CREATEFROMDATA1.
    SNavaneetha
    You said that "The line items being greyed out is due to the property of the Item category of the DMR". Does that mean I can config the item category to allow to be entered ? Which field in the Item category that I can do that ?
    Great thanks for all
    Edited by: Eric Y on Aug 30, 2008 7:13 PM

  • Vendor Invoice posting through IDOC's

    Hi All,
    I had a requirement of Posting Vendor Invoices from a third party to R/3 through IDOC's. I want to know how can this be possible like what is the procedure to be followed? Any Inputs will be rewarded
    Regards
    Srikanth

    Hi Gurus,
    I have some documents which are not getting cleared and showing the followig error message Posting Only Possible With Zero Balance: corret your document
    even if the debit and credit are balancing
    I have checked the document it has value in Hard currecny( Local Currency 3) But the hard currency is deactivated in the Year 2007 only. so we are unable to clear the Openitems.
    Can you please help to resolve the issue
    Thanks In advance
    Anand.Kandarpa

  • Re :VF11: reversal of debit memo not posting to accounting

    Hi Friends,
    i am facing problem while cancelling debit memo through VF11.
    1 st we had reated debitmemo request.
    then raised debit memo.
    then we tried to cancel debit memo.
    we are getting error saying account detrmination error.
    when  i gave debit memo no: & go to document overview the  status is as below.
    Doc.                                            Date     Overall Process. Status
    Debit Memo Req. 20287756       26.04.07                     completed
    Debit Memo 2007334514           26.04.07                     completed
    Accounting Doc. 2007334514     26.04.07                      cleared.
    Cancel. of Invoic 2007334539     26.04.07                      acct determin error.
    the document types used for debit memo request,debit memo& cancel of debit memo are ZDR,ZL2 & ZCI4 resply.
    in document type ZL2 , ZCI4 was given as cancel billingtype document.
    and we had checked all the config reg document types.but it is configured well.
    we had checked in VKOA ,here also G/l account is properley assigned to combination of sales org\chat of acct\aag o C \ aag of M\account key(ERL)--
    please help me out to post the reversal of debit memo.
    Thanks & REgards,
    Raghu.m.

    Hi ,
    check the cancelled document in vf03 ..on the first screen there is an icon by which you can see the details of the accoutn determination which pricing procedure etc. is being used ..
    otherwise system must be checking in some different tables in vkoa..
    also check if the user has the required authorization ..
    Regards,
    Kedar

  • Idocs to create credit memo and debit memo

    Hi,
      I need your expertise in creating credit memos and debit memos in sap using idocs.
    I am working on integration between third party system and sap using web methods.
    My requirement is to create credit memos and debit memos in sap using idocs.
    Could you please help me with the message types for the credit and debit memos.
    Thanks
    Raju

    Hi VJ,
    thank you very much.
    Is it possible to create credit memo without any reference to document in SAP.Because the third party system only sends very small amount of data
    (customer number, amount, paymentmethod, date).
    Can i be able to create the credit memo with the above information
    Please help me..
    Thanks
    Raju

  • Vendor invoice posting through IDOC - Cost center determination (OBCC)

    Dear experts
    As per SAP Notes 31126 and 137686 I have maintain all configuration settings for "Automatic posting of vendor invoice from Billing" in different company codes.
    It is working perfectly the way we need,
    we need help in Transaction Code "OBCC - Assign Additonal Accounts Assignments for EDI Procedure" here system asks for "Account Assignment ID" for determination of cost center for invoice flowing through IDOC.
    I would like to know, what values I can give here so that system will determine the relvant cost center in KR document posted in FI.
    SAP Note says minimum entry here as " * "
    At present system is determining only one cost center for all services mapped.
    Thanks advance for the help.
    Best regards
    S. Habib Pasha.

    Hi all
    request your help on above issue.
    reg
    S HABIB PASHA

Maybe you are looking for

  • Is there any way to open a map to the location specified in a calendar event?

    Besides opening the event, copying the location, and pasting it into google\bing\etc mapping tools I do not see this rather common functionality available in Lightning. Ideally, right clicking on the event in the calendar (without opening the event)

  • Customizing Requisition request in HCM Processes & Forms

    Hi HCMers, We have just upgraded our development system to EhP4 in ECC and E-Recruiting systems, and SP5 in E-recruiting. We want to use the simple requisition request process in HCM Processes and Forms but have several customizations to apply. For e

  • Include attachments in a xml file without using mail adapter

    Hello Experts, Is there a way to include attachments like pdf or excel in a xml file? It is a file to file scenario in which i have to include the attachment in the output file. Thanks and regards, Merrilly

  • How do I get my app to play in iTunes? new user.

    How do I get my birding app (free from apple store) to play in iTunes? I've never used iTunes before. went to help and followed directions, but it didn't help. The app shows up and claims to be downloaded. Any help much appreciated.

  • Date datatype in a class

    Hi all, I have created a class where I have initialized a Date object and I am trying to get the current Day Month and Year for some data checking purposes. The only problem is that they get() methods of the date object all return undefined. Can you