Disabling partner data tab at header and item.
25.11.2008
Hi friends,
Is there any user exit to disable 4 out of the 5 partners in the partner functions tab at header and item level as my requirement is not to allow the user to change the partner functions SP, SH,BP,PY. I cant use SHD0 or use the not-changeable function in VOPA hence the need for user exit.
Please suggest.
Regards,
Udaynath
Dear Udaynath,
try with:
Path: SPRO --> IMG --> Sales and Distribution --> Basic Functions --> Partner Determination --> Set up Partner Determination
Choose Activity: Set Up Partner Determination for Sales Document Header
Select Partner: TA, and click: Partner Function in Procedure
Give Work Area as, say TA and WE (or SH).
Now, in next screen, click Box: N, to avoid changes in Sales Doc. i.e. Sales Order.
Similary, maintain for Bill-to-Party and Payer.
User won't be able to make changes in Partner Fucton in Sales Doc.
Best Regards,
Amit
Similar Messages
-
Valid to date for BOM Header and Item
Hello everyone,
I have been searching for "valid-to" date for BOM header and Items since several days but no luck ..
I know we can see it using transactions cs11/cs03 etc. But i wish to know the table where they are stored. As I need to extract them to BW.
Any help will be highly appreciated.
Thanks in advance!
Regards,
AnujHi Anuj
In table STPO,the field AEDAT gets updated only when a change number is used,otherwise the valid to date will be shown nil here.
And also ref the link
Problem finding Valid To Date or Change number to on BOM
pavan -
Partner Functions Mandatory in Header and Item Level
Hi Guys,
I want to Make Some Partner Functions as a Manatory in Header and Item Level,How to make it configure,Please give me
the solution.hi,
please go to VOPA and select :
after configuring the set up PD for customer master.
then check the second and third ones
FOR HEADER LEVEL:
GOTO SPRO - SD - set up partner determinatin procedure- set up PDP for sales document header & select your PARTNER DETERMINATION PROCEDURE & goto partner functions in procedure and SELECT WHICH PARTNERS TO APPEAR AS MANDATORY & CHECK whether they are appearing in document header or not.
FOR ITEM LEVEL:
GOTO SPRO - SD - set up partner determinatin procedure- set up PDP for sales document ITEM LEVEL & select your PARTNER DETERMINATION PROCEDURE & goto partner functions in procedure and SELECT WHICH PARTNERS TO APPEAR AS MANDATORY & CHECK whether they are appearing in document item level or not.
balajia -
Addition of new tab in header and item screen of MIGO - Steps required.
Hi Gurus,
Can anyone give me the exact steps to add screen tab in migo transaction. I have the badi MB_MIGO_BADI to add the new tab but I want to know what are the exact steps to implement it.
Thanks,
ShibashisHi,
Try this.
1. Create one screen as subscreen in tcode se51.
2. Create implementation for badi.
3. if u want to add this tab at header level, then go inside PBO_HEADER interface of badi. and write this code.
check i_class_id = gf_class_id.
e_cprog = text-001. " Program name of screen
e_dynnr = text-002. " screen No.
e_heading = text-003. " Name of the tab.
clear :e_cprog ,e_dynnr ,e_heading.
endif.
4. In INIT inter face write this.
append gf_class_id to ct_init.
5. GF_CLASS_ID , declare this in attribute as label constant and type MIGO_CLASS_ID.
6. Functionality for this tab you can write in PAI_HEADER.
Regards
VIshnu Gupta -
Hiding a customized tab (from header and item) in ME21N, ME22N and ME23N
Hi SAP gurus,
I need to make invisible a customized tab in Po creation(me21n), change(me22n) and display(me23n) in enjoySAP transaction for a particulat Doucument type.
Please let me know the possibility and the solution to implement.
Thanks,
Kishore PHi Kishore,
The customized tab cannot be made visible or invisible conditionally. Instead you can write some text inside the tab to distinguish between different document types.
Hope this helps.
Regards,
Abhijeet Kapgate -
Date update from header to item
Hello All,
I have following questions.
1) in CRM if Item Category doesn't have any Date profile assigned in Item category IMG, does it use header date profile to show the date types in sales Transactions or dates doesn't show up at all on item level.
2) if Date profile for header and item has same date type assigned eg.,, Requested Delivery date on Sales Transaction TA, if I change date on header does it flow to the same item date type? if not - how to achieve it?
and there are no date rules assigned to that date type, its a manual entry.
Thanks
ChandrashekarHello Thomas,
Thanks a lot for Replying to my Question, I appreciate it.
I am using TA & TAN for my sales document and I see Requested Delivery date field on header overview page under Sales order Details AB and also on Item overview page under Details AB, don't know if this was part of standard?
but the requirement from my customer is they want this date to be updated automatically on item level as soon as it is updated on header, would be great if you could let me know if this is something possible without development.
Thanks
Chandu -
How to header and item data of sales order using bapi interface
hi friends,
i am geetha, i having a problem like how to upload sales oder header and item data through va01 tcode using BAPI FUNCTION MODULES.
i need bapi function modules for header adn item data and brief explation on that , how to pass importing and tables parameters to get exact output .
regards
geetha.Use : BAPI_SALESORDER_CREATEFROMDAT2
Sales order: Create Sales Order
Functionality
You can use this method to create sales orders.
You must enter at least sales order header data (via ORDER_HEADER_IN structure) and partner data (via the ORDER_PARTNERS table) as input parameters.
Enter the item data via the ORDER_ITEMS_IN table. You can allocate item numbers manually, by filling in the relevant fields, or the system does it, according to the settings for Customizing, by leaving the relevant fields blank.
If you have configurable items, you must enter the configuration data in the ORDER_CFGS_REF, ORDER_CFGS_INST, ORDER_CFGS_PART_OF and ORDER_CFGS_VALUE tables.
Credit cards can be transferred via the BAPICCARD structure, on the one hand, data for card identification, on the other, data for a transaction which has taken place in an external system.
Once you have created the sales order successfully, you will receive the document number (SALESDOCUMENT field). Any errors that may occur will be announced via the RETURN parameter.
If no sales area has been created in the sales order header, then the system creates the sales area from the sold-to party or ship-to party, who has been entered in the partner table. If a clear sales area cannot be created, you will receive a system message, and the sales order will not be created.
Notes
1. Mandatory entries:
ORDER_HEADER_IN : DOC_TYPE Sales document type
SALES_ORG Sales organization
DISTR_CHAN Distribution channel
DIVISION Division
ORDER_PARTNERS..: PARTN_ROLE Partner role, SP sold-to party
PARTN_NUMB Customer number
ORDER_ITEMS_IN..: MATERIAL Material number
2. Ship-to party:
If no ship-to party is entered, use the following: Ship-to party =
sold-to party.
3. Commit control:
The BAPI does not have a database commit. This means that the relevant application must leave the commit, in order that can be carried out on on the database. The BAPI BAPI_TRANSACTION_COMMIT is available for this.
4. German key words:
The following key words must be entered in German, independantly of
the logon language:
DOC_TYPE Sales document type, for example: TA for standard order
PARTN_ROLE Partner role, for example: WE for ship-to party
Further information
You can find further information in the OSS. The note 93091 contains general information on the BAPIs in SD.
Parameters
SALESDOCUMENTIN
ORDER_HEADER_IN
ORDER_HEADER_INX
SENDER
BINARY_RELATIONSHIPTYPE
INT_NUMBER_ASSIGNMENT
BEHAVE_WHEN_ERROR
LOGIC_SWITCH
TESTRUN
CONVERT
SALESDOCUMENT
RETURN
ORDER_ITEMS_IN
ORDER_ITEMS_INX
ORDER_PARTNERS
ORDER_SCHEDULES_IN
ORDER_SCHEDULES_INX
ORDER_CONDITIONS_IN
ORDER_CONDITIONS_INX
ORDER_CFGS_REF
ORDER_CFGS_INST
ORDER_CFGS_PART_OF
ORDER_CFGS_VALUE
ORDER_CFGS_BLOB
ORDER_CFGS_VK
ORDER_CFGS_REFINST
ORDER_CCARD
ORDER_TEXT
ORDER_KEYS
EXTENSIONIN
PARTNERADDRESSES
Exceptions
Function Group
2032 -
Hi,
What are all the tables from which the data would be taken to display in header and item data in process PO ? From where these data would be taken ?
Thanks alot.
Regards, Sunayana NADR10 Printer (Business Address Services)
ADR11 SSF (Business Address Services)
ADR12 FTP and URL (Business Address Services)
ADR13 Pager (Business Address Services)
ADR2 Telephone Numbers (Business Address Services)
ADR3 Fax Numbers (Business Address Services)
ADR4 Teletex Numbers (Business Address Services)
ADR5 Telex Numbers (Business Address Services)
ADR6 E-Mail Addresses (Business Address Services)
ADR7 Remote Mail Addresses (SAP - SAP - Communication; BAS)
ADR8 X.400 Numbers (Business Address Services)
ADR9 RFC Destinations (Business Address Services)
ADRCOMC Comm. Data Serial Number Counter (Business Address Services)
ADRCT Address Texts (Business Address Services)
ADRG Assignment of Addresses to Other Address Groups (BAS)
ADRGP Assignment of Persons to Further Person Groups (BAS)
ADRT Communication Data Text (Business Address Services)
ADRU Table for Communication Usages
ADRV Address Where-Used List (Business Address Services)
ADRVP Person Where-Used List (Business Address Services)
BBP_PDACC Account Assignment
BBP_PDATT Document Attachment
BBP_PDBEH Backend Specific Header Data
BBP_PDBEI Backend Specific Item Data
BBP_PDBGP Partner Extension Gen. Purchasing Data
BBP_PDBINREL Transaction Object Linkage (EBP)
BBP_PDCON Purchase Order Item Confirmation
BBP_PDHAD_V Business Transaction Versions
BBP_PDHCF Set for Tabular Customer and Solution Fields on Hdr
BBP_PDHGP Business Transaction Purchasing Information
BBP_PDHSC Header Extension for Customer Fields
BBP_PDHSS Hdr Extension for SAP Internal Enhancements (IBUs and so on)
BBP_PDIAD_V Business transaction item
BBP_PDICF Set for Tabluar Customer and Solution Fields on Itm
BBP_PDIGP Business Transaction Item-Purchasing Information
BBP_PDISC Item Extension for Customer Fields
BBP_PDISS Item Ext. for SAP Internal Enhancements (IBUs and so on)
BBP_PDLIM Value Limit
BBP_PDLINK_V Transaction - Set - Link
BBP_PDORG Purchasing Organizational Unit
BBP_PDPSET Further Procurement Information
BBP_PDTAX Tax
BBP_PDTOL Tolerances
CDCLS Cluster structure for change documents
CDHDR Change document header
CDPOS_STR Additional Change Document - Table for STRINGs
CDPOS_UID Additional Table for Inclusion of TABKEY>70 Characters
CRMD_LINK Transaction - Set - Link
CRMD_ORDERADM_HBusiness Transaction
CRMD_ORDERADM_IBusiness Transaction Item
CRMD_PARTNER Partners
CRM_JCDO Change Documents for Status Object (Table JSTO)
CRM_JCDS Change Documents for System/User Statuses (Table JEST)
CRM_JEST Individual Object Status
CRM_JSTO Status Object Information
SROBLROLB Persistent Roles of BOR Objects
SROBLROLC Persistent Roles of Business Classes
SRRELROLES Object Relationship Service: Roles
STXB SAPscript: Texts in non-SAPscript format
STXH STXD SAPscript text file header
STXL STXD SAPscript text file lines
TOA01 Link table 1
TOA02 Link table 2
TOA03 Link table 3
TOAHR Container table for HR administration level
TCURR- Exchange table -
Free form partner function field in Sales document header and item..
Hello Experts,
Is there anyway we can use the partner functions functionality in Sales document header and item level, so that we can enter a free form number in the Partner field? I mean is it possible to be able to enter a free form number WITHOUT getting validated against corresponding master data like Customer or Vendor master, Contact person, Personnel or User master records?Hi,
It is not possible.
Because partner function will be determined in the sales document header and item as per the configuration you have done in the partner determination.
It is not possible to enter a number wihich is not created and assigned.
Regards,
Mullairaja -
Disable header and item fields in VA02
Hello, good day
Could you please help me with next issue?
I need to define how to inactivate some header and item fields in a sales order when VA02 is used, a logic to decide if the field must be desable will be applied, because of that I can't use standar customizing solution.
I read a lot of threads, but many of them are not answered, and as far as I can see many recommended solutions are refered to similar code that I have now.
I tried with next user exits:
To block gray out header and item fields:
User exit form USER_EXIT_FIELD_MODIFICATION Program: MV45AFZZ
To gray out pricing grid
User exit form: USEREXIT_FIELD_MODIFICATION Program: LV69AFZZ
To gray out partner screens (item, header): No user exit identified, please advise
to gray out new items in sales order: No user exit identified, please advise, I mean not allow new items.
fields to block:
XVBAK-LIFSK
XVBAK-FAKSK
XVBAK-KUNNR
XVBKD-VSART
XVBKD-INCO1
XVBAP-UNTTO
XVBAP-UEBTO
XVBPA-KUNNR
XVBPA-PARW
XVBAP-ROUTE
XVBAP-ABGRU
The code is something like this in MV45AFZZ - USER_EXIT_FIELD_MODIFICATION
CASE screen-name.
WHEN 'XVBAK-KUNNR'
OR '*XVBAK-KUNNR'. "Sold To
screen-input = 0.
END CASE
but is not working. please advise.
Disable Pricing grid: after apply this code, is possible to add new manual conditions, how can I disable input new item conditions?
The code is something like this in LV69AFZZ - USEREXIT_FIELD_MODIFICATION Program:
Modify screen fields
IF SCREEN-NAME = 'RV61A-KOEIN'
OR SCREEN-NAME = 'KOMV-KBETR'
OR SCREEN-NAME = 'KOMV-KPEIN'
OR SCREEN-NAME = 'KOMV-KMEIN'
OR SCREEN-NAME = 'KOMV-KWERT'
OR SCREEN-NAME = 'KOMV-KSCHL'
OR SCREEN-NAME = 'KOMV-KUMZA'
OR SCREEN-NAME = 'KOMV-KUMNE'
OR SCREEN-NAME = '*RV61A-KOEIN'
OR SCREEN-NAME = '*KOMV-KBETR'
OR SCREEN-NAME = '*KOMV-KPEIN'
OR SCREEN-NAME = '*KOMV-KMEIN'
OR SCREEN-NAME = '*KOMV-KWERT'
OR SCREEN-NAME = '*KOMV-KSCHL'
OR SCREEN-NAME = '*KOMV-KUMZA'
OR SCREEN-NAME = '*KOMV-KUMNE'.
SCREEN-ACTIVE = '1'.
SCREEN-INPUT = '0'.
MODIFY SCREEN.
ENDIF.
Modify buttons
IF SCREEN-NAME = 'BT_KOAN' "Add
OR SCREEN-NAME = 'BT_KOLO'. "Delete
SCREEN-ACTIVE = '1'.
SCREEN-INPUT = '0'.
MODIFY SCREEN.
ENDIF.
IF SCREEN-NAME = 'BT_KONY'. "Update
SCREEN-ACTIVE = '1'.
SCREEN-INPUT = '0'.
MODIFY SCREEN.
ENDIF.
Thanks in advace.
Regards!Thanks Sai, for your prompt answer, as far as understand variants, I can't add any logic, to allow change or only display, I do no't include the logic in the sample code, but that's my case, I need the user exit due a logic must be applied and standar solution like variant or customizing are not the better option.
I Found that in order to gray pricing grid we just put the code in user exit form: userexit_field_modific_leer include LV69AFZZ
and to block the other fields and to block partner functions:
Include Program: MV45AF0P_PARTNER_PREPARE User Exit Form: partner_prepare
Edited by: Jose Carrillo on Mar 30, 2008 4:21 AM -
Sender FILE Adapater Content Conversion: Header and Item Data
Hi
I need to pick a file and do the content conversion. The XML structure which should be formed should be in the below format. I have a CSV file which needs to be converted.
Kindly suggest how can I maintain parameters for Header and Item level data in Recordset structure.
How can I specify in Recordset parameter which is Header(Customerno, Doc type and Address) and Item level(Line Item) data.
<?xml version="1.0" encoding="UTF-8" ?>
<customernumber></customernumber>
<documenttype></documenttype>
- <Address>
<name1></name1>
<name2></name2>
</Address>
- <LineItem>
<material>100016</material>
<amount>1000</amount>
</LineItem>Hi Swetank,
The file after conversion should have one Header and you can have any number of line items.
Once you choose File Content Conversion in the message protocol header while configuring the Sender File Adapter, you get the following enteries in the Content Conversion Parameters:
Document Name
Document Namespace
Document Offset
Recordset Name
Recordset Namespace
Recordset Structure
Recordsets per Message
Key Field Name
To maintain the Header information, Some entries are mandatory, i.e.
Recordset Name: Here please specify the name of the structure. It is included in the XML schema.
Recorset Structure: Here you need to enter the sequence and the number of substructures. Since Header is one but you can have many Line items, you will write:
customernumber,1,documenttype,1,Address,1,LineItem,*
this format is clearly explained in the link provided by Divya.
And in the Additional fields you need to write the name of fields corresponding to different Recorset Structures and also add some property to it, like fixed lengths, use some separators etc.
and Most important field is:
Key Field Name: If you specified a variable number of substructures for Recordset Structure, in other words, at least one substructure has the value *, then the substructures must be identified by the parser from their content. This means that a key field must be set with different constants for the substructures. In this case, you must specify a key field and the field name must occur in all substructures.
Here you need to enter LineItem as it is the only Recordset Structure with an *.
I hope this solves your problem,
Thanks and Regards,
Varun Joshi -
How to get header and item data in ME_PROCESS_PO_CUST ?
Hi all,
How can I get header and item data in me_process_po_cust~process_account ? I have to do some validation for account assignment catagory in item overview.Hi ,,
Further make the following changes in method IF_EX_ME_PROCESS_REQ_CUST~PROCESS_ITEM.
Get Line item data using method:
CALL METHOD IM_ITEM->GET_DATA
RECEIVING
RE_DATA = W_ITM_DATA.
and then validate the item data from structure W_ITM_DATA..
Same as follows for Header Records:
In method IF_EX_ME_PROCESS_REQ_CUST~PROCESS_Header.
Thanks
Shambhu -
Header and Item data in a module pool
Hi Friends,
I designed a screen in that i have header data and item data.
Here in my screen header i have vendor number,Vendor name,
bank Name, Branch, LC value and Due date fields.
and for item details i have to take table control.In the item details i have the fields Sl No, PO Number and Po Value.
and Two push buttons i need to put.SAVE and CANCEL.
When i click on SAVE all my screen details should be saved in a ZTABLE and should generate a LCDOCUMENT-Number from the system.
So my question is shell i take the two tables for header and item data or one is enough and if i take two tables(one is header and one is item data) how i write the logic to store into the ztables.
How can i proceed.Plz provide me with ur inputs
Thanks and Regards.Hi!
you have to take one table.....in which u have to move the header and item data into that b'coz according to the header data the items are to be displayed.......
select the data for which ever tables they came and then take a final table in which include all the fields of header and item .loop on all the tables from which data u have taken and inside it move the data of those fields into the fields of the final table.
In the ALV u need to call the function module to display the ALV with that final table in which ur all data is there and prepare a field catalog of those fields you want to display in the item list.
for example a sample code is there...
types:
begin of type_s_vbak,
vkorg type vbak-vkorg, " Sales Organization
aufnr type vbak-aufnr, " Sales Order Number
auart type vbak-auart, " Sales Order Type
kunnr type vbak-kunnr, " Customer Number
vbeln type vbak-vbeln, " Sales Document
knumv type vbak-knumv, " Number of Document Condition
end of type_s_vbak. " BEGIN OF TYPE_S_VBAK
types:
begin of type_s_konv,
kwert type konv-kwert, " Condition Value
kbetr type konv-kbetr, " Rate (Condition Amount)
knumv type konv-knumv, " Number of Document Condition
kschl type konv-kschl, " Condition Type
end of type_s_konv. " BEGIN OF TYPE_S_KONV
types:
begin of type_s_material,
kunnr type vbak-kunnr, " Customer Number
matnr type vbap-matnr, " Material Number
arktx type vbap-arktx, " Material Description
steuc type marc-steuc, " Fiscal Classification
kwmeng type vbap-kwmeng, " Quantity
knumv type vbak-knumv, " Number of Document Condition
vbeln type vbak-vbeln, " Document Number
kwert type konv-kwert, " Condition Value
total type p length 14 decimals 2,
" Total
ipitype type p length 9 decimals 3,
" IPI Type
ipivalue type konv-kwert, " IPI Value
end of type_s_material. " BEGIN OF TYPE_S_MATERIAL
data:
fs_vbak type type_s_vbak.
data:
fs_mati type type_s_material.
data:
fs_konv type type_s_konv.
data:
t_vbak like
standard table
of fs_vbak.
data:
t_konv like
standard table
of fs_konv.
data:
t_mati like
standard table
of fs_mati.
loop at t_konv into fs_konv where kschl eq 'ZPNF'.
move fs_konv-kwert to fs_mati-kwert.
modify t_mati from fs_mati
transporting kwert
where knumv eq fs_konv-knumv.
endloop. " LOOP AT T_KONV INTO FS_KONV
* Modifying Total Field of Material Table.
loop at t_mati into fs_mati.
w_total = fs_mati-kwmeng * fs_mati-kwert.
move w_total to fs_mati-total.
modify t_mati from fs_mati
index sy-tabix
transporting total.
clear w_total.
endloop. " LOOP AT T_KONV INTO FS_KONV
* Modifying IPI-Type Field of Material Table.
loop at t_konv into fs_konv where kschl eq 'IPI3'.
w_total = fs_konv-kbetr div 10.
move w_total to fs_mati-ipitype.
modify t_mati from fs_mati
transporting ipitype
where knumv eq fs_konv-knumv.
clear w_total.
endloop. " LOOP AT T_KONV INTO FS_KONV
* Modifying IPI-Value Field of Material Table.
loop at t_konv into fs_konv where kschl eq 'IPI3'.
move fs_konv-kwert to fs_mati-ipivalue.
modify t_mati from fs_mati
transporting ipivalue
where knumv eq fs_konv-knumv.
endloop. " LOOP AT T_KONV INTO FS_KONV
and then fill the fieldcatalog and display the ALV
Edited by: Richa Tripathi on Apr 15, 2009 3:28 PM -
How to distinguish between the header and item data from the given legacy excel file, so that I can correctly extract the Sales Order header and item level data while doing LSMW? Do we need to do any extra coding for doing that?
Hi Diwakar,
Please read below. This is the way to do it. It resolved my issue.
Hi, I think you can use 1 file but with the record type identifier, the field will appear in all source strictures, in the Maintain Source Fields step amend field (double click) on it and point Identifying Field Content to appropriate level, e.g. 1 for header 2 for item. Your input file will look like:
REC_TYPE .. FIELDS
1 only fields relevant for the header and blanks for line items
2 only fields relevant for the item data blanks for header fields
2
2
1 Next record header
2 next record item 1
2 next record item 2
1
2
2
2
2
1
2
Diwakar,
Please dont be oversmart and dont mislead people and hurt others by making nasty comments.
Thanks,
Raj. -
Same field on Header and Item level with same data
Hi Experts,
I want enter value in WEB UI Header level Screen filed and the same value I have to see in same filed which has added to item level WEB UI Screen. Is Same field on Header and Item with data copying functionality supports by the CRM WEB UI?
Thanks in Advance
Edited by: sakthidharan acc on Jan 31, 2012 10:25 AMHi Leon,
can you please explain me how can i read the value of parent entity and make it appear at the item level?
Please help me in this regard
Its urgent.
Iam the beginner , so that is the reason iam asking many questions , please help me
Thanks and Regards,
Sak
Maybe you are looking for
-
WHAT DOES THIS above bunch of "commands"paths" ?// I AM not a developer, yet so much seems to be so on my Mac Air........ when I purchased I was told I should be Updated to Mountain Lion? and yet It does not say this.IT SAYS I AM mac OSX Li
-
Conditional suppression using substitution variable in Hyperion financial r
Hi all, Is there a way that I can suppress a column using substitution variable in hyperion financial reporting? For eg, i want to suppress the column if the value of the substitution variable curr_mnth = jun. Is there a way to do this? In conditiona
-
How to display the actual code name on the table of the uix file?
I have established entity object:Schoolinfo,and a view object SchoolinfoView,and registered in the application module.and I drag and drop to a uix file the Datacontrol and it works well,i can see the schoolinfo table's contents.The problem is:in scho
-
HT3728 I keep getting error code 6584 on my time capsule - should I do a hard reset?
any help???
-
Hi can any one tell me the Asset Master Uplode throw LSMW step by step this id deleted Thanks & regards Kumar Delhi