Mass updates in sales order for Text note
Hello,
I have 1200 open sales orderswhich needs updates for
Delivery Priority
Delivery Blocks
Billing Blocks
Incoterms
Shipping notes
I can update first four items by MASS Tcode. Hoever, Shipping notes can not be found in MASS. While making Delivery of these pending order Shipping Notes is to be added which is different from standard. It can be achieved by CATT.
I shall appreciate if you have any idea about some other easy/standard options available.
Hi
You Can update the sales order texts by the following methods
BAPI --BAPI_SALESORDER_CHANGE
LSMW
BDC
ECATT
regards
Prashanth
Similar Messages
-
Update Sale Order Header Text through Enhancement
Hi Experts,
I Have a requirement to update the sale order Header Text , when the sale order is opened in VA02 and saved.
Here in I tried using edit_text, it updates sale order header text directly in DB during run time even before the save action is completed.
But I need to just fill the header text and that has to be saved during the save action only.
I tried coding the same in the user exit (userexit_save_document) but this user exit gets triggered only when there is some changes made to the document when opened in VA02 & Saved.
Is there any user exist to pass sale Order Header text and save when save button is clicked irrespective of the document been changed or not.
Thanks in advance
SathishHi Brad Bohn,
My actual requirement is to trigger an Idoc when the user goes to VA02 transaction and clicks save.
IDoc gets triggered only when there is some changes to that document, that is through NAST table entry based on the output configurations in NACE transaction.
Now that the user wants to trigger an IDoc even if there is no change (ie. to reprocess the IDoc) when he just opens a sale order in VA02 and click save.
It is not possible to trigger an IDoc through configurations when there is no actual change in VA02 and saved.
So it has to be forcefully sent by making some additions to the Order through coding, so I choose that Text box to fill some additional data and save .
Kindly Let me Know any thing could be done for this scenario.
Thanks in advance
Sathish -
Creating Sales Order for Item Category TATX (Text)
How can I create Sales order for text item where no material master has been maintained?
It does not give me any conditions and no accounting document.
What I need to do if I want to create that with a value?
Thanks
STHi,
Its not possible to create an SO w/o material code.
But you can create an dummy material.
This dummy material can be just an refer to create an SO.
Do refer the below help doc which may help you..
Settings in the Material Master (Dummy-Material) - mySAP Engineering & Construction - SAP Library -
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 -
How to update the condition price in the sales order for all the items
Hi,
How to update the condition price for all the itmes in the sales order to carry out the new price automatically through a stand alone program, for all the orders in the billing due list table?
Thanks,
BalaramHi,
There is a change in the requirement.
Scenario:
I have created a sales order with some 4 condition types, in that 2 condition types are of class A & B and the other two is of class C. Here I need to update the condition price of class A & B only and the remaining condition types should not get update even though there is an updated price is available.
For the above scenario, I need to write a standalone program. Do we have any function modules to update the price of the single condition in the sales order? Please tell me how we can update the sales order at item condition level.
Thanks.
Balaram -
User exit to update the incompletion log in sales order for pricing error
Hi experts,
I have to check the some mandotory pricing conditions in sales order, if that conditions are not exist in sales order then i need to show the information message as well as i need to update it in incompletion log of sales order. (incopletion log we can see on menu bar 'EDIT' or ctrl+F8 on main screen of VA01). So that user can save the sales order but it will be in incomplete status.
I have completed it upto showing the information message using user exit 'MV45AFZZ', but after this i don't know how to update it in incompletion log of sales order for pricing. I tried to update in tables VBUK-UVPRS, but i am not getting the desired result.
Please anyone can tell me how to update it. In which user exit i can update the incompletion log.
Thanks and Regards,
Vicky.Hi Vinod,
I am sending you my code please check it,
if TKOMK-SPART = 10.
if XKOMV is not INITIAL.
clear v_JEXP.
READ TABLE XKOMV with key kschl = 'JEXP'.
if sy-subrc = 0.
check XKOMV-kwert = 0.
message i003(ZT) with 'Value should not be 0 for conditioin type JEXP'.
v_JEXP = 'X'.
else.
message i003(ZT) with 'Maintain the mandatory Conditioin type JEXP'.
v_JEXP = 'X'.
endif.
if v_JEXP = 'X'.
XVBUV-MANDT = sy-mandt.
XVBUV-POSNR = '000010'.
XVBUV-TBNAM = 'VBAP'.
XVBUV-FDNAM = 'PRSOK'.
XVBUV-FEHGR = 20.
XVBUV-STATG = '06'.
XVBUV-FCODE = 'PKON'.
XVBUV-SORTF = 9999.
XVBUV-LFDNR = 0000.
XVBUV-UPDKZ = 'I'.
append XVBUV.
endif.
endif.
endif.
Please suggest something to solve this.
Thanks and Regards,
Vicky. -
Financial Document not updated with Sale Order Number
Hello,
I wish to update the Financial document posting from the billing document with the Sales order and line item number against the revenue account.
This is not populating in COBL-KDAUF.
I have seen some other messages concerning this, but none with answers.
Is this possible, I assume it is.
If so, are there any other necessary settings?
We are not using CO-PA, and I can get the reference number & /or allocation field to populate with the sales order number but not line item. But I want the coding block filled so that BSEG VBEL2 is populated.Hi Roger,
In the situation that you have a 1:1 relation this is possible with a substitution and look then to the order in the first line from the invoice.
Where you can have a look to is the sumarization in FI and CO. TC OBCY for VBAK and VBRK.
Example:
When you have 2000 posting lines in an invoice the system can create 1 posting line by used G/L account
With this transaction you can set-up that there is create one posting line by:
(G/L account)
Sales order number
You have first to look how your set up is. (perhaps when this is set-up correct you have already the order number in the field).
Paul -
Statistic condition values not updated during Sales order Settlement
Hi,
In our client we have different Price condition types for based on scenario wise. Ex: Domestic Sales (ZPR1) and Export Sales ZPR2. I have maintained separately value fields for each price condition types.
We are booking some financial charges, and interest on working capital etc., this cost we need to transfer to COPA each Material wise based on sales revenue.
For this purpose we have created one COPA Assessment Cycle. Tracing factor is Sales Revenue and receiver is Materials.
In COPA Assessment cycle we can give only one base means ZPR1 related value field or ZPR2 related value field.
For this reason we have created one new statistic condition type, what is amount there in ZPR1 that amount will updated automatically in statistic condition place and so that we can give once one trance factor in COPA Assessment Cycle. We have assign this statistic condition all pricing procedure
Now my problem is in MTS scenario statistic condition values updated correctly. But in MTO scenario sales order settlement time statistic condition values not updated.
So is it possible update during sales order settlement time statistic condition values.
Please give me suggestion.
Regards,
ThiruHi Ajay Sir,
As you said is correct.
But in our client we have around 9 Plants and each plant manufacturing product are different. Client Requirement is in COPA Report they need see each product wise sales revenue. In this way we mapped product wise value field. System already mapped one guy in this way earlier. Now I am doing some changes for relevant to month end activities.
Some financial changes transfer to COPA each plant wise on Material. Here sender is cost center and receiver is Material. Base is Sales Revenue.
Please suggest me is there any alternative.
Regards,
Thirumalesh . -
Condition type value not update in sales order
Hello Guru's
As per the sales order in VA01 the condition type value i.e surcharge value is not updating in sales order.
But I have maintain the condition record(Surcharge)also and in Condition technique I have checked every thing is correct .
please find below I have attached the Screen short .
Please give me solution Asap.Hi Sukdev,
Have you checked the respective pricing procedure for From and To reference step maintained against the condition type ZSUR?
Regards,
T.R.S.Praveen -
Hello Expert,
I would like to know if is there any possibility to display invoice print (PDF) in sales order (Credit/Debit note) as attachment.
Issue: Customer raise the credit note with the reference of invoice, sometimes user don't explain the reason for credit and don't attach any reference document in sales order(credit request).
Customer requirement: Customer want to display reference invoice print (PDF)in sales order(Credit request) for validator so validator can cross check with invoice and validate the credit note.
Could you suggest the best solution?
I am thinking to give mandatory text box (Text determination)at sales order(Credit request)
VipinHi,
You can enable Document Management System (DMS)
Please refer below links for details:
http://scn.sap.com/thread/459101
http://scn.sap.com/thread/2096563 -
Project Revenue Plan Not Update from Sales Order Item
I am generating a network and project from the sales order item using Assembly processing. I am using milestone billing on the sales order item and the milestones attached to the project network activities are appearing as billing blocks on the sales order item billing plan. However, the project revenue is not getting updated from the sales order billing plan. Can someone please help?
I have deleted the billing plan on the billing WBS element and activated revenue planning update from sales order in cusomization for PS. I am looking at CNS41 under the project revenue sched in version 0. Is there a different report I should be looking at?
Regards,
Venkat.HI Venkat,
You are looking at the correct report & I believe you have also done the necessary customization. If you create a sales order and reference it to a quotation, the related plan values in the WBS element are refreshed automatically.
When the payment data is recorded, the terms of payment and the customer payment history are taken into consideration. One of the probable causes could be the credit limit of the customer might have been exceeded. Take help of your SD consultant & increase the credit limit for that customer (from the sales document), t-code FD32 if it is permitted in the business.
After the new credit limit is set execute the following steps:
u2022 Go to the t-code Change billing request (VA02)
u2022 Open the required billing request
u2022 Remove the account assignment of WBS element from each line item
u2022 Save the billing request
u2022 Reopen the billing request in change mode
u2022 Reassign the WBS elements to all line items
u2022 Now the changed credit limit will take affect
u2022 Check the Planned Revenue for the said project in CNS41, it should get updated.
Rgds
Deepak -
Sales order number in not coming as a text in Accounting Document
Hi Friends,
Sales order number in not coming as a text in Accounting Document in INSTALLMENT BILLING PROCESS
is there any config missing for this doc number
Pl advise me
RajuHI Prem,
Please understand my query.
In VF01 in accounting document we can see the text document field.
Here i need the Sales order number as a Text field.
But it is not coming over here
Pl advise me
Raju -
Bdc for sales order header text
we need to write a bdc program for va01. In that we need to
upload header text also .
So please kindly tell me how to upload flat file to va01 along with
header text.And how we need to declare the flat file.
if it is not possible through bdc then tell me how to do with bapi.
thank you so much for all the repliesHi,
Using BDC, You can not uplaod sales order header text. You can upload the header text using FM
CREATE_TEXT.
Here giving sample code. This code is written for Material master text. You change this code according to your requirement
REPORT ZMM_INSERT_LONGTEXT.
*Internal table to hold long text...
DATA:
BEGIN OF T_UPLOAD OCCURS 0,
MATNR LIKE MARA-MATNR, " Material number
ID(2) TYPE C, " Identification
LTEXT LIKE TLINE-TDLINE, " Long text
END OF T_UPLOAD,*Internal table to hold long text....
T_LINE LIKE TLINE OCCURS 0 WITH HEADER LINE.DATA:
W_GRUN LIKE THEAD-TDID , " To hold id
W_OBJECT LIKE THEAD-TDOBJECT VALUE 'MATERIAL',
" To hold object id
LV_VALUE(70). " Value to hold material number
START-OF-SELECTION.* This perform is used to upload the file
PERFORM UPLOAD_FILE.* This perform is used to place the text in MM02 transaction
PERFORM PLACE_LONGTEXT.
*& Form create_text
* This routine used to create text in MM02 transaction
* Passed the parameter w_grun to P_C_GRUN
* and lv_value to P_LV_VALUE
FORM CREATE_TEXT USING P_C_GRUN
P_LV_VALUE. DATA:
L_ID LIKE THEAD-TDID,
L_NAME(70). MOVE : P_C_GRUN TO L_ID,
P_LV_VALUE TO L_NAME. CALL FUNCTION 'CREATE_TEXT'
EXPORTING
FID = L_ID
FLANGUAGE = SY-LANGU
FNAME = L_NAME
FOBJECT = W_OBJECT
* SAVE_DIRECT = 'X'
* FFORMAT = '*'
TABLES
FLINES = T_LINE
EXCEPTIONS
NO_INIT = 1
NO_SAVE = 2
OTHERS = 3
IF SY-SUBRC <> 0.
CLEAR LV_VALUE.
ELSE.
DELETE T_LINE INDEX 1.
ENDIF.ENDFORM. " create_text*&---------------------------------------------------------------------*
*& Form upload_file
* This routine is used to upload file
* No interface parameters are passed
FORM UPLOAD_FILE . CALL FUNCTION 'UPLOAD'
EXPORTING
* CODEPAGE = ' '
* FILENAME = ' '
FILETYPE = 'DAT'
* ITEM = ' '
* FILEMASK_MASK = ' '
* FILEMASK_TEXT = ' '
* FILETYPE_NO_CHANGE = ' '
* FILEMASK_ALL = ' '
* FILETYPE_NO_SHOW = ' '
* LINE_EXIT = ' '
* USER_FORM = ' '
* USER_PROG = ' '
* SILENT = 'S'
* IMPORTING
* FILESIZE =
* CANCEL =
* ACT_FILENAME =
* ACT_FILETYPE =
TABLES
DATA_TAB = T_UPLOAD
EXCEPTIONS
CONVERSION_ERROR = 1
INVALID_TABLE_WIDTH = 2
INVALID_TYPE = 3
NO_BATCH = 4
UNKNOWN_ERROR = 5
GUI_REFUSE_FILETRANSFER = 6
OTHERS = 7
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. SORT T_UPLOAD BY MATNR ID.
ENDFORM. " upload_file
*& Form place_longtext
* This routine places the text in MM02 transaction
* No interface parameters are passed
FORM PLACE_LONGTEXT . LOOP AT T_UPLOAD. T_LINE-TDFORMAT = 'ST'.
T_LINE-TDLINE = T_UPLOAD-LTEXT.
APPEND T_LINE. IF T_UPLOAD-ID EQ 'BT'.
MOVE T_UPLOAD-MATNR TO LV_VALUE.
MOVE 'GRUN' TO W_GRUN. "Test ID for Basic data text
PERFORM CREATE_TEXT USING W_GRUN LV_VALUE.
ENDIF. IF T_UPLOAD-ID EQ 'IT'.
CLEAR W_GRUN.
MOVE T_UPLOAD-MATNR TO LV_VALUE.
MOVE 'PRUE' TO W_GRUN. "Test ID for Inspection text
PERFORM CREATE_TEXT USING W_GRUN LV_VALUE.
ENDIF. IF T_UPLOAD-ID EQ 'IC'.
CLEAR W_GRUN.
MOVE : T_UPLOAD-MATNR TO LV_VALUE,
'IVER' TO W_GRUN.
"Test ID for Internal comment
PERFORM CREATE_TEXT USING W_GRUN LV_VALUE.
ENDIF.
ENDLOOP.ENDFORM. " place_longtext -
System should Not copy sales order header text
Hi all,
My requirement is system should not copy sales order header text while copying sales order to sales order with same order type.
for example i have order type OR - standard type with 500 line items with reference to that same sales order we are creating another order with same line 500 line items,but requirement is system should not copy source document header text in to target document header text,
Do you have any standard functionality to avoid this or we need to go exit
Regards
NishadHi,
You can do it via standard SAP configuration.
Transaction VOTXN.
In the access sequence you have the corresponding Text ID added with "Text Object" VBBK. That's the reason why you are copying text.
Change the entry.
Check below link on how exactly to do that. This doc says about how to copy customer text to the sales order. But procedure is same for you as well. Just the object is different.
[Text type config|http://learnsaptips.blogspot.com/2010/09/text-type-configuration-in-sap.html]
Hope it helps!
Best regards,
Rahal -
'Transit time' not updated in Sales orders.
Dear Experts
We have maintained '20.00' days for the Route.
Then the Sales order got created and the same route has been determined.
But while i checking the schedule line - shipping details.
The Transit time not reflected in the Sales order...
All those GI date/Loading date/MAD/TPD...etc, still the same date as Delivery date.
Hope kindly advise, why the 20 transit days not updated in Sales order??
Thank you very much.The delivery date will confirmed based on ur availability check .
Check ur setting for transportation planning for this .
Maybe you are looking for
-
Stuttering/Choppy Playback of smallish .mov files
Hi all... I have been running QTPro 7.0.3 and before that 7.0.2 and both had severe problems running Quicktime movies off my hard drive without skipping, and stuttering. These are files that are no more than 500MB and I've got 2GB of Apple RAM in my
-
How do you select text on a Web page in Firefox mobile for Android?
When trying to select text to copy, the only option is to share with email.
-
let us suppose you install an instance - brand new instance which is going to go into production sometime later. next, what are the configuration parameters that you would configure? like memory etc. appreciate the feedback.
-
I would like to save some of my text discussion on my iphone. Is it possible to save them? If so how and where? Thanks!
-
Hi All I am having an issue at the time of doing the FF_5 Transaction... I have set up the house banks account in FI12 and also done the muticash assignment in OT55; However, when I run the FF_5 transaction, i am getting the below error: No SEK-house