Authorization problem with VF01 "Create Billing Documents"
Dear All,
We face following problem with VF01 "Create Billing Documents".
Transaction: VF01
User: Joe
Authorization of Joe:
VKORG Sales Organization: A, B (authorization object V_VBRK_VKO)
FKART Billing Type: 1, 2 (authorization object V_VBRK_FKA)
The objective for Joe:
Joe is qualified to create bills in
sales org A only for billing type 1 and in
sales org B only for billing type 2.
Joe should not be able to create bills for
sales org A with billing type 2 and in
sales org B with billing type 1.
How can we solve this problem?
We already searched for userexits without any success.
Any help or ideas are very appreciated.
Regards
Markus Wilhelm
Project Manager ERP
Dear,
There are standard authority-checks based on Sales organization (authorisation object V_VBRK_VKO) and/or Billing type (V_VBRK_FKA).
An option would be to create a new billing type, define specific authorisations and use the new billing type for these documents.
The bad thing is that you would also need a special (new) sales order type, because the billing document type is unique per sales order.
So maybe it is easier to have a different sales organization.
Another option would be to create a new authorization object and check it in the billing documents.
If you wish, you could modify program LV60A005 & LV60A006.
Then you might check various user/customer exits.
Some functions to check: EXIT_SAPLV60A_001/002,
EXIT_SAPLV60B_001 - 008, EXIT_SAPLV60B_010 - 011.
Regards,
R.Brahmankar
Similar Messages
-
Setting for VF01 create billing documents
Hi,
We have one scenario, we have made one package material concept just like BOM for header material we have created one material for which we have maitain BOM and for that item category as ZBOM, when we enter this parent material in Sales order all child items as per BOM coming in the SO after that we are making delivery with VL01N and in VL01N for header material i.e parent material pick qty. is 0 as we want to dispatch only child items parent material is made only to get all BOM items but after VL01N if we go for J1IJ or VF01 there also that parent material is coming delivery qty 0 but we want that is delivery qty. is zero that material should not come in J1IJ and VF01.
How to do this .
regards,
zafarHi,
Setting in VTFL is OK , when I remove the the material from VTFL for delivery to billing process that materail is not coming in VF01 when creating billing document ref. to delivery , but before VF01 we have to do J1IJ capture excise details , and in J1IJ i want that material with Item category ZBOM should not come or material with delivery picked qty. : 0 should not come in J1IJ.
regards,
zafar -
Problem in create billing document thr VF01
Hi,
I create a billing document for the delivery order number using VF01 through BDC batch input session. Here is the program flow,
1. perform open_bdc.
2. perform populate_bdc_data.
3. perform insert_bdc_session.
4. perform call_transaction_using_VF01 - only to capture return error messages.
5. perform event_trigger - trigger an event which starts a job that is defined to run when the event is raised. The job will execute the RSBDCSUB.
6. perform close_bdc.
7. perform process_bdc - process the bdc session through
SUBMIT RSBDCSUB.
My problem is, when creating billing document, the program not able to capture the return error message if there is any error occurs. The message tab (after CALL TRANSACTION) gives error message with message type as 'S'. so the program was not able to capture/display error records.
Is there any way to capture the return error message correctly?
Or Any suitable BAPI available?
Pl help me to sort out the issue.
Thanks in advance.use format_meessage
CALL TRANSACTION 'PA30' USING IT_BDCDATA MODE 'A'
UPDATE 'S'
<b>MESSAGES INTO IT_MSG.</b>
LOOP AT IT_MSG WHERE MSGTYP = 'E' .
PERFORM CREATE_SESSION.
PERFORM INSERT_INTO_SESSION.
CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
ID = IT_MSG-MSGID
LANG = SY-LANGU
NO = IT_MSG-MSGNR
V1 = IT_MSG-MSGV1
V2 = IT_MSG-MSGV2
V3 = IT_MSG-MSGV3
V4 = IT_MSG-MSGV4
IMPORTING
MSG = V_MSG
EXCEPTIONS
NOT_FOUND = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
plz reward if useful -
Create Sales Order With Reference to Billing Document Using BAPI_SALESORDER
Hi,
How can i create a sales order With Reference to Billing Document Using BAPI_SALESORDER_CREATEFROMDAT2?
Thanks in advance,
Alejandro.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. -
'update was terminated' while creating billing document VF01
Hi all,
i need a solution urgently ..except for paticular document no all documents that i post using VF01 create successfully document no.
but for a paticular document no(may be it is of some type that i am unable to) while creaing billing document no it gives a message 'document created successfully' ,but when i try to click any button after that e.g BACK it shows a messge 'Update was terminated for author ....' in my inbox. and vf03 shows the documentdoesn't exist.
in st22 i checked one dump . when i gave a break point at that point the cursor never reached the code.
I also checked SM13 and it showed all fms as init. and one fm 'RV_MESSAGE_UPDATE ' as error . i aws unable find the fm in the main program .
one more thing when i create bill document for other document type it shows messge 'Document saved ....(no accounting document created)' but for this one i am getting messge 'document saved.......' .
I asked one collegue he told me might be some OSS notes required for it . i am working on a unicoded system ECC 6.0 version.but he is not sure .
Has any body faced the same problem..and what was the soln....if oss notes are required than how could i find it..and what was the no...........
THANKS IN ADVANCE ...................THANKS for the reply.
i am new to sap .can u tell me in detail where actually i can check for number range of the document . one more when i checked the sm13 and started debugging it gave me for a certain character set (may be in chineses) present in the table ,the transfer command gives a dump. now the problem is it is too long 132 and don't no forwhich character it gives an dump.how can i check the characters maintained in the system. it gives a dump CX_SY_CONVERSION_CODEPAGE ,At the conversion of a text from codepage '4102' to codepage '4110':
i am not sure this causes the mesages 'Updation was terminated' . what u people think.
thanks .. -
Create billing documents (VF01) Message no. F5A190
Creating billing documents does not work with VF01. The message "Enter a business place under "Basic data"
(Message no. F5A190) appears.
Billing documents are for german clients (not thailand sth. else).
Thank you for help!http://help.sap.com/saphelp_46c/helpdata/en/db/ab0d3888a11c10e10000009b38f8cf/frameset.htm
-
How to Create Excise Invoice (J1IIN) with order related billing document
Dear Experts,
Is it possible to Create Excise Invoice (J1IIN) with order related billing document? How? please guide
Regards
BK GAIKWADSir,
We have make the supplementary Invoice (Debit Note) as per below process
1) Create sales order_VA01
2) Create billing document_VF01_with reference to sales order
3) Create Excise Invoice With J1IS (Other Movement) It is manually job & due to heavy work load (create 200 invoice per day) it is not possible to do manually.
Hence we want to create excise Invoice with J1IIN instead of J1IS, any alternative solution for that?
Regards
BK GAIKWAD -
Changing billing document date while creating billing document from vf01
Hi gurus,
I have requirement to change billing doc date while creating billing document from VF01.
here I have to consider goods issue date eq billing date.
caluculating billing date = Goods Issue + Goods in Transit duration time.
I have done everu thing but I cant update the caluculated date, iam using the following enhancement
Enhancement:SDVFX001
Function Module:EXIT_SAPLV60B_001
Include:ZXVVFU01 which are part vf01.
here iam sending the calculated date to VBRK-FKDAT
move cal_date to vbrk-fkdat.
need help how to update the calculated date to VBRK-fkdat i.e billing document date
Regards
BhaskarHi
No! That exit is not good for your issue
U can use the user-exit USEREXIT_NUMBER_RANGE_INV_DATE defined in RV60AFZC
Max -
Please help with this bapi for creating billing document
I want to create a billing document using the bapi: BAPI_BILLINGDOC_CREATEMULTIPLE from a delivery number and NOT A SALES ORDER.
Please tell me what details to be passed to table BILLINGDATAIN . Please don't provide me function module documentation because it does n't help me create billing document from delivery. A sample source code or suggestion to what to pass would be really great!
Thanks,
Krishen
P.S. Points assured for helpful answers and thanks for your time.Hi,
Try this..
DATA: s_vbap TYPE vbap.
TABLES: vbak,vbap,likp, lips.
DATA: t_billing TYPE STANDARD TABLE OF bapivbrk WITH HEADER LINE.
DATA: t_conditions TYPE STANDARD TABLE OF bapikomv WITH HEADER LINE.
DATA: t_return TYPE STANDARD TABLE OF bapireturn1 WITH HEADER LINE.
DATA: t_ccard TYPE STANDARD TABLE OF bapiccard_vf WITH HEADER LINE.
DATA: t_errors TYPE STANDARD TABLE OF bapivbrkerrors WITH HEADER LINE.
DATA: t_success TYPE STANDARD TABLE OF bapivbrksuccess WITH HEADER LINE
PARAMETERS: p_vbeln TYPE vbeln.
select single * from likp
where vbeln = p_vbeln.
SELECT SINGLE * from lips where
vbeln = likp-vbeln.
t_billing-salesorg = likp-vkorg.
t_billing-ref_doc = likp-vbeln.
t_billing-ref_item = lips-posnr.
t_billing-doc_number = p_vbeln.
t_billing-itm_number = lips-posnr.
t_billing-ordbilltyp = 'ZINV'.
t_billing-price_date = sy-datum.
t_billing-ref_doc_ca = likp-vbtyp.
t_billing-material = lips-matnr.
t_billing-plant = lips-werks.
APPEND t_billing.
CALL FUNCTION 'BAPI_BILLINGDOC_CREATEMULTIPLE'
TABLES
billingdatain = t_billing
return = t_return
success = t_success
commit work.
Thanks,
Naren -
Error while creating billing document using VF04 transaction
Hi All,
User is trying to create billing document using VF04 with ference to delivery number. When pressing save in invoice creation system SAP gives invoice document number (No accouting document generated). but no documents are actually created. When user trying for second time log is showing this sales order is currently processed by the user(user is same who is trying to create invoice)
Please let us know what is causing this issue since this issue is happening in production and we can not debug this.
We checked for number range also but its not.
Waiting for your inputs.
Regards,
Jyothi CH.When pressing save in invoice creation system
SAP gives invoice document number (No accouting document generated).
but no documents are actually created
Check there is any clash with internal number range of billing type vs other billing types ?
Try to create billing document using VF01,see any messages were poping while saving ?
Check for abap dump in ST22 ?
Edited by: Jeyakanthan A on Feb 9, 2011 9:52 PM -
How to block creating Billing document if no accounting doc generated
Hi,
In Brazil, after create Billing Document a new document called Nota Fiscal is also created.
But I can't allow creating Billing Document and Nota Fiscal if i have a problem during the releasing process of the Accounting Document.
How Could I to do for block the creation of those documents if i had a problem in releasing the accounting document ?
Best Regards.
Kleyson Rios.HI,
with out creating a billing document we can not expect accounting document details.
once u create a billing document then we come to know whether accounting doc is created or not. if not created then we hav top analyze why it is not created.
do one thing u have to check all configuration settings before creating a billing document.
Srini -
Dear Experts,
My scenario is:
We have batch split scenario, where the parent line item of billing document has 0 quantity and its subsequent item (item with batch number) holds actual quantity data.
When we create billing document using VF01 against delivery document, system creates billing document along with excise invoice document (J1IIN Document). And in excise document contain same number of line items that of billing document. Please see the below attachment:
Biiling document screen shot:
While creating billing document, the J1IIN Document created automatically. Below is the screen-shot for the same.
Now the issue is:
When we create billing document using BAPI: BAPI_BILLINGDOC_CREATEMULTIPLE system creating only billing document and not creating excise invoice document.
When we create excise document manually using J1IIN the zero quantity line items are excluded in excise invoice document.
Please see the below screen-shot for the same; The z quantity line items are missing.
We want excise document to be created while creating billing document using BAPI BAPI_BILLINGDOC_CREATEMULTIPLE. Or is there any other BAPI for the same purpose.
Customization is also maintained for creating excise invoice document automatically.
Regards,
Rajesh Sadula.HI
Pricing will be carried basing on the pricing
procedure.
Case1: Prices will be carried out automatically if
necessary condition records are maintained for the
condition type.
For this you can go to Sales Order-> Item Conditions
In the screen you can click on command button Analysis,
which gives you the list of condition types associated
to the pricing procedure. By clicking on the condition
type you can know the action that has taken place.
Case2: Manually forcing prices for Items.
To do this, you have to populate ORDER_CONDITIONS_IN &
ORDER_CONDITIONS_INX. Also note to identify the item
numbers, you manually pass the item number for each item
in the sales order, use the same item number for
populating conditions.
Parameters required:
ORDER_CONDITIONS_IN:
ITM_NUMBER, COND_TYPE, COND_VALUE, CURRENCY
ORDER_CONDITIONS_INX:
ITM_NUMBER, COND_TYPE, UPDATEFLAG, COND_VALUE,CURRENCY.
Hope the above info helps you. Do revert back if you
need more info.
Kind Regards
Eswar -
Ff759 during creating billing document
hi guys
During sales order process with Customer Down Payment (for Poland) I'm getting an ff759 error when I'm creating billing document .
Message no. FF759.
Cannot post document: tax base in local currency is zero.
You tried generating a document in which the tax base in local currency is zero although the tax amount and tax base in foreign currency is not zero
System is not creating an accounting document.
The billing document that I'm creating in that case is a regular invoice (type F2) that uses a downpayment invoice (type FAF) for clearing.
Both invoices are in local currency.
I'm sure the error is because of some tax rounding isuess.
We have implented every note relating to Down Payment for Poland and to FF759 error.
My system SAP ECC 6.03 , SP04
Any ideas??
thx
RafAlex, thank you for your answer, but it didnu2019t solve my problem, most of the notes that you wrote about are relating to invoice correction,
and like I wrote before our problem is happening only during sales order process with Customer Down Payment (Down payment process for Poland is different than in other countries) when weu2019re creating billing document.
Error is being trown from infunction FI_TAX_SV_TAXITEM.
Prüfung: Steuer <> 0 und Steuerbasisbetrag = 0
IF ( i_bset-hwbas = 0 AND i_bset-hwste != 0 ) OR
( i_bset-fwbas = 0 AND i_bset-fwste != 0 ) OR
( i_bset-h2bas = 0 AND i_bset-h2ste != 0 ) OR
( i_bset-h3bas = 0 AND i_bset-h3ste != 0 ).
no error in case of external system is active "N515047
AND billing document AND bas-amount = 0 "N515047
prerequisite: note 549712 "N515047
IF ext_activ IS INITIAL "N515047
OR i_bkpf-awtyp NE 'VBRK'. "N515047 "N1174393
or ( i_bkpf-awtyp NE 'VBRK' and "N1174393
i_bkpf-awtyp NE 'WBRK' ). "N1174393
message_store 'FF' 'E' '759' blank blank blank blank.
ENDIF. "N515047
ENDIF.
btw. != means different
Beside that I would like to let you know that thanks to substitution described in note 872449 point 5c I was able to avoid ff759 error when I was creating billing document, but unfortunately in that case posting document was incorrect. -
Dear Experts,
When i am creating billing documents VF01 with reference of delivery dcument number its getting error that is: No Billing Documents were generated. When i saw log error it's telling Delivery type Zxvz cannot be invoiced with billing type Zxy2. Could you please suggest me where i did worng.
Thanks in Advance!
AnjaliHi
Goto VTFL t.code and check that the corresponding to Billing type is assigned to the Delivery type or not.
Thanks,
Laxman Aadimulam -
Prevent to create billing document in a closed period
hello
i want to know what is the best way to use transaction VF01 in SD for a billing date which is in an open period in Finance
today i have many users which are creating billing documents for closed periods and this is stuck in VFX3
is there any way to prevent users to do it and create billing documents in a previous period?
thanks
StephaneHi
Welcome to SDN! I Hope your 1st experience here is good
The intention of not posting the document and throwing it into VFX3 is exactly what you are looking for.. You need to cancel your document from VF02 and re-create it again...
If you want to put an ABAP check, to that saving in VF01 should not be allowed, use exit RV60AFZZ or RV60AFZB... But, I would say discipline is the apt solution to such issues
you can write logic in this exit with the help of ABAP consultant...
Regards
Ajay M
Maybe you are looking for
-
Hi all, Apparently , from VC7.1 onwards, the URL View is no longer available. I managed to mimic this behaviour by using hte "Hyperlink" action from a button , for example, however, this always opens a NEW windows, while we prefer to embed the targe
-
Problems with the iPod Touch (sound)
Hey, I was wondering (more like desperately hoping) someone can help me with my problem. I've had my iPod touch for almost 2 years now but lately I've been getting problems with the sound. When I bought the iPod, I bought some decent sennheiser plug-
-
MPB 13" Charger has decided it doesn't love me anymore
Hey guys, My MPB 13" charger doesn't want to work anymore... When I plug it in the green/orange light stays a very dim green and wont charge my baby at all. Used my friends charger and it started to charge just fine. Then to make sure I used mine in
-
Hello, In OWB 11g I create a schema owf_mgr, and I've migrated the server, and has another IP. In OWB i try to change IP from Locations/Process flow and schedules/Oracle workflow/WORKFLOW_MANAGER , but the fields are disabled for editing. How to chan
-
I need to know how my daughter's purchases came out of my account instead of off of the gift cards, 2 @ $15 = $30?