While Sales Order Change , need to create Billing plan Item wise
Hi ,
We are using BAPI_SALESORDER_CHANGE for changing item category as well as parallely need to create billing plan item details (FPLT-FKDAT, FPLT-AFDAT, FPLT-NFDAT), Hence Please tell me the Procedure.
Example: Billing Plan is Depending on Item Category, In my scenario , initially Item category do not have Billing Plan Tab, When we go for BAPI_SALESORDER_CHANGE for changing Item Category to Supported Billing Plan, So How can we update (FPLT-FKDAT, FPLT-AFDAT, FPLT-NFDAT) in Billing Plan Tab for every sales order item.
Regards
Jana
Hi Ravi,
Can You explain in detail.
Regards
Jana
Similar Messages
-
Billing Plan items invoicing full Net Value
Milestone Bill Plan with 3 different billing dates and amounts (totalling the full net value)
Example info:
Sales Order Total Net Value = $100
Bill Plan dates / Amounts
07/11/2007 $20
08/11/2007 $50
09/11/2007 $30
When I run VF04 and look at any of the individual Billing documents, each one of them is for the full $100 amount. Each one should be for the respective amount ($20, $50, $30 respectively)
Any ideas what config I am missing here ?
Points and praise awarded to the correct answer
Thanks in advance
Billhi,
go to transaction code VOV7 and check whether billing plan type is milestone billing or not.
reward points if the answer is helpful
Regards,
Murali -
Do I need to create billing for FD (free delivery) sales order
Hi
I have a question. I created first a sales order (FD) in our sap system. but I don't know whether I need to create billing for the FD order. when I try to create billing for this FD order, SAP cannot to process it.
I also research configuration. in VOV8, SAP not set billing function.
thanks
HenryHi henry
If you have created Free of charge delivery (FD) sales order then the item category will be KLN only.After PGI then stock level will reduce and the effect of the stock is that you are issuing stock to customer at free of charge.And as you have assigned cost center then the data will flow to the controlling area and the Financial document after PGI.
Secondly if you assign TANN as a item category and do delivery and then PGI then if the reference document is different then it will have affect as the KMN and TANN item categories doesn't have same features
Regards
Srinath -
Change End date of billing plan/invoice plan in sales order item(fpla-erdat
Hi Experts,
Could you please help to me regarding this issue.
I need to change End date of billing plan/invoice plan in sales order item of "billing plan" Tab.( FPLA-ERDAT) for all line items. It is not a one sales order,more than 1000 sales orders.
How can i change those end date of billing plan for all line litems and all sales orders ( i have input file with sales orders, items, dates.)
Thanks
jayaHi ramki,
I tried with using MASS T.code ( bus2032 Object type).
There are no field related to Billing plan end date?.if case i done wrong ,tell me what are steps while using MASS T.code.
now what i can do. or explain
Thanks
jaya -
Creating sales order document with reference to billing document
I have to create sales order with reference to existing billing document. I have tried to following bapis.
1. BAPI_SALESORDER_CREATEed
I have successfully created document with following details.
-->ORDER_HEADER_IN:
DOC_TYPE = ZRK
SALES_ORG = 3000
DISTR_CHAN = 00
DIVISION = 00
ORD_REASON = 100
SD_DOC_CAT = L
CURRENCY = EUR
REF_DOC = 100000028
REF_DOC_CA = M
-->ORDER_ITEMS_IN:
ITM_NUMBER = 000010
MATERIAL = 701791
TARGET_QTY = 0000000001000
CURRENCY = EUR
REF_DOC = 100000028
REF_DOC_CA = M
-->ORDER_PARTNERS:
PARTN_ROLE = SP
PARTN_NUMB = W12001
COUNTRY = NL
by providing this input i am able to create the document but it is not picking up the net value. so i have passed some extra paramters in ORDER_ITEMS_IN
COND_TYPE = PNET
COND_VALUE = 14,56
COND_D_UNT = PC.
folowing error is occured: Condition PNET is missing in pricing procedure A V Z0000.
is it something related to configuration problem?
2.BAPI_SALESORDER_CREATEFROMDAT1 or BAPI_SALESORDER_CREATEFROMDAT2
I have used same test data that is used for BAPI_SALESORDER_CREATEFROMDATA (where in i coudl succefully create doc). but here i encounterd following error.
Unpermitted combination of business object BUS2032 and sales doc. category L.
When i created manually using transaction : VA01
I could do the same by passing following inputs:
DOC_TYPE = ZRK
SALES_ORG = 3000
DISTR_CHAN = 00
DIVISION = 00
Reference document number.
Please suggest me right way of approach.Hi,
In SAP, when the sub-sequent document is existing , we can not cancel the preceeding document. Therefore if you want to cancel the billing document you need to calcel the documents which are created with reference to that.
Check and confirm.
Regards,
Ravi Duggirala -
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 -
Billing Block removal not updated in the sales order change log
Hi Gurus,
A specific Billing Block is automatically assigned to the sales document header (VBAK-FAKSK) when the net value of the sales order is negative. This is an order related billing.
Sometimes the Billing block is getting released automatically and the Negative Invoice is getting created in the Background job run for creating the invoices. When we check the sales order, the Billing block is not existing and the removal of the billing block is not recorded in the Change Log of the sales order.In the CDHDR table also there are no details about the release of the billing block.
This is happening only occassionally. When I tried to replicate the issue, the system is not allowing me to create the invoice as long as the billing block is there in the sales order and if I remove the block, it is recorded in the sales order change log.
My doubt is.,
1. How the billing block is getting released automatically?
2. Even if the block is released, why it is not recorded in the Change Log of the sales order?
Looking forward your for suggestions and solutions.
Thanks,
RaviHi
Did u check in sales doc. details screen.There u can block for billing. -
Need to create a sales order that does not create demand
Hi,
We need to create a no cost sales order - that does not create demand
In our current set-up when we try to create a no cost sales order with a material ( It Cat = Norm) we see demand being created in MD04
What configuration settings will allow us a deliverable order - that does not create demand (no MRP run?)
Thanks,
SMHello,
For this set of requirement i think the best option would be to configure a New Sales Order Type and a new Schedule Line Category. In VOV6, While you are defining a new Schedule line category in the transaction flow make sure to switch off the three check box.
Transfer of requirements / Begin assembly order from SD
Availability check for sales
Product allocation active
Then when we are assigning this newly defined Schedule line Category to Item category, make sure to leave the field of MRP Type as blank in VOV5.
Regards,
Sarthak -
Create Sales order with reference to a Billing Document - Net price issue
Hi Everyone,
The Billing Document has one line item with Net value of 16,000. However, when I create the Sales Order with reference to the Billing Document, the net price shows 64,000. When I check the Document flow of the Billing Document, there were two Contracts on top of my Billing Document. One is a contract with the overall status of "Being Processed" and this is where I checked the net value is 64,000. The next contract invoice is already completed (net value is 16,000).
Has anyone encounter such case? How would I be able to create the sales order with reference to the Billing document and have the net value of what is in the Billing Document (16,000). Which part of the configuration is setting this up. Thanks!Hi,
This is a very rare case, if you are sure of the scenario, would suggest you two alternatives:
1) whenever you go against the flow of SAP, you have customize it, so its better you discuss this matter with your ABAP person.
2) never tried it out but you can:
you cannot see that in Billing Document that which is the sales document assigned to it, but to estblish that relationship,
we do copy control setting from Billing Document to Sales Order type (T.Code:VTFA).
Menupath: SPRO >> IMG >> Sales & Distribution >. sales >> Billing Document >> Copy Control >> Copy Control from Billing Document to Sales Order Type.
Hope this will help you.
Regards,
Siddharth. -
Create sales order with reference to archived billing
Hello,
Is it possible to create sales order with reference to archived billing?
Thanks in advance and kind regardsHi,
I think it is possible only return sales orders.
regards
karunakar -
How to create Billing Plan in sales order using Function module /BAPI
hi,
How to create Billing Plan in sales order using Function module /BAPI
i hv check few FM such
BILLING_SCHEDULE_READ
BILLING_SCHEDULE_GET_NUMBER
BILLING_SCHEDULE_SAVE
But unable to create billing plan for a sales order.....any other method to create???Hi,
Use this link.
Create sales order with billing plan via LSMW and BAPI BUS2032
BAPI or Function to update Billing Plan in Sales Order Items
Hope this will help you.
Regards,
Vijay -
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 -
Change End date of billing plan/invoice plan in sales order item
Hi Experts,
Tell me what are tables to be updated,when i changed end date of billing plan/invoice plan ( "billing plan" Tab in sales order item).?
Thanks
jayavbrk and vbrp
-
Addition Item getting added while posting Sales Order Changes - ORDCHG
Hello,
I have a requirement to post sales order changes - ORDCHG. Now, when I am adding the qualifier 002 at the item segment E1EDP01 with the existing Item number, it is creating another Item in the sales order rather than changing the existing one. What could be the reason? I am passing the below values in to the respective segments.
E1EDK01-ACTION = '003' - Changes in one or more items
E1EDP01-ACTION = '002' Item Changed.
Please advise.
Regards,
Venkata Phani Prasad KI encountered the same problem. As Vinit pointed out, it looks up the line item using field POSEX on VBAP instead of POSNR. If you want to look up POSNR, you can implement either user-exit ZXVDBU07 or ZXVDBU09 in IDOC_INPUT_ORDCHG and do the following.
Loop through YVBAP and modify the internal table to set POSEX to be equal to POSNR.
This will cause the IDOC to select the correct line item based on POSNR. The only side-effect is that when the order is updated, it will also update field POSEX on table VBAP. -
Sales Orders Change Log question
Hi All,
I am currently working on a project that involves querying SAP Database to get custom reports via web browser, I've made a lot of advances and most of the site is ready but I'm missing just one item that I hope you could help me.
Thing is I am working with the Sales Order change log and the problem comes one a user deletes a row. If I go to the change log inside SAP and see the differences a new record will be shown saying that row X was deleted and
if I go to the database (ADOC and ADO1 tables) I don't have a way to see wich row was deleted.
My way of doing this is to check for the number of rows on the current state of the sales order and check the same on the previous instance of the SO and see if a line was deleted. Then I would have to check row by row between instances what rows are there and what row is missing and store that info. I think this kind of approach will definitively kill the server.
I was wondering if some one can give me a hint about how to approach this problem. Does any body know how SAP works on this area?
I'm working with SAP2005A and SQL Server 2005 Standard Edition.
Any help is greatly appreciated.
Thanks!
Alejandro.-Hola Alejandro,
Thanks for your answer, as I see it I'm doing exactly what you proposed but the problem comes with the following scenarios:
a.- If I post a new SO with two lines I will have on the ADO1 table two records with the values 0 and 1 for each line respectively but if I delete the item on LineNum = 1 and then I add a new item, this last item will be also created with LineNum value = 1. This is not a complicated thing to do but the problem comes when the user is used to work with SOs with several items at detail level and is used to add and erase lines once in a while and as I see it it's very difficult for me to track those specific changes. There's also the fact that on the Log table a new instance is created every time the user hits the update button regardless if a modification was actually made or not. I mean I would know that a line was deleted or added but I would have to start comparing each field on each line of a sales order with it's previous instance to check what was actually added/deleted and I'm afraid that this may affect the server performance. I know that SAP does this without affecting to much the system resources and that is what I'm trying to find.
I forgot the other scenario I was considering he he I will post again as soon as I remember it but I hope I'm explaining this ok (I'm not very good at explaining...) If not let me know and I'll try to explain again.
I'm also working on trying to get another approach to see what comes up...
Thanks for checking this thread, your answers are helpful.
Regards.
Maybe you are looking for
-
Yoga 2 Pro 13.3 Android Poor Battery Life
I am getting between 7 and 8 hours battery life out of my new Yoga Pro 2 13.3" Android tablet just browsing the internet with the screen set to 25% brightness (auto-brightness turned off) and no sound. The power saving screen and GPU settings are tur
-
All the links and scroll commands in about the top 1 inch of the active window do not respond. Go below this 1 inch boundary and all the links and scroll commands work. When is this going to be fixed?
-
Finder showing wrong amount of free space on Macintosh HD
Hi! Does anyone know why Finder tells me that the amount of free space on my Mac is 46.53 GB while Disk Utility says there are only 31.89 GB of free space left?
-
hi, i am working on photoshop CC classroom in a book, and i find that i cannot use clone stamp tool, why ?
-
Tuning/disabling synonym checking by JDBC driver
Hi, We have used oracle object Types heavily in our project to tranfer the data from java layer to database layer. Becuase of security reasons we are referencing our oracle Types using synonyms in the java layer. Unfotunately this is causing perfoman