Create one internal sales order with two lines
When I try to use internal sales order cycle
I started with create internal purchase requisition with two lines,
Each one will supply from different warehouse
Run Create Internal Orders request
and then switch to Order Management responsibly
Run Order Import request with requisition number in parameter window
All of lines included in internal requisition in same internal sales with different shipping warehouse
it's seeded functionality.
What do You expect else?
You then ship to diferent ORGs with different deliveries. Everything is OK.
BR,
Eugene
Similar Messages
-
One sales order with two bill to party at the document header
Hello to all
We have the following issue: create one sales order with two bill to party and only one payer. The reason is that the materials are paid with the same customer(only one account document) but we need to print two invoices one by each bill to party and each invoice printed with its own invoice number)
We are thinking in one development due to the key users won´t create different line items or create different sales order.
The process will be the following:
1-Create the sales order with one payer and two bill to party or a new bussiness partner(you can use only one bill to party in each customer)
2-Invoice the sales order. The system will create only one account document because there is only one payer but the system will create two printed documents with the invoice.
So if someone had the same requeriments, any help will be appreciated.
Thanks in advance.Pablo,
You intend to create one invoice (one payer) but 2 different document print layouts.
That should work. But, you have stated 'printed with its own invoice number'.... does this mean you need 2 distinct document numbers in the system? That will not be possible.
An alterantive is to create a Proforma invoice and a regular invoice and send it to the 2 parties involved.
Ashutosh -
LSMW program to upload the sales order with multiple line items.
Dear SD and PP Gurus,
I am new to creating LSMW Program.
I want to create a LSMW program to upload the sales order with multiple line items. I have read on SDN that it can be done on two phases. First Create Header Data than line items. IS IT TRUE??, Or
Is there any procedure by which we can load the sales orders with multiple line items in a single run (part).
I want to use Batch process, not a BAPI or IDOC procedure.
I have created a program with
object 0090
Method 0000
Program Name RVINVB10
Program Type D
Source Structure 1 - For Header and Source Structure 2 for Line Items.
Mapped Field INDET (With Fix Value 1), ORDERTYPE, SALESORG, DISTCHANNEL, DIVISION, CUSTOMER, PONUMBER , DELVDATE, PRCGDATE, PMTTERM
INCOT1 INCOT2 with Source Structure - 1 and
Field INDENT (With Fix Value 2), ITEMNO, MATCODE, MATQTY, SUOM, PLANT, BATCH, AMOUNT with Structure-2
than maintained Structure relation ship, field Mapping, Specified Files, Assigned files, Read Data and other process,
At final stage (Start Direct Input program RVINVB10) it is giving a message - Table name not allowed.
Please tell me where I am wrong.
Thanks in advance.
DSCDear SD Gurus n Experts,
I have solved the above problem. But there is another problem appearing regarding the date format. Now system generating a message: Date . . is not valid.
While I am using Date: YYYYMMDD format in flat file, which is SAP's Standard Format.
In SDN Link: LSMW upload Sales Order using VA01/VA02 I have found that there are some date fields which are mandatory to filled. Here I have mapped
VDATU - Requested delivery date, BSTDK - Customer purchase order date, PRSDT - Date for pricing and exchange rate, BSTDK_E - Ship-to party's PO date, FKDAT - Billing Date, KORDT - Delivery Date,
and PRGRS - Date type is Constant = D
Can any one tell me, where is the priblem.
With thanks,
DSC -
Tables for creating a new sales order with reference to another
Hi Experts
In ABAP, how can identify that I'm creating a new sales order with reference to another in the userexit read_document??, In which tables is this information??.
Thanks
RegardsIn Table VBFA there are two fields
a) Preceding Document and
b) Subsequent Document category
Based on the above two fields, you can conclude that sale order is created with reference to a preceding document.
thanks
G. Lakshmipathi -
Update Sales Order with Text-Line and without regular Lines
Hello Experts,
i have a problem to update a Sales Order with no Item-Lines but with one Text-Lines or one Sub-Total-Lines.
I get only the Error "The specified resource name can not be found in the image file", the %temp% are delete.
i have testet with Methode: #updateDocWithSubDeletion, #Synchronnous Update, #Synchronous Insert with fallback to Update (i was desperate)
my Scenario look like this:
my Payload:
i have allready testet with the part AdminInfo und QueryParams with the same Error.
<Payload id="atom6" Role="X">
<Documents xmlns="">
<row>
<DocNum>227780</DocNum>
<DocType>dDocument_Items</DocType>
<HandWritten>tNO</HandWritten>
<Printed>psNo</Printed>
<DocDate>20150423</DocDate>
<DocDueDate>20150423</DocDueDate>
<CardCode>61052</CardCode>
<CardName>Durchlauf</CardName>
<DocCurrency>EUR</DocCurrency>
<DocRate>1.000000</DocRate>
<DocTotal>0.000000</DocTotal>
<Reference1>227780</Reference1>
<JournalMemo>Kundenaufträge - 61052</JournalMemo>
<PaymentGroupCode>-1</PaymentGroupCode>
<DocTime>0819</DocTime>
<SalesPersonCode>2</SalesPersonCode>
<TransportationCode>-1</TransportationCode>
<Confirmed>tYES</Confirmed>
<SummeryType>dNoSummary</SummeryType>
<ContactPersonCode>0</ContactPersonCode>
<ShowSCN>tNO</ShowSCN>
<Series>5</Series>
<TaxDate>20150423</TaxDate>
<PartialSupply>tYES</PartialSupply>
<DocObjectCode>17</DocObjectCode>
<DiscountPercent>0.000000</DiscountPercent>
<DocTotalFc>0.000000</DocTotalFc>
<RevisionPo>tNO</RevisionPo>
<RequriedDate>20150423</RequriedDate>
<CancelDate>20150523</CancelDate>
<BlockDunning>tNO</BlockDunning>
<Pick>tNO</Pick>
<PaymentMethod/>
<PaymentBlock>tNO</PaymentBlock>
<MaximumCashDiscount>tNO</MaximumCashDiscount>
<WareHouseUpdateType>dwh_CustomerOrders</WareHouseUpdateType>
<Rounding>tNO</Rounding>
<DeferredTax>tNO</DeferredTax>
<NumberOfInstallments>1</NumberOfInstallments>
<ApplyTaxOnFirstInstallment>tNO</ApplyTaxOnFirstInstallment>
<DocumentSubType>bod_None</DocumentSubType>
<Address2/>
<UseShpdGoodsAct>tNO</UseShpdGoodsAct>
<IsPayToBank>tNO</IsPayToBank>
<DownPayment>0.000000</DownPayment>
<ReserveInvoice>tNO</ReserveInvoice>
<LanguageCode>9</LanguageCode>
<SequenceModel>0</SequenceModel>
<UseCorrectionVATGroup>tNO</UseCorrectionVATGroup>
<DownPaymentAmount>0.000000</DownPaymentAmount>
<DownPaymentPercentage>0.000000</DownPaymentPercentage>
<DownPaymentType>dptInvoice</DownPaymentType>
<DownPaymentAmountSC>0.000000</DownPaymentAmountSC>
<DownPaymentAmountFC>0.000000</DownPaymentAmountFC>
<VatPercent>0.000000</VatPercent>
<ServiceGrossProfitPercent>0.000000</ServiceGrossProfitPercent>
<OpeningRemarks/>
<ClosingRemarks/>
<RoundingDiffAmount>0.000000</RoundingDiffAmount>
<ControlAccount>1200</ControlAccount>
<InsuranceOperation347>tNO</InsuranceOperation347>
<ArchiveNonremovableSalesQuotation>tNO</ArchiveNonremovableSalesQuotation>
<ExtraMonth>0</ExtraMonth>
<ExtraDays>30</ExtraDays>
<CashDiscountDateOffset>0</CashDiscountDateOffset>
<StartFrom>pdt_None</StartFrom>
<NTSApproved>tNO</NTSApproved>
<EDocGenerationType>edocNotRelevant</EDocGenerationType>
<DownPaymentStatus>so_Open</DownPaymentStatus>
<GroupHandWritten>tNO</GroupHandWritten>
<CreateOnlineQuotation>tNO</CreateOnlineQuotation>
</row>
</Documents>
<Document_SpecialLines xmlns="">
<row>
<AfterLineNumber>-1</AfterLineNumber>
<LineType>dslt_Subtotal</LineType>
<LineText>Zwischensumme</LineText>
</row>
</Document_SpecialLines>
<Document_Lines xmlns="">
<row>
<ItemCode>108044</ItemCode>
<Quantity>0.01</Quantity>
<FreeText/>
</row>
</Document_Lines>
<TaxExtension xmlns="">
<row>
<NetWeight>0.000000</NetWeight>
<GrossWeight>0.000000</GrossWeight>
<StreetS/>
<BlockS/>
<BuildingS/>
<CityS/>
<ZipCodeS/>
<CountyS/>
<StateS/>
<CountryS/>
<BuildingB/>
</row>
</TaxExtension>
</Payload>
when I insert a new row with an ItemCode , it works
Thanks and Best Regards
RonnyHi,
why don't you create a simple scenario to export B1 Sales Order to XML File?
Maintain the SalesOrder via B1 client UI and check the result in XML as exported to file.
In the Sales Order xml file you can easily see how "AfterLineNumber" needs to be filled in segment "Document_SpecialLines" to achieve what you've entered via B1 client.
Normally the LineNum for B1 Documents starts counting with 0 and if you need to add a subtotal line after a regular item row, the "AfterLineNumber" value should be 0.
Best regards
Bastian -
Partial delivery of sales order with some line items
Hi all,
Please help me in the issue i want to create delivery against sales order partially for some line items of the sales order . Can any one suggest me the procedure how to do it through programing .
Thanks in advance,Hi,
You have several methods of doing same.
Method 1
Go to VL01N, and given your sales order number.
Without giving the line item, just press Enter
Now inside the delivery, you can delete unwanted line items, and you can adjust quantities under Item overview tab.
After that do picking and PGI.
Method 2
Go to VL10E,
Give your sales order number and execute.
Mark relevant schedule lines only and press execute,
then those line items with marked schedule lines will copied to the delivery document.
Best regards,
Anupa -
Production order from sales order with multiple line item(for one material)
Dear Gurus,
I am working in MTO scenarios. If there is several line item in a sales order for one material, multiple production order( same as no. of sales order line item) is getting created against each of the line item.My requirement is,since the material code is same in each line item and sales order is one, one production order should be generated for all line item. please tell me how to do it.
(Here for one material, multiple line item is required for some specific reason)
Regards
Rajib PathakHi,
This is not possible.
In Std SAP will create one production order for one sales order. The stock is also allocated to thet particular sales order only. Because each and every sales order may vary in any one of the parameters. Considering this, SAP has designed like this.
Regards,
V. Suresh -
Hi,
sale order should not be saved if there is no line item.
Sale order should not be saved if there is no quantity or value for a line item.
Can anyone update on this please
RatnaHi,
You can create sales order directly with out any material in standard.
If you enter any material you need to specify quantity.
Regards,
Ravi Duggirala
Edited by: ravi duggirala on May 19, 2009 11:56 AM -
Adding Sales Order with multiple lines
Hi all,
I have a C# program whereby I am trying to get Sales Orders from one database (source) and create them in another database (destination). I can't get the code to work properly as lRetCode is never equal to 0 but is -5002.
How can I fix it so that it adds the sales orders properly?
Here is the code snippet:
unaddedSOs = sList.Except(dList).ToList(); // contains the header information
// Add the Sales Orders that are missing to destination database
SAPbobsCOM.Documents sboSO = (SAPbobsCOM.Documents)oCompanyDestination.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders); // Destination
// Loop through unadded Sales Orders
foreach (var item in unaddedSOs)
// Set properties of the Sales Order object
sboSO.CardCode = item.cardCode;
sboSO.CardName = item.cardName;
sboSO.DocDate = item.docDate;
sboSO.DocDueDate = item.docDueDate;
// Add Sales Order Document Lines
SAPbobsCOM.Recordset rsLines = oCompanySource.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset); // Source of lines
// Get Sales Orders from source database
rsLines.DoQuery("SELECT ItemCode, Quantity, Price FROM RDR1 WHERE DocEntry = '" + item.docNum + "'");
rsLines.MoveFirst();
if (rsLines.RecordCount > 0)
while (!rsLines.EoF)
sboSO.Lines.ItemCode = rsLines.Fields.Item("ItemCode").Value;
sboSO.Lines.Quantity = rsLines.Fields.Item("Quantity").Value;
sboSO.Lines.Price = rsLines.Fields.Item("Price").Value;
sboSO.Lines.Add();
rsLines.MoveNext();
// Try to add the Sales Order to the database
int lErrCode = 0;
string sErrMsg = "";
int lRetCode = sboSO.Add();
if (lRetCode != 0)
int temp_int = lErrCode;
string temp_string = sErrMsg;
oCompanyDestination.GetLastError(out temp_int, out temp_string);
// Incase adding a Sales Order failed
if (lErrCode != -4006)
// Display error message
MessageBox.Show(lErrCode + " " + sErrMsg);
MessageBox.Show("Done!!!");
Kind Regards,
Kinyanjui.Hi Kinyanjui,
I think you're always writing to the same line:
int row = 0;
while (!rsLines.EoF)
sboSO.Lines.SetCurrentLine(row);
sboSO.Lines.ItemCode = rsLines.Fields.Item("ItemCode").Value;
sboSO.Lines.Quantity = rsLines.Fields.Item("Quantity").Value;
sboSO.Lines.Price = rsLines.Fields.Item("Price").Value;
sboSO.Lines.Add();
rsLines.MoveNext();
row++;
Best regards,
Pedro Magueija -
Procurement tab in Sales order displays two line items per material
Folks
I am not a SD guy and i have a very basic question on how to read the details in the procurement tab for a sals order.
In the Procurement tab of a Sales order, two line items per material are displayed as shown below. whats does this mean ?
Further, I had observed the below differences in the below 2 lines
1. Mat. Avail Date is 06/19/2007 for line 1 & 06/20/2007 in line 2.why r the dates different ?whats the significance?
2. Confirmed qty is 0 line 1 & 1in line 2.( when does confirmation trigger or update ? Is it upon ATP check or upon delivery ?)
3. Order qty is 1 line 1 & 0 in line 2.
Item Material Plant Confirmed Qty SU Mat. Avial Date SL Req. Type Deliv. Date ATP Qty Loading dt Route Part. Deliv/ Item Deliv priority Desc
10 NTE801NC 2400 0 EA 6/15/2007 CT D 6/19/2007 0 6/15/2007 24GB03 C 98 Priority 98 (Normal)
1 EA 6/15/2007 CT D 6/20/2007 6/15/2007 Priority 98 (Normal)
ThanksIt means 2 schedule line for that materials ,
06/19/2007 is the date on which material is requested by customer but there is not sufficient stock on that day so 0 quantity is confirmed for that day.
On 06/20/2007 material is availabe and you can start delivery to customer on 06/20/2007 and system confirms the material for 20th and it is reserved for this sales order.
Confirmation is based on your MAT ( Material availability date ), but you can revist these dates through by triggering availabilty check or Back order processing through GATP or ATP.
Manish -
How to close one booked sales order when its lines are all closed?
There's one so and its status is booked.
But its lines' status is all closed.
The so's status should be closed.
And How can I do it?Hi
The header level workflow process 'Close-Order' on the end of last day of month
This wait function comes seeded with a constant value which sets it to defer
until the last day of the month.
The 'Close-Order' workflow process may be modified from Workflow Builder
for more detail please see Note:141919.1 on Metalink
Essam -
Create a sales order with reference to another one. (BAPI)
Hi everybody,
I'm trying to create a new sales order with reference to another one (That's important because of the documents flow).
I'm using 'BAPI_SALESORDER_CREATEFROMDAT2' but I couldn´t do it yet. I've read some ideas about this kind of creation in this forum; but I still haven´t found the solution yet.
Some ideas about the BAPI parameters I nedd to complete?
Thanks in advance!!Hi,
Go through this one
*& Report ZSD_R_SALESORDER
report zsd_r_salesorder1 line-size 132 message-id zmmbapi .
*& Created By : shailaja
*& Created on : 13.10.2007
*& Requested By : vardhman
*& Description of program :
Internal table definition *
data: gt_order_header_in like bapisdhead occurs 0 with header line,
gt_return like bapireturn1 occurs 0 with header line, " Return Messages
gt_order_items_in like bapiitemin occurs 0 with header line, " Item Data
gt_salesdocument like bapivbeln-vbeln , "Number of Generated Document
gt_order_partners like bapiparnr occurs 0 with header line, "Document Partner
gt_return1 like bapiret2 occurs 0 with header line.
Data definition *
types: begin of ty_gt_ft_sales ,
partn_numb(10) type n ,"Customer Number 1
partn_role(2) ,"Partner function
sales_org(4) , "Sales Organization
distr_chan(2) , "Distribution Channel
division(002), "DIVISION
doc_type(4) , "Sales Document Type
purch_no(020), "Purchase order
material(18), "MATERIAL
targetquantity(020),"Target quantity
reqqty(020), "Req quantity
reqdate(010), "req date
*REQ_DATE_H(010),
ref_1(012), "Ref
unload_pt(025),
*PARTN_ROLE(2) ,"Partner function
*PARTN_NUMB(10) ,"Customer Number 1
end of ty_gt_ft_sales,
begin of ty_header ,
partn_numb(10) ,"Customer Number 1
partn_role(2) ,"Partner function
sales_org(4) , "Sales Organization
distr_chan(2) , "Distribution Channel
division(002), "DIVISION
doc_type(4) , "Sales Document Type
purch_no(020), "Purchase order
unload_pt(025),
req_date_h(010),
end of ty_header,
begin of ty_item,
material(18), "MATERIAL
targetquantity(020),"Target quantity
reqqty(020), "Req quantity
reqdate(010), "req date
ref_1(012), "Ref
*UNLOAD(025),
end of ty_item.
data : msg(240) type c, " Return Message
e_rec(8) type c, " Error Records Counter
rec_no(8) type c, " Records Number Indicator
s_rec(8) type c, " Successful Records Counter
t_rec(8) type c, " Total Records Counter
v_matnr like mara-matnr,
v_parvw type parvw.
data : gt_ft_sales type standard table of ty_gt_ft_sales with header line.
data : wa_gt_ft_sales type ty_gt_ft_sales,
wa_order_items_in like gt_order_items_in,
wa_gt_ft_sales1 type ty_gt_ft_sales,
wa_header type ty_header,
salesdocument like bapivbeln-vbeln.
selection block for EXCEL UPLOAD FILE
selection-screen begin of block b1 with frame title text-000.
parameters file type ibipparms-path obligatory.
selection-screen end of block b1.
*<<<<AT SELECTION-SCREEN ON VALUE-REQUEST FOR FILE .
at selection-screen on value-request for file .
perform getname.
form getname.
call function 'F4_FILENAME'
exporting
program_name = syst-cprog
dynpro_number = syst-dynnr
importing
file_name = file.
endform.
*TOP-OF-PAGE.
top-of-page.
skip 3.
format color col_heading inverse on.
write 40 text-001.
format color col_heading inverse off.
skip 1.
format color col_negative inverse on.
write :/ text-002, 13 sy-mandt , 104 text-003, 121 sy-uname,
/ text-004, 13 sy-datum , 104 text-005, 121 sy-uzeit.
format color col_negative inverse off.
skip 3.
*START-OF-SELECTION.
start-of-selection.
perform get_data.
perform bapi.
*end-of-page.
perform result.
form result.
t_rec = e_rec + s_rec.
skip 3.
format color col_total inverse on.
write: /38 text-007, t_rec.
format color col_total inverse off.
format color col_negative inverse on.
write: /38 text-008, e_rec.
format color col_negative inverse off.
format color col_total inverse on.
write: /38 text-009, s_rec.
format color col_total inverse off.
endform.
*& Form get_data
text
--> p1 text
<-- p2 text
form get_data .
call function 'WS_UPLOAD' "#EC *
exporting
filename = file
filetype = 'DAT'
tables
data_tab = gt_ft_sales
exceptions
conversion_error = 1
file_open_error = 2
file_read_error = 3
invalid_type = 4
no_batch = 5
unknown_error = 6
invalid_table_width = 7
gui_refuse_filetransfer = 8
customer_error = 9
no_authority = 10
others = 11.
if sy-subrc 0 .
message e000.
endif.
endform. " get_data
*& Form BAPI
form bapi .
loop at gt_ft_sales into wa_gt_ft_sales.
wa_gt_ft_sales1 = wa_gt_ft_sales.
at new partn_numb.
wa_header-doc_type = wa_gt_ft_sales1-doc_type..
wa_header-sales_org = wa_gt_ft_sales1-sales_org . "'0001'
wa_header-distr_chan = wa_gt_ft_sales1-distr_chan. "'01'
wa_header-division = wa_gt_ft_sales1-division. " '01'
wa_header-purch_no = wa_gt_ft_sales1-purch_no.
wa_header-req_date_h = wa_gt_ft_sales1-reqdate.
call function 'CONVERSION_EXIT_PARVW_INPUT'
exporting
input = wa_gt_ft_sales1-partn_role
importing
output = v_parvw.
wa_header-partn_role = v_parvw.
wa_header-partn_numb = wa_gt_ft_sales1-partn_numb.
wa_header-unload_pt = wa_gt_ft_sales1-unload_pt.
move-corresponding wa_header to gt_order_partners.
move-corresponding wa_header to gt_order_header_in.
append gt_order_header_in.
append gt_order_partners.
endat.
call function 'CONVERSION_EXIT_CCMAT_INPUT'
exporting
input = wa_gt_ft_sales1-material
importing
output = v_matnr.
gt_order_items_in-material = v_matnr .
gt_order_items_in-target_qty = wa_gt_ft_sales1-targetquantity . "'1000'
gt_order_items_in-req_qty = wa_gt_ft_sales1-reqqty.
gt_order_items_in-req_date = wa_gt_ft_sales1-reqdate.
*GT_ORDER_ITEMS_IN-BILL_DATE = wa_GT_FT_SALES1-REQDATE.
gt_order_items_in-ref_1 = wa_gt_ft_sales1-ref_1.
append gt_order_items_in.
clear : wa_gt_ft_sales1,wa_header.
at end of partn_numb.
call function 'BAPI_SALESORDER_CREATEFROMDAT1'
exporting
order_header_in = gt_order_header_in
WITHOUT_COMMIT = ' '
CONVERT_PARVW_AUART = 'X'
importing
salesdocument = salesdocument
SOLD_TO_PARTY =
SHIP_TO_PARTY =
BILLING_PARTY =
return = gt_return
tables
order_items_in = gt_order_items_in
order_partners = gt_order_partners.
ORDER_ITEMS_OUT =
ORDER_CFGS_REF =
ORDER_CFGS_INST =
ORDER_CFGS_PART_OF =
ORDER_CFGS_VALUE =
ORDER_CCARD =
ORDER_CFGS_BLOB =
ORDER_SCHEDULE_EX =
if gt_return-type eq 'E' .
e_rec = e_rec + 1.
read table gt_return with key id = 'V1'.
format color col_negative inverse on.
rec_no = e_rec + s_rec.
concatenate text-006 rec_no ':'
gt_return-message into msg separated by space .
condense msg.
write: / msg.
format color col_negative inverse off.
elseif gt_return-number = '000'.
s_rec = s_rec + 1.
format color col_positive inverse on.
msg = 'SUCCESS'.
condense msg.
write: / msg .
format color col_positive inverse off.
write :/ salesdocument, 'Has been created'.
perform commit_mm.
endif.
clear: gt_return[], msg.
endat.
endloop.
endform. " SLALE_UPLOAD_DATA
*& Form COMMIT_MM
text
--> p1 text
<-- p2 text
form commit_mm .
call function 'BAPI_TRANSACTION_COMMIT'
exporting
wait = 'X'
importing
return = gt_return1.
clear: gt_order_items_inhttp://].\"GT_ORDER_CONDITIONS_IN[.
endform. " COMMIT_MM
inthis pass re_doc field in header...
Edited by: Naresh kumar -
Create one sales order for two customers
Hello to all.
I have to plan the following development. Our client can create one sales order for one material and can bill it between two or more payers.
In SAP you would have to create one sales order for each customer and divide the material proportionately between the customers. The doubt is if there is any development with user-exits,badis,... so you can create only one sales order with two "payers" partner functions; you would put a % of participation in each payment so the sistem would create two invoices dividing the total amount of the sales order between the payers.
Could anyone help me?
RegardsTonnetti,
If you want 2payers to be possible in the same sales order, you have to include the material as two line items. Then go to each line item, the partners tab and then change the payer there. So now the header partner will have 2payers, and there will be different payers for each line item.
Now you can do a delivery or billing as needed. For a single sales order, two invoices will be created as the payers are different. These invoices can be send to respective payers and the payment can be processed from these payers.
Hope this helps for your scenario.
Reward if this helps. -
Query in creating Sales Order with BAPI_SALESORDER_CREATEFROMDAT2?
Hi,
I am trying to create a Sales Order with the BAPI and have a contract as a reference. Do I need to explicity mention the line item details in case I need the data from Contract to be copied here. If not how do I acheive this functionality.
P.S: I am able to create the Sales Order with the reference and I can see the Sales Order in the contracts workflow but not the line items in the Sales Order.
Any suggestions?
Regards,
KarthikHello, Karthik,
By reading the documentation of BAPI
BAPI_SALESORDER_CREATEFROMDAT2
the mandatory data to be supplied to the BAPI, in order to succesfuly create the the Sales Order are:
"1. ORDER_HEADER_IN :
DOC_TYPE Sales document type
SALES_ORG Sales organization
DISTR_CHAN Distribution channel
DIVISION Division
2. ORDER_PARTNERS..:
PARTN_ROLE Partner role, SP sold-to party
PARTN_NUMB Customer number
3. ORDER_ITEMS_IN..: MATERIAL Material number"
The OSS note 93091 basically re-states the same thing.
After studying this BAPI's source code, the conclusion seems to be the one the documentation points to: <b>the BAPI can only be used to create a sales order by supplying (manually) all the necessary data.</b>
BTW: How did you manage to create the empty Sales Order with reference, you mentioned in your mail? Just by providing a reference document number? <b>And nothing more?</b>
Bye,
Bogdan -
Sales order with line items having multiple values in multiple currency
Please suggest solution for creating sales order having line items with multiple values in multiple currencies.
e.g. Line Item A Qty/1 No, value 100INR100$100EUR. Customer wants all three values to display at sales order line item level and create billing in 3 currencies.Hi,
As far as my understanding it may be possible round the solution,
For 1 company code we can able to maintain 3 currancies,
1 currancy is hard currance & other two are dual currancies.
Create sales order with 3 line items having 3 diffrant currancies
Spilt invoice on the basis of currancy
Last pass to this invoices to accounting.
Whole process is
Sales order >>> Delivery >>> Invoice 1, Invoice 2, Invoice 3(Split invoice on basis of Currancy).
Consult with FI Team they will tell you about dual currancy & hard currancy
Kapil
Maybe you are looking for
-
Trying to redeem a free download for a song from KLove. When I get into my acct & try to redeem it, it just keeps bringing up the "sign-in" box. When I click the button on KLove's webpage to redeem it takes me to that page but does the same thing
-
Kernel panic, then x11.app won't launch.
I had a kernel panic a hour or two ago while doing a bunch of stuff (compiling pkgsrc bootstrap, running virtual pc, and surfing w/firefox), and now X11.app won't launch. The only error messages I can find are in the console log: XFree86 Version 4.4.
-
Windows Server 2012 R2 wouldn't response SMB Negotiate Protocol Request
Hello I've got an windows 2012 r2 as a file server, it worked fine with windows client but not with lunix-based client I first discovered this problem on an Android phone:http://social.technet.microsoft.com/Forums/en-US/b3a8a7f9-f4b7-4b9f-b586-2ec87
-
Populate a PDF with VBA and FDF, stopped working.
I work with a non-profit children's camp where I need to be able to populate a PDF form from a MS Access database. The problem is that I do not have much server access, so I've had to find sneaky ways to do this. I can not use anything I have to inst
-
Some of my java applications which have been on a memory card, can not be opened after a firmware update. Now have firmware version 6. I tried to reinstall these applications, but it still pops up "Out Of Memory Error java/lang/OutOfMemoryError" Alth