Create one invoice document for factory sales and third party sales
Hi All,
I want to create one single invoice document for material sold from factory and from third party.
I have checked the copy controls for order to billing but the system is still spliting the invoice.
Please share your expertise.
Hello,
Can you please provide the details from the "Split Analysis", when you are trying to combine the 2 documents.
Regards,
Raghavendra
Similar Messages
-
LSMW me51n, how to create one PR document for all the records in the file
HI all,
I need to create LSMW for t-code me51n -Create Purchase Requisition. I`m using Bapi BUS2105, method CREATEFROMDATA, idoc message type PREQCR, basic type PREQCR03. The problem is that the LSMW is creating different idoc and different PR document for every record in the source file. My requirement is to create one PR document for one source file (Every source file is different Purchase Requisition) . I`m trying to do this with writing some code(global functions ) in the 'Mapping and conversion rules' events - BEGINOF_TRANSACTION_, ENDOF_TRANSACTION__..., but i`m not very sure what exactly i`m doing .
Please help me resolve this problem, any help will be appreciated .
Best regards, Emil Milchev.Thank you for you answer.
But I have found faster way of doing it - two source structures, one HEADER and ONE ITEM.
HEADER: one empty text field and identificator for it.
ITEM: everything else.
Then everything was just fine, i`ve mapped the different IDOC segments by PREQ_ITEM fields (equal values in the source file : 10-10-10..., 20-20-20,.... etc.) and put all required fields for my LSMW
SOURCE FIELDS:
Z_ME51N_V2 - MASS_UPLOAD - CREATE create
Source Fields
UPFILE upload file
IDENT C(010) ident
Identifing Field Content: header
TEXT C(001)
UPFILE2 123
IDENT C(010) ident
Identifing Field Content: item
BSART C(004) Document type
BANFN C(010) Purchase requisition number
BNFPO_FOR_MAP N(005) Item number of purchase req. for MAPPING acc.
BNFPO N(005) Item number of purchase requisition
KNTTP C(001) Account assignment category
PSTYP C(001) Item category in purchasing document
MATNR C(018) Material Number
WERKS C(004) Plant
LGORT C(004) Storage Location
MENGE N(013) Purchase requisition quantity
EKGRP C(003) Purchasing group
KONNR C(010) Number of principal purchase agreement
KTPNR N(005) Item number of principal purchase agreement
LIFNR C(010) Desired Vendor
FLIEF C(010) Fixed Vendor
AFNAM C(012) Name of requisitioner/requester
PREIS AMT4(011) Price in purchase requisition
ABLAD C(025) Unloading Point
WEMPF C(012) Goods Recipient
PS_POSID C(024) Work Breakdown Structure Element (WBS Element)
KOSTL C(011) COST_CTR v bapito ?
NAME1 C(040) Name1 - Name of an address
NAME2 C(040) Name2 - Name of an address 2
STREET C(060) Street
DELIVERY_DATE C(008) Date on which the goods are to be delivered
TEXT C(132) item text
STRUCTURE RELATIONS :
Structure Relations
E1PREQCR Header segment <<<< UPFILE upload file
E1BPEBANC Transfer Structure: Create Requisition Item <<<< UPFILE2 123
E1BPEBKN Transfer Structure: Create/Display Requisition Acct Assgt <<<< UPFILE2 123
E1BPEBANTX BAPI Purchase Requisition: Item Text <<<< UPFILE2 123
E1BPESUHC Communication Structure: Limits <<<< UPFILE2 123
E1BPESUCC Communication Structure: Contract Limits <<<< UPFILE2 123
E1BPESLLC Communication Structure: Create Service Line <<<< UPFILE2 123
E1BPESKLC Create Comm. Structure: Acct Assgt Distr. for Service Line <<<< UPFILE2 123
E1BPESLLTX BAPI Services Long Text <<<< UPFILE upload file
E1BPMERQADDRDELIVERY PO Item: Address Structure BAPIADDR1 for Inbound Delivery <<<< UPFILE2 123
E1BPMERQADDRDELIVERY1 PO Item: Address Structure BAPIADDR1 for Inbound Delivery <<<< UPFILE2 123
E1BPPAREX Ref. Structure for BAPI Parameter EXTENSIONIN/EXTENSIONOUT <<<< UPFILE2 123
MAINTAIN FIELD MAPPING AND... :
the MAPPING between two IDOC`s segments:
In first segment:
E1BPEBANC Transfer Structure: Create Requisition Item
Fields
PREQ_NO Purchase requisition number
Source: UPFILE2-BANFN (Purchase requisition number)
Rule : Transfer (MOVE)
Code: E1BPEBANC-PREQ_NO = UPFILE2-BANFN.
PREQ_ITEM Item number of purchase requisition
Source: UPFILE2-BNFPO (Item number of purchase requisition)
Rule : Transfer (MOVE)
Code: E1BPEBANC-PREQ_ITEM = UPFILE2-BNFPO.
In second segment :
E1BPEBKN Transfer Structure: Create/Display Requisition Acct Assgt
Fields
PREQ_NO Purchase requisition number
PREQ_ITEM Item number of purchase requisition
Source: UPFILE2-BNFPO_FOR_MAP (Item number of purchase req. for MAPPING
Rule : Transfer (MOVE)
Code: E1BPEBKN-PREQ_ITEM = UPFILE2-BNFPO_FOR_MAP.
After that everything was OK . -
Give me the Configuration steps for intercompany billing and third party s
Hi Gurus,
Give me the Configuration steps for intercompany billing and third party sales and give me a brief description with examples.
Regards,
YSRDear YSR
Check the links
[Cross Company Configuration|http://help.sap.com/bp_bblibrary/500/Documentation/J62_BB_ConfigGuide_EN_DE.doc]
[Third Party Without Shipping Notification|http://help.sap.com/bestpractices/BBLibrary/html/J55_ThirdPartyWOSN_EN_US.htm]
Third party order processing is as follows:
Assume three companies X, Y and Z
X - The company,
y - The customer
Z - Vendor
When ever X gets a PO from Y to supply some goods, X has an option of either manufacturing those goods or procuring those goods.
If he is procuring the goods, there are two methods that are generally followed:
Method 1)
After receiving the PO from Y, X creates a sales order against Y.
Now at the same time he also creates a PO to a vendor Z to produce the goods
Z produces the goods and supplies to X
X receives the goods from Z
Then X delivers the same goods to Y.
After that X invoices Y and Z invoices X.
Note : Here there is no direct/ Indirect relation between Z and Y.
This process is known as Trading Process. and the Material here is created with Material type HAWA.
The other method is a Third party order processing method:
Here the glaring difference is that instead of Z supplying the material to X and X in turn supplying the same material to Y.
X authorizes Z to supply the material to Y on his behalf and notify him once the delivery is complete.
Now Z supplies the material to Y and acknowledges the same to X.
Z will send a copy of delivery acknowledgement and invoice to X.
After receiving the delivery confirmation and invoice from Z, X has to verify the invoice and this process is known as invoice verification and is done in SAP through Tcode MIRO.
The next step for X is to create an invoice and submit to Y
Only after the invoice verification document is posted then only X can create an invoice for Y.
This is the business flow that is followed for third party order configuration.
There are few steps that have to be configured to enable the system to function as mentioned above.
Step1)
If you are always followwing a third party process for a material then you have to create the material using item category group BANS.
The procument type should be marked as External procurement (F) in MRP 2 view of the material master record.
if you are not always allowing third party order processing then u can create a material master record with item category group as NORM and the procurement type should be marked as ( X) meaning both types of procurment ( in house manufacturing and external procurement).
Step 2)
the item category in the order should be manually changed as TAS.
For that you need to confugure the item category determination
ord type + item cat grp + usge + Hiv level = Item cat + Manual item cat
OR + NORM + + = TAN . + TAS
OR + BANS + + = TAS
Step 3)
make sure that during the item category configuration for TAS you need to mark relevnat for billing indicator as F
Step 4)
The schedule line cateogry for this type should be CS.
make sure that you mark subsequent type as NB - purchase requisition in this schedule line category as this will trigger the purchase requision order immediately after the creation of the sales order and the PO to vendor is created against this purchase requiesion.
thanks
G. Lakshmipathi -
Create draft invoice document from a sales order
When i create an invoice document from a draft invoice document from a sales order, this invoce is linked to the order sales.
Sorry for my english, i hope you can understandIt would be difficult to know what question do you have. Try to ask question. Your English is not bad at all.
Thanks,
Gordon -
How to create one GR document for mutiple Purchase orders
Can you please explain me in SAP - How to create one Goods Receipt document for reference of Multiple purchase orders.
Dear Tanuj,
Both Rama & Stephen are correct.
You can take Single GR for Multiple PO either in MIGO or MB01 as long as that POs belongs to same vendor.
In MIGO, after putting the PO press,enter, again give the next PO of that vendor .
If this solve your problem, close the issue.
With Regars,
Krishna Reddy -
One billing document for multiple deliveries which are for different PO
Hi All,
I have a scenario where i need to create one billing document for multiple deliveries.
Payer is same
Ship-to is same
PGI date different
Sales area is one
PO different
In standard SAP it will create seperate billing document for different PO
Please advice if there is a different copy routine which will combine all the POs in one billing document.Hi Mr. Bhat,
Go to VTFL --> Select the combination of your delivery type and billing type --> Double click at Item(Left side) --> Select your item category --> Click at details
In the feild "Data VBRK/VBRP" --> I think the routine assigned is 601 (Inv.split - PO Num.) --> Now change it to 3 (Single invoice)
Then try your process, Hope it helps.
Regards,
MT -
Partial billing documents for 1 sales order
Hi all,
How to create partial billing documents for 1 sales order,
Note: Billing will be done against sales order not delivery,hi
go to VF01 and enter your sales document and then from the menu bar select the icon -- selection list you will get the list of items in the sales order you can select the items and select the icon copy you can do the partial billing
regards
vardhan -
Intercompany and third-party Po
Hello,
I'm looking for a solution for the following business process:
We work with two company codes: company A is the customer and company B is the vendor who sells third-party products to company A. Company A addresses the third -party vendor directly and drows products directly from him. Third-party vendor sends his invoices to company B who pays him and bills company A.
Many thanks,
Sarit BabnikHi Sarit,
This can be handled with Third party processing.
Create company 'A' as a customer to company 'B'.
Company 'B' will be a vendor to company 'A'.
<b>Entering a Sales Order</b>
You enter a third-party item in a sales order. The system automatically creates a purchase requisition item for each third-party item in the sales order.
<b>Entering a Purchase Order to Vendor</b>
You enter a purchase order with a third-party item with reference to the requisition third-party item.
<b>Delivering Goods to Customer</b>
The vendor supplies the goods to the customer. To document this step in the system, you can post a statistical goods receipt in Inventory Management. However, this is not compulsory.
<b>Entering a Vendor Invoice</b>
The vendor sends you an invoice. You enter the invoice receipt in Invoice Verification. The invoice receipt is necessary before a billing document can be created in SD.
<b>Creating a Billing Document for the Customer</b>
In SD, you create a billing document for the sales order. Depending on the Customizing settings (whether or not the billing-relevant indicator is set for the item category in SD), you draw up the billing document on the basis of the order quantity or on the basis of the quantity specified in the vendor invoice. If the customer is billed on the basis of the order quantity, you can create the billing document immediately after the sales order is entered. If the customer is billed on the basis of the quantity specified in the vendor invoice, you cannot create the billing document until the vendor invoice has been entered in Invoice Verification.
For further help, u can go thru this link:
http://help.sap.com/saphelp_47x200/helpdata/en/4d/4b9036dfe4b703e10000009b38f889/frameset.htm
Hope this clarifies.
Thanks,
Viswanath -
How to integrate XI and third-party Payroll system?
Hi Experts,
We want to integrate third-party Payroll system with SAP through XI.
Can anyone provide me step by step guidance?
Which IDOC is useful? and entries should not go to FI tables.
Thanks in advance.
Regards,
AnirbanHello Prasad,
<b>Connection with an External Payroll System</b>
Payroll Outsourcing functionality allows you to compile master data or payroll data in the SAP system to submit to a third-party service provider in an electronic format. The Outsourcing solution available in the United States and Canada provides a generic interface which writes data into an IDoc (Intermediate Document) for transport to a third-party system. In order to transport data into and out of the SAP system, you must set up a logical system, partner definition, and outsourcing ports.
If you have built your own payroll interface, using the Interface Toolbox, for example, you can use the Import section of this scenario. The Export section applies only to the transport of IDocs.
For more information regarding outsourcing, refer to the SAP Library, Human Resources -> PY Payroll -> PY-US United States Payroll or PY-CA Canada Payroll -> Outsourcing.
http://help.sap.com/saphelp_erp2005vp/helpdata/en/af/f4ea3444e9c47fe10000009b38f83b/frameset.htm
Import Payroll Results from a Third-Party System
http://help.sap.com/saphelp_erp2005vp/helpdata/en/0a/e62481feaf11d1a5500060087832f8/frameset.htm
regards
Prasad
Message was edited by:
prasad chintala -
Error in Creating Excise Invoice for Factory Sale
Dear Friends:
Using T.code J1IIN ( Create Excise invoice for Factory Sale), I entered data for billing doc,posting date,sub transaction type & pressed enter and tried to save it.I got the error 'Error in allocating internal document number interval not found number object J_1IINTNUM'.
Using T.code J1I9, I used the number object J_1IINTNUM and created number ranges and again tried to save T.code J1IIN ( Create Excise invoice for Factory Sale), but still i am getting the same error.
Please let me know how to solve the error. This will be highly Appreciated.
Srinu NVHi,
In Excise Invoice, there is always an internal number range which is required to be maintained. This is maintained through Transaction Code: SNRO & object being J_1IINTNUM . As soon as you maintain the same, it will resolve the error.
I learned the above by commiting a same mistake in one of the project.
Regards,
Rajesh Banka
Reward points if helpful. -
Create Excise invoice for Factory Sale problem
Dear Friends:
Using T.code J1IIN ( Create Excise invoice for Factory Sale), I entered data for billing doc,posting date,sub transaction type & pressed enter and tried to save it.I got the error 'Error in allocating internal document number interval not found number object J_1IINTNUM'.
Using T.code J1I9, I used the number object J_1IINTNUM and created number ranges and again tried to save T.code J1IIN ( Create Excise invoice for Factory Sale), but still i am getting the same error.
Please let me know how to solve the error.Please explain in detail.This will be highly Appreciated.
Thanks
SridharHi Sridhar,
Can you please let me know whether your issue is resolved. If yes, Can you please specify the solution.
I am facing the same error now and I am not able to figure out the reason for it.
Regards,
Srinu NV -
Issue in creating one invoice for 2 despatches
Hi all,
I have two export despatches and I want to create one invoice for both despatches. Now when I open VF01 and enter 2 despatches document nos, the system is creating 2 separate invoices because 'Number of foreign trade data field' is different in both despatches. Please respond how can i create one invoice in this case for 2 despatches.
Best Regards,
AIHi,
This field is in header data of billing document you can do as change the filed value to same as first doc. or change the data transfer requirment in copying control.
Gajanan Rudrakanthwar -
Creating an Accounting Document for Invoice
We cannot create an accounting document for Invoice.There is no problem in account determination procedure. I've tried to clear in VFX3, but gives me an error message that says "express document 'update was terminated' received from author.
After analysis the error being reported is:
"M2 012: Error determining posting period (info structure S010).Function module is MCV_STATISTICS_UPD_V1_INVOICE V1 NORMAL
Can you suggest how we can post/Release to Accounts?Hi Narendra
Go to T-code MCVV. In this case since the doc is not created it will not work.
Is there an ST22 dump. if yes put a break point there.
Check SM13 and you can see the here where the update fails. Apply break point there.
Go to MC26 and enter S010 and check if any update rules exisit. in one of the formulas you need to put a break point.then go back to VF01 and then before you hit the save enter /h in the command box to go into debug mode.
Once in debug mode Follow the menu path Setings--->update debug on/off.Debug and see why the update is failing.
Thanks -
I was at Apple Store yesterday and they created a pages document for me. When I got home and tried to open it, I get a message that I need a newer version of Pages. I see the image before I push "open". The 'kind' is pages publication. The file does not appear in the 'open recent' list.
Just be careful with Pages 5, it is not strictly an upgrade.
Apple has actually removed over 90 features and some work can be very difficult in the newer version.
It was all done to make it more interchangeable with the inferior iOS version:
http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&mforum=iworktipsn trick
Peter -
Can one create a smart playlist for multiple podcasts and to...
Can one create a smart playlist for multiple podcasts and to play one after the other on your iPod? I want to combine podcasts of the same topic in a smart playlist. When I tried to do this I chose smart playlist, album starts with, and then did it again for each podcast I wanted. That didn't work. If it can be done how do you do it?
I have a fifth generation iPod which is always updated to the latest as well as the itunes.Say for example I want to put different car related podcasts in one smart playlist. Car related podcasts such as Wall Street Journal Car Cast and NPR Car Talk. Can it be done and if so how?
Maybe you are looking for
-
Upgrading Multiple Phones on a Family Plan
I have been reading through posts on these forums and have yet to find a concrete answer to my situation. My wife and I have the nationwide family talk 700 plan and she is the primary number. When I login to our account online, it says that we only h
-
Problem with bapi to create purchase requisition
I got a requirement that to upload details of procurement into Z table with a temporary PR. Could u please suggest the procedure or bapi to upload datainto Z table. Regards
-
PDF of iPhoto book not displaying text under photos
Just created a wedding book in iPhoto 11 but when I saved it as pdf to proof it, text under photos was not there. I could see the top of some letters at bottom of photos. However, on my slide show and in reviewing the book in iPhoto, text is there. S
-
There are times in my Mail where I create a new file for sending out as an attachment and I am unable to find the file right away. It seems as if it takes awhile for the mail have the file available. Any ideas?
-
What does the sign mean next to the price of an app? and why can i not purchase it?
THE PLUS SIGN