Link ArchiveLink Document (outb. invoice) with inb. invoice
Between the companies in our group we are having an ALE-handling for the invoicing process, incoming invoices are posted via IDoc. Actually it is possible to create in the SD-invoice the generated message as a pdf-Document on the external storage system (e.g. Content Server) by ArchiveLink means.
After that, if the incoming invoice is posted in the same system, the document of the outbound invoice (SD) can be linked with business object "Incoming Invoice". This is manually in the Document Viewer with the function "Assign Document".
Is there a SAP-standard functionality, with which this can be included automated in an ALE-scenario ? (Transfer of DocID and subsequent link with the number of the incoming invoice in Log.inv.verification).
Or is it necessary to establish this in the environment of Business Workflow and the creation of the additional link to the business object takes place here ?
Between the companies in our group we are having an ALE-handling for the invoicing process, incoming invoices are posted via IDoc. Actually it is possible to create in the SD-invoice the generated message as a pdf-Document on the external storage system (e.g. Content Server) by ArchiveLink means.
After that, if the incoming invoice is posted in the same system, the document of the outbound invoice (SD) can be linked with business object "Incoming Invoice". This is manually in the Document Viewer with the function "Assign Document".
Is there a SAP-standard functionality, with which this can be included automated in an ALE-scenario ? (Transfer of DocID and subsequent link with the number of the incoming invoice in Log.inv.verification).
Or is it necessary to establish this in the environment of Business Workflow and the creation of the additional link to the business object takes place here ?
Similar Messages
-
Settle credit purchase invoices with debit invoices..how to setup SAP
Sometimes we have to deal with credit invoices of suppliers. When we use F110 to make a payment batch we would to settle this credit invoices with debit invoices.
But it is not working because the credit invoices are always ending in the exception list.
What do we need to do to make it possible to settle credit invoices with debit invoices in a payment batch.Hi Robert
Ensure that the baseline date and and due date are same for both invoices and credit memos depending upon the payment term configuation. If the due date is same then both will get cleared in one payment batch.
Regards
Kapil -
How to link Material Document with Sales Order
Hi,
When we receive stock through MFHU transaction it becomes sales order stock. The movement type used to receive these into stock would be 131 for MTS & 131 E for MTO. My question is how link Material Document (MKPF/MSEG) with Sales Order because later using that sales order and line item I want to get the planned order number in SAP from PLAF table.
Thanks & Regards,
Balaji Viswanath.Hi,
To refer to Sales order you have to go to Purchase order .
Step1 -From MSEG table you can get the EBELN ( PO) EBELP
BWART (Movement Type).
Step2-Now go to EKPO and retrieve all the PO EBELN, LABNR corrresponding
to the PO found the MSEG table.
Step3-Now go to the VBAK for Sales order Header record and compare the field
VBELN = EKPO-LABNR+0(10) and to rerive Sales order item go to VBAP and
copmpare the fields VBELN = EKPO-LABNR+0(10) and
POSNR = EKPO-LABNR+10(5).
Thanks
PK -
Reference of ProForma Invoice in Commercial Invoice
Hi All
Where we will find the reference of Commercial Invoice with Proforma Invoice
Pls Suggest
P KAMALHi All KAMAL Again Here
See Hrishi
I have Created a Proforma Invoice basing on OBD and On that Excise Invoice
After the Above Procedure , I have Created Billing Document Bsing on same OBD
But in the Billing Document it is no where showing the proforma invoice Number and also
in Excise Invoice it is giving Proforma Invoice reference
So, I want a Proforma Invoice Number in the Billing Document
Basing on OBD I can fetch but Is it possible for the above.
Regards,
P KAMAL -
Link invoice with Business Document
Hi all,
I am looking for a way to link my invoices (from R/3 Invoice overview) with the original scanned invoice in TIFF format (business document).
I can see that this is possible using the "Attach Business Document" feature in the change invoice sreen, but I do not want to set this link up manually.
Is there anyway assign a "business document" to an invoice (or the other way around) automatically?
Thanks!....you can use GOS (generic object serivces) to add attachments.
Here is a SD billing example....
Add this program to an output type in transaction NACE
*& Report ZZCREATE_ATTACH *
*& Triggered by billing output-type ZRD4 *
*& Create a "service for object" attachement URL
report zzcreate_attach.
tables: nast.
data: tmp_vbeln like vbrk-vbeln.
data:
*--Object_a
p_botype like obl_s_pbor-typeid,
p_bo_id like obl_s_pbor-instid,
*--Object_b
p_docty like obl_s_pbor-typeid,
p_msgtyp like sofm-doctp,
p_url(300),
p_title(30),
*--Relationship
p_reltyp like mdoblrel-reltype.
*-Include for BO macros -*
include : <cntn01>.
types: begin of ty_message_key,
foltp type so_fol_tp,
folyr type so_fol_yr,
folno type so_fol_no,
doctp type so_doc_tp,
docyr type so_doc_yr,
docno type so_doc_no,
fortp type so_for_tp,
foryr type so_for_yr,
forno type so_for_no,
end of ty_message_key.
data : lv_message_key type ty_message_key.
data : lo_message type swc_object.
data : lt_doc_content type standard table of soli-line with header line.
data : tmp_oblguid16 type oblguid16.
*& Form entry
* text
* -->RETURN_CODE text
* -->US_SCREEN text
form entry using return_code us_screen.
perform create_url.
return_code = 0.
endform. "ENTRY
*& Form create_url
* text
* --> p1 text
* <-- p2 text
form create_url .
if nast-objky+10 ne space.
nast-objky = nast-objky+16(10).
else.
nast-objky = nast-objky.
endif.
tmp_vbeln = nast-objky.
*-Load class. -*
class cl_binary_relation definition load.
class cl_obl_object definition load.
*-Set default values -*
p_botype = 'VBRK'.
p_bo_id = tmp_vbeln.
p_docty = 'MESSAGE'.
p_msgtyp = 'URL'.
p_title = 'Web Hotel'.
p_reltyp = 'URL'.
p_url = 'www.mydoc.tiff'. "Here you must add your URL !!!
*-First derive the Attachment's ( MESSAGE )document type. -*
p_docty = 'MESSAGE'.
case p_reltyp.
* In case of URls
when 'URL'.
p_msgtyp = 'URL'.
* In case of Notes / Private Notes
when 'NOTE' or 'PNOT'.
p_msgtyp = 'RAW'.
when 'ATTA'.
p_msgtyp = 'EXT'.
* Not implemented as yet...exit
exit.
when others.
* ....exit
exit.
endcase.
*-Create an initial instance of BO 'MESSAGE' - to -*
*-call the instance-independent method 'Create'. -*
swc_create_object lo_message 'MESSAGE' lv_message_key.
*-Define container to pass the parameter values -*
*-to the method call in next step. -*
swc_container lt_message_container.
*-Populate container with parameters for method-*
swc_set_element lt_message_container 'DOCUMENTTITLE' p_title.
swc_set_element lt_message_container 'DOCUMENTLANGU' 'E'.
swc_set_element lt_message_container 'NO_DIALOG' 'X'.
swc_set_element lt_message_container 'DOCUMENTNAME' p_docty.
swc_set_element lt_message_container 'DOCUMENTTYPE' p_msgtyp.
*-'DocumentContent' is a multi-line element ( itab ). -*
*-In case of URLs..it should be concatenated -*
*-with &KEY& in the begining. -*
case p_msgtyp.
when 'URL'.
concatenate '&KEY&' p_url into lt_doc_content.
append lt_doc_content.
*-In case of Notes or Private Notes, get the data -*
*-from files on appl server or from wherever ? -*
*-(remember background). -*
when 'RAW'.
lt_doc_content = 'Hi How r u?' .
append lt_doc_content.
*-In case of File attachments upload file -*
when 'EXT'.
endcase.
swc_set_element lt_message_container 'DocumentContent' lt_doc_content.
swc_call_method lo_message 'CREATE' lt_message_container.
*-Refresh to get the reference of -*
*-create 'MESSAGE' object for attachment -*
swc_refresh_object lo_message.
*-Get Key of new object -*
swc_get_object_key lo_message lv_message_key.
*-Now we have attachment as a business object instance. -*
*-We can now attach it to our main business object instance. -*
*-Create main BO object_a -*
data: lo_is_object_a type sibflporb.
lo_is_object_a-instid = p_bo_id.
lo_is_object_a-typeid = p_botype.
lo_is_object_a-catid = 'BO'.
*-Create attachment BO object_b -*
data: lo_is_object_b type sibflporb.
lo_is_object_b-instid = lv_message_key.
lo_is_object_b-typeid = p_docty.
lo_is_object_b-catid = 'BO'.
*-TRY -*
call method cl_binary_relation=>create_link
exporting
is_object_a = lo_is_object_a
* IP_LOGSYS_A =
is_object_b = lo_is_object_b
* IP_LOGSYS_B =
ip_reltype = p_reltyp
* IP_PROPNAM =
* I_PROPERTY =
importing
ep_link_id = tmp_oblguid16
* EO_PROPERTY =
endform. " create_url -
PO Service not link with AP invoice service
Currently usiing SBO 2007A, SP-00, PL 49.
I have 1 PO service. Base on this PO service, I create AP Invoice service.
The account no. use in PO service is different from account no. use in AP Invoice service. Since account no. have been overwrite in AP Invoice.
PO service is missing link with AP Invoice.
When we open again the PO we couldn't find target document.
Also same when we open AP Invoice, we couldn't find base document, which is actually the PO.
Only in AP Invoice's remark we can find the PO no.
Also in the database, in AP Invoice table base document no. is blank.
Also it cause the PO not automatically close.
Previous PL, this error not exist.
Any one can help.
Thanks in advance,
SuryaHi,
Please check Note No. : [ 1334491|https://websmp130.sap-ag.de/sap(bD1odSZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1334491] which explains the reported issue.
Kind Regards,
Jitin
SAP Business One Forum Team -
Purchase Invoice Quantity link with Sales Invoice Quantity
Hello All Experts,
My client to link Purchase Document with Sales Documents.
1.I create a Sales invoice and it is to be linked with Purchase Invoice means we want to find out that How much quantity sold from the Purchase Invoice quantity ,Because they manage the stock based on Purchase Invoice.
How can be manage it in SAP ?
Thanks & Regards
KrishnaHai Krishna Gopal
If u manage item by batches u can take your report easily
for example u can take report like this
GRPO NO Itemcode qty Batchno ,Invoice no itemcode qty Batchno
If am wrong please correct me -
Linking the Invoice with PDF image of invoice already archived
Hi All,
I have a requirement to link my Incoming Invoice with Image of Invoice which is archived in another server.
Can someone suggest how to achieve this.
P.S: The invoice is created through an IDOC hence we are planning to have archive ID and Document ID in the Inbound IDOC, if it is helpful.
ThanksHi Arun,
Look at BOR object IMAGELINK. There are methods Assign and Assignobject. Take lead from these methods and try writting your piece of code on same lines. We have used this in workflows. Ofcourse there is customizing (if you have not done it already) try reading on early or late archiving. I hope it helps.
Warm Regards,
Anuj. -
How to create excise invoice with reference delivery document
hi all sd guru
please guide me how to create excise invoice by taking reference of delivery no.
thankx in advance
sanHI
FACTORY SALES
IN CASE OF FACTORY sales you have to create a billing document either Proforma or Commercial.
Then you can reference the billing doc i9n J1IIN for creation
DEPOT SALES
In case of depot sales you can create a excise invoice with reference to delivery document.
For this after creation of delivery goto J1IJ and slect the rg23d from menu
you can create an excise invoice with delivery in depot sales.
In factory it is not possible to create a excise invoice with delivery doc.
regards
Prashanth -
AP Credit Memo on AP Invoice with a downpayment amount linked
Hi all.
I would like to know the y is it not possible to create a A/P Credit Memo on an A/P Invoice which is adjusted with A/P Downpayment amount.
If the above posting is made in the system, its not possible to Copy to AP Credit Memo, the AP Invoice document that has downpayment amount adjusted, an error occurs stating the Credit memo cannot be prepared for an invoice with downpayment as the feature is not supported currently.
Regards
RohanVoid the incoming payment related to the Down-payment Invoice and then re-entering it as a payment on account. This will free-up the Down-payment invoice to read in to an AR Credit.
Regards
Jenny -
Sales document type ZA99 cannot be invoiced with billing type LR
Hello Guys
I am getting this error even if i have configured billing. Please help. Here is the error
'Sales document type ZA99 cannot be invoiced with billing type LR'
Thanks
VenkyIf your process chain is like ZA99 (order) -> ZL99(delivery) ->ZF99 (billing) -> LR (invoice List)
Then your copying control settings should reflect the same flow.
VOV8: delivery and billing types to default as above
VTLA: set up for ZA99 ->ZL99; VTFL: ZF99 ->ZL99; VTFF: ZF99 ->LR
Since no copy control settings for ZA99 ->LR, itemCa at VOV7 is not order-rele billing, and no default value at VOV8, it can not be copied.
If you do want to invoice your order directly like service item scenario, make customizations accordingly.
Message was edited by:
John MG -
Document splitting: vendor invoice with VAT cannot be posted because of tax
Hello
I try to post a vendor invoice with document splitting active. I can post a document without VAT but with VAT (input tax 21%) I get the message "Posting possible only with zero balance" balance; balance on other line items is 210 EUR.
001 31 0000105675 Vendo 1.000,00- V4
002 40 0000601000 Purchase of consuma 500,00 V4
003 40 0000601000 Purchase of consuma 500,00 V4
In customizing for document splliting I have following categories assigned to the GL accounts:
100 399999 01000 Balance Sheet Account
411000 411000 05100 Taxes on Sales/Purchases
440000 441000 03000 Vendor
451000 451000 05100 Taxes on Sales/Purchases
500000 580000 01000 Balance Sheet Account
600000 699999 20000 Expense
700000 759010 30000 Revenue
The field status group of the tax gl account has following field optional: cost center, profit center, segment (on which document splitting is require)
What should I do so that the document splitting works also for the tax accounts so that they appear in the gl document?
kr
ArjanHi,
This problem does not seem to be of Document Splitting. When you post the document, balance of the document does not come to zero. This problem somewhat relates to Parrelel currency configured.
Please depict entire scenario. Let me know in which currency you are posting document and which transaction and what message system is shooting.
Straight solution can be you manually change the 210 EUR balance into document by clicking on more data.
Regards,
Chitnan Joshi. -
BAPI Sales Order create with reference Invoice document
Hi
I am using BAPI ''SD_SALESDOCUMENT_CREATE'' to create debit memo request with reference Invoice document.
First time its successfully created with reference Invoice.When i am going to create 2nd time debit memo request with same reference Invoice and item
no its giving following error.
Reference quantity:
10 EA (total referenced:
40 EA)
Error in SALES_ITEM_IN 000010
Condition ZSLS is not allowed as header condition
Sales document was not changed
Please help any one to resolved this issue.
Regards
ShyamSD_SALESDOCUMENT_CREATE is not a BAPI. Is there any specific reason you're using this FM when the actual BAPI exists?
ZSLS is a custom condition. There might as well be some user exit that attempts to add it [possibly incorrectly], how would we know this on SCN? There is enough information in the error message to troubleshoot on your own, it seems. What kind of analysis have you done before posting on SCN? -
Accouting Document Number along with Invoice Document Number
Hi All,
I want to see the Accouting Document Number along with Invoice Document Number
while Posting the invoice in MIRO.
Regards
ArjunCheck
miro (invoiced document number & account documber number) -
Billing Document to be shift to other customer accounts with same invoice number
Hi,
For a long period of time we were maintaining different projects and site of a customer in a single account.
Now there is a requirement to distribute individual invoices to respective individual customer accounts for that site or project.
But doing that we also want to shift the invoices with following:
1) invoice numbers should be same (as it was generate originally)
2) Keep the same purchase order number
3) keep the same date of the invoice (as it was raise in the main accounts)
4) Keep the same salesperson
5) after doing step 1 to 4, we also want to close the main account by offsetting entries to avoid duplications.
After practicing above, we want the following result:
1) individual statement of accounts with the same invoice dates, Purchase Order Number and saleman reference.
best regards,
adnan abbasiHi,
We knew by their PURCHASE ORDER NUMBERS and to separate them from each other,
we will make a manual list in EXCEL to upload in the SYSTEM.
customer code: 55555 (merge account for all projects and sites):
invoice date assignment/LPO value
1111 12.12.2012 proj1/00001 4000.00
1112 13.12.2012 proj2/00002 3500.00
1113 14.12.2012 proj1/00002 2300.00
1114 14.12.2012 proj3/00001 1500.00
1115 15.12.2012 proj2/00003 1300.00
from above we know with reference to LPO that there are 3 projects, so we will make excel sheet for 3 projects as:
excel sheet1:
1111 12.12.2012 proj1/00001 4000.00
1113 14.12.2012 proj1/00002 2300.00
excel sheet2:
1112 13.12.2012 proj2/00002 3500.00
1115 15.12.2012 proj2/00003 1300.00
excel sheet3:
1114 14.12.2012 proj3/00001 1500.00
now to upload in the system I want to make 3 new accounts:
55556 (for project1)
55557 (for project2)
55558 (for project3)
but problem it that we want to keep date and invoice number exactly the same as originally booked in customer account no. 55555.
regards,
adnan
Maybe you are looking for
-
Help- can't play video!!
Hi! I have an extremely frustrating problem with regards to quicktime not being able to play a video of mine. I get the sound but no picture (just a white screen). I was warned that a quicktime component may be required but was not directed to which
-
Why when I register a new instance of app ias6, the File -> New -> Server... has no response
-
Hello Guru(s), What's the difference between message types PORDCR and PORDCR1, and difference between all the IDOC types: PORDCR01, PORDCR02, ...PORDCR101, and PORDCR102? Is there a way these different IDOC types can be compared side-by-side with th
-
Softphone or Physical Phone screen does not reflect the agent state
Hi I have a problem with login with finesse API. When I login on UCCX by the physical phone or softphone keyboard, the screen on the device changes, and show me options for exampe to change state, but when I loggin with finesse the device screen dont
-
Horizontal mapping + embedded one-to-one problem
Hi, this message corresponds to the article "Embedded One-to-One mapping problem". But this article is more exactly then the first without less unnessary information. I got an abstract super-class Person which is mapped horizontal. Student inherits f