Prob with BAPI_GOODSMVT_CREATE when creating wrt Reservation Number
Hi to all,
I have to create Goods Issue with reference to a reservation.I am using the BAPI BAPI_GOODSMVT_CREATE .
But when I am running the BAPI, It is giving the Error 'For reservation 0000001395 0001, no movements can be posted'.
I have pased all the parameters as per the Documentation of the FM, But still I am not able to create Goods Issue. Can any One help me How to achieve this.
GOODSMVT_HEADER
PSTNG_DATE 10.08.2009
DOC_DATE 10.08.2009
REF_DOC_NO 1394
GOODSMVT_CODE-GM_CODE = 03
GOODSMVT_ITEM
MATERIAL MAT1
PLANT 2001
STGE_LOC 0001
MOVE_TYPE 201
ENTRY_QNT 2
ENTRY_UOM EA
ENTRY_UOM_ISO EA
RESERV_NO 1394
RES_ITEM 0001
RES_TYPE X
Can any one help me whether the data I have Provided is Correct or not.If not Plese help me in Succesfully creating the Goods Issue.
Thanks and Regards
Meshack Appikatla.
Hi,
If you want to do Goods Issue against Reservation, try below mentioned:
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = wa_header
goodsmvt_code = c_mvt_code "Movement code-03
IMPORTING
materialdocument = v_matdoc
TABLES
goodsmvt_item = it_items
return = it_return.
where :
wa_header-pstng_date = sy-datum. "Posting Date
wa_header-doc_date = sy-datum. "Document Date
wa_header-ref_doc_no = <Reservation Number >. "Reference Doc number
In item data:
wa_items-material = < Material Number >. "Material Number
wa_items-plant = <Plant>. "Plant
wa_items-stge_loc = <Storage Location > "Storage Location
wa_items-move_type =261. "Movement Type - '261'
wa_items-orderid = <Order Number from Reservation RESB-AUFNR>
wa_items-reserv_no = <Reservation Number RESB-RSNUM>
wa_items-res_item = <Reservation Item No RESB-RSPOS>
wa_items-res_type = < Record Type RESB-RSART >
wa_items-entry_qnt = quantity
append wa_items to it_items
Hope it helps.
Regards
Hiren K.Chitalia
Similar Messages
-
Error when creating interval for number range object
Hi,
I am trying to transport my BW stuff from QA to Production and I am getting the following error in the transport logs. The info objects are inactive in RSA1.
Start of the after-import method RS_IOBJ_AFTER_IMPORT for object type(s) IOBJ (Activation Mode)
Characteristic YRESD: Error when creating interval for number range object BIM0000396
Can some body advise me what's wrong? Is something need to be maintained in number ranges?
Also when I am checking the objects in RSA1, I am getting a message saying "source system WD110 does not exist", WD110 is our dev system. How can I change the source system after transport?
Thanks.
Edited by: Raj G on Mar 20, 2008 11:38 AMAlso when I am checking the objects in RSA1, I am getting a message saying "source system WD110 does not exist", WD110 is our dev system. How can I change the source system after transport?
Which system are you checking this?
refer: Re: Transport Source Systems from DEV to Testing for step to map the source systems for transport -
Problem when create customs BP number through PCUI
Hi Experts,
we are working on CRM 5.0 & EP7.0
i have created custom function module (z function module) for generate the customs BP number( Dep country ,region) for BP t-code in GUI (CRM) System , when test through PCUI i can not get the PCUI field values like counry , region....so i cant generate the custom BP number depend upon the country and region,
when user type the country,region,company name,city in PCUI
how can i get PCUI field values ( country,region,company name,city)
in GUI (SAP- CRM) System.
PCUI field values ( country,region,company name,city) is not stored in ABAP memory, like
1. CALL FUNCTION 'BUP_BUPA_MEMORY_GET_ALL'
TABLES
t_but000 = t_but000
t_but001 = t_but001
t_but0bk = t_but0bk
t_but100 = t_but100
t_but0cc = t_but0cc
t_but0is = t_but0is
t_but0id = t_but0id.
2. CALL FUNCTION 'BUA_BUPA_ADDRESSES_GET'
EXPORTING
i_xall = 'X'
TABLES
t_address = t_add.
this two function modules are not giving values when user enter the values in PCUI
plz help me........
thanks,
Ganesh,Rhi karthik,
i am working in CRM 5.0 ,& PCUI
i have created custom BP number depend upon country and region ( through PCUI ), it is working fine but when more then one user trying to create account( BP) by uing same country and region it is generating same BP number becoz they are press ENTER button after giving the input data in PCUI , if they press SAVE button it is creating new BP number.
when user press enter button countron should not go to BP number generation coding..how can i do this?
How can i identify user press ENTER button or SAVE Button?
where event is trigring ?where they are calling the Events?
i want to do when user press ENTER button it should not create BP number but user press SAVE button it should create BP number..
how they are linking PCUI & SAP CRM-GUI?
how can i do this ? plz help me..
Thanks, -
Problem when create the BP number through PCUI
Hi Experts,
we are working on CRM 5.0 & EP7.0
i have created custom function module (z function module) for generate the customs BP number( Dep country ,region) for BP t-code in GUI (CRM) System , when test through PCUI i can not get the PCUI field values like counry , region....so i cant generate the custom BP number depend upon the country and region,
when user type the country,region,company name,city in PCUI
how can i get PCUI field values ( country,region,company name,city)
in GUI (SAP- CRM) System.
PCUI field values ( country,region,company name,city) is not stored in ABAP memory, like
1. CALL FUNCTION 'BUP_BUPA_MEMORY_GET_ALL'
TABLES
t_but000 = t_but000
t_but001 = t_but001
t_but0bk = t_but0bk
t_but100 = t_but100
t_but0cc = t_but0cc
t_but0is = t_but0is
t_but0id = t_but0id.
2. CALL FUNCTION 'BUA_BUPA_ADDRESSES_GET'
EXPORTING
i_xall = 'X'
TABLES
t_address = t_add.
this two function modules are not giving values when user enter the values in PCUI
thanks,
Ganesh,Rhi karthik,
i am working in CRM 5.0 ,& PCUI
i have created custom BP number depend upon country and region ( through PCUI ), it is working fine but when more then one user trying to create account( BP) by uing same country and region it is generating same BP number becoz they are press ENTER button after giving the input data in PCUI , if they press SAVE button it is creating new BP number.
when user press enter button countron should not go to BP number generation coding..how can i do this?
How can i identify user press ENTER button or SAVE Button?
where event is trigring ?where they are calling the Events?
i want to do when user press ENTER button it should not create BP number but user press SAVE button it should create BP number..
how they are linking PCUI & SAP CRM-GUI?
how can i do this ? plz help me..
Thanks, -
Problem when create custom BP number through PCUI
Hi Experts,
we are working on CRM 5.0 & EP7.0
i have created custom function module (z function module) for generate the customs BP number( Dep country ,region) for BP t-code in GUI (CRM) System , when test through PCUI i can not get the PCUI field values like counry , region....so i cant generate the custom BP number depend upon the country and region,
when user type the country,region,company name,city in PCUI
how can i get PCUI field values ( country,region,company name,city)
in GUI (SAP- CRM) System.
PCUI field values ( country,region,company name,city) is not stored in ABAP memory, like
1. CALL FUNCTION 'BUP_BUPA_MEMORY_GET_ALL'
TABLES
t_but000 = t_but000
t_but001 = t_but001
t_but0bk = t_but0bk
t_but100 = t_but100
t_but0cc = t_but0cc
t_but0is = t_but0is
t_but0id = t_but0id.
2. CALL FUNCTION 'BUA_BUPA_ADDRESSES_GET'
EXPORTING
i_xall = 'X'
TABLES
t_address = t_add.
this two function modules are not giving values when user enter the values in PCUI
plz help me
thanks,
Ganesh,Rhi karthik,
i am working in CRM 5.0 ,& PCUI
i have created custom BP number depend upon country and region ( through PCUI ), it is working fine but when more then one user trying to create account( BP) by uing same country and region it is generating same BP number becoz they are press ENTER button after giving the input data in PCUI , if they press SAVE button it is creating new BP number.
when user press enter button countron should not go to BP number generation coding..how can i do this?
How can i identify user press ENTER button or SAVE Button?
where event is trigring ?where they are calling the Events?
i want to do when user press ENTER button it should not create BP number but user press SAVE button it should create BP number..
how they are linking PCUI & SAP CRM-GUI?
how can i do this ? plz help me..
Thanks, -
Linking with package when creating jvm
Hi,
I use jni to access java method wich parse xml documents with jdom. Everything works fine when I use only java. But with jni, when I create the jvm, and try accessing my java methods, there's some errors. Typically, the jvm created cannot recognize my imports ("import org.jdom.*").
Does anyone know how to link with different package when I create the jvm in c side.
Thanks for help,
javaFriendlyOnlu the compiler takes any notice of import statements. Are you taking about the compiler or the jvm.(Used to run the program)
In either case it sounds like you classpath is not being set correctly if you cannot find other packages. -
Problem with FQDN when creating Web Dynpro App
Hi @ all,
when create a WDA the url is set like this: HTTP://SAPVM1:8000/sap/bc/webdynpro/sap/z_wda_sample.
I defined the icm/host_name_full and the SAPLOCALHOSTFULL correct*, but it did not work. I have also restarted the system more than one time. I searched a lot, but found no solution here on sdn.
*correct means : sapvm1.mydomain.de
Even if I try to start a default wda example the wrong FQDN is set. But if I start the wda at the SICF (test service) it works, the FQDN is set right.
thx in advance.
TimoHi,
it seems that the httpurlloc table was the problem. The host entry in this table was no FQDN, I changed it into FQDN and it works. Now the generated url of the web dynpro applications is correct.
Maybe this helps somebody else.
See also
http://help.sap.com/saphelp_nw70/helpdata/en/42/d547ab30b6473ce10000000a114e5d/frameset.htm
Timo -
Problem with dnsextd when creating Wide-Area-Bonjour
Hello,
I've been struggling for some time trying to create a WAB test environment but without success and would appreciate some help.
Im using a mac mini (later 2014) running Yosemite to run bind (9.10) and ISC for a testing zone with DDNS enabled. This setup is running perfectly with or without TSIG (both ways run perfectly).
When I try to include dnsextd in this setup for LLQ is where the problem start. No more DDNS updates. When I run dnsextd in debug mode, it shows the following message:
"Rejecting Update Request with 2 additions but no lease".
The dhcp logs report RCODE 5 (from dnsextd), which means REFUSED.
Any ideias?
I see a lot of website (including DNS-SD.org) with very simple cookbooks explaining how to create the WAB environment, but I cant make it work. Even if I configure the zone keys in dnsextd, it wont work. The error change to a new one (dnsextd responds without TSIG, which is not accepted by the DHCP server) and it wont work also.
Any idea of fix would be appreciated.thanks for the quick reply AndrewTJ - I did notice the typo after posting and corrected however the problems remains. below is the contents of my up.com.dns file - i can see nothing out of place but cannot get a resolution
; Database file up.com.dns for up.com zone.
; Zone version: 22
@ IN SOA dns1.up.com. hostmaster.up.com. (
22 ; serial number
900 ; refresh
600 ; retry
86400 ; expire
3600 ) ; default TTL
; Zone NS records
@ NS dns1.up.com.
; Zone records
_http._tcp.up.com. PTR website._http._tcp.up.com.
website._http._tcp.up.com. TXT ( "txt path=/" )
SRV 0 0 80 dns1.up.com.
_services._dns-sd._udp.up.com. PTR _http._tcp.up.com.
b._dns-sd._udp.up.com. PTR @
lb._dns-sd._udp.up.com. PTR @
dns1.up.com. A 192.168.1.153
Any ideas? -
Error with JNDI when creating new data source
Hi :
This weekend, while adding new applications to the production environment we ran into a problem where the JNDI tree of the new managed servers was unreachable.
The error message we saw was:
<1364066840022> <BEA-149231> <Unable to set the activation state to true for the application 'EOI'.
weblogic.application.ModuleException:
at weblogic.jdbc.module.JDBCModule.activate(JDBCModule.java:349)
at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:107)
at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:411)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:74)
at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:66)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:16)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:162)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:42)
at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:187)
at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
weblogic.common.ResourceException: is already bound
at weblogic.jdbc.common.internal.RmiDataSource.start(RmiDataSource.java:387)
at weblogic.jdbc.common.internal.DataSourceManager.createAndStartDataSource(DataSourceManager.java:136)
at weblogic.jdbc.common.internal.DataSourceManager.createAndStartDataSource(DataSourceManager.java:97)
at weblogic.jdbc.module.JDBCModule.activate(JDBCModule.java:346)
at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:107)
at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:411)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:74)
at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:66)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:16)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:162)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:42)
at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:187)
at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
We traced the issue to a new data source that was added were we found that along with the the expected jndi name entry in the jdbc xml file, there were two blank entries:
<jndi-name>weblogic.jdbc.DataSource.EOI</jndi-name>
<jndi-name></jndi-name>
<jndi-name></jndi-name>
The data source was deleted, consoles restarted, the data source recreated and the issue occured again. To get by the issue we had to manually remove the blank tags from the xml file.
We created 2 new data sources, and it only happened on the one. The same data source each time. Additionally, this issue did not occur when these changes were made in our lower (development, qa) regions.
The version is the same in all three regions.
WebLogic Version:
WebLogic Server Temporary Patch for 9324911 Wed Feb 03 22:38:01 PST 2010
WebLogic Server 10.3 Fri Jul 25 16:30:05 EDT 2008 1137967
Is this a known issue? And if so, is there a way to avoid it, other than to start constantly checking the newly created XML files?
Thank you
tedYes, this is a common issue and documented in Oracle Docs:
WebLogic Server: Getting "weblogic.common.ResourceException: is already bound" exception with JDBC JNDI name (Doc ID 1154250.1)
The only fix is that you need to remove the empty value entries.
Cheers!!
AJ -
Problem with pixelation when creating a pdf
Hi,
A client sent me an InDesign file and a PDF of what that file made. I was asked to make some text edits. I finish and export to pdf. When viewing my new pdf at 100% the images are pixelated really bad. The original pdf they are high quality images at 100%. I didn't mess with the images at all. I don't know what I am doing wrong.
Any help would be appreciated.
Extra info
ID CS6
Images are jpegs
High quality prin settings
Compress jpegs (maximum quality)
Do not downsampleInDesign creates low resolution previews of placed graphics (to enable quicker screen draws).
When you opened the file you should have been alerted that the document contained missing links.
During the work time on the file, the links panel would have shown similair to
InDesign probably also alerted when you exported to pdf.
If you have instructed InDesign to disable warnings, you should consider turning them back on from the Preferences panel
Edit > Preferences > General -
Header Text pop up not coming up when creating Quotation with reference when created from CJ20N
I have done my configuration in VOTXN and it works.
If I create a quotation with reference with transaction VA21 the pop up comes up and the header texts are copied.
But if I do the same from transaction CJ20N (it also executes transaction VA21) the pop up windows does not come up and the text is not copied.
If someone can please tell me why this is happening?
Regards,
CarlosHi carlos,
with reference to existing quotation you are creating new quotation ?
but Quotation creation from project will done using DP81 ( not by VA21)
can you explain a bit ?
thanks
santosh -
Issue with Idoc when creating invoice taking wrong payment term
Hi All,
My Requirement is invoices created through B2B interface should hold the payment term of purchasing party instead of invoicing party
400021 is Invoicing party having payment term 2000 i.e. 20 days
414478 is the Purchasing party having the payment term 1000 ie 10 days
So invoice should hold the payment term 10 days instead of 20 days
I have an IDOC which is creating Invoice, I am trying to reprocess the IDOC to see the issue but could not able to achieve the solution.
Please help me out which approach should i follow to achieve the solution of this issue.
Thanks,
VBHi,
Try using E1EDK18 segment. Put "Number of days" ,Qualifier and check if this achievs the desired result or not? If yes then you have to use an user exit to put the number of days in the IDOC.
Cheers, -
Problems with encoding when creating link in mail
A user inputs some text in a field at a webpage.
From this I build a mail that has a link that looks like this:
http://www.domain.com/a/controller/action/?name=[INPUT VALUE]
My problem is that when I try to get the value in the receiving action, using params.name, it does not so good. The real problem is about odd characters like our swedish �,�,� for example.
What I have tried to do when building the link is to use URLEncoder.encode([INPUT VALUE], 'UTF-8') and then using URLDecoder.decode(params.name, 'UTF-8') but it does not work at all. Is there any other way I should attack this problem?def name = "Mattias Sands�ter";
def email = params.email;
name = URLEncoder.encode(name, 'UTF-8');
println(name)
def message = http://domain.com/a/b/download/?name=" + name
MailSender.sendMail(email, "Subject", message);{code}
{code}def download = {
println(params.name)
println("download after decode" + URLDecoder.decode(params.name, 'UTF-8')){code}
The first println looks fine, it says Mattias+Sands%C3%A4er
The second println looks horrible, Mattias Sands��ter
The third looks the same.
Then I send this to my gsp(jsp) page and wants to put this in a standard textfield, but it of course looks like Mattias Sands��ter there too.
This is on a linux-server, on my local computer, everything works as expected.
Whatever it its, something happens to the name-variable when it is clicked on in the e-mail. It looks good in the e-mail, get pasted in the address-field in the browser correctly, but when retreiving the variable with params.name it is screwed
Edited by: sandsater on Jul 8, 2008 8:44 AM -
2 probs with 5800 when browsing the net my phone m...
hi when browsing the net my phone memory fills up after a while clearing all private data doesnt help the memory info says it all seems to be used by a folder called others but when i open phone memory and other file its empty im at a loss it means i have to keep doing a factory reset or it keeps telling me to delete stuff from the phone memory but there is nothing but empty files there ?? anyone any ideas of a solution
also im on the trial version of drive and walk navigation how much does it cost to get a full version once my trial has expired as i cant find the info anywhere
cheers allWalk & Drive: http://www.nokia.com.au/explore-services/nokia-maps/support/nokia-maps-2-0/pricing
This is the Australian pricing. -
Authorization when creating contract account
Dear gurus,
I am now have a problem with authorization when creating Contract Account for Business Partner with the scenario: each user only have right to create Contract Account for some BP Number Range that I determine in their Role. Is that possible to do this scenario?
Pls help me,
Thanks a lotHi,
May be you can set the same in the User Authorization roles where in you can restrict the user to create Contract account for certain BP only. May be you can work along with your Basis consultant to solve this issue or you can also try for validation rules if it works for this scenario.
regards,
radhika
Maybe you are looking for
-
Problem with windows 8.1 installation ?
hi,got my windows 8.1 on usb flash drive & tried to install through bootcamp and got disk fail when restart ? any ideas have i done something wrong in bootcamp ?
-
DB insert after DB delete in a single program on the same table
Hi All, A program is first deleting some records from a databse table ( assume Table1) and it is trying to insert the same records back to the table Table1 with the same primary keys. This program is defective. It does not check against the table Tab
-
Facetime and Text msgs are NOT working
My dad bought me new iPhone 4s and I have activated it today. I am unable to use Facetime eventhough wifi is there and connected with phone. I am unable to send text msg to excluding 2 phones of my parents which are in same contract/plan/service. I a
-
Can I move photoshop to one OS to another
I'm thinking of get photoshop with monthly subscription, but im buying a mac soon, is it possible to keep the same photoshop on PC but move over to the Mac without canceling and losing money?
-
How to make my script ignore pages 1 and 2?
Hi all. I'm a complete beginnger at all of this so thank you in advance for all you're help, I really appreciated it. I have a JavaScript that I've been working on, and with help from people on here it's working really well. I uses a combination of G