Create new BPS documents from "COPY DOCUMENTS" user exit.
Hi Gerd,
thank you so much for your reply.
I'm continuing other thread here. (Copy "document icon" to new sheet from "SEM-BPS 1" sheet)
<b> We've a layout that doesn't use macros. </b>
We'd like to attach a document for each line that is entered on this layout. All the document attribute characteristics are included in this layout.
Document contents & technical name can be any thing.
Should I be able to do this?
This ensures that users be able to edit documents on other layouts which is crucial.
I tested this For couple of lines and I was successful.
Before I'd like to start implementing this, I appreciate your inputs on the prcoess that I follow if this is an effective way of doing?
Any concerns from the performance side?
any other hidden issues/concerns that you might be familiar with?
1) I'm reading all document attribute characteristic values of the layout new lines from the user exit.
2) I've created one variable for each "document attribute characteristic"
3) I've created "COPY DOCUMENTS planning function" and included variables in the parameter group
4) user exit in step 1 fills all variables (fills only 1 value at a time) & passes to "COPY DOCUMENTS parameter group"
4) due to restriction of only single entry variables usage in
"COPY plannig funciton", I'm using "API_SEMBPS_FUNCTION_EXECUTE" and executing "COPY DOCUMENTS planning funciton" as many times as number of new lines
5) if there are 6 new lines, user exit in step 1 loops 6 times & calls "API_SEMBPS_FUNCTION_EXECUTE" 6 times which inturn executes "COPY DOCUMENTS planning funciton" 6 times
Am I on the right & effective path?
Is there any better approach?
Appreciate your inputs
Hi,
This is one way you can do that. The bad side of your implementation is that the planning function is called 6 times. It would be better to copy the coding of the planning function and modify it in such a way that you can do all of the steps in one go. If the performance is all right I would still leave it the way it is as then you do not have to change to coding.
Best regards,
Gerd
Similar Messages
-
Creating Post Script File from Word Document
Hi How to create a Ps File from Word document.. Is there any api to do this ?
~Arjun(1) It is
PostScript, not
Post Script or
Ps!
(2) To create PostScript from a Microsoft Word document, you simply open such a document in Microsoft Word and print to a PostScript printer driver instance, but chose the
Print to file option. Note that since PostScript from drivers is device-dependent, you do need to choose a PostScript printer driver instance very carefully based on a PPD that has few device dependencies.
- Dov -
What is FCHU Create reference for check from payment document?
Hi,
I need some help on this T-code FCHU Create reference for check from payment document.
1) I've post check payment. Do I need to do anything on FCHU, before I review the check register FCHN?
2) When we should use this t-code FCHU?
3) What is the purpose of this T-code FCHU?
Please clarify my doubts. Please provide me step by step on this if possible. ThanksHi,
all check entries are ... report from table of list ... Issued Checks FCHU - Create reference for check.
FCHU Create Reference for Check .(RFCHKU00) to transfer the check number into the invoice document.
to transfer check# to field Assignment, Reference or Reference 3.
Exp:Step 1 - Go to ta F110 and get House Bank
Account ID
Step 2 - Run programm FCHU
Regards
Sridhar -
Restrict download of documents from a Document library
Hi,
I am working on a trial version of SharePoint online E3. I enabled IRM on it with a hope that it will restrict "DOWNLOAD" of documents from a document library itself. However to my bad, it seems it allows downloading... with imposed restrictions.
Can anybody help me in this? I need only some of the users to be able to download/print/copy documents from library and NOT all of them. Rest can only view the document. Is it possible in SP Online?
Is it possible in SharePoint 2010 or is it the same in here as well?Hi
yes,sharepoint online we can Use IRM. please refer yes,
http://office.microsoft.com/en-in/office365-sharepoint-online-enterprise-help/set-up-information-rights-management-irm-in-sharepoint-admin-center-HA102895193.aspx
Please remember to click 'Mark as Answer' on the answer if it helps you -
How to create ISU Business partner from copying the existing ISU BP
Hi,
What is the BAPI used to create the new ISU BP from copying the data of the existing ISU BP? Please help.Hi Sreenivas,
Can you please let me know the BAPI name or else the solution for the above.
Thanks in Advance,
Abhishek Ranjan.
Edited by: abhishek ranjan on Oct 11, 2011 2:07 PM -
Cannot email documents from my document folder
cannot send documents from my document folder, picture folder or anywhere. It kicks me over to outlook express, then it reads connection to server has failed pop3 comcast.net. I'm not with comcast .net, I'm with verizon.net
Hello leo3,
Sorry for the trouble you are having. Looks like you do have comcast.net set up just as "somegirl" mentioned. Here is some information on how to set up your outlook.
http://www22.verizon.com/ResidentialHelp/FiOSInternet/Email/Setup+And+Use/QuestionsOne/124289.htm
PM me if you still need assistance.
Shamika_Vz
Verizon Support
Notice: Content posted by Verizon employees is meant to be informational and does not supersede or change the Verizon Forums User Guidelines or Terms or Service, or your Customer Agreement Terms and Conditions or Plan. -
FM FOR CREATING NEW CONDITION RECORDS FROM INPUT FILE
Hello vikas,
I need to develop a interface program FOR CREATING NEW CONDITION RECORDS FROM INPUT FILE.
Is there ay function module to update or create the condtion records,
if u have any example interface program to update conditions records please send me.
regards
ram.This must be your compiler output.
Basically, it is telling you two things that are wrong - in syntax.
1. On line number 11 of the file RationalCollection1.java, the compiler expects a type identifier - that would be the object or return type such as int, String, boolean, etc.
The reason it is doing this is probably due to your not ending a previous statement - like the "expected ';'" error statement. Check your code, make sure that methods (brackets) are closed correctly and there are no open statements (i.e. missing the semi-colen at the end).
2. On line number 33 of the file RationalCollection1.java, the compiler expected the closing bracket. Thus, you didn't put the bracket where the compiler wants it.
It appears that you have skipped some lines of code. Those lines are the problem, post them - post lines 30-36 and 9-15 so we can see what is happening around those error lines. -
How to get Invoice Document from Accounting Document
Hi Experts,
How to get Invoice Document from Accounting Document. Can you suggest some tables.
Regards,
Mohanhi,
in vf02 or vf03.
go to document flow
select an accounting document - double click it.
GOTO header you will find reference field there & it is nothing but billing document.
in FB03 also you can findout the same if you know an accounting document.
tables which they store are BKPF & BSEG
balajia -
PO Creation from Sales Order User Exit
Hi,
I have a business requirement where I need to create a Stock Transport Order (STO) for a particular kind of sales order. I outlined different options for achieving this functionality.
1. Trigger a workflow for creating STO.
2. Configure it an EDI output for sales orders. Using the EDI document, create STO in the same system.
3. Create STO using BAPI from the sales order exit 'USEREXIT_SAVE_DOCUMENT'.
I am trying to understand the issues if I go with option of creating STO from sales order user-exit. I tested it and it is working fine. But what concerns is me transaction integrity. In other words I am trying to execute another transaction within a transaction. Both Transactions (VA01 and ME21N/BAPI) may be trying to access same tables. Anyways I havent see any potential overlap.
I would like to know anybody implemented such a solution?
What could be the potential issues? Does it really affect transaction integrity?
Thanks A Lot
AnilI would also be concerned with the possibility of the order failing to update AFTER you call the BAPI. You could create a custom output type that processes on order create for that order type. You could add your BAPI call to the processing routine of the output type.
-
Automate creating single PDF file from multiple documents
Hi everyone ! I am testing the Adobe XI version, especially because I need it for a very specific function.I haven't found it yet, maybe you guys can help ?
Basically, I need to make a user friendly system, that in one click will create a single PDF document from multiple files :
To be more precise : I have in a folder on the network 25 different documents (Word and PDF mainly). Some of these documents change weekly. What I need as an end result is a single PDF, that combines these 25 ones in a specific order, and the tricky part is I need to automate this so that someone with absolutely no knowledge of Acrobat can perform this task, with just a click.
I have found of course the procedure to manually build such a combined PDF, but as you can see it does not fulfil my needs.
So that's it, as simple as that
As a bonus question : I am still struggling with the construction of these documents : in the Word documents I use, there are both internal links within the document, and links between the documents (pointing to other Word files, or PDF files). I keep losing those links when I combine, is there something I am missing ?
Second bonus question : I would like to have multiple levels of signets, but for some reason all my signets are at the same hierarchical level. Anything I am doing wrong ?
A free electronic doughnut for anyone giving me a hint !When you combine you have many PDFs together in one, new PDF. Your orignal links are from one specific file to another specific file. A combine does not change the link in the original file. So the link is now from the PDFcombined to the second specific file. However, "second specific file" won't be present - so, "broken link".
Be well... -
Unable to block creation of sales document from Quotation thru user status
Dear Experts,
I have maintained a status profile in my Quotation document through the use of user status. I have defined a status to forbid creation of sales document if the status has not yet been set to "Approved".
However, even when the status is not yet "Approved", it still allows me to create subsequent sales document from this Quotation.
Anything that I have missed here?Hi,
It should not happen.
Please check the Object types for which the status profile is created. It should be for either Sales Order header or Sales order Item.
Make sure that the "create sales document" is "forbiddden" for the initial status only.
Also please check Low- High numbers for each status.
Hope this helps.
Regards,
Sharan -
Cannot create billing document from sales document
Hi,
i am trying to create billing document from the created sales document.
But the billing document is not generated. I was getting the error - ' Document is blocked from billing'.
SO, i changed the billing block and left it blank, and when I tried to create the document again, I got another error " Create billing document" not allowed (uSER STATUS ST01, Object VB006000071200000).
Please help me out,Dear Priyam,
Attached are the screen shots, go through them.
I believe you need to change the status in the Sales order status(Object status).
click on Object status
Regards
Shaik -
How to restrict the posting document from the parked user
Hi All,
Please help me in the below requirement
The requirement is, need to restrict the posting of document by the same user, who has parked the document.
For this I did the code changes in BTE: 00001140 by copying the function module:
u2018SAMPLE_INTERFACE_00001140u2019 into new function module asu2019 Y_IB_FI_PROCESS_00001140u2019
In this I have restricted as
IF ( sy-tcode = FV60 or
sy-tcode = FV50 or
sy-tcode = FBV0 ).
IF i_parked = u2018xu2019. " document has already been parked
READ TABLE t_bkpf INDEX 1.
IF t_bkpf-usnam EQ sy-uname. " park user = current user ?
t_exctab-okcod = 'BU'. " do not allow to post
APPEND t_exctab.
ENDIF.
ENDIF.
This function module is getting trigger while parking and posting the documents
While posting the document, the parameter i_parkedu2019 is not getting the values as u2018Xu2019,
To get the values as u2018Xu2019 for the parameter: i_parked what can I do?
Can you please help me, is there configuration side need check?
Or do I need to write code some where else.
Thanks in Advance
Rambabu .A
Cross-postHi
Well, in such a case, it might be justified... BUt again, I would ask how would you differentiate between What USER1 can park and what can he post?... Certainly, it would be by means of fields like Doc Type, etc...
Else, if you leave it to the discretion of USER1 and give him both the authorizations, why would he like to park when he can post the doc?
Anyways, now coming to the BTE, each BTE uses a structure... For eg: BTE 1120 uses BSEG_SUBST... If the fields you desire are not available in the structure, then you can also enhance the structure... See if you can enhance the structures involved and achieve the result
Regards
Ajay M -
BAPI to create Transfer order(WMS) from Material document
Dears,
We have activited WMS and we have not found any BAPI to generate TO in WMS from Material document to post GR to a specific bin. Is there any BAPI available for particular operation?
Can anyone tell me about name of BAPI?
Regards,
FRTry with Function Module L_TO_CREATE_TR
also try
Use this function module to create TO (transaction LT01) L_TO_CREATE_SINGLE
CALL FUNCTION 'L_TO_CREATE_SINGLE'
EXPORTING
i_lgnum = ti_lqua-lgnum
i_bwlvs = l_bwlvs
i_matnr = zwwmugeori-matnr
i_werks = ti_lqua-werks
i_lgort = ti_lqua-lgort
i_bestq = l_bestq
i_letyp = l_letyp
i_anfme = l_anfme
i_altme = l_altme
i_vlpla = l_vlpla
i_vlenr = l_vlenr
i_nlpla = l_nlpla
i_nlenr = l_nlenr
i_commit_work = space
IMPORTING
e_tanum = l_tanum.
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Feb 13, 2008 11:33 AM -
Visual Studio download a document from a document libary and upload it to a jaxrs webservice in java
I have created a custom ribbon action and a application page in visual studio. The user
presses my ribbon in sharepoint and it calls the application page that in turn downloads that file. here is the code:
namespace Save_to_PLM.Layouts.Save_to_PLM
public partial class ApplicationPage : LayoutsPageBase
protected void Page_Load(object sender, EventArgs e)
if (Request.QueryString["file"] != null)
DownloadDocument(Request.QueryString["file"].ToString());
private void DownloadDocument(string fileName)
SPSecurity.RunWithElevatedPrivileges(delegate()
using (SPSite oSiteCollection = new SPSite(SPContext.Current.Site.Url))
using (SPWeb mi_web = oSiteCollection.OpenWeb())
string path = System.Web.HttpContext.Current.Server.MapPath(fileName);
string name = System.IO.Path.GetFileName(path);
Console.WriteLine(name);
Microsoft.SharePoint.SPFile spFile = mi_web.GetFile(fileName);
Response.ClearHeaders();
Response.ClearContent();
Response.ContentType = "application/force-download";
Response.AppendHeader("content-disposition", "attachment; filename=" + name);
Response.BinaryWrite(spFile.OpenBinary());
Response.End();
But i want to http post that file to my jaxrs webservice in java. How do i do that
programmatically? I am very new .net i usually code in java.Hi,
Here is a blog about how to call a Java EE Web Service from a .Net Client for your reference:
http://blogs.msdn.com/b/bursteg/archive/2008/07/19/how-to-call-a-java-ee-web-service-from-a-net-client.aspx
If you want to download a document from a Sharepoint library, we can use the REST API provided by SharePoint and use Apache HttpComponents in Java.
http://www.rgagnon.com/javadetails/java-get-document-sharepoint-library.html
About how to upload file using jaxrs webservice in C# code, I suggest you post it to C# or ASP.Net Forum, you will get more help and confirmed answers from there.
https://social.msdn.microsoft.com/Forums/en-US/home?forum=csharpgeneral
Best Regards
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected]
Maybe you are looking for
-
How to revert to older version of ipod software
The latest 1.0.3 iPod upgrade screwed up my iPod. Some artists don't show up under the Artists, All Artists or Genre menus. I have to go under All Albums or All songs under a submenu to find them. In iTunes things are fine, and when I connect my iPod
-
Clips suddenly won't letterbox?
In my first widescreen project I've created several sequences. All clips appear in the Canvas in (letterboxed) widescreen aspect. I burned a test DVD and they played letterboxed on a full-screen TV without distortion, exactly as I had intended. When
-
My satellite a300-mt1 webcam is not working
my Satellite A300-MT1 builtin webcam is not working , and the camera is not listed in the Device Manager so i can't update the driver. I am running Vista Home , where can i find the webcam driver? I understand it is a Chicony product, thanks for the
-
ITunes Freezing...HELP!
I'm running OS X 10.3.9 and ever since I installed the iTunes 6.0.3 update my computer either freezes the moment I connect my iPod to it or a message pops up saying I must restart and forces me to do so. Of course my warranty is up on the iPod and Ap
-
Pairing Macbook Air with Bluetooth Speaker
My sony SRS X5 (black) is pairing with my macbook air, it says "connected" then immediately switched to "not connected". The speaker connects to my phone no problem, and i have tried all other troubleshooting i know of. Help?