Problem in creating credit memo
WHILE CREATING A CREDIT MEMO its saying
posting period 001 2008 is not open
Why its not taking todays date ?
go to TA: MMPV and for your company code and priod and fiscal year
and close postings.
it should work.
if face problem pls get back to me.
Regards,
Nisha
@award pts if helpful.
Similar Messages
-
Problem while creating credit memo request using BAPI
HI,
I am trying to create credit memo request using the BAPI_SALESDOCU_CREATEFROMDATA1..
I am getting the error as " No customer master data is available for the customer". But the customer exists in the KNA1 table. What is the mistake i hv done.. this s my code..
REPORT ZSV_CREDITMEMO_TEST1.
Data declarations.
DATA: v_vbeln LIKE vbak-vbeln.
DATA: header LIKE bapisdhead1.
DATA: headerx LIKE bapisdhead1x.
DATA: item LIKE bapisditem OCCURS 0 WITH HEADER LINE.
DATA: itemx LIKE bapisditemx OCCURS 0 WITH HEADER LINE.
DATA: partner LIKE bapipartnr OCCURS 0 WITH HEADER LINE.
DATA: return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
DATA: lt_schedules_inx TYPE STANDARD TABLE OF bapischdlx
WITH HEADER LINE.
DATA: lt_schedules_in TYPE STANDARD TABLE OF bapischdl
WITH HEADER LINE.
DATA: lt_schedules_ink TYPE STANDARD TABLE OF bapisdhead1
WITH HEADER LINE.
START-OF-SELECTION.
Header data
Sales document type
header-doc_type = 'G2'.
headerx-doc_type = 'X'.
Sales organization
header-sales_org = '0001'.
headerx-sales_org = 'X'.
Distribution channel
header-distr_chan = ''.
headerx-distr_chan = 'X'.
Division
header-division = ''.
headerx-division = 'X'.
headerx-updateflag = 'I'.
*Complete delivery
header-COMPL_DLV = ''.
header-COMPL_DLV = 'X'.
Partner data
Sold to
partner-partn_role = 'AG'.
partner-partn_numb = '0000C10130'.
APPEND partner.
Ship to
partner-partn_role = 'WE'.
partner-partn_numb = ''.
APPEND partner.
ITEM DATA
itemx-updateflag = 'I'.
Line item number.
item-itm_number = '000010'.
itemx-itm_number = 'X'.
Material
item-material = 'C20011'.
itemx-material = 'X'.
Plant
item-plant = ''.
itemx-plant = 'X'.
Quantity
item-target_qty = '10000'.
itemx-target_qty = 'X'.
item category
itemx-ITEM_CATEG = 'X'.
APPEND item.
APPEND itemx.
Fill schedule lines
lt_schedules_in-itm_number = '000010'.
lt_schedules_in-sched_line = '0001'.
lt_schedules_in-req_qty = '10000'.
APPEND lt_schedules_in.
Fill schedule line flags
lt_schedules_inx-itm_number = '000010'.
lt_schedules_inx-sched_line = '0001'.
lt_schedules_inx-updateflag = 'X'.
lt_schedules_inx-req_qty = 'X'.
APPEND lt_schedules_inx.
Call the BAPI to create the sales order.
CALL FUNCTION 'BAPI_SALESDOCU_CREATEFROMDATA1'
EXPORTING
sales_header_in = header
sales_header_inx = headerx
IMPORTING
salesdocument_ex = v_vbeln
TABLES
return = return
sales_items_in = item
sales_items_inx = itemx
sales_schedules_in = lt_schedules_in
sales_schedules_inx = lt_schedules_inx
sales_partners = partner.
Check the return table.
LOOP AT return WHERE type = 'E' OR type = 'A'.
EXIT.
ENDLOOP.
IF sy-subrc = 0.
WRITE: / 'Error in creating document'.
ELSE.
Commit the work.
COMMIT WORK AND WAIT.
WRITE: / 'Document ', v_vbeln, ' created'.
ENDIF.
can anyone tell what the error is.?Hi
please look at code below code this succefully creating credit memo may some help to you
header-doc_type = 'ZS4'.
PERFORM get_plant.
headerx-doc_type = 'X'.
header-sales_org = wa_temp1-vkorg.
headerx-sales_org = 'X'.
header-purch_no = wa_temp1-bstnk.
header-distr_chan = wa_temp1-vtweg.
headerx-distr_chan = 'X'.
header-division = wa_temp1-spart.
header-purch_no_s = wa_temp1-bstnk.
headerx-division = 'X'.
wa_partner-partn_role = 'AG'.
wa_partner-partn_numb = wa_temp1-kunnr.
APPEND wa_partner TO it_partner.
wa_partner-partn_role = 'WE'.
wa_partner-partn_numb = wa_temp1-kunnr.
APPEND wa_partner TO it_partner.
CLEAR: wa_partner.
LOOP AT lt_temp2 INTO wa_temp2 WHERE kunnr = wa_temp1-kunnr.
"AND matnr = wa_temp1-matnr.
*wa_item-itm_number = wa_temp2-posnr .
wa_item-material = wa_temp2-matnr.
wa_item-plant = wa_temp2-werks.
wa_item-req_qty = wa_temp2-fkimg * 1000.
wa_item-target_qty = wa_temp2-fkimg * 1000.
APPEND wa_item TO it_item.
ENDLOOP.
CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT1'
EXPORTING
order_header_in = header
* WITHOUT_COMMIT = ' '
* CONVERT_PARVW_AUART = ' '
IMPORTING
salesdocument = v_vbeln
* SOLD_TO_PARTY =
* SHIP_TO_PARTY =
* BILLING_PARTY =
return = return
TABLES
order_items_in = it_item
order_partners = it_partner.
IF v_vbeln <> space.
wa_vbeln-vbeln = v_vbeln.
APPEND wa_vbeln TO lt_vbeln.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
HIDE wa_vbeln-vbeln.
CLEAR: wa_partner,header,v_vbeln, wa_temp2.
REFRESH: it_partner,it_item.
ELSE.
* LOOP AT return .
it_error-srno = idx.
it_error-err_msg = return-message.
APPEND it_error.
* ENDLOOP.
ENDIF.
idx = idx + 1.
ENDLOOP.
Regards -
Invoice Tax left after create credit memo (Receivable)
Hi All,
I have problem after creating Credit Memo(CM) in Receivable. The invoice line become 0 but invoice tax still appear.
It's caused the tax in CM is 0, even the line value have match value.
Can anyone help me?
Best regards,
ErieAnyone help?
-
Creating credit memo request - V1 498 / missing order quantity
Hi Experts,
could any of You pls help me with a credit memo creation issue?
I credit memo needed to be created based on invoice, so configuration and copy control is done as usual, but I have a failure during CR order creation referring to an invoice F2.
I got an error message: V1 498 - Credit already exist for item... - and no qty is transferred to new document
I have gone thought the threads on Forum, but none of the suggested solution was appropriate to solve the issue:
- the document flow is updated in copy control ,
- I can no remove the schedule line flag at VOV7 - the order qty will be missed but target qty is used, and end up incompletition (VU 019 error messge), so billing is faile
- completition control set as B at VOV7,
Still have the problem
Could any of You pls help me - answers will be appreciated.V1 498 - Credit already exist for item...
What the above message means is that lines items have already been used as reference for the creation of credit memo request(s).
Create a new sales order, delivery and billing document. Then create credit memo request with reference to this new billing document and test.
In VTAF copy control, at item level, field "Pos./neg. quantity" dictates how the quantity in the source document is affected by copy control.
PS - I tried to create credit memo with reference to billing document (F2), there were no issues there. Therefore I am taking that the issue is with credit memo request (copied with ref to billing document F2) -
Error while creating Credit Memo Request for Milestone billing invoice
Hi All,
I have a scenario where i have Milestone billing(% based) at header level in Contracts. I create Invoice for that and then try to create Credit Memo Request with reference to the Invoice.
Problem comes when we try to change the qty in the credit memo request. we are able to change the qty but the value is not changing. It remains the same constant value of that milestone.
In my copy control from Invoice to Credit memo request for the item category i have maintained the pricing type as "C" because i want to copy and manual conditions.
So kindly let me know which config setting should be done so that whenever i change the qty the value should also be changed.
Please Note : This is happening only when my billing plan is at header level. For Billing plan at Item level its working fine.....
Thanks.....Hiiii.....
Can anyone please advise on the below issue of mine.....
Thanks alot for the help.......in advance -
Not able to Create Credit Memo During Return Sales Order
Hi Guru's,
Need your help in the below problem:-
While Creating Return Sales Order it give us Order No with delivery no. and then finally I am able to do VL02N where I did Post Good Return sucessfully and also check using MB51 that goods got return.
But when we try to create Credit Memo using VF01 I got the below message in log.
Error Log
0060000799 000000 "Create billing document" not allowed (User Status LKD, object VB0060000799000000)
LongText
Technical data ))))))))
I have checked all copy control including Iteam Category etc etc all are in place.
Looking for your help.
Thanks
Best Regards
Bidhan KonarThanks Krishna,
Thanks for the solution. Find below the steps which i follow:-
Go to Tcode VA02, Use the sale order reference and execute. From top menu bar, click on "Goto -- Header -- Status. Then again click on "Object Status" and when check I find that lock is there:- A radio button checked at -- 10 LKD Locked and change it to
--20 REL Released and SAVE. Finally working.
Thanks
BR
Bidhan
Edited by: Bidhan Konar on Jun 3, 2010 8:35 PM -
In Invoice created credit memo to Customer which causing below error
Dear Experts,
A PO was raised with GR Done completely. and Invoice was also posted with wrong value. again to correct that invoice user created credit memo to the vendor . .
Then we are running MR11 then we are ending up this Error in Routine DMENG_DETERMINE, RE_BPMNG<0 could you please let me know how to solve this problem
Thanks in Advance
ChandraHi Expert,
Please refer the below link..
Try this before referring the link...
Please check
If FI document has been cleared already or not.
You should take the clearing FI document back (or reverse it) using FI - T-Code:FB08
Transactions if the follow on FI doc has been cleared.
INVOICE REVERSED TWICE.
Regards,
GK
SAP -
How can we create credit memo with reference to INV
Hi,
Pls tell how can we post credit memo with reference to Invoice which is posted through SD.
Is there any use with reference to field in T.Code FB75.
Thanks in advance,
PadmajaHi Vijay,
I could not found any field for Inv. reference in the Payment Tab of T.Code FB75.
Is there any facility in SAP to create Credit Memo for a particular customer with reference to Invoice. All the details of that Invoice should get updated in the credit memo automatically.
Thanks in advance,
Padmaja -
Billing Status C in Sales Ord not getting reversed on creating Credit Memo?
Dear SD Guru's
I have a small query, i have such a scenario.
I create sales order for a saleable service material from (01.02.08 to 29.02.08) through order type (ZOOH)
Raise invoice in advance for 30 days on 01.02.08 through billing type (ZOIN) say 100 rupees.
Now on 15th client says he doesnt want the service and i issue a credit memo request (ZOCR) against my invoice type (ZOIN) and change the contract dates from 16.02.08 to 29.02.08 for value 50 rupees.
Now i create credit memo (ZOCM) for 16.02.08 to 29.02.08.
Now once i do that i want the billing status to be reversed in my original document (ZOOH) for period 16.02.08 to 29.02.08
How can we achieve this?
Please its urgent. Points will be suitably rewarded
Regards
RaviHi Krishna,
Your inputs have been valuable, but could you please tell me why doesnt it automatically edit the billing plan row against which i have raised my credit memo. I have to go and do it manually in my original sales document and edit the period.
Cant it happen automatically?
Kind Regards
Ravi -
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
RajuHi 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 -
Create Credit Memo referenced to Billing Document - Condition Types
Hello,
I need help on this particular situation, your help would be greatly appriciated.
I try to create a Credit Memo(VA01) with reference to the Billing Document, but I don't want to see on my Credit Memo a particular Condition Type from the Billing Document. Configuration solution or ABAP solution? and how?
What the system does now is, it copies all the Condition Types from the Billing Document to the newly created Credit Memo.
Thank you allHi,
Create a new pricing procedure without the condition type you donot wish to appear in the credit note. create/ use a different document pricing procedure for the credit note, do the required assignments.. this will meet the requirements
Regards,
Ajit -
Create credit memo automatically when creating returns to vendor...
How can i create create "Credit Memo" automatically upon creating
returns to vendor (Movement Type 122) considering right calculation of
the sales tax & withholding tax.Hi,
There is a special display variant in the item list for invoice reduction. You enter
the invoice quantities or values that differ to the quantities or values suggested by
the system separately into the item list. (You can only enter data in these fields
when you have flagged the item as Vendor error: reduce invoice).
When you post a reduced invoice, the system creates two accounting documents.
The first document contains the invoice postings with the actual quantities and
values. The second document contains a credit memo for the difference between
the actual quantities and values and the default quantities and values.
Therefore, with invoice reduction, you do not actually reduce an invoice. Instead,
you also post a credit memo for the amount of the reduction. The amount payable
to the vendor is the value of the invoice reduced by the credit memo amount.
The PO history is updated with the unchanged default values.
When you post an invoice reduction, the system creates a message record. You
can use this to send a letter of complaint (notification of credit memo posting)
to the vendor.
Regards
Ankur -
Hi,
Is there a bapi which i can use to create credit memo request with reference from a billing document?
dylHi Rakesh,
thank you for your reply. I am using 4.6B. i do not see that function -
Create Credit Memo Request through txn. FB65
Hi Experts,
I want to create Credit Memo Request through txn. FB65.I am using Bapi 'BAPI_ACC_DOCUMENT_POST' to create it.
Can anyone please tell the the minimum parameters which I will pass in this BAPI to create CreditMemo Request?
Helpul answers will be rewarded by points.
Thanks
Naveen RanaHi Naveen,
You run this BAPI by giving input till you get the result and then use it in your code.
Some of the structure to post credit memos are
*--Populating Header strucuture
*--To upload the Header Structure required By BAPI
wa_docheader-bus_act = c_bus_act.
wa_docheader-username = sy-uname.
wa_docheader-header_txt = wa_lineitem-header_text.
wa_docheader-comp_code = wa_lineitem-header_company.
wa_docheader-doc_date = wa_lineitem-invoice_date.
wa_docheader-pstng_date = sy-datum.
wa_docheader-fis_period = '00'.
wa_docheader-ref_doc_no = wa_lineitem-invoice_number.
wa_docheader-doc_type = wa_lineitem-document_type.
Document type is KR for Invoice and KG for Credit Memos.
*--Populating Accounts Payable table
*--Populating Currency Item Structure
Thanks
Sudharshan -
BAPI/Function Module in CRM to create Credit Memo
Hi,
It will be great if some one can help me in finding out whether there is any <b>BAPI/Function Module</b> in <b>CRM</b> to create <b>Credit Memo</b>?
Rgds,
Sam.Hi Venkatesh,
Thanks you for your post, your post has helped me a ton in my work, Infact I was working on BAPI to
Create Credit Memo request i.e BAPI_SALESORDER_CREATEFROMDAT2 as expected i got the same error as "Unpermitted combination of business object BUS2032 and sales doc. category K" and i tried on other BAPI it worked, Just i need to know BUS2032 doesn't support Credit Memo Request, How we can find it
to what Sales document it support?
Maybe you are looking for
-
I have some DV footage which is "over exposed". To adjust the exposure I have followed the following directions: 1. Drag a clip from the Browser to a video track on the Timeline. 2. Position the Timeline playhead anywhere on the clip so that you can
-
App for tracking inventory, raw material, expenses, sales, etc.
I'm on the verge of starting a simple business (if all goes well). I will be producing simple things like candles, eventually essential oils, etc, but may also sell things NOT produced from raw materials. I'm wondering if anyone has a recommendation
-
I have an iMac G4 1GHz. I've owned it for a little over a year. The computer is running INCREDIBLY SLOW. It's been doing this for months. Starting up takes about five minutes, opening Word takes a few minutes, Safari takes a while to load pages, etc.
-
Mixing of 3.x data flow into 7.0 flow
There is an Info Object with Master data and already used in different cubes. The whole for extracting Master data into this object and also loading to the cubes is also in 3.x flow. There is a requirement for adding new attributes to this Info Objec
-
Satellite M30-107: WPA and WEP security software
I wish to connect my Satellite M30-107 P-M 745 to an up-to-date MIMO G+ wifi network. I have bought a router and PCMCIA adapter card. I wish to set-up WPA and WEP security - do I need any special Toshiba software on the PC itself to do this, or do I