BDCDATA for include ZXVEDU04 of EXIT_SAPLVEDA_002?
I am attempting to write my first user exit for an Inbound IDoc. Outbound seems easy by comparison. I am going to add a date to VBAK-MAHDT from an extended ORDERS03 segment. The new IDoc type is called 'Z_EK_ORDERS03' and my extended segment is pretty much like E1EDK03.
I'm working with enhancement VEDA0001. For include ZXVEDU03 of component EXIT_SAPLVEDA_001 I have this so far:
DATA:
w_z1edk03 LIKE z1edk03,
w_vbak LIKE vbak.
IF contrl-mestyp = 'ORDERS' AND
contrl-idoctp = 'Z_EK_ORDERS03'.
CASE segment-segnam.
WHEN 'Z1EDK03'.
IF segment-sdata(3) = 'Z01'.
w_z1edk03 = segment-sdata.
MOVE dxvbak TO w_vbak.
w_vbak-mahdt = w_z1edk03-datum.
MOVE w_vbak TO dxvbak.
ENDIF.
WHEN OTHERS.
ENDCASE.
ENDIF.
Now I need to insert the date into the right screen using include ZXVEDU04 of EXIT_SAPLVEDA_002. I have this so far:
DATA:
x_bdc LIKE bdcdata OCCURS 0,
w_vbak LIKE vbak,
w_bdc TYPE bdcdata,
i_bdc TYPE I.
MOVE dxbdcdata TO w_bdc.
IF w_bdc-fnam EQ SPACE.
i_bdc = sy-tabix - 1.
READ TABLE dxbdcdata INDEX i_bdc.
MOVE dxbdcdata TO w_bdc.
ENDIF.
IF w_bdc-fnam = 'BDC_OKCODE' AND
w_bdc-fval = 'SICH'.
CLEAR w_bdc.
LOOP AT dxbdcdata INTO w_bdc.
APPEND w_bdc TO x_bdc.
CASE w_bdc-fnam.
WHEN 'VBKD-BSTKD'.
MOVE dxvbak TO w_vbak.
IF NOT w_vbak-mahdt IS INITIAL.
w_bdc-fnam = 'VBAK-MAHDT'.
w_bdc-fval = w_vbak-mahdt.
APPEND w_bdc TO x_bdc.
ENDIF.
WHEN OTHERS.
ENDCASE.
ENDLOOP.
dxbdcdata[] = x_bdc[].
ENDIF.
This gives me an error of 'VBAK-MAHDT does not exist for screen 4001'. Do I have to add BDC records for screen '4351'? If I do what would the OPCODE be? Is there an easier way to accomplish my goals rather than using BDC at all?
OK, I've tried inseting this in various positions of the BDCDATA table but it is not working. With this latest code I get 'No batch input data for screen SAPMV45A 4002' error.
DATA:
x_bdc LIKE bdcdata OCCURS 0,
w_vbak LIKE vbak,
w_bdc TYPE bdcdata,
n_bdc TYPE bdcdata,
i_bdc TYPE I,
done TYPE C.
MOVE dxbdcdata TO w_bdc.
IF w_bdc-fnam EQ SPACE.
i_bdc = sy-tabix - 1.
READ TABLE dxbdcdata INDEX i_bdc.
MOVE dxbdcdata TO w_bdc.
ENDIF.
IF w_bdc-fnam = 'BDC_OKCODE' AND
w_bdc-fval = 'SICH'.
CLEAR w_bdc.
LOOP AT dxbdcdata INTO w_bdc.
APPEND w_bdc TO x_bdc.
IF w_bdc-fval = 'KPAR_SUB' AND done IS INITIAL.
MOVE dxvbak TO w_vbak.
IF NOT w_vbak-mahdt IS INITIAL.
n_bdc-program = 'SAPMV45A'.
n_bdc-dynpro = 4351.
n_bdc-dynbegin = 'X'.
APPEND n_bdc TO x_bdc.
CLEAR n_bdc.
n_bdc-fnam = 'VBAK-MAHDT'.
n_bdc-fval = w_vbak-mahdt.
APPEND n_bdc TO x_bdc.
CLEAR n_bdc.
n_bdc-fnam = 'BDC_OKCODE'.
n_bdc-fval = 'KBES'.
APPEND n_bdc TO x_bdc.
CLEAR n_bdc.
ENDIF.
done = 'X'.
ENDIF.
ENDLOOP.
dxbdcdata[] = x_bdc[].
ENDIF.
Does anyone have an example of hopw this is supposed to work?
Similar Messages
-
Very urgent Enhancement category for include or subtype missing
HI all;
I am currently on BI 7.0 release
I have a cube A that activated in Development. I transported cube A to Staging get the following error
Enhancement category for include or subtype missing
Enhancement category for include or subtype missing
No active nametab exists for /BIC/DZIP_INT9
Termination due to inconsistencies
Table (Statements could not be generated)
Flag: 'Incorrect enhancement category' could not be upda
Enhancement category for table missing
Enhancement category for include or subtype missing
No active nametab exists for /BIC/DZIP_INTP
and the cube couldn't activate in staging.
I re-transport this cube A a few times with difference option of grouping and still no luck.
in Development, i copied cube A to cube Aa, then transport new cube Aa to staging, then everything went ok. the new cube Aa is activated in staging area.
I couldn't use the new name Aa since all the queries using the A name.
Is there any possible solution that could help?
Thanks.
Rainniejj
-
How to integrate bing map for including or displaying multiple locations at the same time
how to integrate bing map for including or displaying multiple locations at the same time
Have you aware of the geolocation field that's been introduced with SharePoint 2013? You can store location data within a list and then integrate this within Bing. The second tutorial on this Bing team blog will show it well.
https://www.bing.com/blogs/site_blogs/b/maps/archive/2013/03/26/connecting-a-sharepoint-list-to-bing-maps.aspx
Steven Andrews
SharePoint Business Analyst: LiveNation Entertainment
Blog: baron72.wordpress.com
Twitter: Follow @backpackerd00d
My Wiki Articles:
CodePlex Corner Series
Please remember to mark your question as "answered" if this solves (or helps) your problem. -
Program name zxvau02 are reserved for includes of exit function group
i am facing a problem during user exit.
when i am trying to change the code in function module (va01) in include zxvvau02
an error is occurred 'program name zxvau02 are reserved for includes of exit function group'
so i could not edit the include program.Hi,
1. Find the appropriate Enhancement.
2. Enter the ABAP code in the "Z" program within the function module.
3. Create a project.
4. Add the Enhancement to the project.
5. Activate the project.
At the step (2), when I double click on the Include ZX* within source code of the function module to realize the exit, the
system would prompt to create the include. But NO, it always prompt that the name of include is reserved by SAP and I
cannot create it... I entered an access key for the object ... -
Error : No framework program was found for include
Hi All,
A web UI enhancement worked perfectly fine in a development system. However, after transporting it to a quality system, it did not work as expected. All transports were error free and all the developed items could be seen in the quality system.
When trying to keep a breakpoint in the redefined method of a controller class, I get the error "No framework program was found for include <> "; where <> is the z implementation class that was created.
Any suggestions/ideas on how to resolve this error?Hi,
Check the entries in sm30 bspwdv_ehset_asg if the enhacement is assigned to client in Q system..
Hope this helps..
Cheers,
Sumit Mittal -
Dear Friends,
I need to make changes in an include.
Should i ask basis people to give access key for include program or main program?
Thanks.Hi,
Check this:
Re: HOW TO MODIFY SAP STANDARD FORM
Rgds,
Raghu -
ORA-39071: Value for INCLUDE is badly formed.
Hi,
in 10g , when exporting by :
expdp scott/tiger@mydb directory=dpump_dir1 dumpfile=scott.dmp INCLUDE=TABLE:"IN ('EMP')" content=DATA_ONLY FILESIZE=1000MI receive :
ORA-39071: Value for INCLUDE is badly formedAny help ?
I coppied /past the INCLUDE part of code from :
http://download.oracle.com/docs/cd/B19306_01/server.102/b14215.pdf
Thank you.HI..
What exactly do you need to do? If, you want to take the export of EMP table only then use
expdp scott/tiger@mydb directory=dpump_dir1 dumpfile=scott.dmp logfile=scott.log tables=EMP content=DATA_ONLY FILESIZE=1000M
Anand
Removed the include syntax
Edited by: Anand... on Aug 31, 2009 8:28 PM -
Regarding the nomenclature for include files in SAP
Hi Group,
I am presently enhancing a tool for the upgrade thing .The tool is used to derive all the effected objects,so, for that i need to know the nomenclature for include files in SAP.e,g all the include files for table maintenance generator starts with LSVIM.so, we don't need to analyse that include files,so in the similar fashion i need to know nomenclature for include files....
Thanks,
Ajitabh AggarwalHi Group,
Basically i am working on developing an upgrade tool from 4.6/4.7 to Ecc 5.0/6.0,so for that i need certain information on include files.Basically i need to collect the affected zobjects whic i need to modify,So,for that i need to get the FUGR,FMs and includes which need to be corrected.e.g all deque and enque function modules are irrerelevant and similary includes starting with LSVIM and those that don't have function odules attached to them are for screen maintenance of tables.So, i need certain on inputs on that end.if u have anything,please do tell me.
Thanks in Advance.
Ajitabh Aggarwal -
ZX... are reserved for includes of exit function groups
Hello SAPians,
For implementing screen exit , I tried to modify the following include .
It throws the warnig saying :
Program names ZX... are reserved for includes of exit function groups
Can u tell the way to make it editable
I appreciate ur idea
Thanks
SanthoshIt is just warning...
Press Enter to move ahead of the warning.
This comes when you try to implmenet the include of the user exit very first time.
Regards,
Naimesh Patel -
Program names ZX... are reserved for includes of exit function groups means
dear all,
i am doing the enhacement SRVESSR for EXIT_SAPLMLSR_010 in this exit i got include, when i double click on the ZXMLUU19
i am getting the following error.
Program names ZX... are reserved for includes of exit function groups
regrds.
shashiHi,
When the warning message is displayed press enter key, System will prompt the message "Include ZXMLUU19 does not exist. Create Object? ". Select Yes option. Include will be created.
Regards
Vinod -
Ver 4: Still no support for Includes or Design Time Stylesheets?
Wow...well, without either of these I can't make use of this
product. I guess I'm confused at what types of users this product
may be marketed toward, although with the amount of focus put on
Blogs and Blogging and lack of focus on requests already made in
this forum for some time I'm getting a better idea. Hey, if they
want to "dumb this down" and make it a price point product that
purposely sits lower on the totem pole than Dreamweaver, then I
think that ought to be made more clear in the marketing materials.
I guess what's frustrating is that it's touted that it "uses the
Dreamweaver HTML Engine" but can't implement a feature like Design
Time Stylesheets? Would this put it too close to Dreamweaver in the
product line? I certainly don't think so but if it did implement
such a feature it would increase the demographic that could make
use of such a great product as many users are not going to rewrite
Includes OUT of their existing sites just to be able to use it.
Most intermediate to advanced designers will almost always,
and have been taught, to use includes to minimize page changes in
multiple places...it's such a common thing to do. But unless an
included page can be edited inline I have no way to turn my users
loose with this app. It seems reasonable to implement Design Time
Stylesheets like Dreamweaver does in which case, the users could
edit the included page directly and at least see it like it should
look with formatting which they can't do now because of the lack of
an applied stylesheet when opening the include file directly.
Do they expect that once we've written a site using includes
we should have our content providers use Dreamweaver? I don't know
about the rest of you but that's asking for a heck of a lot of
trouble turning non-designer/developers loose with
Dreamweaver...even using Templates.
Sorry for the rant, I'm just a bit frustrated as I really
need an app that can let me make use of "Content Providers" in our
company. And don't get me wrong, I'm a long time Macromedia/Adobe
supporter...just hoped something would happen with v4 that didn't
and was pretty sure it would based on user input on this and other
forums.
If anyone has ideas on workarounds for this problem I'd love
to hear!
Thx,
MikeHi. I'm going to reopen this thread instead of starting a new
one. Maybe someone here can help me figure out how Contribute can
solve my client's editing woes.
His site is built in ColdFusion, with template information
that's stored in the database for each page. Currently this is what
happens, simplified.
1. User requests /foo.cfm
2. Database looks up header, footer, and template to use for
/foo.cfm, or the page can use "no template" in which case
whatever's in the page gets put between the header and footer.
3. The template or the page will contain one or more
"editable regions", to use a Dreamweaver term. These blocks of HTML
are pulled out of the database, and can currently be edited within
the CMS by a browser-based WYSWYG editor.
The problem is, the WYSIWYG editor in question isn't up to
the task. Contribute seems to be, but I can't figure out how to fit
it into a workflow compatible with this site!
We don't use Dreamweaver and from what I've seen Dreamweaver
templates aren't going to work in this application. It seems that
if you make a change to the template, Dreamweaver has to go and
update all 800 pages that use the template ... ??!? ... if so,
lame.
I don't mind pulling out all the HTML content snippets from
the database and making a "database" on the filesystem of files
that can be edited in Contribute. No problem. One of these snippets
may be a "contact us" box or something that's used on 100 pages
throughout the site, so I'm not going to put stuff like that
separately on every page.
If I do this, though, my snippets when I open them to edit
them in Contribute are missing their CSS. This is because the CSS
is set up in the header file, which is not included in the snippet
HTML, obviously. The snippets also won't have the header and footer
navigation and stuff, but I can live with that.
How can I get the CSS to show up for my client when he edits
the HTML snippets?
The only solution I can think of is to put a stylesheet
include into every snippet, and then pull that out with a regular
expression from EVERY include at runtime whenever I display that
HTML to the end user. Talk about a gross, ugly, non-extensible
hack. Please tell me there's a better way...
Thanks for reading,
- Andrew. -
Provison for including Territories in aging reports
Hi Development Experts,
At present I am working on a SBO 8.8 PL 04 Ramp Up Project, where I come across the requirement of Territory wise customer receivable - Aging.
I beleive as there is provison for selecting/mentioning/mapping Territory against each BP in BP master it will be a greate feature offering by including Territory in aging reports.Where in Territories should be asked as input parameter and outcome report should be shown as per Terretory Hierchy.
BR
Samir GandhiNo Body responded very strange !!!!!
-
Cache problem for included stylesheets on remote server
Hi.
We are building an XSL page that includes changing named templates through xsl:includes where the included stylesheet is on a remote server.
The content of the remote stylesheet can change at any time. The problem is that the Oracle XSLT caching mecanism does not "see" this, so we get the old page..
How can we turn the caching off? Is it possible to turn caching off for selected stylesheets?
Any clues or pointers?
Regards
LionelI by no means want to sound belittling... so don't take me that way..
You need to understand the basics of files, and networks. You can't check if a file exists on another machine if you don't have a network protocol to communicate with. The reason \\ works under windows is because you are using an invisible (to you) network protocol. You probably know it as windows sharing. If your file were not shared under it's own name, that method wouldn't work (I'm assuming your entire drive is shared without a password... a horrible security flaw...but one thing at a time)
You can use FTP protocol to check if a file exists. You can either send the raw text FTP commands through a socket connection in java, or you can use a freely available FTP java API to make it a bit more simple. You could also write a small java server on the other machine, and have it tell you what you need to know with a socket connection. In this way, you have created your very own network protocol. -
Development environment for 'include' files?
My photo album program only has a single page. Each time you
ask for a new page
it calls itself, with a new set of parameters. Some of the
more complicated
pages are generated by setting up a framework (which
specifies the styles to be
used, among other things) and then loading an include file
into it.
Initially I envisaged these as being simple text files, but
inevitably some of
them became quite complex. Developing these in Dreamweaver is
quite a pain,
because it doesn't know about the CSS styles. I did try
making an HTML shell
file and pasting the include file into it, then cutting and
pasting it again to
save the revised version, but this proved to be cumbersome
and very error-prone.
Is there any way of telling Dreamweaver to load an
environment before loading
the include file?
Clancy> This seems to be about 90% of what I was thinking of,
but I gather that
> when you
> upload the file the hidden stylesheet remains attached
to the file, but is
> effectively commented out.
No. It's only "applied" during Design-time viewing.
> It is a pity that Dreamweaver doesn't include a
'compile' option which
> stripped
> out template and other Dreamweaver specific commands
(end_editable and the
> like)
> from the development file, leaving clean HTML. If this
were done it
> would mean
> that they could use Dreamweaver specific operations much
more flexibly,
> without
> having to worry about using botched up comment commands
to hide them from
> the
> browser.
I guess I don't understand what you are referring to here
with "botched up
comment commands". A comment is a comment, and really does
nothing to the
page at all.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Clancy" <[email protected]> wrote in message
news:[email protected]...
> "Murray *ACE*" <[email protected]>
wrote:
>
>>Use Design-time stylesheets.
>
> Thanks Murray,
>
> This seems to be about 90% of what I was thinking of,
but I gather that
> when you
> upload the file the hidden stylesheet remains attached
to the file, but is
> effectively commented out. However I guess that all that
has to be in the
> file
> is an 'include' statement (or perhaps this is what
actually happens), so
> it
> shouldn't lengthen the file noticeably.
>
> It is a pity that Dreamweaver doesn't include a
'compile' option which
> stripped
> out template and other Dreamweaver specific commands
(end_editable and the
> like)
> from the development file, leaving clean HTML. If this
were done it
> would mean
> that they could use Dreamweaver specific operations much
more flexibly,
> without
> having to worry about using botched up comment commands
to hide them from
> the
> browser.
>
> Clancy -
Work around for including Non cumulative cube in an infoset.
Hi Experts,
I have 4 non cumulative infocube in my production, for another reporting purpose I have to use those non-cumulative cubes combining another DSO in an infoset, but the infoset is not allowing me to include non cumulative infocube in it.
The non-cumulative infocube contains 2 non cumulative keyfigures, those keyfigures are needed for my new reporting, to get the infoset logic(inner join) is there any other possible way to get the data ?
Please let me know. your valuable input will be appreciated. Thanks in Advance.Hi Kalpana,
Try with multiprovider.
Otherway round could be creating DSO and creating transformation from DSO as well as non-cumulative infocubes (full update) and report on newly created DSO.
Hope that helps.
Regards
Mr Kapadia
*Assigning points is the way to say thanks*
Maybe you are looking for
-
Adobe reader plugin won't display pdfs in Firefox 17.0.1 on mac
I'm running firefox 17.0.1 and Adobe Reader 11. I have Mac OS X 10.6.8. I had the same problem with Adobe 10. Any solutions? Thanks
-
Connection problem 7.2 version
Hi, I need help with my skype. 2 weeks ago my skype update to 7.2. Im using HP laptop running windows 7. Before the update im using skype almost everyday with no problem at all. I follow all the possible solutions on this site but still could not co
-
Blue screen - X300 + Port Replicator
Hello, I have a Lenovo X300 and a Lenovo Enhanced Port Replicator (K33415) that is giving me a headache. The port replicator works just fine until I either change the display options (mirror, extend, or off), unplug the port replicator, restart or s
-
Updated to ios5 and now itunes closes unexpectantly every time I connect to my mac.
Because itunes will not stay open with ios5 I have not been able to sync from backup, it manages to sync for a few minutes and then closes down. The report says Process: iTunes [5336] Path: /Applications/iTunes.app/Contents/MacOS/i
-
Hello Experts I am just curious if it is possible to know whether a record has been inserted or not on a specific table in sql server 2008r2 for a specific date?