Link of Object ID and Description to MARA/MBEW
Hello,
Please help me find the relationship of fields DOBJT (Object ID) and OJTXB (Object Description) to tables MARA and MBEW. These fields are found in structure STPOV_ALV. I need to find a link for these two objects as I will have to display them. Are there database tables which I can use to retrieve these data? Here is how I got DOBJT and OJTXB - Go to transaction CS15, fill up Material Number, Valid From and check Direct and Material BOM chkboxes, F5 then on the next screen fill up Plant and Usage then F8.
Please help me. Your help will be greatly appreciated. Thanks in advance.
CLA2005
Instead trying to find out the tables, may be you can use these function modules to get your data.
CS_WHERE_USED_CLA Bills of material; class use
CS_WHERE_USED_CLA_ANY Bills of material; direct class use or via other class
CS_WHERE_USED_CLA_VIA_CLA Bills of material; class use via classes
CS_WHERE_USED_COP
CS_WHERE_USED_DOC Bills of material; document use
CS_WHERE_USED_DOC_ANY Bills of material; direct and (indirectly) document use via classes
CS_WHERE_USED_DOC_VIA_CLA Bills of material; document use via classes
CS_WHERE_USED_KNO Bills of material; use object dependency
CS_WHERE_USED_MAT Bills of material; where-used list
CS_WHERE_USED_MAT_ANY Bills of material; where-used list as material or class item
CS_WHERE_USED_MAT_VIA_CLA Bills of material; where-used list via classes
Similar Messages
-
Easydms: Problem linking to objects - Shortdump and wrong mask
Hi everybody,
we are looking into EasyDMS (ED) for a customer. We are having problems adding a Objectlink to a newly created document using ED.
When we try to add a new Building using a mask like xx01/9999/1 using CV01N, this gives us no problems, even the fm OBJECT_CHECK_VIBDRO does not exist but still no problems.
When we repeat the same procedure using the ED interface, we get a message which says that the FM OBJECT_CHECK_VIBDRO does not exist. When we save the document and look at the results in R/3, we see a different masking of the same building. We see xx01//9999/1.
Does someone know if the flow is different with ED? Does it use other checks on the input? Is there a kind of mask which is defined in the customizing? I tried the different conversionexits behind the original fields but the result stays the same.
Any easy way to debug this interface?
Any help would be great!
Cheers!
Laurens
ps: all related notes are implemented but we are having the same shortdumpsHi Laurens,
please check if the correct dynpro number is maintained in table TDWOD. The entry should look like:
MANDT DOKOB SCREEN ONLY_NEW_AUTH
002 VIBDRO 0500 1
You can maintain the necessary object in transaction SPRO under
Cross-Application-Component
> Document Management
> Control Data
> Define screen for object links
To grant that always the current screens and authorizations were
called please maintain also the value "1" into the "Authorization"
column. Just for further information on this maintainance please see
the attached note 375452. It's important that you not enter the
mentioned screen number without the leading "1" as this number is added
automatically by the system (e.g. object MARA 1201 maintain like MARA
201).
Maybe this settings could help here!
Best regards,
Christoph -
Display Scorecard Link in Objective Settings and Appraisal
Hi,
How can I change the delivered text 'Display Scorecard' that appears on a button on an Appraisal Document when the Link (Display Scorecard) is configured on the Layout section of an Appraisal Template?
Any help is greatly appreciated!
Mary Ann KolnikHi Suresh,
I have looked at the BAdi 'HRHAP00_LINK' and the associated implementation 'HRHAP00_LINK_001' and all the methods. Where would I be able to change the value?
I did see in the 'GET_INFORMATION' method where it mentions transaction SE61 and 'TX' to change documentation, but I couldn't find in SE61 how to add an entry to change the verbiage on the 'Display Scorecard' button.
Thanks,
Mary Ann -
BP change documents ( linking problem between Object id and Business Partner)
Hi,
We need to create a report for documents changed for a Business partner.
This will be done in sap bw.
on source side I have created the datasource with function module changedocument_read and I am getting most of the information
which I want. Only missing part is Business Partner number.
Can somebody suggest , how I would be able to link Object Id to business partner.
I need to pull everything that is changed at BP level and the Object class selection around 30 in number.
So I am looking for any standard function module which can provide me the link between Object id and Business partner.
If I establish the rules to determine the Business partner from Object id , its getting bit difficult.
Can somebody please help/suggest.
I have gone through many documents and scn posts but unable to find anything on this.
Thanks !Hi, looking at the change history header table CDHDR it seems that object ID simple equals the internal format of the business partner number.
-
Link between structure indicator and labellig system (PM-FL)
Hello,
I'm facing a problem to associate one of my alternative label with a precise structure indicator.
In our system (R/3 4.6c), we have activated the alternative system in order to use a 40-char-long label for our functional locations. We also created a structure indicator to represent these 40 characters.
When changing this alternatice label, the system shows the structure indicator of the main label. On my opinion, it is normal because I've found no customizing point that allows me to link the alternative labelling and the structure indicator. Am I wrong?
If you ever encountered this problem, could you please help me find a way to solve it?
Best regards,
AnnabelleHello,
sorry I couldn't answer your question sooner.
The situation is this one :
- functional locations have assigned primary labels. These labels are created according 43 (out of 44) structure-indicators which help in representing a structure of technical objects. Thanks to the object type, we created a link between object type and structure indicator through a specific table.
- Two functional locations can have the same ID with distinct localisations.
- a secondary label has been created in order to generate a 40-character-long ID that is necessary to have a unique ID for each functional location.
- We have a specific structure indicator (the 44th) that represents a 40-character-long text.
As both labels are mandatory in the solution, is there a customizing point where we can link a non-primary label with a defined structure-indicator?
Thanks for your help.
Annabelle -
Action Link to link Custom Object 3 to Task
Hello,
Im creating a weblink on the task screen that runs a report on Custom Object 3 wtihin a new windows for the user to select the option on the report that the user would like to add. How can i create a action link that when selected will pass the selection on the report back to the activity screen?
Or can i create a weblink on the account record that will run a report then on the results depending on the row create a task linking Custom Object three and Accounts Automatically
Any suggestions would be approcaitedThanks Shilei,
There is what i have been able to create so far:
https://secure-ausomxXXX.crmondemand.com/OnDemand/user/ApptNew?OMCR0=AXXX-90ZIJC&OMTGT=ApptEditForm&OMTHD=ActivityNewNav&OMCBO=OnDemand+Custom+Object+3&OMRET0=CustomObj3Detail%3fCustObj3DetailForm.Id%3dAXXX-90ZIJC%26ocTitle%3dASAHI+BOM%26OMTGT%3dCustObj3DetailForm%26OMTHD%3dCustomObject3DetailNav%26ocEdit%3dY%26OCTYPE%3d%26ocTitleField%3dName&OCNOEDITTYPE=Y&OCTYPE=
But how do i also link this to an account and default the Subject? -
Linked Smart Object: Allowed File Type and Editor
Please forgive my lack of knowledge. I'm evaluating PS CC 2014, own PS 5.1 and am a hair shy of being a novice. Presently I'm doing Photomerge Focus Stacking. What I'm hoping is that DNG files can be Linked Smart Objects and that I can modify the merged photo by editing the DNG files in Adobe Camera Raw. Is this possible? The Adobe Help article has a rather cryptic "You can’t perform operations that alter pixel data", that leads me to believe no but, I don't understand that fully.
Thanks.Currently you can not use any of the merge options: pano, hdr, or focus stacking with a smart object. So you would not be able to do that with dng files and retain the ability to edit them in Camera Raw. It would be nice though!
-
Find table wich link business object and contact
Hi experts,
Wich TABLE or BAPI link the BUSINESS OBJECT With CONTACT?
Thanks for help.Hello Nicolas,
I assume you speak of contacts in the IS-U system. There the BCONT table links the business partner and the contact.
Kind regards,
Fritz -
Object synthax (name and description)
Regardless of the display settings of an infoobject in BW (key, description, key and description) I'd like to build my own in BO, I see that it's possible and sometime advised to change the synthax from
[Z_CUSTOM].[LEVEL01].[[2Z_CUSTOM]].[Value]
to
[Z_CUSTOM].[LEVEL01].[NAME]
or
[Z_CUSTOM].[LEVEL01].[DESCRIPTION]
What I'd like to get is
[NAME and DESCRIPTION]
or
[NAME]||[DESCRIPTION]
(a concatenation of the two).
Is this even possible? Could you please suggest the correct synthax?
ThanksSAP BW MDX currently does not support concatenation operators for strings. Still you can concatenate the name and the description at report level.
Regards,
Stratos -
DMS EKKO missing link from Object side
Hello,
i have created a new Document typ with Object links: IFLOT (functional location), EKKO (Purchase Order) (We have created a new Screen 9001 and implemented it in SAPCV130, SAPCV130 and set all needed customzing settings.) and LFA1 (Vendor).
My questions:
1. I could not find a link (or Button) on Purchase Order side in transaction ME22N/ME23N to open the assigned Documents.
How can I implement this link?
2. If I create a DIR in CV01N, I like to type the value in Object link EKKO (Purchase Order) manual and the system has to take the value LFA1 (Vendor) automatic from the Puchase Order.
How can I solve this request?
Thanks in advance for your comments.
Best Regards,
MelanieHi Melanie,
regarding your questions I hope that the following information could be useful for you:
1. I could not find a link (or Button) on Purchase Order side in transaction ME22N/ME23N to open the assigned Documents.
How can I implement this link?
Based on your description I would kindly ask you to check in customizing
under
Cross-Application Components
>> Document Management
>> Control Data
>> Maintain Key Fields
if the entry 'EKKO ME33K EBELN' exists. Please make sure that the
transaction code ME33K is maintained here too.
To grant that allways the currenct screens and authorizations were
called please maintain also the value "1" into the "Authorization"
column. For further informations on this maintainance please see the
SAP note 1066915. It's important that you not enter the mentioned
screen number wihtout the leading "1" as this number is added
automatically by the system (e.g. object MARA 1201 maintain like MARA
201). You can do this in customizing under:
Transaction SPRO
> Cross-Application-Component
> Document Management
> Control Data
> Define screen for object links
If you need the dynpro number or object you will find all standard SAP
objects and their screen number in function module CV130 (Screens) by
transaction SE80. Please maintain all necessary SAP objects.
2. If I create a DIR in CV01N, I like to type the value in Object link EKKO (Purchase Order) manual and the system has to take the value LFA1 (Vendor) automatic from the Puchase Order.
How can I solve this request?
Here I think that the BADI DOCUMENT_OBJ could be useful for you to control the creation of object links from CV01N or CV02N transaction.
Best regards,
Christoph -
Unable to get Material No and Description from VBAP
Hi Gurus
Can anyone please help me to get material number and description from vbap table, The report is fine but I am unable to get material no and description.
regards
report ZCHGDOC_BY_SALES no standard page heading
line-size 132.
type-pools:
slis. " ALV types
Tables
tables:
cdhdr, " Change documents: Header
cdpos, " Change documents: Items
vbak, " Sales order: Header
mara, " Material No
user_addr, " User Address
vbap. " Contract order: Items
Types
types:
begin of ty_cdhdr,
objectclas like cdhdr-objectclas, " Object class
objectid like cdhdr-objectid, " Object value
changenr like cdhdr-changenr, " Document change number
username like cdhdr-username, " Changed by
udate like cdhdr-udate, " Changed on
utime like cdhdr-utime, " Changed at
tcode like cdhdr-tcode, " Transaction code
end of ty_cdhdr,
ty_it_cdhdr type ty_cdhdr occurs 0,
begin of ty_cdpos,
objectclas like cdpos-objectclas, " Object class
objectid like cdpos-objectid, " Object value
changenr like cdpos-changenr, " Document change number
tabname like cdpos-tabname, " Table name
tabkey like cdpos-tabkey, " Table key
fname like cdpos-fname, " Field name
chngind like cdpos-chngind, " Change indicator
value_new like cdpos-value_new, " New value of field
value_old like cdpos-value_old, " Old value of field
end of ty_cdpos,
ty_it_cdpos type ty_cdpos occurs 0,
begin of ty_dd03l,
tabname like dd03l-tabname,
fieldname like dd03l-fieldname,
as4local like dd03l-as4local,
as4vers like dd03l-as4vers,
rollname like dd03l-rollname,
end of ty_dd03l,
ty_it_dd03l type ty_dd03l occurs 0,
begin of ty_dd04t,
rollname like dd04t-rollname,
ddlanguage like dd04t-ddlanguage,
as4local like dd04t-as4local,
as4vers like dd04t-as4vers,
scrtext_l like dd04t-scrtext_l,
end of ty_dd04t,
ty_it_dd04t type ty_dd04t occurs 0,
begin of ty_kna1,
kunnr like kna1-kunnr, " Customer number
name1 like kna1-name1, " Customer name
end of ty_kna1,
ty_it_kna1 type ty_kna1 occurs 0,
begin of ty_user_addr,
bname like user_addr-bname, " user no
name_textc like user_addr-name_textc , " Username
end of ty_user_addr,
ty_it_user_addr type ty_user_addr occurs 0,
begin of ty_vbap,
matnr like vbap-matnr, " Material No
arktx like vbap-arktx, " Production Description
end of ty_vbap,
ty_it_vbap type ty_vbap occurs 0,
ty_text(500) type c,
ty_lines type tline,
ty_it_lines type ty_lines occurs 0,
begin of ty_merged,
vbeln like vbak-vbeln, " Sales order number
erdat like vbak-erdat, " Created on
auart like vbak-auart, " Order type
faksk like vbak-faksk, " Billing block in SD document
netwr like vbak-netwr, " Net value
waerk like vbak-waerk, " Currency
vkorg like vbak-vkorg, " Sales organisation
vtweg like vbak-vtweg, " Distribution channel
vkbur like vbak-vkbur, " Sales office
fkara like vbak-fkara, " Proposed billing type
kunnr like vbak-kunnr, " Sold-to party
bname like vbak-bname , " User No
xblnr like vbak-xblnr, " Reference
fbuda like vbkd-fbuda, " Date services rendered
username like cdhdr-username, " Changed by
udate like cdhdr-udate, " Changed on
utime like cdhdr-utime, " Changed at
tcode like cdhdr-tcode, " Transaction code
tabname like cdpos-tabname, " Table name
tabkey like cdpos-tabkey, " Table key
fname like cdpos-fname, " Field name
chngind like cdpos-chngind, " Change indicator
value_new like cdpos-value_new, " New value of field
value_old like cdpos-value_old, " Old value of field
scrtext_l like dd04t-scrtext_l, " Description of field
intnote type ty_text, " Internal note
hdrnote type ty_text, " Header note
name1 like adrc-name1, " Sold-to party name
matnr like vbap-matnr, " Material No
arktx like vbap-arktx, " Product Description
end of ty_merged,
ty_it_merged type ty_merged occurs 0,
begin of ty_vbak,
vbeln like vbak-vbeln, " Sales order number
erdat like vbak-erdat, " Created on
auart like vbak-auart, " Order type
faksk like vbak-faksk, " Billing block in SD document
netwr like vbak-netwr, " Net value
waerk like vbak-waerk, " Currency
vkorg like vbak-vkorg, " Sales organisation
vtweg like vbak-vtweg, " Distribution channel
vkbur like vbak-vkbur, " Sales office
fkara like vbak-fkara, " Proposed billing type
kunnr like vbak-kunnr, " Sold-to party
xblnr like vbak-xblnr, " Reference
objectid like cdhdr-objectid, " Change document object
end of ty_vbak,
ty_it_vbak type ty_vbak occurs 0,
begin of ty_vbkd,
vbeln like vbkd-vbeln, " Sales order number
posnr like vbkd-posnr, " Sales order item
fbuda like vbkd-fbuda, " Date services rendered
end of ty_vbkd,
ty_it_vbkd type ty_vbkd occurs 0.
Internal tables
data:
it_cdhdr type ty_it_cdhdr,
it_cdpos type ty_it_cdpos,
it_fieldcat type slis_t_fieldcat_alv,
it_kna1 type ty_it_kna1,
it_user_addr type ty_it_user_addr,
it_merged type ty_it_merged,
it_vbak type ty_it_vbak,
Material No
it_vbap type ty_it_vbap,
it_vbkd type ty_it_vbkd.
data:
wa_vbak type ty_vbak.
data:
st_tvariant like disvariant,
st_variant like disvariant.
constants:
co_as4local_a like dd03l-as4local " Active version
value 'A',
co_objectclas_verkbeleg like cdhdr-objectclas
value 'VERKBELEG',
co_posnr_initial like vbkd-posnr " Initial item number
value is initial,
co_posnr_initial_2 like vbap-posnr " Initial item number
value is initial,
co_save_u type c " User display variant
value 'U', " saving allowed.
co_trvog_0 like vbak-trvog " Sales order
value '0'.
data:
va_exit type c, " ALV display
va_tabix like sy-tabix.
selection-screen: begin of block b1 with frame title text-001.
select-options:
s_vkorg for vbak-vkorg OBLIGATORY, " Sales organisation
s_vkbur for vbak-vkbur, " Sales office
s_vtweg for vbak-vtweg, " Distribution channel
s_vbeln for vbak-vbeln, " Sales order number
s_usrnme for cdhdr-username, " Changed by
s_udate for cdhdr-udate. " Changed on
selection-screen: end of block b1,
begin of block b2 with frame title text-002.
parameters:
p_varint like disvariant-variant. " Display variant.
selection-screen: end of block b2.
Initialization
initialization.
Load display variant.
if not p_varint is initial.
move st_variant to st_tvariant.
move p_varint to st_tvariant-variant.
call function 'REUSE_ALV_VARIANT_EXISTENCE'
exporting
i_save = co_save_u
changing
cs_variant = st_tvariant.
st_variant = st_tvariant.
else.
clear st_variant.
st_variant-report = sy-repid.
endif.
at selection-screen on value-request for p_varint.
Provide display variant list for this program.
call function 'REUSE_ALV_VARIANT_F4'
exporting
is_variant = st_variant
i_save = co_save_u
importing
e_exit = va_exit
es_variant = st_tvariant
exceptions
not_found = 2.
if sy-subrc eq 2.
message id sy-msgid type 'S'
number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
else.
if va_exit eq space.
st_variant = st_tvariant.
p_varint = st_tvariant-variant.
endif.
endif.
At selection screen
at selection-screen.
Load display variant.
if not p_varint is initial.
move st_variant to st_tvariant.
move p_varint to st_tvariant-variant.
call function 'REUSE_ALV_VARIANT_EXISTENCE'
exporting
i_save = co_save_u
changing
cs_variant = st_tvariant.
st_variant = st_tvariant.
else.
clear st_variant.
st_variant-report = sy-repid.
endif.
Start of selection
Extract order details from VBAK
select vbeln erdat auart faksk netwr waerk vkorg vtweg vkbur fkara
kunnr xblnr
from vbak
into table it_vbak
where vkorg in s_vkorg
and vkbur in s_vkbur
and vbeln in s_vbeln.
if sy-subrc ne 0.
No data found for selection
message s001(zgen).
exit.
endif.
loop at it_vbak into wa_vbak.
va_tabix = sy-tabix.
wa_vbak-objectid = wa_vbak-vbeln.
modify it_vbak from wa_vbak
index va_tabix
transporting objectid.
endloop.
if sy-subrc ne 0.
No data found for selection
message s001(zgen).
exit.
endif.
loop at it_vbak into wa_vbak.
va_tabix = sy-tabix.
wa_vbak-objectid = wa_vbak-vbeln.
modify it_vbak from wa_vbak
index va_tabix
transporting objectid.
endloop.
Extract Change data
select objectclas objectid changenr username udate utime tcode
from cdhdr
into table it_cdhdr
for all entries in it_vbak
where objectclas eq co_objectclas_verkbeleg
and objectid eq it_vbak-objectid
and username in s_usrnme
and udate in s_udate.
if sy-subrc eq 0.
select objectclas objectid changenr tabname tabkey fname chngind
value_new value_old
from cdpos
into table it_cdpos
for all entries in it_cdhdr
where fname NE 'CMPRE_FLT'
and objectclas eq it_cdhdr-objectclas
and objectid eq it_cdhdr-objectid
and changenr eq it_cdhdr-changenr.
endif.
Extract customer details from KNA1
select kunnr name1
from kna1
into table it_kna1
for all entries in it_vbak
where kunnr eq it_vbak-kunnr.
---- Changes are made here -
Extract Material details from vbap
select matnr arktx
from vbap
into table it_vbap
for all entries in it_vbak
where
vbeln eq it_vbak-vbeln
and posnr eq co_posnr_initial.
-----------------End of Change ----------------------*
Extract Contract No from vbkd.
select vbeln posnr fbuda
from vbkd
into table it_vbkd
for all entries in it_vbak
where vbeln eq it_vbak-vbeln
and posnr eq co_posnr_initial.
perform merge_data tables it_cdhdr
it_cdpos
it_kna1
it_user_addr
it_merged
it_vbak
it_vbap
it_vbkd.
if it_merged[] is initial.
message s001(zgen).
exit.
endif.
Release memory no longer required.
free: it_cdhdr,
it_cdpos,
it_kna1,
it_user_addr,
it_vbak,
it_vbap,
it_vbkd.
Build field catalog for call to report function
perform build_field_catalog tables it_fieldcat.
Output report.
perform output_report tables it_fieldcat
it_merged.
*& Form merge_data
text
form merge_data tables pa_it_cdhdr type ty_it_cdhdr
pa_it_cdpos type ty_it_cdpos
pa_it_kna1 type ty_it_kna1
pa_it_user_addr type ty_it_user_addr
pa_it_merged type ty_it_merged
pa_it_vbak type ty_it_vbak
pa_it_vbap type ty_it_vbap
pa_it_vbkd type ty_it_vbkd.
Local internal tables
data:
lit_dd03l type ty_it_dd03l,
lit_dd04t type ty_it_dd04t.
Local work areas
data:
lwa_cdhdr type ty_cdhdr,
lwa_cdpos type ty_cdpos,
lwa_dd03l type ty_dd03l,
lwa_dd04t type ty_dd04t,
lwa_kna1 type ty_kna1,
lwa_user_addr type ty_user_addr,
lwa_merged type ty_merged,
lwa_vbak type ty_vbak,
lwa_vbap type ty_vbap,
lwa_vbkd type ty_vbkd.
Local variables
data:
lva_dd03l_tabix like sy-tabix,
lva_dd04t_tabix like sy-tabix.
Sort Data
sort pa_it_cdhdr by objectid changenr.
sort pa_it_cdpos by objectid changenr tabname tabkey fname.
sort pa_it_kna1 by kunnr.
sort pa_it_user_addr by bname.
sort pa_it_vbak by vbeln.
sort pa_it_vbkd by vbeln.
loop at pa_it_vbak into lwa_vbak.
clear lwa_merged.
Assign sales order fields to reporting work area
lwa_merged-vbeln = lwa_vbak-vbeln.
lwa_merged-erdat = lwa_vbak-erdat.
lwa_merged-auart = lwa_vbak-auart.
lwa_merged-faksk = lwa_vbak-faksk.
lwa_merged-netwr = lwa_vbak-netwr.
lwa_merged-waerk = lwa_vbak-waerk.
lwa_merged-vkorg = lwa_vbak-vkorg.
lwa_merged-vtweg = lwa_vbak-vtweg.
lwa_merged-vkbur = lwa_vbak-vkbur.
lwa_merged-fkara = lwa_vbak-fkara.
lwa_merged-kunnr = lwa_vbak-kunnr.
lwa_merged-bname = 1wa_user_addr-bname.
lwa_merged-xblnr = lwa_vbak-xblnr.
Assgin Material to reporting work area
lwa_merged-matnr = lwa_vbap-vbeln.
Get name of sold-to party from PA_IT_KNA1
clear lwa_kna1.
read table pa_it_kna1 into lwa_kna1
with key kunnr = lwa_vbak-kunnr
binary search.
lwa_merged-name1 = lwa_kna1-name1.
Get name from PA_it_user_addr
clear lwa_user_addr.
read table pa_it_user_addr into lwa_user_addr
with key = lwa_user_addr-bname
binary search.
lwa_merged-username = lwa_user_addr-name_textc.
Get business data from PA_IT_VBKD.
clear lwa_vbkd.
read table pa_it_vbkd into lwa_vbkd
with key vbeln = lwa_vbak-vbeln
binary search.
lwa_merged-fbuda = lwa_vbkd-fbuda.
Get Material Data
clear lwa_vbap.
read table pa_it_vbap into lwa_vbap
with key matnr = lwa_vbap-matnr
with key vbeln = lwa_vbak-vbeln
binary search.
lwa_merged-arktx = lwa_vbap-arktx.
Get internal note text for sales order
perform read_text using '0002'
'1'
lwa_merged-vbeln
'VBBK'
lwa_merged-intnote.
Get header note 1 text for sales order
perform read_text using 'Z002'
'1'
lwa_merged-vbeln
'VBBK'
lwa_merged-hdrnote.
Determine if change documents exist for sales order.
clear lwa_cdhdr.
read table pa_it_cdhdr into lwa_cdhdr
with key objectid = lwa_vbak-objectid.
if sy-subrc ne 0.
continue.
endif.
loop at pa_it_cdhdr into lwa_cdhdr
from sy-tabix.
lwa_merged-username = lwa_cdhdr-username.
lwa_merged-udate = lwa_cdhdr-udate.
lwa_merged-utime = lwa_cdhdr-utime.
lwa_merged-tcode = lwa_cdhdr-tcode.
clear lwa_cdpos.
read table pa_it_cdpos into lwa_cdpos
with key objectid = lwa_cdhdr-objectid
changenr = lwa_cdhdr-changenr
binary search.
loop at pa_it_cdpos into lwa_cdpos
from sy-tabix.
lwa_merged-tabname = lwa_cdpos-tabname.
lwa_merged-tabkey = lwa_cdpos-tabkey.
lwa_merged-fname = lwa_cdpos-fname.
lwa_merged-chngind = lwa_cdpos-chngind.
lwa_merged-value_new = lwa_cdpos-value_new.
lwa_merged-value_old = lwa_cdpos-value_old.
Get description for field - determine date element
clear lwa_dd03l.
read table lit_dd03l into lwa_dd03l
with key tabname = lwa_cdpos-tabname
fieldname = lwa_cdpos-fname
binary search.
lva_dd03l_tabix = sy-tabix.
if sy-subrc ne 0.
select single tabname fieldname as4local as4vers rollname
from dd03l
into lwa_dd03l
where tabname eq lwa_cdpos-tabname
and fieldname eq lwa_cdpos-fname
and as4local eq co_as4local_a.
if sy-subrc eq 0.
insert lwa_dd03l into lit_dd03l
index lva_dd03l_tabix.
endif.
endif.
If data element was found, get description
if not lwa_dd03l is initial.
clear lwa_dd04t.
read table lit_dd04t into lwa_dd04t
with key rollname = lwa_dd03l-rollname
ddlanguage = sy-langu
binary search.
lva_dd04t_tabix = sy-tabix.
if sy-subrc ne 0.
select single rollname ddlanguage as4local as4vers scrtext_l
from dd04t
into lwa_dd04t
where rollname eq lwa_dd03l-rollname
and ddlanguage eq sy-langu.
if sy-subrc eq 0.
insert lwa_dd04t into lit_dd04t
index lva_dd04t_tabix.
else.
lwa_dd04t-scrtext_l = 'Description for field not found'.
endif.
endif.
endif.
lwa_merged-scrtext_l = lwa_dd04t-scrtext_l.
append lwa_merged to pa_it_merged.
at end of changenr.
Only process field changes for this change document.
exit.
endat.
endloop.
at end of objectid.
Initialise work area so we know change document for order has
been processed.
clear lwa_merged.
Only process change documents for this sales order.
exit.
endat.
endloop.
endloop.
endform. " merge_data
*& Form build_field_catalog
text
form build_field_catalog tables pa_it_fieldcat type slis_t_fieldcat_alv.
data:
Local variable
lva_col_pos type slis_fieldcat_alv-col_pos,
Local structure
st_fieldcat type slis_fieldcat_alv.
lva_col_pos = 0.
clear st_fieldcat.
add 1 to lva_col_pos.
st_fieldcat-tabname = 'PA_IT_MERGED'.
st_fieldcat-fieldname = 'VBELN'.
st_fieldcat-ref_tabname = 'VBAK'.
st_fieldcat-ref_fieldname = 'VBELN'.
st_fieldcat-row_pos = '1'.
st_fieldcat-col_pos = lva_col_pos.
append st_fieldcat to pa_it_fieldcat.
clear st_fieldcat.
add 1 to lva_col_pos.
st_fieldcat-tabname = 'PA_IT_MERGED'.
st_fieldcat-fieldname = 'VKBUR'.
st_fieldcat-ref_tabname = 'VBAK'.
st_fieldcat-ref_fieldname = 'VKBUR'.
st_fieldcat-row_pos = '1'.
st_fieldcat-outputlen = '6'.
st_fieldcat-col_pos = lva_col_pos.
append st_fieldcat to pa_it_fieldcat.
clear st_fieldcat.
add 1 to lva_col_pos.
st_fieldcat-tabname = 'PA_IT_MERGED'.
st_fieldcat-fieldname = 'VKORG'.
st_fieldcat-ref_tabname = 'VBAK'.
st_fieldcat-ref_fieldname = 'VKORG'.
st_fieldcat-row_pos = '1'.
st_fieldcat-outputlen = '6'.
st_fieldcat-col_pos = lva_col_pos.
append st_fieldcat to pa_it_fieldcat.
clear st_fieldcat.
add 1 to lva_col_pos.
st_fieldcat-tabname = 'PA_IT_MERGED'.
st_fieldcat-fieldname = 'KUNNR'.
st_fieldcat-ref_tabname = 'VBAK'.
st_fieldcat-ref_fieldname = 'KUNNR'.
st_fieldcat-row_pos = '1'.
st_fieldcat-col_pos = lva_col_pos.
st_fieldcat-outputlen = '6'.
append st_fieldcat to pa_it_fieldcat.
clear st_fieldcat.
add 1 to lva_col_pos.
st_fieldcat-tabname = 'PA_IT_MERGED'.
st_fieldcat-fieldname = 'NAME1'.
st_fieldcat-ref_tabname = 'KNA1'.
st_fieldcat-ref_fieldname = 'NAME1'.
st_fieldcat-row_pos = '1'.
st_fieldcat-outputlen = '15'.
st_fieldcat-col_pos = lva_col_pos.
append st_fieldcat to pa_it_fieldcat.
clear st_fieldcat.
add 1 to lva_col_pos.
st_fieldcat-tabname = 'PA_IT_MERGED'.
st_fieldcat-fieldname = 'MATNR'.
st_fieldcat-ref_tabname = 'VBAP'.
st_fieldcat-ref_fieldname = 'MATNR'.
st_fieldcat-row_pos = '1'.
st_fieldcat-col_pos = lva_col_pos.
st_fieldcat-outputlen = '6'.
append st_fieldcat to pa_it_fieldcat.
clear st_fieldcat.
add 1 to lva_col_pos.
st_fieldcat-tabname = 'PA_IT_MERGED'.
st_fieldcat-fieldname = 'SCRTEXT_L'.
st_fieldcat-ref_tabname = 'DD04T'.
st_fieldcat-ref_fieldname = 'SCRTEXT_L'.
st_fieldcat-row_pos = '1'.
st_fieldcat-outputlen = '20'.
st_fieldcat-col_pos = lva_col_pos.
append st_fieldcat to pa_it_fieldcat.
clear st_fieldcat.
add 1 to lva_col_pos.
st_fieldcat-tabname = 'PA_IT_MERGED'.
st_fieldcat-fieldname = 'UDATE'.
st_fieldcat-ref_tabname = 'CDHDR'.
st_fieldcat-ref_fieldname = 'UDATE'.
st_fieldcat-row_pos = '1'.
st_fieldcat-outputlen = '10'.
st_fieldcat-col_pos = lva_col_pos.
append st_fieldcat to pa_it_fieldcat.
clear st_fieldcat.
add 1 to lva_col_pos.
st_fieldcat-tabname = 'PA_IT_MERGED'.
st_fieldcat-fieldname = 'USERNAME'.
st_fieldcat-ref_tabname = 'CDHDR'.
st_fieldcat-ref_fieldname = 'USERNAME'.
st_fieldcat-row_pos = '1'.
st_fieldcat-outputlen = '6'.
st_fieldcat-col_pos = lva_col_pos.
append st_fieldcat to pa_it_fieldcat.
clear st_fieldcat.
add 1 to lva_col_pos.
st_fieldcat-tabname = 'PA_IT_MERGED'.
st_fieldcat-fieldname = 'FNAME'.
st_fieldcat-ref_tabname = 'CDPOS'.
st_fieldcat-ref_fieldname = 'FNAME'.
st_fieldcat-row_pos = '4'.
st_fieldcat-outputlen = '8'.
st_fieldcat-col_pos = lva_col_pos.
append st_fieldcat to pa_it_fieldcat.
clear st_fieldcat.
add 1 to lva_col_pos.
st_fieldcat-tabname = 'PA_IT_MERGED'.
st_fieldcat-fieldname = 'CHNGIND'.
st_fieldcat-ref_tabname = 'CDPOS'.
st_fieldcat-ref_fieldname = 'CHNGIND'.
st_fieldcat-row_pos = '1'.
st_fieldcat-outputlen = '8'.
st_fieldcat-col_pos = lva_col_pos.
append st_fieldcat to pa_it_fieldcat.
clear st_fieldcat.
add 1 to lva_col_pos.
st_fieldcat-tabname = 'PA_IT_MERGED'.
st_fieldcat-fieldname = 'WAERK'.
st_fieldcat-ref_tabname = 'VBAK'.
st_fieldcat-ref_fieldname = 'WAERK'.
st_fieldcat-row_pos = '1'.
st_fieldcat-outputlen = '5'.
st_fieldcat-col_pos = lva_col_pos..
append st_fieldcat to pa_it_fieldcat.
clear st_fieldcat.
add 1 to lva_col_pos.
st_fieldcat-tabname = 'PA_IT_MERGED'.
st_fieldcat-fieldname = 'VALUE_NEW'.
st_fieldcat-ref_tabname = 'CDPOS'.
st_fieldcat-ref_fieldname = 'VALUE_NEW'.
st_fieldcat-row_pos = '1'.
st_fieldcat-outputlen = '20'.
st_fieldcat-col_pos = lva_col_pos.
append st_fieldcat to pa_it_fieldcat.
clear st_fieldcat.
add 1 to lva_col_pos.
st_fieldcat-tabname = 'PA_IT_MERGED'.
st_fieldcat-fieldname = 'VALUE_OLD'.
st_fieldcat-ref_tabname = 'CDPOS'.
st_fieldcat-ref_fieldname = 'VALUE_OLD'.
st_fieldcat-row_pos = '1'.
st_fieldcat-outputlen = '20'.
st_fieldcat-col_pos = lva_col_pos.
append st_fieldcat to pa_it_fieldcat.
endform. " build_field_catalog
*& Form output_report
text
form output_report tables pa_it_fieldcat type slis_t_fieldcat_alv
pa_it_merged type ty_it_merged.
Local variables
data:
lva_formname type slis_formname,
lva_repid like sy-repid.
lva_repid = sy-repid.
lva_formname = 'ALV_USER_COMMAND'.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = lva_repid
i_callback_user_command = lva_formname
i_save = 'A'
is_variant = st_variant
it_fieldcat = pa_it_fieldcat[]
tables
t_outtab = pa_it_merged
exceptions
program_error = 1
others = 2.
endform. " output_report
*& Form alv_user_command
text
form alv_user_command using pa_ucomm like sy-ucomm
pa_selfield type slis_selfield.
Local work areas
data:
lwa_merged type ty_merged.
clear lwa_merged.
read table it_merged into lwa_merged
index pa_selfield-tabindex.
case pa_selfield-fieldname.
when 'VBELN'.
Contract Number
set parameter id 'AUN' field lwa_merged-vbeln.
call transaction 'VA03' and skip first screen.
S_BCE_68001393
when 'USERNAME'.
Username
set parameter id 'username' field lwa_merged-username.
call transaction 'S_BCE_68001393' and skip first screen.
when 'KUNNR'.
Customer number
set parameter id 'KUN' field lwa_merged-kunnr.
set parameter id 'VKO' field space.
set parameter id 'VTW' field space.
set parameter id 'SPA' field space.
call transaction 'XD03' and skip first screen.
endcase.
endform. " alv_user_command
*& Form read_text
text
form read_text using pa_id
pa_inline_count
pa_name
pa_object
pa_text.
Local internal tables
data:
lit_inlines type ty_it_lines,
lit_lines type ty_it_lines.
Local work areas
data:
lwa_lines type ty_lines.
Local variables
data:
lva_tdname like thead-tdname.
refresh: lit_inlines,
lit_lines.
lva_tdname = pa_name.
call function 'READ_TEXT_INLINE'
exporting
id = pa_id
inline_count = pa_inline_count
language = sy-langu
name = lva_tdname
object = pa_object
tables
inlines = lit_inlines
lines = lit_lines
exceptions
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
others = 7.
loop at lit_lines into lwa_lines.
concatenate pa_text
lwa_lines-tdline
into pa_text separated by space.
endloop.
endform. " read_text ENDLOOP.Hi
As per your code here:
"-------------- Changes are made here ----------------
*Extract Material details from vbap
select matnr arktx
from vbap
into table it_vbap
for all entries in it_vbak
where
vbeln eq it_vbak-vbeln
and posnr eq co_posnr_initial. " Here the condition specifies you want to select sales order items where there is no item number, which i beleive shouldnt be the case
" -----------------End of Change ----------------------
Try as below by commenting the Item Number is INITIAL condition:
select matnr arktx
from vbap
into table it_vbap
for all entries in it_vbak
where
vbeln eq it_vbak-vbeln.
"and posnr eq co_posnr_initial.
Regards
Eswar -
ITunes Image and Description Not Updating
Hello,
First of all, let me share my feed details.
Feedburner Feed URL: http://feeds.feedburner.com/TheDaveAndSteveShow
WordPress Hosted URL: http://www.dasshow.com
Source URL for Feed: http://www.dasshow.com/?cat=4
XML Posted Below
Yesterday I updated my image and description in the Feedburner "Smartcast" section. Despite numerous pings of both the feed, and iTunes however, the image and description remain unchanged. It has been over 24 hours with still no signs of life.
Any help would be very much appreciated. I'm posting the first chunk of XML below, so that it can be reviewed.
Thanks again!
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2enclosuresfull.xsl"?>
<?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
<title>The Dave and Steve Show » Episodes</title>
<link>http://www.dasshow.com</link>
<description>An independent podcast produced from deep within the nether-regions of Anytown, USA! Guest interviews, Headlines, Entertainment News, and more! Join The Pile today.</description>
<pubDate>Thu, 25 Mar 2010 04:25:35 +0000</pubDate>
<generator>http://wordpress.org/?v=2.6.2</generator>
<language>en</language>
<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/TheDaveAndSteveShow" />
<feedburner:info uri="thedaveandsteveshow" />
<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" />
<media:copyright>2010 - The Dave and Steve Show</media:copyright>
<media:thumbnail url="http://www.dasshow.com/whitelogo_itunes.png" />
<media:keywords>comedy,fun,funny,radio,off,topic,rants,childhood,stories,humor,g ames,movies,television,radio,talk,show,kittens,rants,hollywood,gossip,reviews,mu sic,celebs,celebrities,tmz,morning,radio,podcast,stupid,dumb,mediocre,funny,lame ,beer,college,celebrities</media:keywords>
<media:category scheme="http://www.itunes.com/dtds/podcast-1.0.dtd">Comedy</media:category>
<media:category scheme="http://www.itunes.com/dtds/podcast-1.0.dtd">TV & Film</media:category>
<media:category scheme="http://www.itunes.com/dtds/podcast-1.0.dtd">Society & Culture</media:category>
<media:category scheme="http://www.itunes.com/dtds/podcast-1.0.dtd">News & Politics</media:category>
<media:category scheme="http://www.itunes.com/dtds/podcast-1.0.dtd">Games & Hobbies</media:category>
<itunes:owner>
<itunes:email>[email protected]</itunes:email>
<itunes:name>[email protected]</itunes:name>
</itunes:owner>
<itunes:author>[email protected]</itunes:author>
<itunes:explicit>clean</itunes:explicit>
<itunes:image href="http://www.dasshow.com/whitelogo_itunes.png" />
<itunes:keywords>comedy,fun,funny,radio,off,topic,rants,childhood,stories,humor, games,movies,television,radio,talk,show,kittens,rants,hollywood,gossip,reviews,m usic,celebs,celebrities,tmz,morning,radio,podcast,stupid,dumb,mediocre,funny,lam e,beer,college,celebrities</itunes:keywords>
<itunes:subtitle>dasshow.com - 206-984-2407- [email protected]</itunes:subtitle>
<itunes:summary>Call our comment line at 206-984-2407 and we'll play your message on our show! Dave, Steve, Tracy, Gretchen, and Jen talk about entertainment news, headlines, the box office, gossip, sports, and stories about men having horrible things happen to very private areas of their bodies. Think of us as a commercial-free morning radio talkshow, but with far less talent, and way more laughter at dumb jokes. For lots of great content you can also visit our website at dasshow.com, and grab our "Dave and Steve's Droppings" App on iTunes! Argar Largar!</itunes:summary>
<itunes:category text="Comedy" />
<itunes:category text="TV & Film" />
<itunes:category text="Society & Culture" />
<itunes:category text="News & Politics" />
<itunes:category text="Games & Hobbies" />Got it taken care of. Thank you!
-
Object ID and Object ID Version fields in Displaying Object Properties - XI
Hi,
In displaying Object Properties in XI we can see different fields like Type, Description, SCV, Object ID, Object ID Version, Status, Person Responsible, Changed On, Changed By, Display Language, Original Language.
But when i refer to the SAP Library documentation for these fields, Object ID and Object ID Version are not included. Here is the link for the documentation
http://help.sap.com/saphelp_nw04/helpdata/en/f0/fc9a3de2ec0753e10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/f0/fc9a3de2ec0753e10000000a114084/frameset.htm
With that said, i have no information on those two fields, only assumptions i've made that i would like to verify in this forum with the questions below
1.
Please correct me if i'm wrong, the Object ID is the unique identifier for the object and the Object ID Version is directly connected with the versioning concept for IR and ID, so the Object ID is generated when you create the object (e.g. MM) and the Object ID Version changes every time that object is edited and change list activated for it. Is this correct?
Or does the Object ID change every time the object is edited and change list activated for it?
What is the behavior of these two fields when transported? e.g. dev to qa... are they both retained on the target IB's? (specifically for ID objects because the change list needs to be activated first on the target ID)
2.
Does any one know where the Object ID and Object ID Version gets stored? (saved on a table in the ABAP stack or saved somewhere in the Java stack? e.g. can be viewed in Visual Admin or a URL) I am thinking of extracting all the XI objects with their corresponding Object ID and Object ID Version (per system) in one step. I know this is possible only if the Object ID & Object ID Version are stored in an ABAP table...
Kindly give me some inputs.
Please answer directly with the questions above. I will reward points for it.
Thanks in advance.HI,
>Please correct me if i'm wrong, the Object ID is the unique identifier for the object and the Object ID Version is directly connected with the versioning concept for IR and ID, so the Object ID is generated when you create the object (e.g. MM) and the Object ID Version changes every time that object is edited and change list activated for it. Is this correct?
The Object Id is created the first time you create the object.
Object Version Id is created the first time you save/activate a object.
Now suppose if you modify the object a new Object Version Id will be created but the Object ID will remain the same.
For IR Objects the Object Id & Object Version ID will remain the same across systems.
For ID Objects the Object Id & Object Version ID is not the same across systems.
Not sure about the table. Can you try in SE11 and check all tables with SXMS*. Could be also that tables might not be available from GUI i.e you might have to login to DB to find out.
Regards,
Sumit -
Moving selected objects up and down with keyboard is automaticly applying a colour fill.
Hi,
My InDesign is strangely applying a colour fill when i move an objects up or down using the directional arrow in my keyboard. If the colour pallet is open. Nudging an object up makes the pallet disappear on the first press. It then reappears on the second press while filling the object (text frame) with black. This is instensly frustrating. How can I stop this? Suggestions would be very appreciated.
I have already reset the preferences.
Cheers,Thanks for your reply.
I fixed the problem by replacing the keyboard!
Cheers,
Nick Meadows
0421 976 704
www.nickmeadows.com
Date: Fri, 30 Mar 2012 06:01:22 -0600
From: [email protected]
To: [email protected]
Subject: Moving selected objects up and down with keyboard is automaticly applying a colour fill.
Re: Moving selected objects up and down with keyboard is automaticly applying a colour fill.
created by Peter Spier in InDesign - View the full discussion
I have to ask if you reset the prefs uing one of the methods in this thread: Replace Your Preferences If not, there's a good chance you left out one of the files, so please try again using one of the listed methods. And please tell us the OS and your version of ID, including the patch level. Obviously this is not normal behavior. It sounds as if the Swatches panel has focus when you are pressing the arrow keys.
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4302200#4302200
To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4302200#4302200. In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in InDesign by email or at Adobe Forums
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746. -
DMS Link witlh Sales order and Material master
Hi, all
here is my?
Can we link DMS to both sales order and material master, for service feedback of a product from customer.
rgds
benhi
you can link the objects through object link in dms.
go to tcode dc10 select the documnet type, click on define object link. click on new entry, select VBAP object for sales order and MARA for material master.
thanks ,
regards,
nitin
award point if useful
Maybe you are looking for
-
How can I make a FlashAlbumExporter background transparent?
I really like the very cool FAE (as suggested on this most excellent forum) but the gui offers no choice as for background opacity. A little search on the net reveals a few ideas but none of them seem to work. I am using the following iframe code in
-
Off loading photos from photo gallery on iPad 2
I bought my kids iPad 2s for Xmas and loaded them with hundreds of old family photos from my iPhoto, but now, they are having problems transferring the photos to their PCs. Is there an app for that?
-
SD delivery goods issue of Quality inspection stock
Hello, anyone know whether SAP allow goods issue of quality inspection stock? If stanrdard customizing not possible, any user exit ?
-
Determining which record has max value
Hi, In my table I have the following cols: Account_Id, Contact_Id, Modified_Date In this case, one contact_id has multiple account_id's but I want to return only 1 account_id per contact, based on the max modified_date for the accounts. Any help with
-
I currently have a 17" MBP, but am looking for a second laptop for travel purposes. It'll mostly be used for e-mail, internet, storing photos (iPhoto), and playing music (iTunes). I'm trying to decide between the 13" MacBook and a MacBook Air. I'd pr