Bill plan of a Sales Order/Contract
Hi,
Where do we create/update the bill plan for a sales order/contract.
I tried VA41 where a bill plan button is provided. But need to understand the bill plan from a functional perspective.
Any short summary on the same will be helpful.
Also please provide Transaction/steps to update a bill plan.
Thanks.
Shreyas
Hi
A billing plan is a schedule of individual billing dates
for a single item in a sales document.
You can define a billing plan at header level, which is
then valid for all items assigned to it.
During sales order processing, the system determines from
the item category whether a billing plan is required and,
if so, which type of plan: The type of billing plan that
is determined at this point is set up in Customizing and
cannot be changed in the sales document.
For each billing plan you create, you can enter a freely-
definable search term in the details screen of the billing plan in the sales document.
When you save the document, the system automatically
assigns a number that later uniquely identifies the
individual plan.
You can use the search term later to locate specific billing plans.
Transaction code for Sales order - VA01, VA02 & VA03
Kindly check the following link for more information on Billing plan:
http://help.sap.com/saphelp_47x200/helpdata/en/dd/560674545a11d1a7020000e829fd11/frameset.htm
kindly reward points for useful answers!
best regards,
Thangesh
Similar Messages
-
How to enable Billing plan tab in sales order (lean) with NWBC
Dear All,
The Billing plan tab in sales order (lean) is not availabe with NWBC. How to enable this tab?
Is there is any documentation to do the modifications of NWBC's webdynpro screens?
for example, there is a standard webdynpro screen in NWBC from SAP best practices to create sales order (lean). The lean sale order screen having restricted elements and tabs when compare with standard SAP GUI (t code va01).
So I want to include the few missing tabs for data entry.
any documentation or solution?
thanks in advance,
Suresh Yerra.Dear All,
Is there is any documentation to do the modifications of NWBC's webdynpro screens?
for example, there is a standard webdynpro screen in NWBC from SAP best practices to create sales order (lean). The lean sale order screen having restricted elements and tabs when compare with standard SAP GUI (t code va01).
So I want to include the few missing tabs for data entry.
any documentation or solution?
Thanks,
Suresh Yerra. -
Creating Billing Plan data for sales order using BAPI_SALESORDER_CREATEFROM
Hi All,
We are using BAPI_SALESORDER_CREATEFROMDAT2 to create the sales order.We are unable to get the fields for billing plan tab in this BAPI.
Kindly let me know the fileds in BAPI that corresponds to the fileds of billing plan in sales order.
Thanks in Advance,
Kiran I.Hi kiran
hi Dhanapal
i ahve the same problem which u posted..
My scenarion is to create billing plan while creation of order using the BAPI_SALESORDER_CREATEFROMDAT2 but could not find any structure to pass billing plan details
pls can u let me know if u found any solution for this if so can u send me detailed mail..
i want to populate in both way header level and item level (by removing check header plan in the billing plan tab)
Pls let me know ASAP..
Thanks
anil -
Creating Billing Plan data for sales order using BAPI
Hello,
Someone ones if there is any way to create a sales order (BAPI) and then create a billing plan (by means of another BAPI)?
Or is there any way to create both at the same time?
Kind Regards.Hi David and Nisha here is the code for creating sales order with bapi
*& Report YOBJ_BAPI_SALESORDER
*& REPORT : CREATING SALES ORDER USING STANDARD BAPI
*& AUTHOR : S.PAVAN KUMAR INUMARTHY
REPORT YOBJ_BAPI_SALESORDER.
DATA : ORDER_HEADER_IN LIKE STANDARD TABLE OF BAPISDHD1 WITH HEADER LINE.
DATA : ORDER_ITEMS_IN LIKE STANDARD TABLE OF BAPISDITM WITH HEADER LINE.
DATA : ORDER_PARTNERS LIKE STANDARD TABLE OF BAPIPARNR WITH HEADER LINE.
DATA : RETURN TYPE STANDARD TABLE OF BAPIRET2 WITH HEADER LINE.
DATA : SALESDOCUMENT LIKE BAPIVBELN-VBELN.
*APPENDING VALUES FOR HEADER.
ORDER_HEADER_IN-DOC_TYPE = 'TA'.
ORDER_HEADER_IN-SALES_ORG = '1000'.
ORDER_HEADER_IN-DISTR_CHAN = '10'.
ORDER_HEADER_IN-DIVISION = '00'.
ORDER_HEADER_IN-SALES_GRP = '130'.
ORDER_HEADER_IN-SALES_OFF = '1030'.
APPEND ORDER_HEADER_IN.
*APPENDING VALUES FOR ITEM
ORDER_ITEMS_IN-MATERIAL = 'M-13'.
ORDER_ITEMS_IN-PLANT = '1000'.
ORDER_ITEMS_IN-SALES_UNIT = 'ST'.
ORDER_ITEMS_IN-DIVISION = '07'.
ORDER_ITEMS_IN-GROSS_WGHT = '28000'.
ORDER_ITEMS_IN-NET_WEIGHT = '28000'.
ORDER_ITEMS_IN-UNTOF_WGHT = 'KG'.
ORDER_ITEMS_IN-VOLUME = '0.780'.
ORDER_ITEMS_IN-VOLUNIT = 'M3'.
APPEND ORDER_ITEMS_IN.
*APPENDING VALUES FOR PARTNER
ORDER_PARTNERS-PARTN_ROLE = 'AG'.
ORDER_PARTNERS-PARTN_NUMB = '0000001000'.
ORDER_PARTNERS-COUNTRY = 'DE'.
ORDER_PARTNERS-TRANSPZONE = 'D000080000'.
APPEND ORDER_PARTNERS.
CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
EXPORTING
* SALESDOCUMENTIN =
ORDER_HEADER_IN = ORDER_HEADER_IN
* ORDER_HEADER_INX =
* SENDER =
* BINARY_RELATIONSHIPTYPE =
* INT_NUMBER_ASSIGNMENT =
* BEHAVE_WHEN_ERROR =
* LOGIC_SWITCH =
* TESTRUN =
* CONVERT = ' '
IMPORTING
SALESDOCUMENT = SALESDOCUMENT
TABLES
RETURN = RETURN
ORDER_ITEMS_IN = ORDER_ITEMS_IN
* ORDER_ITEMS_INX =
ORDER_PARTNERS = ORDER_PARTNERS
* ORDER_SCHEDULES_IN =
* ORDER_SCHEDULES_INX =
* ORDER_CONDITIONS_IN =
* ORDER_CONDITIONS_INX =
* ORDER_CFGS_REF =
* ORDER_CFGS_INST =
* ORDER_CFGS_PART_OF =
* ORDER_CFGS_VALUE =
* ORDER_CFGS_BLOB =
* ORDER_CFGS_VK =
* ORDER_CFGS_REFINST =
* ORDER_CCARD =
* ORDER_TEXT =
* ORDER_KEYS =
* EXTENSIONIN =
* PARTNERADDRESSES =
IF SY-SUBRC = 0.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
* EXPORTING
* WAIT =
* IMPORTING
* RETURN =
ENDIF.
WRITE : 'SALES ORDER IS :', SALESDOCUMENT.
I have tested and go it.
please go through it -
Billing plan dates in Sales order
Hi Experts,
i am creating a sales order and i need to populate the date in billing per from Ztable as per payment terms.
1 . the enhancement i am using is V60F0001 - > EXIT_SAPLV60F_001 and inside i have kept a break point. but it is not stopping. i have also created the project in CMOD and assigned this enhancement but still it is not working.
2. is there any enhance ment or user exit i need to use.. to change the date in billing plan for sales order.
is there any BADI i can change the billing plan dates.
Thanks in Advance.Hi,
Yes this is std behaviour.
You need to do some enhacement to get this working.
BR -
Problem in updating Billing plan while changing Sales order
Hi All,
I am using the BAPI 'BAPI_SALESORDER_CHANGE' to change a Prepaid Sale order.After calling this BAPI ,I am calling the function module <b>'BILLING_SCHEDULE_SAVE'</b> to update the Billing plan of the changed Sale order(Billing plan dates for Billing type ZF1 are changed).
The updated date values are getting reflected in the screen when I view through the transaction VA02 and the values are also updated in FPLT table but the values are not getting reflected in the table VKDFS.
Since the values are not getting reflectedin the table VKDFS the billing date is not correct while we view in the transaction VF04.
Please provide your valuable suggestions for updating the Billing date in VKDFS table.
Thanks in advance for your help.
Thanks and regards,
SivaHi,
I had the same problem. Here is an example code to resolve it:
REPORT ytestfg.
DATA: i_bsid LIKE bsid OCCURS 0,
i_bsid2 LIKE bsid OCCURS 0.
TABLES: bsid.
DATA: doc LIKE vbak-vbeln,
pos(6) TYPE n.
DATA e_fpla LIKE fpla.
DATA e_fplt LIKE fpltvb OCCURS 0 .
DATA: zfpla LIKE fplavb OCCURS 0,
zfplt LIKE fpltvb OCCURS 0.
DATA zfplt2 LIKE fpltvb OCCURS 0 WITH HEADER LINE.
doc = 'G03060619'.
pos = '000010'.
CALL FUNCTION 'SD_SALES_DOCUMENT_READ'
EXPORTING
document_number = doc.
CALL FUNCTION 'SD_SALES_BILLINGPLAN_READ'
EXPORTING
i_vbeln = doc
i_posnr = pos
IMPORTING
e_fpla = e_fpla
TABLES
e_fplt = e_fplt
EXCEPTIONS
no_billingplan_allowed = 1
no_billingplan_found = 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.
Read the billing plan
CALL FUNCTION 'BILLING_SCHEDULE_READ'
EXPORTING
fplnr = e_fpla-fplnr
I_VFKDAT =
I_BFKDAT =
TABLES
zfpla = zfpla
zfplt = zfplt
Upddate the ZFPLT2 table with the new values
MOVE zfplt[] TO zfplt2[].
READ TABLE zfplt2 INDEX 1.
zfplt2-afdat = '20080927'.
Very important to set field updkz = 'U' ***
zfplt2-updkz = 'U'. "--> UPDATE!!
MODIFY zfplt2 INDEX 1.
CALL FUNCTION 'BILLING_SCHEDULE_SAVE'
TABLES
fpla_new = zfpla
fpla_old = zfpla
fplt_new = zfplt2 " --> NEW
fplt_old = zfplt.
CALL FUNCTION 'SD_SALES_DOCUMENT_SAVE'.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
Regards,
Edited by: PHO_BA on Mar 9, 2009 5:28 PM -
BAPI or FM for changing billing plans of a sales order
Hi guys,
I tried the FMs BILLING_SCHEDULE_SAVE and BILLING_SCHEDULE_MAINTAIN for updating the billing plan of an SO but it doesn't work. Tried adding coomit work after calling the FMs but didn't affect the results.
Can anyone provide me with a BAPI or FM for updating the billing plan?Below is a sample code.
I am able to delete the details....
Take a look...:)...imp to add wait for few seconds
REPORT z.
PARAMETER: vbeln TYPE vbak-vbeln.
PARAMETERS: fplnr TYPE fplnr.
DATA: t_zfpla TYPE STANDARD TABLE OF fplavb WITH HEADER LINE.
DATA: t_zfplt TYPE STANDARD TABLE OF fpltvb WITH HEADER LINE.
DATA: t_fpla_new TYPE STANDARD TABLE OF fplavb WITH HEADER LINE.
DATA: t_fpla_old TYPE STANDARD TABLE OF fplavb WITH HEADER LINE.
DATA: t_fplt_new TYPE STANDARD TABLE OF fpltvb WITH HEADER LINE.
DATA: t_fplt_old TYPE STANDARD TABLE OF fpltvb WITH HEADER LINE.
*DATA fplnr TYPE fplnr.
IF NOT vbeln IS INITIAL.
SELECT SINGLE rplnr INTO fplnr FROM vbak WHERE vbeln = vbeln.
ENDIF.
CALL FUNCTION 'BILLING_SCHEDULE_READ'
EXPORTING
fplnr = fplnr
TABLES
zfpla = t_zfpla
zfplt = t_zfplt.
LOOP AT t_zfpla.
MOVE-CORRESPONDING t_zfpla TO t_fpla_old.
t_fpla_old-updkz = 'D'.
APPEND t_fpla_old.
ENDLOOP.
LOOP AT t_zfplt.
MOVE-CORRESPONDING t_zfplt TO t_fplt_old.
t_fplt_old-updkz = 'D'.
APPEND t_fplt_old.
ENDLOOP.
BREAK-POINT.
*CALL FUNCTION 'BILLING_SCHEDULE_SAVE'
TABLES
fpla_new = t_fpla_new
fpla_old = t_fpla_old
fplt_new = t_fplt_new
fplt_old = t_fplt_old.
DATA fpltr TYPE fpltr.
CALL FUNCTION 'BILLING_SCHEDULE_MAINTAIN'
EXPORTING
I_FPLA =
I_FPLT =
i_upd_fpla = 'X'
i_upd_fplt = 'X'
i_fplnr = fplnr
IMPORTING
E_DATALOSS =
E_UPD_FPLA =
E_UPD_FPLT =
e_fplnr = fplnr
e_fpltr = fpltr
TABLES
fpla_new = t_fpla_new
fpla_old = t_fpla_old
fplt_new = t_fplt_new
fplt_old = t_fplt_old.
WAIT UP TO 2 SECONDS. -
WBS Element ( Billing element ) assignment at sales order header level
HI,
There is provision of assign WBS Element at sales order header as well as item level , If Project WBS Element is assigned for each line item delivery and stock updating is happening from the project, But WBSE will assign at sales order Header system will not allowing to create project delivery( moment type 601Q), and stock updation ftom project.
Please let me know how this will happen ,
Regards,
Gangi
Edited by: Gangi Reddy Botchu on Jul 7, 2008 4:50 PMSPRO - SD - Billing - Billing Plan - the first 5 config nodes (Define Billing Plan types / Define Date descriptions / Assign Date categories / Maintain Date Proposals / Assign Billing Plan types to Sales Doc types) are applicable to you.
this is pretty tranparent for a reference.
What else is required? -
Third Party process - billing date change in Sales order / Customer Invoice
Dear Friends,
In Third Party Sales Process , as we are aware billing is order related billing and it will become due only after vendor invoice is received.
My situation is in the original sales order billing date is eg: 01.02.2009 . The subsequent vendor invoice ( Invoice receipt done based on PR --> and PO) has a later date eg: 05.02.2009 .
This means that the customer biling can be done only after this date.
How the system behaves in this case wrt to the billing date ( 01/02/2009) of the original sales order.
Regards
Mahesh
Edited by: Mahesh sap on Feb 4, 2009 8:55 AMHi all ,
Thanx all for your responses . But my case is a bit peculiar . Here the vendor invoice is coming by IDoc through EDI . When EDI flow is confirmed, the billing date is pushed ahead. As per billing calendar in CMR the customer can be invoiced only on the last date of the month.
As a result if the original billing date in the sales order is Feb end, when vendor invoice received through EDI , the billing date is shifting to march end .
Is it because the date of vendor invoice is causing this? Obviously the customer billing date falls only after vendor invoice date.
Regards
Mahesh -
WBS Planned Cost on Sales order
Hi Ajay and Experts,
We have created WBS element and assiged on Sales order line item in Account assigt tab (Accont *** cat M and Valuation M).
Is there any way to get the corresponding Planned cost of WBS on Sales order line item when WBS is assigned.
Thanks,
SudhaHi Manoj,
We are in MTO Scenario but Production order we will settle to Mat itself
WBS assigning on sales order line item.
WBS we are using to capture any addtion cost towards paint etc.,
While calculating the Margin in Sales order we could able to get the Material cost through VPRS but towards the WBS planned cost is missing, so that the Margin is not coreect.
For this purpose we are planning to bring the WBS planned to to sales order to get the correct Margin.
Thanks,
sudha -
Good morning,
does anyboby know if and how is possible planning costs on sales orders?
Currently, sales orders are set as account assignment; actual costs are accounted without problems on sales orders and report KKBC_KUN properly shows costs. But no plan data.
Furthermore, we execute cost estimate on sales orders through CK51N.
Please tell me something more if you know.
Thanks,
Regards
EnricoDear Enrico,
check the documentation at
http://help.sap.com/saphelp_erp60_sp/helpdata/en/90/ba81d2446711d189420000e829fbbd/frameset.htm
br, Guido -
How I can get the Billing Type for the sales order and its items
How I can get the Billing Type for the sales order and its items. I mean from which SAP tables and how?
Hi,
You need to use two tables.
First use VBFA. Enter the sales order number in the field Predecessar and the value M in SubCt field. This will give all the billing document number for the sales order items.
Then use the billing document numbers in table VBRK, where in you can get the billing document type.
Regards, -
WBS with billing element but no Sales Order
Trying to write a SQ01 query to find WBS with billing element but no sales order assigned. Can anyone help?
VBRP is the billing item table, OP is asking about the sales documents.
Queries for something that does not exist might be tricky. Use the tables/fields mentioned above (not VBRP), but make sure to use LEFT JOIN to VBAP. In this case you'll get blank/initial values in the query when no sales record exist. If you do a regular INNER JOIN then you just won't see the WBS that don't have VBAK/VBAP records. -
WBS with billing element but no sales order assigned
Trying to write a SQ01 query to find WBS with billing element but no sales order assigned. Can anyone help?
Such WBS elements can be identified using CN43N report also using proper filtering criteria.
Fileting criterias:
Billing element.
Order accepted status. -
Creating Mulitile Billing documents based on Sales order
Hi All
My requirement is to create a billing documents based on sales order. Item category is SERVICE.
For example : In Sales Order the quantity is 100.
1 st billing doument user can create of 10.Then after 1 month 2nd billing document of 9 and so on.
when i create billing document related with sales order . the billing document is created with 100 quantity.
i know it is possible with delivery but my requirement is billing document should be created related to service.
Appreciate your time.
Thanks and Regards
MaheshHi ,
You can use mile stone billing concept for this requirement.In mile stone billing ,we enter the billing dates and quanitity to be billed.We can bill the required quantity once the billing date reaches the system date.
Hope it helps.
Regards,
Pasapula.
Maybe you are looking for
-
just trying to understand the concept here. I have a flash animation '.fla' file with it's corresponding document class that provides the code to control it. I want to instantiate an instance of that document class in another class. Do I simply put t
-
Submit by Email Button Trouble
I have created a form fillable pdf with a Submit by Email button. The problem I am having is that some people I send this to fill out the form, click on the Submit by Email button and nothing happens. It doesn't work at all. Others have no problem wi
-
Want to make one section a horizontal slider.
Hi, How can I make one contained section of my site become a horizontal slider... I will have related content to the left and to the right of the main (default) screen section. This 'screen section' display, however, is not full-screen I should menti
-
how can we increase the lenght of vendor
-
Possible / how to completely disable Keychain??
Hi, I know Keychain has its fans, though I suspect most of them don't have to use it in a corporate environment, where AD users have to change passwords every month. It drives our users nuts (and me!). I know they only have to go into Keychain Access