Sample Sales - Document Splitting
Hi
We have a scenario where when we are trying to do a sample sales with Item Category TANN for a domestic customer in INR, there is no accounting entry taking place at the time of billing because the document type is RV and it requires customer mandatorily (as per transaction variant 0200, 0001 assigned to RV in document splitting configuration) and accounting entry for sample sales is not hitting customer. This is expected of system and is correct.
Though when we are trying the same thing for an export customer in USD, accounting entry gets generated at the time of billing WITH DOCUMENT TYPE RV EVEN WITHOUT CUSTOMER IN THE ACCONTING ENTRY.
How is it possible that the same configuration of doc type RV attached to transaction variant 0200 and 0001 CORRECTLY blocks accounting document of Domestic Invoice due to absence of customer in line item BUT IS UNABLE TO BLOCK accounting document of Export Invoice even if the customer line item is not present.
One more surprising element is that the value in the billing document of Export Customer is Nil but still the accounting entry takes place with a value of the sale price of the material
Can someone throw any light on this?
Thanks
Sourabh
I am creating sales order (RE) type with reference to actual sales order
First of all, this itself is wrong. Why you were creating return order with reference to original sale order. You should always create a return order with reference to billing document.
1. Sales order created
2. Delivery Generated
3. PGR Done
PGI Docuemnt not showing and
Again, I dont know why once you have done PGI, why you have created a return delivery ??
thanks
G. Lakshmipathi
Similar Messages
-
Sales Document Number ranges Split
Hi ,
We need to load from DSO to Cube by splitting the load on Sales order Document number because of the volume.
Can you please help me how do we split the ranges , how can we find the starting sales order and the ending sales order .
regards,
SruthiHi,
As per my understanding, you are trying to load data from DSO to cube on sales document number selection.
To see the data in ODS, Right click on ODS -
> Manage -
> Contents ---> Click on Active table.
You can see records in table. Sort the entries, then you can find the sales document numbers in order.
You have to do full load.
Hope this helps,
Regards,
Rama Murthy.
Edited by: Rama Murthy Pvss on Nov 17, 2009 2:40 PM -
Sample Design Documents for Sales Planning
Hi Gurus,
Any One having Sample Design Documents and High Level Design Documents. If you have please mail me [email protected]
Thanks,
BhimaBhima,
Did you get a sample of the design docs. Pls send to me.
Milind -
Creating a sales document using BAPI in web dynpro by uploading a file
Hi ALL,
Can some one help me how to create a sales document using BAPI by uploading a file as input...Can someone provide me a sample program....
Thanks n Regards,
Praveenn.
Edited by: praveenn on Aug 23, 2011 12:42 PMHi Sri,
Thx for the response...
Here is the code that i followed for creating a BAPI_SALESORDER_CREATE1 by uploading a text file as input.
Just create a Attribute in the VIEW CONTEXT of type String.
method ONACTIONCREATE_SO .
types : Begin of ty_data,
sales_org type vkorg,
doc_type type AUART,
DISTR_CHAN type VTWEG,
DIVISION type spart,
material type matnr,
partn_role type PARVW,
PARTN_NUMB type kunnr,
end of ty_data.
DATA :it_table TYPE TABLE OF ty_data,
i_data TYPE TABLE OF string,
l_string TYPE string,
wa_table TYPE ty_Data,
l_xstring TYPE xstring,
fields TYPE string_table,
lv_field TYPE string.
DATA: wa_order_header_in TYPE BAPISDHD1,
it_order_items_in TYPE TABLE OF BAPISDITM,
wa_order_items_in TYPE BAPISDITM,
it_order_partners TYPE TABLE OF BAPIPARNR,
wa_order_partners TYPE BAPIPARNR,
it_return TYPE TABLE OF BAPIRET2,
wa_return TYPE BAPIRET2.
DATA : sales_doc type bapivbeln-vbeln.
DATA:
node_zfinal_node TYPE REF TO if_wd_context_node,
elem_zfinal_node TYPE REF TO if_wd_context_element,
stru_zfinal_node TYPE if_main_view=>element_zfinal_node .
get single attribute
wd_context->get_attribute(
EXPORTING
name = 'DATASOURCE'
IMPORTING
value = l_xstring ).
CALL FUNCTION 'HR_KR_XSTRING_TO_STRING'
EXPORTING
in_xstring = l_xstring
IMPORTING
out_string = l_string.
SPLIT l_string AT cl_abap_char_utilities=>newline INTO TABLE i_data.
LOOP AT i_data INTO l_string.
SPLIT l_string AT cl_abap_char_utilities=>horizontal_tab INTO TABLE fields.
READ TABLE fields INTO lv_field INDEX 1.
wa_table-sales_org = lv_field.
READ TABLE fields INTO lv_field INDEX 2.
wa_table-doc_type = lv_field.
READ TABLE fields INTO lv_field INDEX 3.
wa_table-DISTR_CHAN = lv_field.
READ TABLE fields INTO lv_field INDEX 4.
wa_table-DIVISION = lv_field.
READ TABLE fields INTO lv_field INDEX 5.
wa_table-material = lv_field.
READ TABLE fields INTO lv_field INDEX 6.
wa_table-partn_role = lv_field.
READ TABLE fields INTO lv_field INDEX 7.
wa_table-partn_numb = lv_field.
APPEND wa_table TO it_table.
ENDLOOP.
loop at it_table into wa_table.
clear : wa_order_header_in.
wa_order_header_in-sales_org = wa_table-sales_org.
wa_order_header_in-doc_type = wa_table-doc_type.
wa_order_header_in-distr_chan = wa_table-distr_chan.
wa_order_header_in-division = wa_table-division.
clear : wa_order_items_in.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = wa_table-material
IMPORTING
OUTPUT = wa_order_items_in-material.
*wa_order_items_in-req_qty = wa_table-req_qty.
append wa_order_items_in to it_order_items_in.
clear : wa_order_partners.
wa_order_partners-partn_role = wa_table-partn_role.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = wa_table-partn_numb
IMPORTING
OUTPUT = wa_order_partners-partn_numb
*wa_order_partners-partn_numb = wa_table-partn_numb.
append wa_order_partners to it_order_partners.
endloop.
CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
EXPORTING
SALESDOCUMENTIN =
order_header_in = wa_order_header_in
ORDER_HEADER_INX =
SENDER =
BINARY_RELATIONSHIPTYPE =
INT_NUMBER_ASSIGNMENT =
BEHAVE_WHEN_ERROR =
LOGIC_SWITCH =
TESTRUN =
CONVERT = ' '
IMPORTING
SALESDOCUMENT = sales_doc
tables
RETURN = it_return
ORDER_ITEMS_IN = it_order_items_in
ORDER_ITEMS_INX =
order_partners = it_order_partners.
ORDER_SCHEDULES_IN =
get message manager
DATA: l_current_controller TYPE REF TO if_wd_controller,
l_message_manager TYPE REF TO if_wd_message_manager.
l_current_controller ?= wd_this->wd_get_api( ).
DATA: v_message_text TYPE string.
When Sales Order is created commit the data
IF NOT sales_doc IS INITIAL.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING wait = 'X'.
CONCATENATE 'Sales Document' sales_doc 'has been created.' INTO v_message_text SEPARATED BY space.
Report Success message
CALL METHOD l_message_manager->report_success
EXPORTING
message_text = v_message_text.
ELSE.
v_message_text = 'Error Creating Sales Order'.
Report Error message
CALL METHOD l_message_manager->report_error_message
EXPORTING
message_text = v_message_text.
ENDIF.
endmethod.
Edited by: praveenn on Aug 30, 2011 2:41 PM -
Function Module to Generate Outbound IDOC for Sales Documents
Hello Experts,
Can someone please help me, I need to know which function module to use in order to generate the outbound IDOC for sales documents. Some of the fm's I have come across are the following:
IDOC_OUTPUT_ORDERS, but actually for Purchase Orders
IDOC_OUTPUT_ORDRSP, but did not generate any IDocs for my sample Sales Order.
Points will be given for any help provided.
Thanks in advance.Hi Nagaraj,
I tried using the IDOC_OUTPUT_ORDERS but I keep getting an error that the Purchase Order <xxx> does not exist, even though the document I tried is a sales order. For everyone's reference here is the code:
form process_data.
DATA v_idoc TYPE edidc-docnum.
DATA i_edidd TYPE TABLE OF edidd.
DATA wa_idoc_ctrl TYPE edidc.
LOOP AT i_nast INTO wa_nast.
CLEAR i_msgs[].
CALL FUNCTION 'WFMC_PROTOCOL_GET'
EXPORTING
cps_nast = wa_nast
tables
messages = i_msgs
EXCEPTIONS
NOT_FOUND = 1
OTHERS = 2.
LOOP AT i_msgs INTO wa_msgs WHERE arbgb EQ 'E0'.
*--- Check first if there is an IDOC
IF wa_msgs-msgv1 IS INITIAL.
CONTINUE.
ENDIF.
v_idoc = wa_msgs-msgv1.
CLEAR i_edidd[].
CLEAR wa_idoc_ctrl.
CALL FUNCTION 'IDOC_READ_COMPLETELY'
EXPORTING
document_number = v_idoc
IMPORTING
IDOC_CONTROL = wa_idoc_ctrl
* NUMBER_OF_DATA_RECORDS =
* NUMBER_OF_STATUS_RECORDS =
TABLES
* INT_EDIDS =
INT_EDIDD = i_edidd
EXCEPTIONS
* DOCUMENT_NOT_EXIST = 1
* DOCUMENT_NUMBER_INVALID = 2
OTHERS = 3.
CALL FUNCTION 'IDOC_OUTPUT_ORDERS'
EXPORTING
object = wa_nast
control_record_in = wa_idoc_ctrl
* IMPORTING
* OBJECT_TYPE =
* CONTROL_RECORD_OUT =
tables
int_edidd = i_edidd
* EXCEPTIONS
* ERROR_MESSAGE_RECEIVED = 1
* DATA_NOT_RELEVANT_FOR_SENDING = 2
* OTHERS = 3
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
COMMIT WORK.
ENDLOOP.
ENDLOOP. -
Creation of Excise Invoice for Sample Sales
Hi Gurus,
When i create excise invoice for sample sales against the invoice the excise duties are not capturing it is showing as zero value. Can you give suggestions to solve this.
Regards
KiranIf the excise values flowing in billing document but not in excise document, then you need to check in the following IMG
Logistics-General --> Tax on Goods Movements --> India --> Account Determination.
There you have to maintain the respective G/L accounts for excise and also in the next tab you have to specify the G/L Accounts per Excise Transaction.
For information, for outgoing excise invoice, the excise transaction type would be DLFC.
thanks
G. Lakshmipathi -
Hi experts,
I am posting vendor invoice, while saving system is giving the following error:
Doc.Type : KR ( Vendor Invoice ) Normal document
Doc. Number Company Code 6000 Fiscal Year 2010
Doc. Date 23.09.2010 Posting Date 24.09.2010 Period 06
Calculate Tax
Doc. Currency INR
Itm PK Account Account short text Assignment Tx Amount
1 31 LORD Lord India Chemical 11.025,00-
2 40 58102000 "Statnry, pr-Adm" C7 10.000,00
3 40 13113936 Input VAT Credit Non C7 1.250,00
4 50 13113942 W Tax-194C Payable 225,00-
while simulating system is showing the document correct, but while posting giving error message:
"Balancing field "Profit Center" in line item 003 not filled
Message no. GLT2201
Diagnosis
The field Profit Center marked as balancing is not filled with any value in line item 003, even after document splitting.
System Response
The document cannot be posted.
Procedure
First check your entries.
Additional causes could be:
No value can be derived for this field from the current document data.
You have entered a document type that is not designed for this business purpose.
Procedure for System Administration
Customizing"
I have checked the document splitting configuration, the GL account is assigned in "Classify G/L Accounts for Document Splitting" and other document splitting configuration has been done.
Please any one suggest, what could be the reason?
regs,
rameshyes, it is assigned:
13113800 13113899 05100 Taxes on Sales/Purchases
13113900 13113959 05100 Taxes on Sales/Purchases
also assigned to base item categories:
Splitting Method 0000000012 Splitting: Same as 0000000002 (Follow-Up
Business Transaction 0300 Vendor invoice
Business Transaction 0001 Standard
Item category 05100 Taxes on Sales/Purchases
Dependence on leading item No change
01000 Balance Sheet Account
01100 Company Code Clearing
06000 Material
07000 Fixed Assets
20000 Expense
30000 Revenue -
0DOC_CATEGR-Sales Document Category of Reference Doc. in Order Header
Hi,
I am extracting the standard datasource for Sales Order Header 2Lis_11_VAHDR to BW.I am getting error while loading data.I checked it in PSA there are around 30 records which were showing the error with the message
"Record 985 :Contents M from field VGTYP_AK(mapped to 0DOC_CATEGR) cannot be converted in type DEC ->longtext RSAR 198" and
"Error in an arithmetic operation in record 985 RSAR117".
I am not getting this error while loading the Order Item Data.
'M' is the Document Category of Reference Doc. in Order Header.For sales document type "RE".
In R/3 the reference was taken on Inv.No instead of Order number and also there is a User Exit written on MV45AFZZ program to check the referred quantities and also zero quantiity lines in case of back split.
As there is no customization done in BW and the only customization was in terms of an User Exit in R/3 please let me know what is the reason of this error.
Thanks in advance.
VenkatHi Venkat,
Assume the data mapping in transfer rule and update rule is correct
Maybe you can check the info object definition of 0DOC_CATEGR in your system. Based on the error message you mentioned below, it looks like 'data type' of the object concerned is NUMC? In our system it is CHAR (standard BC)...
Regards,
Lilly -
Free sample sales net value in invoice should give zero value.
Hello Experts,
I have a question on the cess values aspect of free sample sales.Recently, I have configured a free sample sales for one of our clients. Now, in the invoice the user does not want the cess values to be passed to the customer.I changed the R100 discount type in the pricing control data, still tax is picked up, showing negative net value and not zero. Now, how to arrive at excise payable as credit entry and octoroi etc as debit entry in G/L accounts. or where I am going wrong, please suggest.
Regards,
Raj.For sample sales that is you are despatching material on free of cost, follow the steps mentioned below
1) In V/06, you should create a condition type, say ZDIS (for 100% discount) and maintain the following:-
Cond. class::::::A
Calculat.type::::A
Plus/minus:::::::X
Item condition:::X
Amount/percent:::X
Delete:::::::::::X
Value::::::::::::X
Save the condition type
2) In OV34, create two new Account Keys, one for PR00 and one for 100% discount. Say the two Account Keys are ZSM and ZSP
3) In V/08, against PR00 condition type, assign Account Key ZSM with a tick in "Required". Next for condition type ZDIS, assign the another Account Key ZSP without any tick in the three boxes. Against this discount condition type, assign the step number of net value under the tab "From", assuming that after PR00 you have multiple condition types.
4) In FS00, create a new G/L Account with description as Sales Promotion Expenses
5) In VKOA maintain these two Account Keys for the sales organisation / chart of accounts with the same G/L account for both the Account Keys. Dont assign different G/L Account here.
6) Now create a sale order and do billing. See how the accounting document flows. Post still if you have any issues.
thanks
G. Lakshmipathi -
Document Splitting at the time of Bill of exchange
Dear All,
issue is related to Document Splitting at the time of Bill of exchange
I booked 2 different Customer Sales through FI, but both invoice have different Profit centre.
Entry is like
Customer A/C Dr 1000 Pc 1100
To Sales A/C 1000 PC 1100
Customer A/C Dr 2000 Pc 1200
To Sales A/C 2000 PC 1200
Now from customer we received a single bill of exchange, so that we booked from it from f-36
Now at the time of Discounting through T-code F-33 when we mentioned both the bill with system not able to split the document.
And showing the error Balancing field "Profit Center" in line item 001 not filled.
Regards,
ShyamHi,
Document splitting there in item category 001 check and put profit center is optional.
Regards,
Srikanth.Madani -
F-92 asset retirement-where document splitting is active
I have a situation where I have activated document splitting for the characteristics profit centre and segment. When i post an asset retirement however that the customer and the VAT postings do not get populated with profit center and segment. The asset disposal accounts, the assets, the gain or loss on disposal do have the profit center and segment populated.
I have made FSG profit centre required for customer, not required for VAT general ledger accounts
I have made the posting key 01 and 50 FSG- profit centre required and cost centre optional
Where else can i check. as i thought the customer would inherit the profit center from the cost centre in the asset being sold.Hi,
This is surely related to Document splitting configuration
For Document type DR, what is the business trans. and trans. variant assigned ?
I think it should be 0000 (unspecified posting) and then create a new variant and assign the below categories:
Menu: Financial Accounting (New)-> General Ledger Accounting (New) - > Business Transactions -> Document Splitting -> Define Business Transaction Variants
01000 Balance Sheet Account
01100 Company Code Clearing
01300 Cash Discount Clearing
02000 Customer
02100 Customer: Special G/L Transaction
03000 Vendor
03100 Vendor: Special G/L Transaction
04000 Cash Account
05100 Taxes on Sales/Purchases
05200 Withholding Tax
06000 Material
07000 Fixed Assets
20000 Expense
30000 Revenue
40100 Cash Discount (Expense/Revenue/Loss)
40200 Exchange Rate Difference
80000 Customer-Specific Item Category
Assign the new variant to DR document under Financial Accounting (New)-> General Ledger Accounting (New) - > Business Transactions -> Document Splitting -> Classify Document Types for Document Splitting
Hope this helps
Regards
Tarek -
Document Splitting issue - Business Transaction
Hi SDN,
I would just like to seek advise on our issue for Document Splitting, specifically on the business transaction.
We understand that you assign this business transaction to document types.
For our case however, we do have intercompany transactions, wherein we post to an Intercompany AP and Intercompany AR.
That means we both have AR and AP items in one document.
My question now is which business transaction should we assign to this Intercompany Document Type?
I've checked the selections and these are the only business transactions that we can use.
0000 Unspecified posting
0100 Transfer posting from P&L to B/S account
0200 Customer invoice
0300 Vendor invoice
0400 Bank account statement
0500 Advance tax return (regular tax burden)
0600 Goods Receipt for Purchase Order
1000 Payments
1010 Clearing transactions (account maint.)
1020 Resetting cleared items
I would like to seek advise from those who has implemented Document Splitting before.
Thanks!Dear,
I have never tried to consolidate both IC AR and IC AP document type.
Ideal it should be bifurcated as AP and AR because for One company it will be Sale and other will be Purchase.
Please bifurcate the same and then do the configuration related to Document Splitting.
Hope this helps!!
Br Vivek
Pls assign points for appropriately. -
Document splitting issue plz..
hi all,
i have an issue here ;
we are using document splitting based on profit centers.
I posted vendor invoice in a company code 1 and clearing the invoice using company code 2.which will create a cross company posting and in both company codes the documents are posted.
I.E CLEARING CO.CD 1 INVOICE USING CO.CD 2.
IN company code 1 all the profit center assignments are proper.But for the co cd 2 line items the profit centers are not being assigned with the right one.It is defaulting to a default profit center.All the rules are good.But i think iam missing some thing.
Did any one ran into similar situation or any special settings to take care of ???
help me with this.
Regards.
Sai.Dear,
I have never tried to consolidate both IC AR and IC AP document type.
Ideal it should be bifurcated as AP and AR because for One company it will be Sale and other will be Purchase.
Please bifurcate the same and then do the configuration related to Document Splitting.
Hope this helps!!
Br Vivek
Pls assign points for appropriately. -
*Billing Document Splitting with Credit control Area*
Hi
please give me solution for the following matter
there have some invoice splitting with credit control area from sales order header , because some orders available credit control area some order not available credit control area . can i create one billing document for those without splitting?
thanks
L.CHi L.C,
You can see VBAK-KNKLI field differs in sales document. The split is standard system behavior since
these are header fields. Please refer to note 11162 for details on split criteria for invoices.
In order to avoid the split you can either clear the fields in the copy control or you can change your credit management
configuration so that the credit accounts determined are the same.
I hope it can help you.
Regards
Ruy Castro -
Sales value in FD33 is not matching with the system's sales documents
Dear Experts,
Kindly provide your valuable inputs for the below mentioned issue-
I have one customer X ( Same for all Partner functions) defined for CCA say CN01( Risk cat, update group 000012). The applicable credit check is STATIC check, with open orders and Open delv. are ticked + Oldest open items= 10 days.
There are two open sales oders amounting 49,854.40 CNY. Customer has the credit limit as 50,000 CNY.
Now We have found, that the FD33 is also showing SALES VALUE as 249. CNY and split of Sales Value shows the 249 as Open billing Doc. But we could not get any Open Billing Document that is amounting to 249.
We have checked it in S067 ( showing 249), ran the pgm RVKRED88/RVKRED77 but Still this 249 value is appearing.
We have found that there are two open billing Doc. - One invoice and one credit for returns in relation to same Sales cycle. Both amounts to 212.85 CNY each.
Now i am unable to get the information as How can i check this Difference?
Kindly suggest accordingly.
Many thanks in advance for your understanding.Dear All,
Let me give you the finding that i have got for my case:
1. If you go to FD33, what is the value in field "Sales Value"? (any changes?)
Sales value= 249
2. In VA05N, choose SP, Document date & Open Orders; check for values matching the outstanding value (249)
No values are coming in VA05
3. Which other document types have the same Credit Group, you can check this in VOV8, check the sales doc types you are using for your business processes.
There are a few sales doc. types that are assigned the same credit group. But what to infer from this?
4. You say in your post "split of Sales Value shows the 249 as Open billing Doc." where exactly can you see this split?
I have searched from Extra tab, also checked the same in other sales report say vc/2 .
=================
1. Check the Tcode: FBL5N to check open items
FBL5N: Only one entry , exactly equals to the Receivables value in FD33
2. FD33 - check oldest Open items - clik on extra - oldest open items
No Oldest open items
3. also check F.35 report
Fur ther if you want to go into details what are the checks applied to your sales order you can track this by running the report CHECK_CM by using Tcode: se38 OR sa38.
1. se38,
2. Enter the report CHECK_CM
3. Press F8
4. Enter COC Number
5. here you can see the entire credit status of Sales order either it block or not if block what are the credit check applied you can see and you also can see either its blocked - B or released - D by looking the status.
What is COC number, I have tried to execute , and there are options of Sales Document number, I have put the input as The BILLING DOCUMENT THAT ARE HAVING STATUS " NOT POSTED TO FI" In Vf05, but it appeared"Please check the entries. No work list selected"
I am not getting any clue as why THE OPEN BILLING DOC. value is 249, over and above the receivables value, and in system I could not find the Documents which sum up to 249.
Kindly provide the inputs.
Thanks in advance.
Maybe you are looking for
-
XML File in External Table - OS error permission denied.
Hi. 10g R2, Red Hat Linux I'm using the article (see below, taken from http://www.dbazine.com/olc/olc-articles/scardina1 by Mark Scardina) to create an external table where I'd store my XML file. So, I 1. Created a directory xmlfile_dir 2. Granted ac
-
Illustrator cs6 is freezing at start up
I have adobe illustrator cs6 on a Mac mini. I have been using it everyday for about 3 weeks. All my art is vector based. Today I clicked on the icon in my task bar. The icon did its regular jumping thing, then began to bounce much higher. The start
-
Fonts in Safari & Chrome are outlined
http://imgur.com/Jobwo Message was edited by: William Chamberlin
-
How to move all contacts TO the SIM card on an N97
I have searched and while some topics exist on taking from the sim card using Nokia Suite, none address my issue of moving contacts from phone memory to the SIM Card. I have the latest N97 and Nokia Suite updates, but I can find no way to write to th
-
Ever since i updated to yosemite, i'm having trouble with shortcuts
am i the only one? is not impossible to work, just extremely annoying