Archiving to PO line item
Hi Gurus,
I am trying to implement the Archieving functionality to PO line item.
I have different types of files like TXT,PDF etc and which i need to attach to line items of PO separately.
Can you please tell me how can I achive this functionality.
Thanks in advance
Regards
Ashutosh
Hi,
Use the Bapi's latest version i.e "BAPI_DOCUMENT_CREATE2" and then call the Commit function module.
Sample code given below.....
CALL FUNCTION 'BAPI_DOCUMENT_CREATE2'
EXPORTING
documentdata = wa_docdata
pf_http_dest = c_http_dest
IMPORTING
documenttype = v_doc_type
documentnumber = v_doc_number
documentversion = v_doc_version
return = v_return
TABLES
documentdescriptions = i_documentdescriptions
documentfiles = documentfiles
objectlinks = objectlinks
longtexts = longtexts.
IF v_return-type CA 'EA'.
ROLLBACK WORK.
ELSE.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
ENDIF.
Thanks and Regards
Senthil Kumar A
Similar Messages
-
How to get Status of Archived Delivery Document line item
Hi Folks,
I want read the Status of line item of archived delivery document.
As delivery is archived, it is not found in LIKP/LIPS. So I got the archived delivery document from VBFA table.But this does not contain the status field.
Is there any program or Function modules which reads this status.
Please help.
Thanks in advance.Check field VBUK-GBSTK (Overall processing status of document).
regards,
srinivas
<b>*reward for useful answers*</b> -
Archiving cost center line items for current period
Hi,
I was not able to archive & delete the cost center line items for current period.I was succesfull in deleting the past line items of the last periods.
RajHi Rajesh,
I think SAP help says that the period for which you are planning to delete or archive data may have to be locked.
Check the following links:
For Archiving
http://help.sap.com/saphelp_47x200/helpdata/en/8d/3e55ec462a11d189000000e8323d3a/frameset.htm -
Archiving & Deleting the Cost center line items
My requirement is to delete the line items in the cost cneter as of today, but when i tried to archive & delete the Cost center line items using CO_item,i aam sucesfull in deleteing the past data, but the data of the last month and currenct month i was unable to ........
when i tried in the spro>img>controlling>general ontrolling>archiving>prepare archiving for co line items
i set the resident time to 0,but i was unable to delete the line items.what colud be the reason and what is the way to delete the currenct data also from the system.
your earlier reply surely appreciated .......Hi Rajesh,
I think SAP help says that the period for which you are planning to delete or archive data may have to be locked.
Check the following links:
For Archiving
http://help.sap.com/saphelp_47x200/helpdata/en/8d/3e55ec462a11d189000000e8323d3a/frameset.htm -
How to clear line items in accounts not managed on an open item basis
We are getting ready to archive FI accounting documents from years 1993-2002. We encountered a great deal of documents that did not archive during testing because the documents have open items. We were given bad advice in the beginning on how to set up accounts. Several accounts were not set up on an open item basis and these accounts will not get archived until the line items are cleared. We have set up new accounts to replace these accounts that are now being managed on an open item basis. Our FI users are unable to clear the documents using F-03. Does anyone have a way of clearing these type of documents (not managed on an open item basis)? Thank you in advance.
One of our users has proven that the line items on GL accounts not managed on an open item basis are not holding up the archiving. The reason for many documents not archiving is that the item posted to the vendor is still open.
thanks! -
FI Archiving - System error: Customer/vendor line item not on OI basis
While archiving FI Documetns using object FI_Documnt, I am getting message System error: Customer/vendor line item not on OI basis for few non archivable documents. Is it like these also open items and can not be able to archive them. Or what is the root cause of these error message.
Regards,
ShaileshHi Adisha,
This error pertains to the accounting fundamentals and SAP does not have anything to do with this....you ask yourself that if you were not using SAP and simlar problem came your way what would you have done...this has no solution...
Either you wait for the next invoice with big amount but which seems bit impractical..
In this we really need to consult the Accounting Standards to see what it could allow.
Regards,
Chintan Joshi -
How to reverse a FI document with line item that is cleared and archived.
Hi all,
Appreciate your help on this.
I have a FI document, say 1000001 with 3 line items.
line 1 and 3 is open. line 2 is cleared by document 1000002.
1000002 is subsequently being archived.
Now, is there any way to reverse document 1000001?
I can no longer do a FBRA (reverse and reset) since 1000002 is already archived.
Please help!
Thank you,
Lai SanHi Lai San,
Dont know whether this helps.. but just a thought....
i came across a note regarding reversal of an SD document when the corresponding FI document was already archived.. reversal was not working due to a program error (SAP note 410590). does the FI doc reversal also work on lines with SD doc reversal? (iam a layman here ) maybe u can consult SAP?
Regards,
Naveen -
In a archived saler Order user had deleted Line Item and completed overall sales order. Now this sales order is archived, but it is stll appearing in BW report as open order because of deleted item with rejection Status is maintained as “A” (Not yet Processed).
We want to change this status from "A" (Not yet Processed) to "C" as completed.
I have tried to reload Archive data but due to some limitation I was not able to do it. Also I feel this will like this s not the proper way to do it.
Could you please help me to correct way to do it???
Thanks in advance....Hi Vaibhav,
If you can get the list of Sales orders which has deleted line items and force completion status. You can manage them in BI via lookup or navigation attribute.
Just my views I am sharing .
Thanks,
KDJ -
Posting Line Items after Archiving in SAP
Hi Experts,
I have a small query regarding SAP data archiving in Financial accounting data. I have archived Financial total records data for one fiscal year (2010), and that data is deleted from the SAP database. Now my client is trying to do catchup activity of posting some more new line items for the same fiscal year (2010), this data is not archived and available in the SAP database.
My Question is:
1. can client retrive both the data which is archived and not archived from the standard Transactions?
2. If it is possible, can client will get the consolidated values of line items (which are retrived from database as well as archive files) in the report resulted in retrival process to secure the balance carryforward function?
Please let me know if there are any standard recommendations or a workaround techniques to meet this business requirment.
Thanks in advance.
Regards,
Irrshaad.Hi, you have stopped/end the process. Now you want to archive with the correct variant selection criteria. For this to be successful, please first change the customising that you require and then in SARA--> re-create a new variant with the correct selection criteria to archive your data.
Please ensure that in t.code <file> you have maintained all the logical file path, fine name, pysical path's maintained properly.
I Hope your problem will be resolved. -
FS10N - Not displaying line items for Archiving document
Hi Experts,
When we are double clicking on the FS10N accont display balance report to get line item reprot, it is not displaying archived document data. We have also deleted secondary indexes for those archived document.
We are able to get same report while using FBL3N with Archive info structure loaded with data.
Please suggest how to do FS10N archive enabled?
Thanks,
SamirV.Hi Samir,
You should look at the following SAP notes and implement the corrections:
792515
776164
and 831568 (if you use business areas)
Regards,
Eli -
Can a deleted PO line item be archived?
Hi,
Is it possible to archive PO Line item after deletion? while the same PO can be active for other line items?
If yes
will be pleased to know the steps & any complexity involved?
Regards,
VengatHi Venkat,
If the PO has more than one line item, and if you are looking for deleting a single line item and archive
this is not possible. All the line items relevant to that PO has to be complete., like GR/IR etc.,
Once all the relevant business transactions is complete, the PO can be deleted and then archived.
Hope this is helpful.
Regards,
Suresh -
Archiving line items distributed through ALE
Hi All,
Can anyone share any document/tell me the steps involved in archiving transactions posted using ALE, i.e transactions posted from other systems/client
For eg,
Restrictions for the archiving object states that 'CO line items that were distributed using ALE cannot be archived' -
Can anyone let me know how to archive and delete such transactions?
Thanks in advance
Regards
AnupamaHi,
Regarding your issue of how to read data out of acrhives please consider the notes 422836 (Profit Center archiving: How
to read archived data), 401961 (how line item reports read from archive) and 203545 (general information about archiving and archiving objects).
regards
Waman -
Hello, experts !
Please advise,
I have a cost center,
on witch I know there are bookings,
1. I do KSB1, have message "No actual line items were selected"
2. I select - extras - data source - archive
in this way I can see my items.
ok.
maybe all bookings are archived.
no:
I de a new movement on this CC - KB11N (exemple) - and on the new one I have the same problem
I se it only when I check "archive",
and do not see it on custom reports.
Why ?
Ay idea ?Dear Jonny,
Check the T Code: S_ALR_87013611
Then T Code: KSB1 by removing all the filters like date restriction..etc.
Still if you are not finding the postings:
Check the postings in the T code FAGLB03 - Display Balances by giving GL Account.
Postings happen in co module if there is a cost object.
If there is no cost object it will not flow to controlling, that will be in FI.
What you need to do is:
Select your GL
Select your Payment date
Select your Document number.
You can check the same in FBL3N also.
go to the transaction summary and verify the cost object whether it is a cost center or Order...etc.
Also check whether the payment is in parking stage ....?
Regards,
Pavan Kumar Arvapally -
Sales order line item cannot be rejected as service order has been archived
Iam trying to reject a line item in a sales order with a "AP cancel line item" reason, but it does not allow me saying that the service order does not exist. The service order has been archived earlier. Is there any solution or workaround of this problem ?
Program zz_clear_aufnr can be used to resolve this.
-
Sale order canu2019t be archived u2013 Open PO items exists
Hi all
While doing sale order archive, it says it has open PO items. But the PO line items and relevant PR line items are deleted. Still canu2019t archive the sale order. Pls guideu2026
Thanks in advance
ARASHi
Can u send us the exact Error message??
Ravi.
Maybe you are looking for
-
How to find length of a character variable in sap script
Hi, I have stored a line of text in one variable. If the text exceeds more than 50 characters, the remaining characters will be printed in next line. For this i have given code as : <I>&S_BOL_SUMMARY-TXT(50)&</> <I>&S_BOL_SUMMARY-TXT+50&</> The probl
-
Help, ibook not booting after installing update 10.4.8 combo
Hi there, i just updated my ibook 500 dual usb, with 10.4.8 combo and when i restarted the screen was gray with a flashing question mark. I tried to boot in every mode (with x, with startup manager) and also i checked with disk warrior and disk utili
-
IWork is all white and doesn't work properly with Snow Leopard
Whenever I open Pages or Numbers 09, everything is displayed as white. The text colour is black but I can't see the blinking text mouse icon (which looks like I). I can open templates and can only see the text when I highlight it otherwise the screen
-
Apple IDs for Purchasing VPP apps
Are there any requirements on the Apple ID I use to purchase a VPP app which I will then install using Apple Configurator onto supervised iPads? The indicated text is: "Use an Apple ID that is not the ID of the VPP program facilitator or designated p
-
I am posting ads on a website that doesn't use Safari (or any non PC system, from what I gather) for formatting. As a result, when I paste text in it only allows ktml formatting, which doesn't make paragraphs or do anything else. Is there a way to cr